103 Commits

Author SHA1 Message Date
Neeraj Gupta
76b2a73f9a clean up 2025-02-24 15:00:33 +05:30
Neeraj Gupta
4bbe1ae0d2 [server] Remove embeddings handler 2025-02-24 14:49:21 +05:30
Neeraj Gupta
245e78ac42 [server] Limit support while fetching collections 2025-02-24 12:29:20 +05:30
Neeraj Gupta
f907303c8b [server] move files 2025-02-21 12:08:16 +05:30
mangesh
45074f85d9
[server] API for modifying family member storage limit (#5028)
## Tests 

Tested in followin cases 
1. various statuses "REJECTED", "REVOKED" and "SELF" etc
2. user not part of any family & admin user
3. storage limit check on bulk upload
4. reduce storage check 
5. set storage bigger than anything available in the world
6. admin shouldn't be able to set his own storage.

- [x] check for potential refactoring
2025-02-13 16:07:16 +05:30
mngshm
79712182af [server] include usageRepo inside family controller 2025-02-11 18:34:41 +05:30
Neeraj Gupta
7621041ce0 Revert "[mob] Fix exif time parsing (#4985)"
This reverts commit 5b17711b55e9e8995454121e3a209ee5e8c9b3c1, reversing
changes made to 85bf3eebcb5ac197ce6a5901cbc8db1d03be0113.
2025-02-11 18:27:17 +05:30
mngshm
59e26779b9 [server][WIP] functionality for modifying users storage limit 2025-02-10 19:36:40 +05:30
Neeraj
7e320693a1
[server] Remove unused endpoint (#4772)
## Description

No logs for request in last 30 days and client code also don't refer to
this endpoint.

## Tests
2025-01-20 11:09:31 +05:30
Neeraj Gupta
73a8550844 [server] Add remaining mails for legacy 2025-01-15 15:41:13 +05:30
Neeraj Gupta
9e901c78ef [server] Send email when link is joined 2025-01-07 11:45:46 +05:30
Neeraj Gupta
6a01cda379 Merge remote-tracking branch 'origin/main' into join_change 2025-01-06 11:58:03 +05:30
Neeraj Gupta
3172bc613c
Request feedback on subscription cancellation (#4590) 2025-01-06 11:31:23 +05:30
Neeraj Gupta
e74d705446 [server] API to enable joining collection via link 2025-01-06 11:27:22 +05:30
vishnukvmd
f967b6b00e Request feedback on paid sub cancellation 2025-01-04 17:05:07 +05:30
Manav Rathi
6516b457cb
[server] Add workaround for intermittent Safari CORS errors
At times, Safari will fail our API responses because its CORS preflight fails.
The errors are reproducible, but intermittently, and not on localhost.  We seem
not to be the first ones to hit [this](https://github.com/processing/p5.js-web-editor/issues/3156).

Based on a hint from:

https://github.com/supabase/supabase/issues/20982#issuecomment-2548329565

Modify our CORS responses to use 200 instead of 204 to try and fix Safari.
2024-12-30 12:13:53 +05:30
Neeraj Gupta
1bef409552
[server] Return various app urls as part of relevant API response. (#4458)
## Description

For the cast dialog, that we show on the app, before making the API call
to pair. Have parked that change for now.

## Tests
2024-12-23 15:08:00 +05:30
Neeraj Gupta
62155040da Review comment + return castUrl as part of featureFlag 2024-12-23 14:19:33 +05:30
Neeraj Gupta
0df0126af4 [server] Disable 2fa on legacy account recovery 2024-12-21 17:15:50 +05:30
Neeraj Gupta
150faa5d84 [server] Config for accounts,cast, & family apps 2024-12-21 11:46:12 +05:30
Neeraj Gupta
4546d60e61 Merge remote-tracking branch 'origin/main' into video_file_preview 2024-12-18 13:09:19 +05:30
Neeraj Gupta
38d679f574 [server] Clean up emergency contacts on account deletion 2024-12-12 15:32:10 +05:30
Neeraj Gupta
7b85d216dd [mob] Legacy UX fixes 2024-12-10 14:34:17 +05:30
Neeraj Gupta
1222a063e8 Add support for approving recovery 2024-12-10 13:33:18 +05:30
Neeraj Gupta
e6fa7d4e21 [server] Migrate server changes for emergency contact 2024-12-06 21:41:28 +05:30
Neeraj Gupta
9fb1dbf67e Merge branch 'main' into video_file_preview 2024-11-29 23:50:58 +05:30
Neeraj Gupta
a54cbd779a [server] Alert on object replcement 2024-11-29 12:01:34 +05:30
Neeraj Gupta
b5c2991575 Merge branch 'main' into video_file_preview 2024-11-28 12:46:09 +05:30
Manav Rathi
3049c25db8
[API] Add Cache-control: no-store to API responses
...instead of adding it to ad-hoc API requests.
2024-11-27 08:29:10 +05:30
Manav Rathi
7be9963303
[API] Remove trailing slash from inconsistent cast endpoints
None of our other endpoints have a trailing slash. Remove this inconsistency,
otherwise clients who'd not provide a trailing slash would get an unnecessary
redirect.

Note that the CORS-aware clients (web, desktop) do not automatically follow the
redirect because the ACAO is missing on the 307, so we need keep the old
endpoints around temporarily.

Tested: with web and museum running locally
2024-11-26 09:53:44 +05:30
Neeraj Gupta
25596854d3 [server] Additional data for support dashboard 2024-11-22 15:18:24 +05:30
Neeraj Gupta
a0d46ac60e Merge branch 'main' into video_file_preview 2024-11-07 14:09:56 +05:30
Neeraj Gupta
70f79ebae4 [server] Change method type 2024-10-28 15:12:24 +05:30
Neeraj Gupta
17d1589859 [server] API to get index diff status 2024-10-28 15:03:08 +05:30
Neeraj Gupta
4dc2d277d2 [server] Add API to terminate userSession 2024-10-22 10:16:52 +05:30
Neeraj Gupta
df28a8bf50 [server] Hook API to insert video preview 2024-09-30 16:02:13 +05:30
Neeraj Gupta
b8f1bce341 [server] Initial support for storing video preview data 2024-09-30 14:58:10 +05:30
Neeraj Gupta
a8c7dd52ba [server] Slow down crons 2024-09-19 11:49:48 +05:30
Manav Rathi
af6feaf735
[server] Remove unused roadmap related endpoints 2024-09-09 13:46:54 +05:30
Neeraj Gupta
be3a709335 [server] Use nanoId as reqID 2024-08-30 09:16:43 +05:30
Manav Rathi
46e1552f1e
[server] Cache count improvement (#2972)
## Description
This does not handle the case where the server might get multiple
request for same user to get the count, and the file count is not cached
yet.

## Tests
2024-08-27 12:15:09 +05:30
Neeraj Gupta
e32facf3e6 [server] Refresh fileCount only if trash or usage changed 2024-08-27 12:01:00 +05:30
Neeraj Gupta
bf7f1d43c0 [server] Update endpoint 2024-08-27 11:26:59 +05:30
Neeraj Gupta
65497862ea [server] Remove unused endpoint 2024-08-27 10:48:56 +05:30
Neeraj Gupta
27546fb558 [server] Allow both enabling or removing email MFA 2024-08-24 15:38:13 +05:30
Neeraj Gupta
6786491d72 [server] Add admin endpoint to add ott 2024-08-24 15:35:53 +05:30
Neeraj Gupta
6baa1c08c5 [server] Admin endpoint to disable email mfa 2024-08-24 15:09:32 +05:30
Neeraj Gupta
c57bc22987 [server] Fix request type 2024-08-21 16:39:09 +05:30
Neeraj Gupta
e5d6d324db Add API to update referral code 2024-08-21 16:28:24 +05:30
Manav Rathi
d9d4ffa9e7
[server] Minor tweaks to the new FileData API URLs
- Start with leading slash for easier greppability
- Omit trailing slash for consistency

No production clients are using this yet, so should be safe.
2024-08-13 12:17:53 +05:30