Commit Graph

815 Commits

Author SHA1 Message Date
vishnukvmd
55fd87face [server] Fix migration index 2025-06-03 12:42:25 +05:30
Neeraj
d15c11cc26 [server] Defer file data replication for 10min (#6139)
## Description

## Tests
2025-06-02 16:04:48 +05:30
Vishnu Mohandas
9060eaa0e5 [server] Update first-upload copy (#6138) 2025-06-02 16:01:02 +05:30
vishnukvmd
3a9d507c35 Update copy 2025-06-02 15:59:33 +05:30
Neeraj Gupta
b4fdf441ec Defer filedata replication for 10min 2025-06-02 15:30:31 +05:30
Vishnu Mohandas
e798ac02c6 [server] Check in with paid customers (#6106)
## Description
Update the `subscriptions` table to store the time at which
subscriptions were upgraded (`upgraded_at`).

Reach out to customers who upgraded 7 days ago to make sure all is well.
<img width="628" alt="Screenshot 2025-05-31 at 1 41 09 PM"
src="https://github.com/user-attachments/assets/7d1e970a-c7fa-4666-8d4f-db13ba7c105d"
/>

Store this information within `notification_history` so they are not
contacted again (in case of admin interventions).

> Note: We will not be back-filling data for existing subscriptions.

## Tests
- [x] Tested locally to make sure only customers who upgraded 7 days ago
were pinged.
2025-06-02 15:25:23 +05:30
vishnukvmd
a15084374b Setup cron 2025-05-31 13:45:55 +05:30
vishnukvmd
c0ceb68dc6 Say hello to paid customers 2025-05-31 13:45:51 +05:30
vishnukvmd
0b87152057 Hello email 2025-05-31 13:45:27 +05:30
vishnukvmd
feb6a82755 Mark upgrades 2025-05-31 13:44:55 +05:30
vishnukvmd
85c418c9f6 Update query 2025-05-31 13:44:32 +05:30
vishnukvmd
cc68189004 Update model 2025-05-31 13:44:25 +05:30
vishnukvmd
21c1328428 Add column to store upgraded-at timestamps 2025-05-31 13:42:13 +05:30
vishnukvmd
1375b4df12 Fix typo 2025-05-31 13:06:52 +05:30
Neeraj
026669b0d0 [Server] Return epochTime in microSeconds (#6094)
## Description

## Tests
2025-05-30 14:21:55 +05:30
Neeraj Gupta
741aed7565 return utc epochTime in auth diff 2025-05-30 14:19:33 +05:30
Neeraj
f045dc8e04 [server] Update limit (#6073)
## Description

## Tests
2025-05-28 14:13:30 +05:30
Neeraj Gupta
7986563443 Update limit 2025-05-28 14:00:43 +05:30
Neeraj
114dfb1f41 [server] Prefer second hot bucket for export (#6071)
## Description

## Tests
2025-05-28 13:15:40 +05:30
Neeraj Gupta
e14510f46e Remove log 2025-05-28 12:46:05 +05:30
Neeraj Gupta
ea1319b13b Prefer second hot bucket for export 2025-05-28 12:44:38 +05:30
Neeraj Gupta
7afb305dbb Fix: Typo in bucket name for filedata multipart url 2025-05-28 10:36:38 +05:30
Neeraj
9c26f4040a [server] Add multipart upload support for preview data (#5992)
## Description

## Tests
2025-05-23 15:31:11 +05:30
Neeraj Gupta
91268341be Fix: Return correct status code for maxPassKey err 2025-05-22 11:27:31 +05:30
Neeraj Gupta
a683883733 Increase file size limit 5 -> 10 GiB 2025-05-21 15:20:12 +05:30
Neeraj Gupta
4a19fc077e Change file_data.obj_size column type 2025-05-21 11:13:05 +05:30
Neeraj Gupta
4dc6890afc Add multipart upload support for preview data 2025-05-21 08:14:53 +05:30
Neeraj Gupta
a062c1ccc3 Fix err handling 2025-05-20 16:35:22 +05:30
Neeraj Gupta
465e69b254 Whitelist range header 2025-05-20 10:13:12 +05:30
Neeraj Gupta
d06016dddc Update status code 2025-05-14 10:02:54 +05:30
Neeraj Gupta
244ec87a9a Rename 2025-05-14 09:40:57 +05:30
Neeraj Gupta
b22bc93e57 Send updatedAt along with fileData 2025-05-13 18:01:19 +05:30
Neeraj Gupta
9d28fa99a3 Version check support during ml data put 2025-05-13 15:09:55 +05:30
Manav Rathi
d63da04392 [server] 204 tweak
- Sibling of https://github.com/ente-io/ente/pull/5880
- Tested using https://github.com/ente-io/ente/pull/5885
2025-05-12 20:42:12 +05:30
Neeraj Gupta
47b2e0d0ab Sending 204 instead of 404 for no data 2025-05-12 16:53:24 +05:30
Neeraj
ece63f7a8d [server] Improve handling of errors (#5860)
## Description

## Tests
2025-05-12 13:18:01 +05:30
Neeraj Gupta
2dd9a080c6 Enable sharing for fav 2025-05-10 07:34:06 +05:30
Neeraj Gupta
57a4e6dd15 Update err copy 2025-05-10 07:26:44 +05:30
Neeraj Gupta
93cd2d30e4 Improve handling for ott errors 2025-05-10 07:22:28 +05:30
Neeraj Gupta
f65db123f2 Refactor 2025-05-10 07:12:01 +05:30
Neeraj Gupta
d697f22896 Improve SRP response 2025-05-10 07:01:39 +05:30
Neeraj Gupta
65faa98621 Move to util 2025-05-10 06:27:25 +05:30
Neeraj Gupta
38663088b1 Move to util 2025-05-09 15:49:20 +05:30
Neeraj Gupta
cf4084380c Throttle discord alerts 2025-05-09 14:28:22 +05:30
Neeraj
deb68d5cfc [server] Improve logs (#5853)
## Description

## Tests
2025-05-09 14:02:59 +05:30
Neeraj Gupta
327bda5b30 Log validationErr details as warning 2025-05-08 11:20:53 +05:30
Neeraj Gupta
c3b1da2a7e Fix handling of unwrapped error 2025-05-08 11:19:57 +05:30
Neeraj
68ac3503ed [server] Use access ctrl for verifying access (#5801)
## Description

## Tests
2025-05-05 13:33:26 +05:30
Manav Rathi
6d8051dfa0 [quickstart] Gracefully handle case when docker compose is not present
When docker is present but docker compose is not present, the `docker compose`
invocation would fail. We want the early exit (`set -e`), so instead do a
fallback to set dcv to an empty string so that it later fails in the `test -z
dcv` case below and prints the intended error message.
2025-05-05 12:37:48 +05:30
Neeraj Gupta
d198f0c273 Use access ctrl for verifying access 2025-05-05 10:01:33 +05:30