Commit Graph

308 Commits

Author SHA1 Message Date
Neeraj Gupta
4dc2d277d2 [server] Add API to terminate userSession 2024-10-22 10:16:52 +05:30
Neeraj Gupta
49c8e545b3 [server] Remove freshToken req for account recovery 2024-10-19 11:16:57 +05:30
Neeraj Gupta
8c722c39ec [server] Remove invites & remove members during closeFamily 2024-09-24 15:28:47 +05:30
Neeraj Gupta
5f873a0f7b Increase waittime on error 2024-09-19 11:55:54 +05:30
Neeraj Gupta
a8c7dd52ba [server] Slow down crons 2024-09-19 11:49:48 +05:30
Neeraj Gupta
41512540e4 [server] Remove timelimit for applying referral code 2024-09-18 11:20:15 +05:30
Neeraj Gupta
7911c14e40 [server] Return 4xx for bad request (#3302)
## Description

## Tests
2024-09-17 09:50:38 +05:30
Neeraj Gupta
802ba2bc5b [server] Gracefully handle duplicate update req (#3301)
## Description

## Tests
2024-09-17 09:14:19 +05:30
Tobias Genannt
d25420c867 [server] Optional SMTP authentication
When using a local relay server, not authentication is needed. To
support this use-case authentication is only send to the server when an
user and password are set in the configuration file.
2024-09-15 15:15:10 +02:00
Neeraj Gupta
0947b2bbaa [server] Fix sharing validation 2024-09-13 14:14:31 +05:30
Manav Rathi
af6feaf735 [server] Remove unused roadmap related endpoints 2024-09-09 13:46:54 +05:30
Neeraj Gupta
9920578ca2 [server] Log slowUpload for all destinations 2024-09-06 13:29:57 +05:30
Manav Rathi
9a37542158 [server] Load museum.yaml after configuration.yaml
Since museum.yaml is gitignored, loading it the last makes it easier to do
ad-hoc configuration changes without marking the git tree dirty.
2024-09-05 09:59:32 +05:30
Neeraj Gupta
c416819f0a [server] Increase duration of free trial 2024-09-04 12:18:06 +05:30
Neeraj Gupta
a54237e8e2 [server] Gracefully handle auth key exist err 2024-09-02 17:04:04 +05:30
Neeraj Gupta
236d24c79b [server] Gracefully handle deleted users 2024-08-29 18:01:06 +05:30
Neeraj Gupta
7103477598 [server] Reduce filedata delete worker count to 1 2024-08-27 16:30:04 +05:30
Neeraj Gupta
4ecc64e478 [server] Handle case when no entry exists in trash 2024-08-27 12:35:24 +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
0925f7f0a2 [server] Allow adding support bonus 2024-08-27 11:32:48 +05:30
Neeraj Gupta
bf7f1d43c0 [server] Update endpoint 2024-08-27 11:26:59 +05:30
Neeraj Gupta
e0eda79a91 [server] Refactor 2024-08-27 11:20:27 +05:30
Neeraj Gupta
9334540e1e [server] Rename 2024-08-27 11:14:34 +05:30
Neeraj Gupta
f67516f696 [server] Remove duplicate code 2024-08-27 10:56:56 +05:30
Manav Rathi
45c4d1c623 [server] Remove unused endpoint (#2968)
## Description

## Tests
2024-08-27 10:51:47 +05:30
Neeraj Gupta
65497862ea [server] Remove unused endpoint 2024-08-27 10:48:56 +05:30
Manav Rathi
e2c3b625db [server] Log slow replication upload (#2966)
## Description

## Tests
2024-08-27 10:07:40 +05:30
Neeraj Gupta
706bb12273 [server] Log slow replication 2024-08-27 10:00:06 +05:30
Neeraj Gupta
924bee53e8 [server] Upload fileData in async manner 2024-08-26 17:19:54 +05:30
Neeraj Gupta
b258c3a6b7 [server] Remove slow req logging 2024-08-26 17:19:54 +05:30
Neeraj Gupta
34706eff46 [server] Treat invalid attestation resp as badRequest 2024-08-26 11:25:05 +05:30
Brogio
93e2036cfd Update referral.go to check for profanity in code (#2868)
## Description
Checks if the code contains profanity

## Tests
2024-08-26 11:17:14 +05:30
Neeraj Gupta
9be01793ac remove check for deleted user 2024-08-24 16:46:15 +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
5edf3f8e1d [server] Handle case where fileInfo is missing 2024-08-24 16:09:17 +05:30
Neeraj Gupta
0bc8b428bb [server] Log slow files data put requests 2024-08-24 16:00:15 +05:30
Neeraj Gupta
c00d18cb5d minor refactor 2024-08-24 15:39:45 +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
0aba538dd8 [server] Handle invalid domain err (#2848)
## Description

## Tests
2024-08-24 12:51:32 +05:30
Vishnu Mohandas
b11f2adfbe [server] Increase the limit for referral code length (#2845) 2024-08-23 21:21:19 +05:30
Neeraj Gupta
0e0f06d9a6 [server] Handle invalid domain err 2024-08-23 21:02:07 +05:30
vishnukvmd
e9686613b6 Increase the limit for referral code length 2024-08-23 20:21:54 +05:30
Neeraj Gupta
251716bad6 [server] Return 400 on invalid RCPT address 2024-08-23 11:58:55 +05:30
Vishnu Mohandas
bf5e2004cf Update email templates (#2823)
## Description

Updates all templates apart from the ones for family plans to use simple
HTML.

The OTT email is no longer marked as spam by Gmail.

## Tests
- [x] Responsive
- [x] Supports both light and dark themes

## Screenshots

<img width="600" alt="Screenshot 2024-08-22 at 6 16 38 PM"
src="https://github.com/user-attachments/assets/78465ffe-399d-430c-9025-d3c77ff72f67">

<img width="600" alt="Screenshot 2024-08-22 at 6 16 58 PM"
src="https://github.com/user-attachments/assets/1e497cd1-f04a-403a-b4c7-8581f5cfbb91">

<img width="300"
src="https://github.com/user-attachments/assets/ce422733-5a5c-4b30-a6f5-c5003b3da0ed"/>

<img width="300"
src="https://github.com/user-attachments/assets/4468e465-2700-4771-878b-32b19a901074"/>
2024-08-22 18:40:10 +05:30
vishnukvmd
92ab8e5289 ente -> Ente 2024-08-22 18:12:08 +05:30
vishnukvmd
8b40f70936 Simply email verification template 2024-08-22 17:06:10 +05:30
Neeraj Gupta
6ec39e2e6b [server] lint fix 2024-08-21 16:41:10 +05:30