Commit Graph

39214 Commits

Author SHA1 Message Date
mngshm
0f24ba01f5 refactor: dedup code 2025-04-25 15:10:05 +05:30
mngshm
5d5e418676 remove Dependency injection and functionality for DeleteLastNotificationTime 2025-04-24 15:38:39 +05:30
mngshm
ccfd7abf83 remove batching 2025-04-24 15:27:58 +05:30
mngshm
f609cef79e modify code to pass timeDuration as parameter to get list of users
previously all users without families were fetched and later 30 days check was being done.
With this modification, in the future custom duration can be passed and depending on that one could get the list of users. The compiler decides if more time has passed dependeing on what is the underlying nanoseconds value of time.Time value. Older dates are less in size compared to Newer Dates. Hence, s.created_at >=  is an appropriate calculation
2025-04-23 17:41:54 +05:30
mngshm
ab5c02d792 delete last notification time from table after successful execution of ReplaceSubscription 2025-04-22 15:45:37 +05:30
mngshm
20a26eac3b Delete entry from table whenever there is a change in subscription 2025-04-22 15:19:37 +05:30
mngshm
e7b5815039 minor fix 2025-04-21 15:47:02 +05:30
mngshm
8e313840fd remove unnecessary log statement 2025-04-21 11:05:39 +05:30
mngshm
df8ca468db turn off OnFirstFIleUpload email trigger 2025-04-19 16:15:39 +05:30
mngshm
4623e05eb5 update subject, notification ID's 2025-04-18 19:42:40 +05:30
mngshm
edf6baef6e 90% storage exceeded email template 2025-04-18 19:30:25 +05:30
mngshm
611d2684c4 Family nudge email template 2025-04-18 18:49:14 +05:30
mngshm
8bab350624 Comment 2025-04-03 19:26:08 +05:30
mngshm
6474ff25a7 Update Comment 2025-03-28 17:39:01 +05:30
mngshm
7e5a2c4377 [server](StorageExceedingAlerts) Minor tweaks in multiple files 2025-03-17 18:57:59 +05:30
mngshm
f27a2c68ec [server](StorageExceedingAlerts) Delete user's record from notification_history on Subscription Update 2025-03-17 18:57:59 +05:30
mngshm
709a3756f0 [server](StorageExceedingAlerts) repo func to delete record from notification_history table 2025-03-17 18:57:59 +05:30
mngshm
e1a0c1c847 [server](StorageExceedingAlerts) Better struct name 2025-03-17 18:57:59 +05:30
mngshm
763217c6df [server](ServerExceedingAlerts) fix improper SetlastNotificationTimeToNow calls 2025-03-17 18:57:59 +05:30
mngshm
66d9c100ca [server](StorageExceedingAlerts) handle bonus storage separately 2025-03-17 18:57:59 +05:30
mngshm
ba2ae29e3a [server](StorageExceedingAlerts) struct to loop through slices of set of users depending on storage consumed 2025-03-17 18:57:59 +05:30
mngshm
a72694116a [server](StorageExceedingAlerts) refactor/modify existing method to return storage exceeded/exceeding users on the param basis 2025-03-17 18:57:59 +05:30
mngshm
3fc24d139b [server](SendFamilyNudge) record email nudge time in notification_history table 2025-03-17 18:57:49 +05:30
mngshm
50ab944579 [server](SendFamilyNudge) controller method to send emails to user without families after 30 days of sub 2025-03-17 18:57:30 +05:30
mngshm
2b28661f89 [server](SendFamilyNudge) Modify repo func to get subscribed users without families 2025-03-17 18:57:14 +05:30
mngshm
cfa02f631c [server](SendFamilyNudge) method to get list of all subscribed users 2025-03-17 18:56:55 +05:30
Neeraj
5e4862cc3c [fix] steaming fixes (#5168)
## Description

- Update queuing logic
- Use native_video_player + exoplayer branch to fix artifacts for
android
- Support newer namespace and sdk 35
- Store failures and don't retry them
- Modify how sync file data status is happening i.e. don't remote sync
everytime we need to update previewIds, instead update it locally
- Add bandwidth check before queuing
- Remove rotate metadata parameter


Now the player decision logic is:
- Android: Native video Player for both Stream and original source
- iOS: Media Kit for stream and Native Video Player for Original

The UseMediaKitEvent is still there in case of any error or if user long
presses on that button (android) for original source.

## Tests
2025-03-05 10:43:42 +05:30
Vishnu Mohandas
e2dceef8a4 [mob][photos] fix: Allow uploads when link shared from collect photos section (#5225) 2025-03-04 20:04:00 +05:30
Aman Raj Singh Mourya
6083992bfd [mob][photos] fix: Allow uploads when link shared from collect photos 2025-03-04 19:31:45 +05:30
Prateek Sunal
9507c6f882 Merge remote-tracking branch 'origin/main' into stream-queue-fix 2025-03-04 16:33:44 +05:30
Neeraj
e01a2b7d65 [mob] Remove PrimitiveWrapper & simplify FilesDB::insertMultiple (#5222)
## Description

## Tests
2025-03-04 16:27:18 +05:30
Prateek Sunal
5ef1a0d3f7 chore: bump version 2025-03-04 16:11:12 +05:30
Neeraj
9ba2010293 [mob][photos] Video memory (#5211)
## Description
This PR introduces a feature that takes a list of images as input and
generates a video output. Each image is displayed for 2 seconds before
transitioning to the next image with smooth animations (fade, slide,
etc.).
2025-03-04 15:59:03 +05:30
Prateek Sunal
ebab9fd1a0 fix: remove stop code as there is no memory leak now 2025-03-04 15:44:04 +05:30
Aman Raj Singh Mourya
017692d80f [mob][photos] fix: change title to (i) Video Memory to identify its a internal feature 2025-03-04 15:35:43 +05:30
Prateek Sunal
de2bd40401 chore: bump package and add docs to them 2025-03-04 15:35:38 +05:30
Neeraj
50a0af23aa [mob][photos] Home memories [internal] (#5223)
## Description

MVP of new memories, for internal user only.

## Tests

Tested in debug mode on my pixel phone.
2025-03-04 15:24:48 +05:30
laurenspriem
ba6b34be2a [mob][photos] Move models 2025-03-04 15:17:19 +05:30
Prateek Sunal
f41c12cde8 fix: keep r8 enabled 2025-03-04 15:15:41 +05:30
Prateek Sunal
7d9e2eccd6 fix: add info to update to latest verison whenever update is available 2025-03-04 15:13:26 +05:30
laurenspriem
8792167986 [mob][photos] Move clearCache 2025-03-04 15:12:46 +05:30
laurenspriem
dcf6d3a9e1 [mob][photos] Fix title bug 2025-03-04 15:04:31 +05:30
laurenspriem
d9691ac089 [mob][photos] Resolve merge conflixt properly 2025-03-04 15:03:48 +05:30
Prateek Sunal
610c1ffc9f fix: add conflict resolution algorithm as replace 2025-03-04 15:03:42 +05:30
Laurens Priem
35bdacdc56 Merge branch 'main' into home_memories 2025-03-04 14:50:17 +05:30
laurenspriem
2147e13af4 [mob][photos] Fix 2025-03-04 14:45:34 +05:30
Prateek Sunal
1f18c65ff6 fix: add other information like objectId and objectSize to previewIds 2025-03-04 14:38:30 +05:30
Prateek Sunal
985d530aef fix: don't make failureFiles a late variable 2025-03-04 14:20:29 +05:30
Aman Raj Singh Mourya
23dc378888 [mob][photos] fix: feature flag 2025-03-04 14:09:39 +05:30
laurenspriem
b922bacb78 [mob][photos] Move dot product inside MLComputer 2025-03-04 13:45:26 +05:30