Commit Graph

23 Commits

Author SHA1 Message Date
Georges-Antoine Assi
45edc8fcc0 use stores for loading global data 2025-08-28 09:48:52 -04:00
Michael Manganiello
9cede7680f feat: Add incremental sync for RetroAchievements progression
This change makes the RetroAchievements progression sync endpoint to
optionally perform an incremental sync (when `incremental` is true),
by only fetching new achievements since the last sync.

This reduces the amount of data fetched and speeds up the sync
process for users who frequently sync their progression. It unblocks the
implementation of automatic periodic syncs in the future.

Frontend behavior:
- When the `Apply` button is clicked in the RetroAchievements settings,
  a full sync is performed (same as before). This is because a change to
  the RA username may have occurred.
- When the `Sync` button is clicked, an incremental sync is performed.
2025-08-27 10:41:51 -03:00
Georges-Antoine Assi
7fba92588d get rid of delete response 2025-08-02 14:39:33 -04:00
Georges-Antoine Assi
1f5fa946be cleanup auth resopnses 2025-08-02 13:47:04 -04:00
Georges-Antoine Assi
70fe56296b Replace MessageResponse with spcific responses 2025-08-02 13:42:35 -04:00
Michael Manganiello
b1ba322408 fix: Use request body for user creation and update endpoints
Stop using query parameters for user creation and update endpoints in
the API. Instead, use the request body to pass user data.

This change stops leaking sensitive information like passwords in the
URL.

Fixes #2010
2025-06-25 00:44:05 -03:00
zurdi
d0799409e2 feat: implement user registration with invite link handling and create Register component 2025-05-13 22:58:59 +00:00
zurdi
0d09f510de feat: implement invite link creation with role assignment and user registration 2025-05-13 22:28:46 +00:00
zurdi
500ff5e67f add: endpoint to generate invite link token 2025-05-13 17:40:07 +00:00
zurdi
e17f6b44de feat: Add RetroAchievements integration and user profile syncing
- Implemented RA hash handling in ROM processing.
- Added functionality to refresh RetroAchievements data for users.
- Updated user model to store RA progression data.
- Created a new component for managing RetroAchievements settings in user profiles.
- Enhanced ROM metadata to include merged RA achievements and badge paths.
- Refactored API calls to accommodate new RA features and removed unused API key handling.
- Updated frontend components to reflect changes in RA metadata and user settings.
- Adjusted Docker configuration for database service naming.
2025-04-22 21:08:10 +00:00
zurdi
30a0be2c4c Merge branch 'master' into HEAD 2025-04-10 22:56:55 +00:00
Georges-Antoine Assi
8177a0c8ae merge user and settings endpoints 2024-12-14 22:11:42 -05:00
Georges-Antoine Assi
e953398cab add email to user create 2024-12-12 10:43:45 -05:00
Georges-Antoine Assi
82ac766c9e oidc login using email 2024-12-12 10:08:27 -05:00
SaraVieira
dc3a363bf2 finish endpoint; add final FE 2024-09-04 23:29:15 +01:00
SaraVieira
3070b7e9be use data from db 2024-09-04 18:09:33 +01:00
Georges-Antoine Assi
b075e93321 Merge branch 'master' into trunk-io 2024-05-24 16:47:19 -04:00
Georges-Antoine Assi
b5f731aa8c [Hotfix] Uploading user and rom images 2024-05-23 13:09:02 -04:00
Georges-Antoine Assi
a7cf0d389a run trunk format on all files 2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
a719b233ec fix updating user image 2024-05-16 22:53:53 -04:00
Georges-Antoine Assi
62bfa69780 fix frontend build 2024-05-14 15:39:35 -04:00
Georges-Antoine Assi
f957df17d6 Merge branch 'master' into emulatorjs 2024-01-19 15:48:49 -05:00
Georges-Antoine Assi
faec4bd103 loading states 2024-01-19 10:52:28 -05:00