Commit Graph

404 Commits

Author SHA1 Message Date
Neeraj Gupta
52103c4b2f Fix: match value instead of ptr 2025-06-18 16:23:05 +05:30
Neeraj Gupta
79d35f3710 Gracefully handle client retry 2025-06-17 10:16:49 +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
c0ceb68dc6 Say hello to paid customers 2025-05-31 13:45:51 +05:30
vishnukvmd
feb6a82755 Mark upgrades 2025-05-31 13:44:55 +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
a683883733 Increase file size limit 5 -> 10 GiB 2025-05-21 15:20:12 +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
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 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
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
d198f0c273 Use access ctrl for verifying access 2025-05-05 10:01:33 +05:30
Neeraj Gupta
93186421b1 Fix jwt token expiry time 2025-05-02 14:12:33 +05:30
Neeraj Gupta
70dc4db1c5 Return happy response when account is already recovered 2025-05-01 00:45:24 +05:30
Neeraj
39509813c6 [server] Support for self-recovery on account deletion (#5712)
## Description

## Tests
2025-04-25 13:39:49 +05:30
Neeraj Gupta
9b15ab2f2f Remove log 2025-04-25 12:12:26 +05:30
Neeraj Gupta
31f6671626 Gracefully handle bad or expired tokens 2025-04-25 12:11:43 +05:30
Neeraj Gupta
c32e4be8be copy change 2025-04-25 11:57:23 +05:30
Neeraj Gupta
851aed6a78 Add link in delete email to auto-recover account 2025-04-25 11:37:25 +05:30
mngshm
f183c56c20 minor reorganizations of checks 2025-04-24 01:45:11 +05:30
mngshm
2577b9c93a remove redundant code 2025-04-22 21:55:50 +05:30
mngshm
e6deea1533 separate ott generation purpose checks 2025-04-22 19:10:42 +05:30
mngshm
efa4c46f6e fixes #5684: don't send OTT if disable registration == true 2025-04-22 16:43:59 +05:30
Neeraj
361283f072 [server] Add retry while putting metadata obj in s3 (#5688)
## Description

## Tests
2025-04-22 10:09:43 +05:30
Neeraj Gupta
3b4f9ecc22 [server] Add retry while putting metadata obj in s3 2025-04-22 09:52:21 +05:30
Neeraj
f8f2e6f7c7 [server] Preview public albums (#5601)
## Description

## Tests
[ ] Local testing pending
2025-04-15 15:11:48 +05:30
Neeraj Gupta
4bd31aeea8 Refactor 2025-04-12 14:55:48 +05:30
Neeraj Gupta
f2736c43c1 Refactor 2025-04-12 14:37:33 +05:30
Neeraj Gupta
c6b4cba8b4 [server] Auto recovery post deletion 1/x 2025-04-12 13:47:46 +05:30
mngshm
ffdf5960c0 log.Error log.Info 2025-03-23 00:00:25 +05:30
Neeraj Gupta
2e3ac8b485 Return complete claim instead of userID 2025-03-18 14:30:24 +05:30
Neeraj Gupta
47f0c88ed8 Extract method 2025-03-18 14:27:39 +05:30
Neeraj Gupta
629d0e69cd [server] Update from address for family related emails 2025-03-13 14:18:57 +05:30
mangesh
9d2e1cd502 [server] Soft error msgs when billing/payment data(config) is not found (#5269)
From discord discussion

the pr makes changes to the error strings which are thrown when
configuration reltaed to payment and billing isn't found. The error
messages are changed so to not scare self hosters while we are aware of
it on the production instance.
2025-03-10 12:24:21 +05:30
mngshm
26cb6ad722 [server] avoid scary error msgs if payment/billing configuration is not found 2025-03-10 11:58:59 +05:30
Neeraj Gupta
42d2136d32 Merge branch 'main' into sizeRetry 2025-02-26 14:54:56 +05:30