Commit graph

24364 commits

Author SHA1 Message Date
Manav Rathi 4feea01879
[web] Support preview deployments 2024-03-12 09:52:34 +05:30
Neeraj Gupta 51f19cf2fd [web] Fix lint error 2024-03-12 09:33:14 +05:30
Neeraj Gupta dbc50760af [web][passkey] Whitelist *.ente.sh redirect urls 2024-03-12 09:33:14 +05:30
Neeraj Gupta 638de0a769 [authw] Handle passkey finish redirect 2024-03-12 09:33:14 +05:30
Neeraj Gupta 0ab1c0ee89 [mob] gitignore android/.settings 2024-03-12 09:33:14 +05:30
Neeraj Gupta cb8738287a [photosw] Enable passkey for internal users 2024-03-12 09:33:14 +05:30
ashilkn ddedaf2d0e bump up version to v0.8.67 2024-03-12 07:51:57 +05:30
Crowdin Bot cfa4077b5c New Crowdin translations by GitHub Action 2024-03-12 01:36:05 +00:00
Prateek Sunal 1d2de8d9b8
[mobile][photos] Home Widget fixes (#992)
## Description

- Upscale default placeholder
- Keep image ready to be rendered in home widget before adding the home
widget.
- Change the photo in home widget every time it's clicked.
- Open favourites when home widget is clicked.
- Fix multiple issues

## Tests

Did a good amount of testing.

---------

Co-authored-by: ashilkn <ashilkn99@gmail.com>
Co-authored-by: Ashil <77285023+ashilkn@users.noreply.github.com>
2024-03-12 01:39:30 +05:30
Neeraj Gupta e843ea6669 [server] Change param type from uuid to string 2024-03-11 22:45:53 +05:30
Neeraj Gupta 9f2a66e0ef Fix lint warnings 2024-03-11 22:45:22 +05:30
Neeraj Gupta 944ef2e564 [mob]Generate randomkey using crypto library 2024-03-11 22:34:00 +05:30
Manav Rathi 00f45ef39d
[photosd] Fix desktop build - part 2 (#1044)
The build is still not fixed, but this is a step closer to where we want
to be.
2024-03-11 18:53:09 +05:30
Manav Rathi 84926cbee1 build take 2 2024-03-11 18:52:28 +05:30
Neeraj Gupta 27c1b66c08 [auth][mob] Add recovery support for passkey 2024-03-11 17:54:24 +05:30
Manav Rathi 027ae1cfb9 build => resources 2024-03-11 17:37:43 +05:30
Manav Rathi 621f81355b Work towards fixing build 2024-03-11 17:37:10 +05:30
Manav Rathi 849b61c5cf Document some and fix the path 2024-03-11 17:29:39 +05:30
Manav Rathi 267ad0d11f [desktop] Fix yarn build 2024-03-11 17:04:17 +05:30
Neeraj Gupta e272722d6e [mob][photos] Add dialog to describe clean uncat option 2024-03-11 16:52:27 +05:30
Neeraj Gupta a73f3cc52b [mob] Fixed sorting bug in uncategorized section 2024-03-11 16:52:27 +05:30
Manav Rathi 748d18cc2a
[photosd] Format using Prettier (#1010)
This is part 1 of general fixes to get the Photos desktop app back up
and building after moving to this monorepo. The main change in this PR
is to reformat the source to match the prettier config for the other
JS/TS (web/, docs/) code. And a few other fixes.

It still doesn't build, and there are a few eslint errors too. Those
will come in a subsequent PR.
2024-03-11 16:49:20 +05:30
Manav Rathi 88741083fe Prettier 3 + reformat (same as web) 2024-03-11 16:46:52 +05:30
Manav Rathi 829406fa62 Tweak .gitignore 2024-03-11 16:38:32 +05:30
Manav Rathi df13eac6ef Remove unused files 2024-03-11 16:35:00 +05:30
Manav Rathi 25dda3598c Remove husky and lint-staged 2024-03-11 16:31:48 +05:30
Neeraj Gupta 9a8e76b494 [docs] Fix the location for auth faq 2024-03-11 16:14:38 +05:30
Neeraj Gupta c6120f33de [docs] Copy Auth FAQ from mobile app 2024-03-11 16:05:56 +05:30
Manav Rathi 200504dc01
[web] New translations (#1007)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-11 16:03:57 +05:30
Crowdin Bot 2a33707db2 New Crowdin translations by GitHub Action 2024-03-11 10:29:16 +00:00
Manav Rathi 3fd5af8134
[web] Various small internal improvements (#1006)
- to the web alias for shared albums during nightly deployments
- Remove duplicate favicon link
- Capitalize Ente
- Document translation
- Remove the unnecessary console warning
2024-03-11 15:58:16 +05:30
Neeraj Gupta bb68b22adb [server] mark queue as deprecated 2024-03-11 15:41:18 +05:30
Neeraj Gupta 5accf4c6a8 [server] Remove dead code related to collecton trashV2 2024-03-11 15:41:18 +05:30
Neeraj Gupta 28335700e3 [server] Remove deprecated API 2024-03-11 15:41:18 +05:30
Manav Rathi e3826695c5 Remove the unnecessary console warning 2024-03-11 15:31:46 +05:30
Manav Rathi 6fdfa24e89 Document translation 2024-03-11 15:30:24 +05:30
Vishnu Mohandas fb2abd8afc
[mobile][photos]Rediscovery tab fixes (#1003)
## Description

Changed,
1. Section title in the discovery page
2. Page title in the page that pops up on tapping the > next to the
header on the discovery page

for Location and Description section.
2024-03-11 15:24:33 +05:30
Manav Rathi bd84b54c5a Capitalize Ente 2024-03-11 13:27:17 +05:30
Manav Rathi af4eaac158 Remove duplicate favicon link 2024-03-11 13:26:15 +05:30
Manav Rathi de166645b0 Point to the web alias for shared albums during nightly deployments 2024-03-11 13:20:58 +05:30
ashilkn ae67f0d67b nit: change description section's heading from 'Photo descriptions' to 'Descriptions' 2024-03-11 13:06:07 +05:30
ashilkn fab16a7947 nit: change location section's heading from 'Location' to 'Locations' 2024-03-11 12:59:59 +05:30
Neeraj Gupta 9711e0e29e Improve log 2024-03-11 12:34:03 +05:30
Neeraj Gupta d7292dc670 [server] Release locks before initiating any other controller 2024-03-11 12:34:03 +05:30
Neeraj Gupta 6930aaf220 [server]Update freq for metadatacron 2024-03-11 12:34:03 +05:30
Neeraj Gupta 12903a3748 [server] Clean up collecitonDiff logs 2024-03-11 12:34:03 +05:30
Manav Rathi 412c872266
[web] Fix shared albums (#1001)
This flow probably got broken when the select-all-for-a-day
functionality got added in https://github.com/ente-io/ente/pull/674
(haven't dug into this, I'm just guessing since that's where this all
got touched).

Thank you to @Bramas on our Discord for pointing this out, and also
providing the fix:
https://github.com/ente-io/ente/compare/main...Bramas:ente:fix-error-on-shared-album

Tested by
---------

Run normal web app on one terminal

NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev

Run the albums listener on another port (need to do this since we're
running on localhost, and need to bind to a different origin):

NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums

Create a shared album, copy its public link, and verify that

- Before the fix we were getting an error (trying to access properties
of `galleryContext.selectedFile`)
- After the fix the shared album is visible
2024-03-11 12:05:07 +05:30
Manav Rathi 8fab6b5e48 [web] Fix shared albums
This flow probably got broken when the select-all-for-a-day functionality got
added in https://github.com/ente-io/ente/pull/674 (haven't dug into this, I'm
just guessing since that's where this all got touched).

Thank you to @Bramas on our Discord for pointing this out, and also providing the fix:
https://github.com/ente-io/ente/compare/main...Bramas:ente:fix-error-on-shared-album

Tested by
---------

Run normal web app on one terminal

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev

Run the albums listener on another port (need to do this since we're running on
localhost, and need to bind to a different origin):

    NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums

Create a shared album, copy its public link, and verify that

- Before the fix we were getting an error (trying to access properties of `galleryContext.selectedFile`)
- After the fix the shared album is visible
2024-03-11 12:00:26 +05:30
Neeraj Gupta 4af3030c81 [server] Speed up RemoveComplianceHolds 2024-03-11 11:43:02 +05:30
Neeraj Gupta c32f0a28f1 [server] Release previous locks taken by host on statup 2024-03-11 11:43:02 +05:30