Commit graph

24364 commits

Author SHA1 Message Date
Manav Rathi dc29ab496f
Add prometheus and promtail definitions 2024-03-14 21:56:36 +05:30
Manav Rathi 477e3fee80
Define services 2024-03-14 21:18:38 +05:30
Manav Rathi b79f8347b6
Import the existing DesktopDistribute notes 2024-03-14 20:31:47 +05:30
Manav Rathi 74a2cd7fe4
[mobile] Update the README link to GitHub APK for photos (#1108) 2024-03-14 18:23:44 +05:30
Manav Rathi 7aed641189
Also update the links in the fastlane descriptions 2024-03-14 18:22:51 +05:30
Manav Rathi ddeafe0749
[mobile] Update the link to GitHub APK for photos 2024-03-14 18:16:01 +05:30
Manav Rathi 0472cde0cb
[infra] Import copycat db (#1107)
- Create infra directory
- Import the code for copycat-db
- Update its paths for the monorepo
- Fix up its GitHub workflow for the monorepo (untested yet)
2024-03-14 17:35:38 +05:30
Manav Rathi 7ddfeb93dd
Fix up the workflow 2024-03-14 17:32:54 +05:30
Manav Rathi aaffc740bc
Update paths 2024-03-14 17:29:11 +05:30
Manav Rathi 3e38d56579
Import the code for copycat-db 2024-03-14 17:20:00 +05:30
Manav Rathi 6e9893e5c5
Create infra directory 2024-03-14 17:14:47 +05:30
Manav Rathi 678879e5fd
[server] Move the server related gitattributes within that folder (#1106)
I mistakenly assumed that the gitattributes file can only be at the top
level. However, this doesn't seem to be the case - I noticed this in a
recent PR - https://github.com/ente-io/ente/pull/1104/

And it is indeed documented:

> When deciding what attributes are assigned to a path, Git ....
.gitattributes file in the same directory as the path in question. ..
>
> - https://git-scm.com/docs/gitattributes

Ref:
https://stackoverflow.com/questions/71784062/can-we-have-multiple-gitattributes-files-in-different-repo-subfolders
2024-03-14 16:48:08 +05:30
Manav Rathi 966cc697e7
[server] Move the server related gitattributes within that folder
I mistakenly assumed that the gitattributes file can only be at the top
level. However, this doesn't seem to be the case - I noticed this in a recent PR
- https://github.com/ente-io/ente/pull/1104/files.

And it is indeed documented:

> When deciding what attributes are assigned to a path, Git .... .gitattributes
> file in the same directory as the path in question. ..
>
> - https://git-scm.com/docs/gitattributes

Ref: https://stackoverflow.com/questions/71784062/can-we-have-multiple-gitattributes-files-in-different-repo-subfolders
2024-03-14 16:35:36 +05:30
Manav Rathi 3d23a3b21a
[server] Improve the architecture diagram (#1105)
Add a dotted arrow between museum and the hot object storage to indicate
that clients talk directly to the primary S3 storage.

This has confused some users who were trying to setup self-hosting, them
not realizing that the minio buckets need to be accessible outside the
container.

The actual flow is - for both GET and PUT, museum conjures up pre-signed
URLs by talking to the S3 bucket, and vends these pre-signed URLs back
to the client. Thereafter though (unless routed via a Cloudflare worker,
which is not the case when self-hosting), the clients directly connect
to this presigned URL.

Maybe too much information to convey with a single dotted arrow, but at
least it'll give a hint that there is a direct connection there
somewhere.
2024-03-14 16:31:10 +05:30
Neeraj Gupta ffae4ae99b
[cli] Admin APIs for list-users, disable-2fa, & delete-user (#1104)
## Description
Also made it optional to pass the admin-user when there's only one
account is configured.

## Tests

Tested locally
2024-03-14 16:26:31 +05:30
github-actions[bot] a010a90ed6
[mobile] New translations (#1092)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-14 16:24:13 +05:30
Manav Rathi 2905315e00
[server] Improve the architecture diagram
Add a dotted arrow between museum and the hot object storage to indicate that
clients talk directly to the primary S3 storage.

This has confused some users who were trying to setup self-hosting, them not
realizing that the minio buckets need to be accessible outside the container.

The actual flow is - for both GET and PUT, museum conjures up pre-signed URLs by
talking to the S3 bucket, and vends these pre-signed URLs back to the
client. Thereafter though (unless routed via a Cloudflare worker, which is not
the case when self-hosting), the clients directly connect to this presigned URL.

Maybe too much information to convey with a single dotted arrow, but at least
it'll give a hint that there is a direct connection there somewhere.
2024-03-14 16:23:53 +05:30
github-actions[bot] b9a7d09265
[auth] New translations (#1093)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-14 16:23:51 +05:30
Neeraj Gupta 80498340b6 [cli] Mark docs/generated as generated for Github 2024-03-14 16:20:47 +05:30
Neeraj Gupta 9c04c8fbe6 [cli] Generate docs 2024-03-14 16:18:37 +05:30
Neeraj Gupta bc47368a01 [cli] Add API to delete-user 2024-03-14 16:18:08 +05:30
Neeraj Gupta 6af62d8727 [cli] Add admin disable-2fa cmd 2024-03-14 16:13:11 +05:30
Neeraj Gupta da3c6a78d4 [cli] Make it optional to pass adminUser when only one account is configured 2024-03-14 16:01:40 +05:30
Neeraj Gupta 324eeed1c5 [cli] Add admin list-user cmd 2024-03-14 15:53:26 +05:30
Manav Rathi 3ecc699962
[docs] Note boxes fix (#1103)
## Description
This fixes note boxes having incorrect titles, like this one:
<img width="719" alt="image"
src="https://github.com/ente-io/ente/assets/41323182/4072f774-f507-4161-98ff-86724c84c680">

## Tests
- [x] Tested fixes on a selfhosted instance
<img width="701" alt="image"
src="https://github.com/ente-io/ente/assets/41323182/e0338c2b-c0c6-42b0-82a5-cba068f192e1">
<img width="699" alt="image"
src="https://github.com/ente-io/ente/assets/41323182/0c839ec9-13fd-46cd-bbb7-7f0347b19a8e">
2024-03-14 15:50:46 +05:30
green 91c5e54cdc
Update index.md 2024-03-14 11:11:44 +01:00
Manav Rathi cc7dc0f142
[web] Exit fullscreen if needed when pressing the info button (#1102)
Fixes: Info button is not working when videos are playing in full screen
mode.

**Tested by**

Wasn't working before, but it works now. Still doesn't work with the
keybinding,
have left a note about that in the code.
2024-03-14 15:41:34 +05:30
Manav Rathi 56b750c1ac
[web] Exit fullscreen if needed when pressing the info button
Fixes: Info button is not working when videos are playing in full screen mode.

**Tested by**

Wasn't working before, but it works now. Still doesn't work with the keybinding,
have left a note about that in the code.
2024-03-14 15:39:03 +05:30
green 39e5415e0a
Update index.md 2024-03-14 11:08:52 +01:00
Manav Rathi 318e8643fb
[web] Show select-all-for-day checkmark only when there is a selection (#1101)
For now, this at least makes it less obtrusive. Once I have cleaned up
the state handling around selection (to better integrate this with the
rest of the selection state so that there are no discrepancies), can
revisit the UI - e.g. show it only on hover, or reduce the size of the
checkbox / give it a rounded look etc to make it look even less
obstrusive.
2024-03-14 14:53:16 +05:30
Manav Rathi f1e68e9eef
Show select-all-for-day checkmark only when there is a selection 2024-03-14 14:42:27 +05:30
Manav Rathi 6f94cfb2ce
[docs] Call out the gotcha of not connecting to the correct instance (#1100) 2024-03-14 11:37:48 +05:30
Manav Rathi 0e4ca2ad21
[docs] Call out the gotcha of not connecting to the correct instance 2024-03-14 11:37:27 +05:30
Manav Rathi 23aacd5810
[docs] Move migration guides, and otherwise enhance and rearrange (#1099)
For the migration guides in particular, I've retained the original files
also for now to avoid breaking links.
2024-03-14 11:14:46 +05:30
Manav Rathi c71d06d405
Mention the self-hosting docs in the server README 2024-03-14 11:12:27 +05:30
Manav Rathi b1da0c1b70
yarn pretty 2024-03-14 11:10:47 +05:30
Manav Rathi cfe7b1baa0
Remove duplicate section 2024-03-14 11:09:26 +05:30
Manav Rathi abc93872e9
Add header 2024-03-14 11:08:11 +05:30
Manav Rathi 7b850cec43
Remove incomplete notice 2024-03-14 11:06:16 +05:30
Manav Rathi 3ffe43e9bf
Also add a FAQ entry 2024-03-14 11:05:40 +05:30
Manav Rathi 6287d40a18
Split 2024-03-14 11:01:36 +05:30
Manav Rathi 03c875a8b8
Rearrange 2024-03-14 10:54:42 +05:30
Manav Rathi c18115ef52
Fix link 2024-03-14 10:48:25 +05:30
Manav Rathi 55e3a93cf6
Mention the word "export" in the sidebar item 2024-03-14 10:46:26 +05:30
Manav Rathi 306ee1ad1c
Fix the next page link on the index page
...by reintroducing it in the sidebar listing.
2024-03-14 10:44:35 +05:30
Manav Rathi 60d216c6fa
yarn pretty 2024-03-14 10:43:19 +05:30
Manav Rathi b2d64d9b72
Add page headers 2024-03-14 10:41:52 +05:30
Manav Rathi bb0f584e91
[docs][auth] Move the migration guides to the help docs
Keep the old files, adding redirection notices to them.
2024-03-14 10:38:39 +05:30
Manav Rathi 26ad4a0a70
[web] New translations (#1091)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-14 09:59:58 +05:30
Manav Rathi fd04b59985
[meta] Document the tag format, and call out the need to keep tag == title (#1096)
Related:
https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:58:54 +05:30