8 Apr 2024 |
Alexandru Emil Lupu | The Omniauth protocol, requires you to create a request phase where you actually generate a link ( with any additional parameters like : https://my.wp.domain/omniauth/login?signature=some kind of signature - this is specific to your ) the generated link is exposed to user's borwser and it will redirect the user to an authorization / login page ... | 07:43:49 |
Alexandru Emil Lupu | After that, the user will use his user and password on the wordpress application, if he authentication is successful the wordpress application will sign the request and create the callback url, which will get you to the callback_phase in your rails application ... | 07:45:47 |
Alexandru Emil Lupu | * The Omniauth protocol, requires you to create a request phase where you actually generate a link ( with any additional parameters like : https://my.wp.domain/omniauth/login?signature=some kind of signature - this is specific to your wp omniauth implementation ) the generated link is exposed to user's borwser and it will redirect the user to an authorization / login page ... | 07:46:15 |
Alexandru Emil Lupu | so, you should never ask for user's username and password of the external service | 07:47:45 |
Adrien Pouyet | Oh ok, I see what I did wrong then. I'll try this way, thanks a lot ! | 09:17:20 |
Daniele Noto | Hello everyone! I'm having troubles with the searchbar of 0.27 version. I've created a private Assembly, and the only way to see it is reach the Assemblies section, but I can't see it when I search with key words or the exact title (also if I'm logged in as admin). In the 0.19 I hadn't this problem so I guess I'm missing something in the new version | 11:02:30 |
Daniele Noto | * Hello everyone! I'm having troubles with the searchbar of 0.27 version. I've created a private Assembly, and the only way to see it is to reach it from the Assemblies section, but I can't see it when I search with key words or the exact title (also if I'm logged in as admin). In the 0.19 I hadn't this problem so I guess I'm missing something in the new version | 11:03:47 |
Pau Parals | maybe you are not a private participant in this assembly? and you are seeing the assembly because admin? | 11:04:05 |
Daniele Noto | I've checked it, and if I go in the admin dashboard -> private users related to this assembly I can see my email and my name so I guess I am, but still I can see the assembly only from the assemblies section, not if I search it from searchbar | 11:08:35 |
jonathan1018 | ubuntu@vps-master-infranux:~/decidim_application/lib$ ls -la
total 16
drwxrwxr-x 4 ubuntu ubuntu 4096 avril 6 16:58 .
drwxrwxr-x 15 ubuntu ubuntu 4096 avril 7 14:09 ..
drwxrwxr-x 2 ubuntu ubuntu 4096 avril 6 16:58 assets
drwxrwxr-x 2 ubuntu ubuntu 4096 avril 6 16:58 tasks | 13:05:47 |
jonathan1018 | I don't have this lib
I don't know if its normal | 13:06:07 |
jonathan1018 | ubuntu@vps-master-infranux:~/decidim_application$ gem list | grep shakapacker
shakapacker (7.1.0) | 13:25:56 |
jonathan1018 | ubuntu@vps-master-infranux:~/decidim_application$ gem install shakapacker
Fetching shakapacker-7.2.3.gem
Fetching package_json-0.1.0.gem
Successfully installed package_json-0.1.0
Successfully installed shakapacker-7.2.3
Parsing documentation for package_json-0.1.0
Installing ri documentation for package_json-0.1.0
Parsing documentation for shakapacker-7.2.3
Installing ri documentation for shakapacker-7.2.3
Done installing documentation for package_json, shakapacker after 0 seconds
2 gems installed | 13:26:12 |
jonathan1018 | useless | 13:30:36 |
jonathan1018 | Redacted or Malformed Event | 13:30:40 |
jonathan1018 | * useless :( | 13:30:50 |
Alexandru Lupu | Jonathan, what resources do u have on that vps ? | 13:32:13 |
Alexandru Lupu | But if I remember right, your assets were compiled | 13:33:18 |
jonathan1018 | * It was useless :( | 13:35:14 |
jonathan1018 | * It was useless :( | 13:35:22 |
jonathan1018 | feel like I'm playing the sorcerer's apprentice | 13:59:43 |
jonathan1018 | Hi Alexandru | 14:15:54 |
jonathan1018 | I have a new server | 14:15:59 |
jonathan1018 | ubuntu@master-infranux:~/decidim_application$ free -h
total used free shared buff/cache available
Mem: 3,7Gi 219Mi 3,1Gi 13Mi 455Mi 3,3Gi
Swap: 6,0Gi 0B 6,0Gi | 14:16:24 |
jonathan1018 | ubuntu@master-infranux:~/decidim_application$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC-Milan Processor
CPU family: 25
Model: 1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
Stepping: 1
BogoMIPS: 4591.37
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid
extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm svm cr8_legacy abm sse4
a misalignsse 3dnowprefetch osvw topoext perfctr_core invpcid_single ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflush
opt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip pku ospke rdpid fsrm
Virtualization features:
Virtualization: AMD-V
Hypervisor vendor: KVM
Virtualization type: full
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 2 MiB (4 instances)
L3: 128 MiB (4 instances)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-3
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Retbleed: Not affected
Spec rstack overflow: Mitigation; safe RET, no microcode
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Srbds: Not affected
Tsx async abort: Not affected
ubuntu@master-infranux:~/decidim_application$* | 14:16:57 |
jonathan1018 | Yes compiled on the new server | 14:17:28 |
jonathan1018 | * ubuntu@master-infranux:~/decidim_application$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC-Milan Processor
CPU family: 25
Model: 1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
Stepping: 1 | 14:17:55 |
jonathan1018 | * ubuntu@master-infranux:~/decidim_application$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC-Milan Processor
CPU family: 25
Model: 1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
Stepping: 1
ubuntu@master-infranux:~/decidim_application$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 382M 1,2M 381M 1% /run
/dev/sda1 78G 14G 64G 19% /
tmpfs 1,9G 28K 1,9G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/sda15 105M 6,1M 99M 6% /boot/efi
tmpfs 382M 4,0K 382M 1% /run/user/1000 | 14:18:33 |
jonathan1018 | * ubuntu@master-infranux:~/decidim_application$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 40 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: AuthenticAMD
Model name: AMD EPYC-Milan Processor
CPU family: 25
Model: 1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 4
Stepping: 1
ubuntu@master-infranux:~/decidim_application$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 382M 1,2M 381M 1% /run
/dev/sda1 78G 14G 64G 19% /
tmpfs 1,9G 28K 1,9G 1% /dev/shm
tmpfs 5,0M 0 5,0M 0% /run/lock
/dev/sda15 105M 6,1M 99M 6% /boot/efi
tmpfs 382M 4,0K 382M 1% /run/user/1000 | 14:18:55 |
jonathan1018 | * ubuntu@master-infranux:~/decidim_application$ free -h
total used free shared buff/cache available
Mem: 3,7Gi 219Mi 3,1Gi 13Mi 455Mi 3,3Gi
Swap: 6,0Gi 0B 6,0Gi | 14:19:01 |