Manav Rathi
5092b74503
[workers] Add github-discord-notifier ( #1150 )
...
Start migrating workers to the monorepo. This PR brings in
github-discord-notifier.
2024-03-19 14:26:34 +05:30
Manav Rathi
ed547d5f2c
Add empty vars section
2024-03-19 13:55:31 +05:30
Manav Rathi
1e50570936
wrangler publish is deprecated
2024-03-19 13:51:13 +05:30
Manav Rathi
2419b079af
Add the github-discord-notifier code
2024-03-19 13:50:39 +05:30
Manav Rathi
cfd298a052
[workers] Start migrating workers to the monorepo
2024-03-19 13:14:25 +05:30
Manav Rathi
f0547d0a10
[meta] Omit unnecessary reruns of workflows when deploying ( #1149 )
...
When we merge main into a deploy/* branch (e.g.
https://github.com/ente-io/ente/pull/1147 ), all changes get pulled in
not just the one related to that deployment, and this causes almost all
of the path based workflows to run again unnecessarily. Exclude the
various "deploy/**" branches to stop these unnecessary workflows from
being triggered.
2024-03-19 13:10:21 +05:30
Manav Rathi
fa3f249a7a
[meta] Omit unnecessary reruns of workflows when deploying
...
When we merge main into a deploy/* branch
(e.g. https://github.com/ente-io/ente/pull/1147 ), all changes get pulled in not
just the one related to that deployment, and this causes almost all of the path
based workflows to run again unnecessarily. Exclude the various "deploy/**"
branches to stop these unnecessary workflows from being triggered.
2024-03-19 12:59:04 +05:30
Neeraj Gupta
449284a6a1
[server] API to fetch ML embeddings for given fileIDs ( #1144 )
...
## Description
- Also started storing the embedding size and version in the table. This
will come handy while comparing overall size when different compression
and serialization formats are used..
- Also, it can be used to smartly auto-download the embeddings or inform
the user about approximate size when they decide to enable indexing or
search on a particular client.
## Tests
✅ Verified that embedding fetch and store is working fine.
✅ Verified that embeddings/diff API is working fine.
2024-03-19 12:23:24 +05:30
Neeraj Gupta
685e1b82c9
[server] Fix query for diff API
2024-03-19 12:09:39 +05:30
Manav Rathi
e7de4da64e
[web] Update yarn.lock ( #1145 )
...
This seems to have been overwritten in a recent PR, perhaps because of a
different yarn version being used.
2024-03-19 11:43:02 +05:30
Neeraj Gupta
2b3494e61c
[server] Return embedding version in API response
2024-03-19 11:25:00 +05:30
Manav Rathi
fc3aea7694
[web] Update yarn.lock
2024-03-19 11:24:42 +05:30
Neeraj Gupta
e8756a8cf7
[server] Remove unused code
2024-03-19 11:06:36 +05:30
Neeraj Gupta
3df49beb07
[server] Remove unused model name
2024-03-19 11:04:25 +05:30
Neeraj Gupta
05b0f1649f
[server] store embedding objSize & version
2024-03-19 11:02:22 +05:30
Neeraj Gupta
7634b2c153
[server] DB migration scripts for emedding table changes
2024-03-19 10:56:25 +05:30
Manav Rathi
14ad67e86c
[server] Fix the dependency on nginx ( #1143 )
...
Noticed during the recent deployment.
2024-03-19 10:35:42 +05:30
Manav Rathi
2f9a49e1ca
[web] New translations ( #1139 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web )
2024-03-19 10:33:18 +05:30
Manav Rathi
303b12c709
Fix the dependency on nginx
2024-03-19 09:31:51 +05:30
Crowdin Bot
9e44f5cc20
New Crowdin translations by GitHub Action
2024-03-19 01:37:04 +00:00
Neeraj Gupta
f0236acf8f
[server] Minor bug fixes in embedding/files API
2024-03-19 06:15:55 +05:30
Manav Rathi
100fa04de7
[infra] Status service ( #1138 )
...
- Add the service the serves status.ente.io
- Support nginx configuration reloads
2024-03-19 05:54:36 +05:30
Manav Rathi
f6e575885d
Note the dashboard URL
2024-03-19 05:41:16 +05:30
Manav Rathi
9fe8d1fd53
Add recommended headers
2024-03-18 21:57:25 +05:30
Manav Rathi
19724367df
Support nginx configuration reloads
2024-03-18 21:47:53 +05:30
Manav Rathi
ba896f2f3a
Match file name convention
2024-03-18 21:36:01 +05:30
Manav Rathi
64c95d2397
Tweak formatting
2024-03-18 21:34:24 +05:30
Manav Rathi
2486a94d21
Add the service the serves status.ente.io
2024-03-18 21:22:15 +05:30
Manav Rathi
19799957c0
[web] Update translations for the non-photos apps ( #1134 )
2024-03-18 20:06:28 +05:30
Manav Rathi
4ff378cd06
[web] Update translations for the non-photos apps
2024-03-18 20:01:37 +05:30
Manav Rathi
4e8222afa1
[server] Deploy behind nginx ( #1132 )
...
Tweaks and fixes as we go towards a real deployment
2024-03-18 19:35: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