Commit graph

24623 commits

Author SHA1 Message Date
Prateek Sunal a292114d68 feat: search ui change 2024-03-18 17:52:48 +05:30
Prateek Sunal 99c43cc3ef fix: don't show rate on desktop 2024-03-18 17:40:54 +05:30
Manav Rathi fb0e2d2604
Don't restart museum on restarting nginx 2024-03-18 15:54:25 +05:30
Manav Rathi c177efe79c
Add documentation comments 2024-03-18 15:44:00 +05:30
Manav Rathi 27b13765d7
Fix the environment var 2024-03-18 15:23:23 +05:30
Manav Rathi f494832bd7
Limit max connections at the nginx level 2024-03-18 15:21:47 +05:30
Neeraj Gupta c564e50d59 [server] change method type to post 2024-03-18 14:38:11 +05:30
Manav Rathi 53cf5ffc45
Fix some paths in README 2024-03-18 14:35:42 +05:30
Manav Rathi a341f81932
[museum] Support running behind Nginx (#1130)
- Move deployment related stuff into a separate folder
- Document the overall approach better
- Add an Nginx specific environment and service definition
- Remove the restart limiter
2024-03-18 13:56:01 +05:30
Manav Rathi c43a0a7182
Shorten 2024-03-18 13:31:10 +05:30
Manav Rathi 2f38f23b77
Update install instructions 2024-03-18 13:30:07 +05:30
Neeraj Gupta b9ec72bbb4 Merge branch 'main' into file_embedding 2024-03-18 13:12:14 +05:30
Manav Rathi 7ded8ad4fe
Fix key name 2024-03-18 13:07:36 +05:30
Manav Rathi 30cf709eb2
Wrap 2024-03-18 12:39:16 +05:30
Manav Rathi d8347c3976
Remove extra environment 2024-03-18 12:36:29 +05:30
Manav Rathi 5ee878c30e
Require nginx before starting museum.nginx 2024-03-18 12:33:27 +05:30
Manav Rathi f695c5e0d3
Remove extra newline 2024-03-18 11:06:54 +05:30
Manav Rathi 303b26b95f
Tweak the nginx setup 2024-03-18 11:04:31 +05:30
Manav Rathi 9ba9b8a984
Add initial nginx conf 2024-03-18 10:39:39 +05:30
Manav Rathi d893efe5d1
Remove the restart limiter
During recent DDoS attacks, these restart limits had to be manually
disabled. For now, disabling them in our reference copy too, will bring them
back if they are needed later.
2024-03-18 10:27:42 +05:30
Manav Rathi a0599f7b33
Outline the nginx approach 2024-03-18 10:25:11 +05:30
Manav Rathi 9beedcf4e0
Move into separate folder 2024-03-18 10:16:55 +05:30
Neeraj Gupta c7fd976ab7
[server] Update alert copy & frequency (#1129)
## Description

## Tests
2024-03-18 10:15:16 +05:30
Neeraj Gupta 47747f1d56 Update config 2024-03-18 10:12:02 +05:30
Neeraj Gupta 7de60f1ced [server] Reduce discord message frequency 2024-03-18 10:02:13 +05:30
Neeraj Gupta 4acc8395ba [server] Prefix discord msg with hostname 2024-03-18 09:59:35 +05:30
Manav Rathi 309c72d934
[web] New translations (#1128)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-18 09:17:53 +05:30
Manav Rathi efe6a5a713
[infra] Import the base nginx service definition we use (#1127) 2024-03-18 09:17:29 +05:30
Shubh e098511960
[auth] add rockstar games icon (#1125)
add Rockstar Games icon

Signed-off-by: Shubh <shubhisroking@proton.me>
2024-03-18 09:08:31 +05:30
Crowdin Bot 6bbd296c25 New Crowdin translations by GitHub Action 2024-03-18 03:38:20 +00:00
Manav Rathi 3dfd993430
[web] Add passkeys related translations (#1124)
Obtained these strings from
33faadf83e/apps/accounts/public/locales/en/translation.json (L632)

I didn't have a way of exhaustively ensuring that all strings are
covered, but I've tried to manually verify.

Once this is merged and translation files synced with Crowdin, I'll do
another PR to update the `local/**/translation.json` files within
apps/accounts.
2024-03-18 09:07:27 +05:30
Manav Rathi 022c11d7fa
Import the base nginx service definition we use 2024-03-18 03:50:21 +05:30
Manav Rathi 9012a96a58
[web] Add passkeys related translations
Obtained these strings from 33faadf83e/apps/accounts/public/locales/en/translation.json (L632)

I didn't have a way of exhaustively ensuring that all strings are covered, but
I've tried to manually verify.

Once this is merged and translation files synced with Crowdin, I'll do another
PR to update the `local/**/translation.json` files within apps/accounts.
2024-03-17 11:55:57 +05:30
Manav Rathi f85f220c1d
Web Passkey Recovery (#1047)
## Description

* Adds passkey recovery feature parity from #1013

## Tests
2024-03-17 11:44:13 +05:30
Neeraj Gupta ba6a8b6aa4
[docs] Update family-plans.md (#1123)
## Description

## Tests
2024-03-17 11:30:35 +05:30
Neeraj Gupta 12b9ac4db6
[server] Rate limit (#1121)
## Description

## Tests
2024-03-17 09:59:59 +05:30
Neeraj Gupta e927064476 [server] Add endpoint to get embedding for givenFilesIds 2024-03-17 09:37:02 +05:30
Neeraj Gupta b78b2fe715
Delete yarn.lock 2024-03-16 23:57:05 +05:30
Neeraj Gupta 36982c5332 [server] Add util to findMissingElements while comparing two arrays 2024-03-16 02:30:25 +05:30
Vishnu Mohandas a5340764a8
[mobile][photos] Share to multiple people at once (#1116)
[mobile][photos] Share to multiple people at once
2024-03-16 00:07:12 +05:30
Vishnu Mohandas bf3b257344
[mobile] Enhance ML (#1114)
## Description
- Increase the interaction timeout to 15s
- Make sure that models aren't downloaded over mobile data, and that it
resumes initialization when network conditions are favorable

## Tests
- [x] Tested manually
2024-03-16 00:05:29 +05:30
Prateek Sunal 426e1c772f chore: update deps 2024-03-15 21:45:20 +05:30
ashilkn 64814ef82f minor fixes 2024-03-15 21:07:38 +05:30
ashilkn bb622bfcd0 fix typo in file name 2024-03-15 20:49:51 +05:30
ashilkn 07c41c4c92 extract strings 2024-03-15 20:22:15 +05:30
Prateek Sunal e1b1d57714 fix: endpoint in network.dart 2024-03-15 20:00:48 +05:30
Prateek Sunal 2a84f7810d Merge remote-tracking branch 'origin/main' into beta 2024-03-15 19:58:35 +05:30
Vishnu Mohandas 11ccb37382
[server] Enhancements for self hosters (#1115)
- Disable the example.org domains in the default self-hosted
configuration (saner default)
- Add a new flag to support S3 path style URLs without disabling SSL
(needed for folks who want to run minio as their production S3, without
disabling SSL)

**Tested by**

Running a local cluster with the following `museum.yaml` and verifying
that the path style URLs are kicking in.

```
s3:
    use_path_style_urls: true
```
2024-03-15 17:35:10 +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
Manav Rathi 87d39ae2dd
Disable the example.org domains in the default self-hosted configuration
People won't be able to get emails, but they can still create accounts on that
domain in the default setup. So just comment it out as a saner default.
2024-03-15 17:09:40 +05:30