Commit Graph

585 Commits

Author SHA1 Message Date
vishnukvmd
84ad5e9363 Update mails 2025-01-27 16:28:27 +05:30
Manav Rathi
3188643583 [server] Report a client error instead of 5xx on invalid pk signature
e.g.

    --- at /etc/ente/pkg/api/user.go:352 (UserHandler.FinishPasskeyAuthenticationCeremony) ---
    --- at /etc/ente/pkg/repo/passkey/passkey.go:395 (Repository.FinishAuthentication) ---
    Caused by: Error validating the assertion signature: \u003cnil\u003e
2025-01-24 05:35:01 +05:30
Neeraj Gupta
e6e4540671 [server] Fix error type for bad request 2025-01-20 16:42:08 +05:30
Neeraj Gupta
ff3da665a3 [server] Add server side validation 2025-01-20 14:17:22 +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
Tobias Genannt
ae68998069 [server] Make SMTP sender name configurable 2025-01-17 12:00:15 +01:00
Neeraj Gupta
5c7127cba9 Fix lint 2025-01-16 17:38:52 +05:30
Neeraj Gupta
b871f00150 Fix pkg version 2025-01-16 17:35:12 +05:30
Neeraj Gupta
bc8ebab531 clean up 2025-01-16 17:32:11 +05:30
Neeraj Gupta
b70b00cda4 Add dependency on fork to track changes 2025-01-16 17:10:51 +05:30
Neeraj Gupta
52653b6fe4 Clean up logs 2025-01-16 16:52:00 +05:30
Neeraj Gupta
0b26d9abc5 Add missing padding 2025-01-16 16:06:09 +05:30
Neeraj Gupta
77fdfe84ec [server] Add missing padding 2025-01-16 15:34:42 +05:30
Neeraj Gupta
5302f67679 [server] Update srp validation 2025-01-16 15:20:50 +05:30
Neeraj
6031101600 [server] Legacy email reminder (#4737)
## Description
- Sends email when account is ready to be recovered
- Keep sending reminder email every 7 days, till T-2 day when a recovery
attempt is in waiting.

## Tests
Did monkey testing locally by modifying the DB time
2025-01-15 15:48:45 +05:30
Neeraj Gupta
73a8550844 [server] Add remaining mails for legacy 2025-01-15 15:41:13 +05:30
optisamit
787a4c9684 Update RUNNING.md
Fix link to 'Running without docker'
2025-01-12 16:34:40 +02:00
Neeraj Gupta
9fe58e44b0 [server] Improve recovery initialization validation 2025-01-11 15:22:42 +05:30
Vishnu Mohandas
8263eb3912 [museum] Update mail (#4665) 2025-01-11 11:21:11 +05:30
vishnukvmd
a5fc5a75a8 [museum] Update mail 2025-01-11 11:20:40 +05:30
Yee Jia Rong
c0a3abb0ed Fixes to make the source 32bit compatible 2025-01-08 22:04:44 +08:00
Neeraj Gupta
e2f62a390d [server] Fixed typoe 2025-01-08 15:47:55 +05:30
Neeraj Gupta
db4b560a3c [server] Allow write metadata for shared files 2025-01-08 13:57:46 +05:30
Neeraj Gupta
2083632c20 Fix check for single file 2025-01-07 15:57:19 +05:30
Neeraj Gupta
6898f0dbcb Improve err 2025-01-07 15:57:19 +05:30
Neeraj Gupta
48a0bce211 Minor refactor 2025-01-07 15:57:19 +05:30
Neeraj Gupta
d262503b75 [server] Fix access check 2025-01-07 15:57:19 +05:30
Neeraj Gupta
af533ebc1d [server] Enable metadata fetch for shared files 2025-01-07 15:57:19 +05:30
Neeraj Gupta
9e901c78ef [server] Send email when link is joined 2025-01-07 11:45:46 +05:30
Neeraj Gupta
167d2c5d29 Merge remote-tracking branch 'origin/main' into join_change 2025-01-07 11:24:53 +05:30
Neeraj Gupta
9b9112ba4a [server] Disable join by default 2025-01-07 11:24:42 +05:30
Neeraj Gupta
c16289fca9 [server] Return correct value for enableJoin flag 2025-01-07 11:24:42 +05:30
mngshm
2b97899562 fix: remove duplicate declaration of FilesCollectedMuteDurationInMinutes 2025-01-06 12:25:22 +05:30
Neeraj Gupta
6a01cda379 Merge remote-tracking branch 'origin/main' into join_change 2025-01-06 11:58:03 +05:30
mngshm
f34624e0d2 fix lint (?) 2025-01-06 11:39:36 +05:30
Neeraj Gupta
3172bc613c Request feedback on subscription cancellation (#4590) 2025-01-06 11:31:23 +05:30
Neeraj Gupta
4d5b44a4c1 Make linter happy 2025-01-06 11:29:02 +05:30
Neeraj Gupta
afe7705355 Improve canJoin check for public link 2025-01-06 11:27:54 +05:30
Neeraj Gupta
52c0bcb6cf [server] Allow client to update enableJoin flag 2025-01-06 11:27:45 +05:30
Neeraj Gupta
d4b36cb698 [server] Allow client to pass join flag 2025-01-06 11:27:37 +05:30
Neeraj Gupta
e74d705446 [server] API to enable joining collection via link 2025-01-06 11:27:22 +05:30
vishnukvmd
a11ea3b41b Update template 2025-01-04 17:16:05 +05:30
vishnukvmd
f967b6b00e Request feedback on paid sub cancellation 2025-01-04 17:05:07 +05:30
vishnukvmd
afd8d4caac Fix case 2025-01-03 16:52:12 +05:30
Neeraj Gupta
a1e97239c3 [server] Skip sending ott during signup when registrations are disabled (#4563)
## Description

## Tests
2025-01-01 14:39:00 +05:30
Neeraj Gupta
ede505d939 [server] Speed up deletion 2025-01-01 13:40:48 +05:30
Manav Rathi
93071af19a [server] Add workaround for intermittent Safari CORS errors (#4540)
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 18:54:31 +05:30
Manav Rathi
182fd89356 [server] Retain published image commit as branch instead of tag
Overwriting tags is clunky (besides being generally discouraged). e.g. pulling
the overwritten tags locally requires `git fetch --force --tags`. So instead use
the branch `server/ghcr` to point to the commit from which the latest published
ghcr docker image has been built
2024-12-30 13:58:08 +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
7adb166fad [server] Fix canDowngrade storage check 2024-12-27 15:18:55 +05:30