Commit graph

41 commits

Author SHA1 Message Date
Neeraj Gupta 6a186ef420 [server] Add option to updateMetadata without versionChange 2024-05-11 13:31:46 +05:30
Neeraj Gupta 87a2f0e0df [server] Avoid pulling files with no-embedding info 2024-05-10 16:09:49 +05:30
Neeraj Gupta b100d455dd [server] always use upperCase for castCode 2024-05-09 17:49:53 +05:30
Neeraj Gupta 316473f5cf [server] convert email to lowerCase 2024-05-08 20:35:21 +05:30
Neeraj Gupta a62edad446 [server][cast] Fix err handling 2024-05-03 12:36:02 +05:30
Neeraj Gupta 99b13d18b0 [server][cast] Generate alphaNumeric deviceCode 2024-05-03 12:29:32 +05:30
Neeraj Gupta 94d0378e18 [server] Clean up old cast sessions 2024-04-25 14:43:25 +05:30
Neeraj Gupta 8038583d5a [server] Restrict casting to same IP 2024-04-25 14:03:25 +05:30
Neeraj Gupta ef0873082a Fixed typo 2024-04-25 13:02:54 +05:30
Neeraj Gupta 3fbf6674fe [server] Add API to return feature flags value 2024-04-22 16:57:00 +05:30
Neeraj Gupta fbf8b61891 [server] Fix query 2024-04-19 19:20:21 +05:30
Neeraj Gupta 816fa330de [server] Implement support for copying object 2024-04-19 11:26:14 +05:30
Neeraj Gupta aabb884828 [server] Add validation logic for file copy 2024-04-17 15:19:20 +05:30
Manav Rathi 74b9a2a408
[server] Specify a default for apps.public-albums
local.yaml is only loaded in the local environment, and will not be used in
production. To avoid specifying it in both production and local configurations,
use it as a default specified in the code instead (that's the pattern we're
using in other places too from what I remember, maybe we should refactor that
too, but that's a bigger task not tied to this change).

**Tested by**

On a local dev cluster
- Not specifying anything and ensuring that the default is picked
- Specifying an override in museum.yaml and verifying that is used instead
2024-04-16 09:19:13 +05:30
Neeraj Gupta c73dc36a8c
[Server] Fix data cleanup pipeline for recovered account (#1410)
## Description
For accounts that were recovered post deletion (within x days), we were
not removing the entry from data_cleanup cron.

The data_clean up cron anyways verify that the account is indeed deleted
before proceeding with deletion, so it was not causing any harm, but the
cron was logging error.

## Tests

- [x] Verify that data clean up entry is removed if the account is
recovered
- [x] Verify that for existing data_cleanup entry for already recovered
account, the entry is deleted from cron.
2024-04-15 10:09:29 +05:30
Neeraj Gupta 8ed2c7cff9
[server] Pick base publicHost url from config (#1443)
## Description

## Tests
Ran locally with the config in local.yaml and verified that it's
modified as well when I had put localhost:3002 in the museum.yaml config
2024-04-15 09:56:21 +05:30
Neeraj Gupta 02e8861e96 [server] Remove entry from data cleanup on account recovery 2024-04-11 10:54:38 +05:30
Neeraj Gupta 73eacfb30d [server] Use correct app while updating ott table 2024-04-09 11:14:44 +05:30
Neeraj Gupta 85778bcdaa [server] Fix handling of redundant auth update 2024-04-03 07:05:03 +05:30
Neeraj Gupta 459c4515a0 [server] Drop locationTag table and related code 2024-03-29 16:08:28 +05:30
Neeraj Gupta 685e1b82c9 [server] Fix query for diff API 2024-03-19 12:09:39 +05:30
Neeraj Gupta 2b3494e61c [server] Return embedding version in API response 2024-03-19 11:25:00 +05:30
Neeraj Gupta 05b0f1649f [server] store embedding objSize & version 2024-03-19 11:02:22 +05:30
Neeraj Gupta f0236acf8f [server] Minor bug fixes in embedding/files API 2024-03-19 06:15:55 +05:30
Neeraj Gupta e927064476 [server] Add endpoint to get embedding for givenFilesIds 2024-03-17 09:37:02 +05:30
Neeraj Gupta e843ea6669 [server] Change param type from uuid to string 2024-03-11 22:45:53 +05:30
Neeraj Gupta bb68b22adb [server] mark queue as deprecated 2024-03-11 15:41:18 +05:30
Neeraj Gupta 5accf4c6a8 [server] Remove dead code related to collecton trashV2 2024-03-11 15:41:18 +05:30
Neeraj Gupta c32f0a28f1 [server] Release previous locks taken by host on statup 2024-03-11 11:43:02 +05:30
Neeraj Gupta 6e160dca43 Fix minor bugs 2024-03-08 15:15:00 +05:30
Neeraj Gupta 1f7d9dbb86 Rename passKey to passkey 2024-03-08 15:15:00 +05:30
Neeraj Gupta a780598607 Fix sql query 2024-03-08 15:15:00 +05:30
Neeraj Gupta 7f66714d96 Refactor + bug fixes 2024-03-08 15:15:00 +05:30
Neeraj Gupta 980ab6c49c Refactor: extend totp recovery API to recover passkey 2024-03-08 15:15:00 +05:30
Neeraj Gupta 50c3a7a8e5 Store resetSecret in encrypted form 2024-03-08 15:15:00 +05:30
Neeraj Gupta f766484b2e Rename account_recovery -> two_factor_recovery 2024-03-08 15:15:00 +05:30
Neeraj Gupta 42e4364fda Add APIs to allow user to skip passkey based two-fa 2024-03-08 15:15:00 +05:30
Neeraj Gupta 09a7d557d2 Add API to get account two recovery status 2024-03-08 15:15:00 +05:30
Manav Rathi 795c2baf0f Fix lint 2024-03-05 16:53:15 +05:30
Neeraj Gupta 34743171f9
[server] Add API to re-queue item for processing (#679)
## Description

## Tests
2024-03-05 15:15:23 +05:30
Neeraj Gupta 531bb344fe Import museum 2024-03-01 13:37:01 +05:30