Commit graph

24386 commits

Author SHA1 Message Date
Neeraj Gupta f78eb703ef [mob] Add support for pushing embeddings to remote 2024-03-16 23:02:44 +05:30
laurenspriem 58c85c8c13 Deprecating some methods 2024-03-15 18:22:40 +05:30
laurenspriem 0b0a0cec26 [mob] Only run decoding of images once 2024-03-15 18:15:57 +05:30
laurenspriem 470a3da7b0 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-15 17:10:16 +05:30
laurenspriem 9285baace2 Change Face to use relative coordinates 2024-03-15 17:07:17 +05:30
Neeraj Gupta bcfe05f16a [mob] Remove unused import 2024-03-15 15:20:49 +05:30
laurenspriem ca16c6f0d6 Merge remote-tracking branch 'origin/mobile_face' into mobile_face 2024-03-15 14:58:21 +05:30
laurenspriem cdd8929bc6 Cleanup 2024-03-15 14:53:46 +05:30
laurenspriem 05f188080b Remove image package in thumbnail generation 2024-03-15 14:53:40 +05:30
Neeraj Gupta 85ed93e374 [mob] Remove unused files 2024-03-15 14:52:57 +05:30
Neeraj Gupta 3007c4c7dd Remove unused model 2024-03-15 14:41:57 +05:30
laurenspriem 847a99d0e9 Fix cutoff face thumbnails 2024-03-15 12:52:27 +05:30
laurenspriem 52b787f71e Face thumbnail generation without canvas 2024-03-15 12:48:01 +05:30
Neeraj Gupta 9f3fe7b05b Merge branch 'main' into mobile_face 2024-03-14 17:11:53 +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
laurenspriem 8ef673fe58 Clean up logs 2024-03-14 16:13:42 +05:30
laurenspriem 74d1cbb01f Use full file on face detection 2024-03-14 16:13:27 +05:30
Neeraj Gupta 6af62d8727 [cli] Add admin disable-2fa cmd 2024-03-14 16:13:11 +05:30
laurenspriem f0ad363895 elliptical rounding on face widget 2024-03-14 16:04:08 +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
Neeraj Gupta c643876955 [mob][face] Fix clear table query 2024-03-14 11:12:22 +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