Commit Graph

737 Commits

Author SHA1 Message Date
Manav Rathi
5a411d1d4d [server] Copy only libsodium lib to Docker image
Suggested twice:
- https://github.com/ente-io/ente/pull/3952
- https://github.com/ente-io/ente/issues/5631

Fixes: https://github.com/ente-io/ente/issues/5631

Tested:

Theory: On a clean alpine container, ran `apk add libsodium` then visually glanced using
`docker container diff` that the .so is the only relevant file.

Practice: Recreated the local Docker compose using this updated file and
verified that server runs and can upload files etc.
2025-04-16 06:36:06 +05:30
Neeraj
f8f2e6f7c7 [server] Preview public albums (#5601)
## Description

## Tests
[ ] Local testing pending
2025-04-15 15:11:48 +05:30
Neeraj Gupta
f068d6ef24 Fix panic 2025-04-15 14:02:33 +05:30
Neeraj Gupta
51235bf81b Add support for accessing preview url for public collections 2025-04-12 15:25:04 +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
Manav Rathi
0a1f984082 grammar 2025-04-09 11:32:32 +05:30
Manav Rathi
bdd5036cf8 Update comment 2025-04-04 11:07:19 +05:30
Manav Rathi
6fd2db8d0b Augment not replace 2025-04-04 10:54:22 +05:30
Manav Rathi
7eae2936bd [server] Update service definition for recent env var lookup changes 2025-04-04 10:16:07 +05:30
Vishnu Mohandas
4229238768 [server] Relax criteria for closing families (#5525)
## Description

Users can create a family, leave it and then join another.

In the `families` table, there will be one entry for each such family
they have been a part of (against their `admin_id`).

This PR removes this constraint for only a single row to be affected, so
users who have historically been associated with more than one family
can have a fresh start.
2025-04-03 19:07:19 +05:30
vishnukvmd
d86f4de8ce Relax criteria for closing families 2025-04-03 18:57:39 +05:30
mangesh
f5ea4b0a05 [server] Replace EnvVarKey "-" with "_" (#5496)
Fixes #5493
2025-04-02 16:47:51 +05:30
mngshm
174d9fb82e doc 2025-04-02 16:13:00 +05:30
mngshm
101e27514b Comment 2025-04-02 16:02:52 +05:30
mngshm
f592d73d87 note in local.yaml 2025-04-01 12:10:24 +05:30
mngshm
28295e2b83 Replace '-' with '_' 2025-04-01 12:04:42 +05:30
Vishnu Mohandas
46a090535f [server] Up free storage (#5461)
## Description

## Tests
2025-03-28 16:46:29 +05:30
Manav Rathi
f3eb4c9acf Don't silently fail if docker is not installed 2025-03-28 08:10:03 +05:30
Manav Rathi
70924b7416 Don't rely on the -w flag for base64 2025-03-28 08:06:43 +05:30
mangesh
164df3edef [server] log.Error log.Info (#5425) 2025-03-25 06:36:54 +05:30
vishnukvmd
69c71d23c3 Migrate existing free folks 2025-03-24 14:45:38 +05:30
vishnukvmd
214573e0c2 Increase free storage to 10gb 2025-03-24 14:45:28 +05:30
mngshm
ffdf5960c0 log.Error log.Info 2025-03-23 00:00:25 +05:30
Manav Rathi
803d36c915 Add callout 2025-03-21 20:26:04 +05:30
Manav Rathi
a4ab3168ad Add note 2025-03-21 16:59:10 +05:30
Manav Rathi
f5f323cf3e Improve UX 2025-03-21 13:35:04 +05:30
Manav Rathi
8b52d5583c Mention open port 2025-03-21 13:08:14 +05:30
Manav Rathi
3fdbd8c735 Inline and split 2025-03-21 12:52:48 +05:30
Manav Rathi
dbb2ae79c6 Remove unnecessary forwards
localhost is user's host
2025-03-21 12:28:14 +05:30
Manav Rathi
58ffbc5eb4 Start implementing outline 2025-03-21 12:20:24 +05:30
Manav Rathi
e8cf80bfde Update links 2025-03-21 12:15:48 +05:30
Manav Rathi
2216c2c746 Outline new approach and move doc 2025-03-21 12:06:52 +05:30
Manav Rathi
d5488954b3 creds are autogened 2025-03-21 09:23:21 +05:30
Manav Rathi
a6f9f3565d fix 2025-03-21 08:55:38 +05:30
Manav Rathi
aada6bf415 tr 2025-03-21 08:30:38 +05:30
Manav Rathi
822d74b65b base64url
Test harness:

while true; do gen_jwt_secret | node -e 'const s = require("fs").readFileSync(0, "utf8").trim(); const ls = require("libsodium-wrappers-sumo"); ls.ready.then(() => console.log(s, ls.from_base64(s, 5).length))'; sleep 1; done
2025-03-21 08:23:00 +05:30
Manav Rathi
cfc76b7e14 Disable b64 wrap 2025-03-21 07:38:54 +05:30
Manav Rathi
bb8a25bf63 autogen 2025-03-20 21:52:38 +05:30
Manav Rathi
74eff4d50b Apparently more portable 2025-03-20 21:03:26 +05:30
Manav Rathi
d01fdd966f b check 2025-03-20 20:59:38 +05:30
Manav Rathi
0758c8a623 Outline 2025-03-20 20:47:11 +05:30
Manav Rathi
47e6419e23 Prep 2025-03-20 20:34:50 +05:30
Manav Rathi
c3fe7ab171 HEAD => main 2025-03-20 17:42:17 +05:30
Manav Rathi
f2acf75b4a min ver check 2025-03-20 17:34:01 +05:30
Manav Rathi
a0b4315842 docker check 2025-03-20 17:06:42 +05:30
Manav Rathi
df7d49d2cc Update 2025-03-20 16:35:28 +05:30
Manav Rathi
0a33a44752 Update 2025-03-20 16:25:38 +05:30
Manav Rathi
b37c2bc047 Update 2025-03-20 13:58:39 +05:30
Manav Rathi
08d6fa3b6b Rearrange 2025-03-20 13:54:24 +05:30