Commit Graph

24445 Commits

Author SHA1 Message Date
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
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
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
b78b2fe715 Delete yarn.lock 2024-03-16 23:57:05 +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
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
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
vishnukvmd
14c75333f3 Simplify states 2024-03-15 16:49:02 +05:30
vishnukvmd
7941d4bcb6 Skip model downloads over mobile data 2024-03-15 16:36:45 +05:30
ashilkn
ed2e3bae0d clean up 2024-03-15 16:21:04 +05:30
ashilkn
1e8f772280 feat(share-to-multi-contacts-at-once): multiple changes in one commit due mistakes when commiting
- Change 'Add viewer' buttons logic to work with the new UI.
- Long press on an email to verify.
- Filter suggestions list with the text entered in 'Enter email' text field.
2024-03-15 15:47:14 +05:30
Vishnu Mohandas
ebbdf8335b [auth] New translations (#1111)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-03-15 13:37:42 +05:30
Manav Rathi
d488924f78 [infra] Remind about needing to also enable node-exporter (#1113) 2024-03-15 13:06:56 +05:30
Manav Rathi
5841aefb75 [infra] Remind about needing to also enable node-exporter 2024-03-15 13:06:07 +05:30
Manav Rathi
1874053004 [docs] Mention submodules in the community external S3 guide (#1112)
Someone got confused about this missing instruction in Discord. Have
added the submodule step, and also called out that it might be a good
idea to also refer to the project READMEs in case this guide in the
future drifts out of sync.
2024-03-15 13:03:04 +05:30
Manav Rathi
bd75eba941 [docs] Mention submodules in the community external S3 guide 2024-03-15 13:00:15 +05:30
ashilkn
a4985116b8 feat(share-to-multi-contacts-at-once): change data structure of selected emails from List to Set to avoid duplicates 2024-03-15 12:53:32 +05:30