Commit graph

24407 commits

Author SHA1 Message Date
laurenspriem 212208ae01 Add debugPrint 2024-03-21 16:53:22 +05:30
laurenspriem fc8122b18e Add indexing debug cooldown 2024-03-21 16:52:52 +05:30
laurenspriem a2bca84b91 [mob] Sort clustering on fileCreationTime asc 2024-03-21 15:41:34 +05:30
laurenspriem a9fdee96a8 More debug options 2024-03-21 12:40:03 +05:30
laurenspriem 125a4de66a Deprecate function 2024-03-20 16:20:55 +05:30
laurenspriem a4582c0e55 Move FaceML inside Machine Learning directory 2024-03-20 15:51:57 +05:30
laurenspriem 1819ea834a Forgot to delete debug stuff 2024-03-20 14:44:28 +05:30
laurenspriem a443ac1680 Better use of constants 2024-03-20 14:42:42 +05:30
laurenspriem 39f16ff517 Only show high quality faces in file info 2024-03-20 14:34:12 +05:30
laurenspriem 974b7c7329 Increase blur threshold 2024-03-20 14:15:59 +05:30
laurenspriem af1a6fc9fa [mob] Log actually analyzed count 2024-03-20 12:03:08 +05:30
laurenspriem 2573328c30 [mob] Minor change 2024-03-20 11:28:59 +05:30
laurenspriem eaea4f81b7 [mob] update server on old FaceMlVersion 2024-03-20 11:28:37 +05:30
laurenspriem 17fa64aa5e Remove unused import 2024-03-20 10:43:02 +05:30
laurenspriem 83d8d7ae7a [mob] empty constructor for Face 2024-03-19 18:24:46 +05:30
Neeraj Gupta 4d4bdb99df Remove auth/flutter submodule 2024-03-19 16:20:34 +05:30
Neeraj Gupta a79b14db78 [mob] use ml version when to decide need for re-index 2024-03-19 16:16:08 +05:30
Neeraj Gupta e83e8cdb6e [mob] minor refactor 2024-03-19 15:18:07 +05:30
Neeraj Gupta 3e4cf4b4f2 [mob] Skip already indexed files on remote 2024-03-19 15:06:32 +05:30
Neeraj Gupta 8a4ca15eb8 [mob] generated strings 2024-03-19 13:44:57 +05:30
Neeraj Gupta 79acd166b7 [mob] Enable magic search in face 2024-03-19 12:37:24 +05:30
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