Commit Graph

24352 Commits

Author SHA1 Message Date
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
Crowdin Bot
419f562aed New Crowdin translations by GitHub Action 2024-03-14 04:22:53 +00:00
Vishnu Mohandas
3cd7d68192 [meta] Reduce the frequency of the sync translations cron (#1095)
[meta] Reduce the frequency of the sync translations cron
2024-03-14 09:52:00 +05:30
Manav Rathi
7fabb3a03c [meta] Document the tag format, and call out the need to keep tag == title
Related: https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:50:08 +05:30
Manav Rathi
1abf7edb99 [meta] Reduce the frequency of the sync translations cron
Every day is too much noise - we really only need this

- When a string gets changed in the source translation, in which case this
  workflow gets triggered automatically anyway.

- Before we do a new release (this doesn't automatically happen, but the
  workflow can be triggered manually if needed).

For now, reduce the frequency of the daily job to pull new translations from
Crowdin: now it'll only happen on Tuesdays and Fridays (just an arbitrary
choice).
2024-03-14 09:32:30 +05:30
Manav Rathi
925133a297 [meta] Reintroduce .vscode in the mobile gitignores (#1094)
The intent had always been to have the individual project gitignores be
self contained. In my previous PR
(https://github.com/ente-io/ente/pull/516) I'd for some reason not
followed this: correcting my mistake now. .vscode is gitignored both at
the top level and at the individual project levels (as it was
originally).
2024-03-14 09:22:47 +05:30
Manav Rathi
3b10c7e93f [meta] Reintroduce .vscode in the mobile gitignores
The intent had always been to have the individual project gitignores be self
contained. In my previous PR (https://github.com/ente-io/ente/pull/516) I'd for
some reason not followed this: correcting my mistake now. .vscode is gitignored
both at the top level and at the individual project levels (as it was
originally).
2024-03-14 09:20:17 +05:30
Manav Rathi
f884aa6d71 [auth] Authy guide rewrite (#1088)
## Description
Authy migration guide rewrite to make things much clearer and easier to
follow.
## Tests
N/A
2024-03-14 09:15:35 +05:30
Manav Rathi
0c670d785b [docs] Authy migration guide (#1089)
## Description
Adds the Authy migration guide from auth/migration-guides into the new
help website.
## Tests
- [X] Tested on a selfhosted instance to ensure that all new content is
properly visible, see screenshot below
<img width="1440" alt="image"
src="https://github.com/ente-io/ente/assets/41323182/aeb59c9f-0e36-4d94-a5f8-1042081db87b">
2024-03-14 09:13:36 +05:30
green
0b96b1afe6 Use same style as wiki 2024-03-13 19:05:52 +01:00
green
40cea19634 Merge branch 'ente-io:main' into help-guide 2024-03-13 19:02:19 +01:00
Vishnu Mohandas
ba5686a07a v0.8.71 (#1090) 2024-03-13 21:57:05 +05:30
vishnukvmd
1cacefa1fd v0.8.71 2024-03-13 21:56:48 +05:30