47 Commits

Author SHA1 Message Date
Neeraj Gupta
135124a487 Improve err handling 2025-09-10 05:07:31 +05:30
Neeraj Gupta
d3c53794cf Add alert for exactDomain mismatch 2025-09-10 04:52:20 +05:30
Neeraj Gupta
270cee8b09 [server] Support for idn domain 2025-09-10 04:40:27 +05:30
Neeraj Gupta
575314c8a1 [server] Relax origin check for localhost for dev 2025-09-08 14:37:22 +05:30
Neeraj Gupta
2684f9ce11 [server] whitelist shared url 2025-09-08 14:33:31 +05:30
Neeraj Gupta
7f718438aa Minor refactor 2025-09-05 14:44:58 +05:30
Neeraj Gupta
298e3695c7 [server] Fail request on customDomain mismatch 2025-08-19 12:34:31 +05:30
Neeraj Gupta
da590a643f Lint fixes 2025-08-12 13:28:00 +05:30
Neeraj Gupta
e9c41aed1e Alert for origin mismatch 2025-08-12 13:03:42 +05:30
Neeraj Gupta
9d4474393e Merge branch 'main' into refactor_remote_store 2025-08-12 09:39:48 +05:30
Neeraj Gupta
b0eb362037 Fix typo in file link grouping 2025-08-09 06:19:54 +05:30
Neeraj Gupta
1c37332f37 Endpoint to check domain claim 2025-08-08 15:40:05 +05:30
Neeraj Gupta
e443838621 Use diff statuscode when accessToken for password is missing 2025-07-21 16:51:23 +05:30
Neeraj Gupta
6bed9bd8a2 Send file info 2025-07-21 16:44:22 +05:30
Neeraj Gupta
2d0d914fd3 Hook APIs to get file or thumbnail from fileLink 2025-07-18 15:27:02 +05:30
Neeraj Gupta
dbb1ad66d3 Rename and minor fixes 2025-07-18 14:50:57 +05:30
Neeraj Gupta
944bdfc7fa Rename 2025-07-18 13:09:12 +05:30
Neeraj Gupta
51c00eefd4 Support for link password validation 2025-07-17 15:27:21 +05:30
Neeraj Gupta
8d108dc719 Rename 2025-07-17 14:39:20 +05:30
Neeraj Gupta
2e49f581c4 File link token middleware 2025-07-17 14:10:37 +05:30
Neeraj Gupta
47f0722687 Merge branch 'main' into single_file_link 2025-07-15 13:01:29 +05:30
Neeraj Gupta
7986563443 Update limit 2025-05-28 14:00:43 +05:30
Neeraj Gupta
cf5aabbde1 Merge branch 'main' into single_file_link 2025-05-27 10:28:28 +05:30
Neeraj Gupta
b9b239c207 move refactor 2025-05-12 15:18:13 +05:30
Neeraj Gupta
65faa98621 Move to util 2025-05-10 06:27:25 +05:30
Neeraj Gupta
cf4084380c Throttle discord alerts 2025-05-09 14:28:22 +05:30
Neeraj Gupta
2e3ac8b485 Return complete claim instead of userID 2025-03-18 14:30:24 +05:30
Yee Jia Rong
c0a3abb0ed Fixes to make the source 32bit compatible 2025-01-08 22:04:44 +08:00
Neeraj Gupta
d3d419e12d [server] RateLimit max sessions in an hour 2024-11-29 19:33:36 +05:30
Manav Rathi
836fc951f4 Format 2024-11-28 16:06:43 +05:30
Manav Rathi
f096e084ef Don't apply auto-first-admin if internal.admin is set 2024-11-28 16:04:04 +05:30
Manav Rathi
2196c3dbc8 Fix code that didn't even compile 2024-11-28 15:55:16 +05:30
Manav Rathi
c6872d2d35 [server] Document the internal.admin flag
Complements https://github.com/ente-io/ente/pull/4228
2024-11-28 15:42:33 +05:30
Andy
55cd084ea8 Add support for specifying a singular admin id to workaround GetIntSlice issue 2024-11-28 03:11:52 -05:00
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
4dc2d277d2 [server] Add API to terminate userSession 2024-10-22 10:16:52 +05:30
Neeraj Gupta
0947b2bbaa [server] Fix sharing validation 2024-09-13 14:14:31 +05:30
Neeraj Gupta
829b4ab436 [server] Treat firstUser as admin if admins config is empty 2024-08-24 16:35:25 +05:30
Neeraj Gupta
5ac92f5ce4 [server] Fix skip log check 2024-08-21 12:42:10 +05:30
Neeraj Gupta
9d48fa4a50 [server] Send 5xx if query to validate token fails 2024-08-14 10:22:57 +05:30
Neeraj Gupta
7b610dbc34 [server] Log request body in output for error 2024-08-13 10:26:57 +05:30
Neeraj Gupta
5d0c337bfb [server] Reduce log noise 2024-08-13 10:22:16 +05:30
Neeraj Gupta
29cf5b91a5 [server] Fix deviceLimit tracker 2024-08-03 16:37:00 +05:30
Neeraj Gupta
4694bf6b7e [server] Ratelimit add device code API for cast 2024-04-25 14:07:10 +05:30
Neeraj Gupta
7de60f1ced [server] Reduce discord message frequency 2024-03-18 10:02:13 +05:30
Neeraj Gupta
12b9ac4db6 [server] Rate limit (#1121)
## Description

## Tests
2024-03-17 09:59:59 +05:30
Neeraj Gupta
531bb344fe Import museum 2024-03-01 13:37:01 +05:30