46 Commits

Author SHA1 Message Date
Tobias Genannt
d25420c867 [server] Optional SMTP authentication
When using a local relay server, not authentication is needed. To
support this use-case authentication is only send to the server when an
user and password are set in the configuration file.
2024-09-15 15:15:10 +02:00
Manav Rathi
9a37542158
[server] Load museum.yaml after configuration.yaml
Since museum.yaml is gitignored, loading it the last makes it easier to do
ad-hoc configuration changes without marking the git tree dirty.
2024-09-05 09:59:32 +05:30
Neeraj Gupta
c416819f0a [server] Increase duration of free trial 2024-09-04 12:18:06 +05:30
Neeraj Gupta
c00d18cb5d minor refactor 2024-08-24 15:39:45 +05:30
Neeraj Gupta
0e0f06d9a6 [server] Handle invalid domain err 2024-08-23 21:02:07 +05:30
Neeraj Gupta
251716bad6 [server] Return 400 on invalid RCPT address 2024-08-23 11:58:55 +05:30
Neeraj Gupta
1564d9c0ca refactor 2024-08-12 13:10:54 +05:30
Neeraj Gupta
c88dd22e9c [server] Add bucket b6 2024-08-12 13:07:55 +05:30
Neeraj Gupta
0c392a22a4 [server] Rename 2024-08-12 13:04:13 +05:30
Neeraj Gupta
bac660f7a0 [server] Lint fix 2024-08-10 17:20:03 +05:30
Neeraj Gupta
ffbd76b88b [server] Support for replicating ml data 2024-08-09 12:40:52 +05:30
Neeraj Gupta
da09a5261b [server] Fix key look up 2024-08-09 11:57:21 +05:30
Neeraj Gupta
84fa8f343b clean up 2024-08-06 15:34:27 +05:30
Neeraj Gupta
744d6bc6ea Add helper method to empty bucket for given user 2024-08-05 17:35:05 +05:30
Neeraj Gupta
81c3626c6c Rename 2024-08-05 17:31:12 +05:30
Neeraj Gupta
18d58a9eee [server] Parse config for file-data buckets 2024-08-05 16:44:01 +05:30
Neeraj Gupta
d0fd868705 Merge branch 'main' into file_data 2024-08-05 10:24:02 +05:30
Manav Rathi
6bd9607c94
allow setting extra parameter for dsn (#2607)
## Description
For https://github.com/ente-io/ente/discussions/2603
2024-08-03 18:01:32 +05:30
Neeraj Gupta
14d003dd8f [server] Add API to update referral code 2024-08-03 16:39:15 +05:30
Neeraj Gupta
d1dc977d5e [server] Add struct for fileData config 2024-08-03 16:06:47 +05:30
John Doe
dbab1bad55 allow setting extra parameter for dsn 2024-08-02 21:09:23 +01:00
Neeraj Gupta
e32cd7b64c [server] Expose API to get and put metadata 2024-08-02 15:09:52 +05:30
Neeraj Gupta
a67bc6aee7 [server] Add bucket5 2024-08-01 13:24:25 +05:30
vishnukvmd
d52ea49a96
Update plan IDs for pricing-v4 2024-07-31 15:30:14 +05:30
Neeraj Gupta
626bc71b25 [server] Use req header for client info 2024-07-24 15:02:28 +05:30
Neeraj Gupta
c95260a228 Reduce account jwt token validity to 30mins 2024-06-12 14:13:52 +05:30
vishnukvmd
4561c8f85c Increase grace period of Stripe subscriptions to 14 days 2024-06-11 14:09:57 +05:30
Neeraj Gupta
89b01f0a39 Query DB to get fallback DC 2024-05-17 15:40:09 +05:30
Neeraj Gupta
851f914ef8 Add wasabi-derived in list of dcs 2024-05-15 17:50:05 +05:30
Neeraj Gupta
7eabea3884 Rename embedding dc to derived storage 2024-05-15 16:37:23 +05:30
Neeraj Gupta
3e7b16288f Add support for configuring diff bucket for embeddings 2024-05-14 14:03:35 +05:30
Manav Rathi
321f97cdae
[server] Make sender email configurable 2024-05-12 16:00:15 +05:30
Neeraj Gupta
48f24d48b5 [server] Move generateAlphaNumString to util 2024-05-03 12:11:35 +05:30
Neeraj Gupta
ed69de9875 [server]Log invalid password at warn level 2024-04-11 10:21:56 +05:30
Manav Rathi
74decc32de
[server] Allow a configurable sslmode
Tested

- Existing defaults remain unchanged
- Setting db.sslmode = require in museum.yaml is honoured (in the docker compose environment, that causes the db connection to fail as expected)
2024-04-05 11:52:22 +05:30
Vishal
d5f0334a34 Remove isEnabled from config 2024-03-28 17:44:08 +05:30
Vishal
1f75633c5c Private method to bottom of the file 2024-03-28 15:03:27 +05:30
Vishal
cc3376154f Change name 2024-03-27 22:39:12 +05:30
Vishal
a7692b7d2e Update if else 2024-03-27 21:40:40 +05:30
Vishal
9893e3f305 Add Amazon SES for sending mails 2024-03-27 19:58:27 +05:30
Neeraj Gupta
2b3494e61c [server] Return embedding version in API response 2024-03-19 11:25:00 +05:30
Neeraj Gupta
f0236acf8f [server] Minor bug fixes in embedding/files API 2024-03-19 06:15:55 +05:30
Neeraj Gupta
b9ec72bbb4 Merge branch 'main' into file_embedding 2024-03-18 13:12:14 +05:30
Neeraj Gupta
36982c5332 [server] Add util to findMissingElements while comparing two arrays 2024-03-16 02:30:25 +05:30
Manav Rathi
92ae1be40a
Add a new flag to support S3 path style URLs without disabling SSL
The use case for this came up in Discord - someone is running a custom self
hosted instance where they're using MinIO as their "production S3", but it is
not local (so they don't want the clients to connect without SSL). So we need a
way to get MinIO to work, which needs path style URLs, without also disabling
the SSL.
2024-03-15 17:18:48 +05:30
Neeraj Gupta
531bb344fe Import museum 2024-03-01 13:37:01 +05:30