a71aa3fda2
Don't queue job when service isn't enabled
2025-05-17 18:56:33 +04:00
37c59b7b0c
Sync Mastodon IDs/profiles to local accounts
...
Add a new service to import some data from Mastodon accounts:
* Find users by username, store Mastodon account ID in local db when
found
* Import display name (don't overwrite existing)
* Import avatar (don't overwrite existing)
2025-05-17 18:56:30 +04:00
5f276ff349
Queue XmppSetAvatarJob when new avatar is uploaded
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Failing after 10m9s
And let job do nothing in development for now
2025-05-15 22:04:25 +04:00
417e346074
Do not use ActiveStorage variants, process original avatar
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Variants are currently broken. So we process the original file with the
most common avatar dimensions and stripping metadata, then hash and
upload only that version.
2025-05-14 14:42:03 +04:00
51a3652fc8
Fix S3 keys/paths for user avatars
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Also fixes the avatars controller to work with all back-ends
2025-05-12 16:39:53 +04:00
17ffbde03a
WIP Store avatars as ActiveStorage attachments
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Also push to LDAP as jpegPhoto
2025-05-11 18:43:21 +04:00
3042a02a17
Allow users to update their OpenPGP pubkey
continuous-integration/drone/push Build is passing
2024-09-23 18:13:39 +02:00
118fddb497
Document URLs for settings controller actions
...
No need to read the route sources all the time
2024-09-23 16:07:02 +02:00
5348a229a6
WIP Add new lightning notification settings
2024-05-29 15:12:07 +01:00
bad3b7a2be
Use dynamic list for allowed user preference params
2024-05-23 00:23:42 +02:00
22d362e1a0
Refactor Nostr settings/connect
...
* Use NIP-42 auth event instead of short text note
* Verify event ID and signature using the nostr gem instead of custom code
2024-04-01 18:27:08 +03:00
5a3adba603
Move nostr pubkeys to LDAP attribute
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 4s
closes #173
2024-03-17 11:04:11 +01:00
3715cb518b
User Settings: Rename Experiments to Nostr
...
continuous-integration/drone/push Build is passing
And use a nostr icon
2024-03-16 16:03:15 +01:00
179a82d2dd
Use keyword arguments for ApplicationService calls
...
Not all services are using keywords, which breaks those calls in Ruby 3
2024-02-02 15:50:25 +02:00
958d18d61a
Add email service and settings
2024-01-10 18:30:05 +03:00
Râu Cao
c2dae105ff
Add settings page for Storage, add notification prefs
2023-11-20 18:22:06 +01:00
Râu Cao
d5ab532947
Store and retrieve avatars in/from LDAP exclusively
...
continuous-integration/drone/push Build is failing
No need to keep them in two places at the same time. We can fetch them
from LDAP whenever we want to do something with them.
2023-09-06 20:42:26 +02:00
Râu Cao
50c63d5c38
Update user avatar in LDAP
2023-09-06 19:02:07 +02:00
Râu Cao
9e5aeaf572
Add user avatars
2023-09-06 12:15:53 +02:00
Râu Cao
e8bbe6c713
Let user remove nostr pubkey from account
2023-06-16 14:34:32 +02:00
Râu Cao
49de4007ab
Settings page for adding verified nostr pubkeys
2023-06-16 14:22:30 +02:00
Râu Cao
f74227fedb
Allow users to set/update their display name in LDAP
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2023-05-27 19:59:49 +02:00
Râu Cao
32d1992632
Set user instance var for settings routes where needed
2023-05-27 19:58:59 +02:00
Râu Cao
134c81460a
Allow email address updates on account settings page
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-05-25 16:58:53 +02:00
Râu Cao
4e2e13108c
Refactor user preferences, add defaults from file
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Update release notes draft
* Turn prefs into a flat hash structure, since nesting is not worth the
trouble
* Add a custom serializer class for prefs
* Add a config file for defaults and merge set prefs with unset ones
* Use booleans for "true" and "false", and integers where appropriate
2023-04-05 17:02:35 +02:00
Râu Cao
f19baaf22a
Add new user settings pages for Chat and Wallet
2023-04-04 12:28:53 +02:00
Râu Cao
334b47353e
WIP Add notifications preferences page
continuous-integration/drone/push Build is passing
2023-04-03 13:55:58 +02:00
Râu Cao
7f77ad5528
Refactor user settings
...
continuous-integration/drone/push Build is passing
Use resources instead of custom controllers, following the Rails way
and making things much cleaner in the process.
2023-04-03 13:19:07 +02:00
Râu Cao
445a1c80a6
Refactor settings routes and menu
...
Use sub controllers/routes for the sections
2023-01-10 14:13:24 +08:00
a09741ba28
Add dashboard, allow password resets when signed in
2020-11-11 18:56:06 +01:00
674b0a0ff5
Add LDAP logins and password resets, config, etc.
2020-11-10 11:36:06 +01:00