Commit graph

25145 commits

Author SHA1 Message Date
Manav Rathi 18e47b3d4e
Synchronize startup banners 2024-04-08 14:09:59 +05:30
Manav Rathi 35736c447d
Cleanup 2024-04-08 13:59:40 +05:30
Manav Rathi c458b429a0
Let the web side log errors for the bridged methods 2024-04-08 13:58:28 +05:30
Manav Rathi c5bb479c4f
Consolidate logging / desktop 2024-04-08 13:44:39 +05:30
Manav Rathi 78f4f9b42d
[web] Capture logs from web workers (#1365)
This started of as a refactoring of our logging layer, but turned into a
bug fix (+ refactorings) when I noticed that the logs in the web/worker
case were not being saved to the on disk file.

Refs:

- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:19:25 +05:30
Manav Rathi 84d21984e0
Test complete
Tested logging from both worker (in web app) and when running in Electron.

Refs:
- https://github.com/GoogleChromeLabs/comlink/issues/506
- https://github.com/GoogleChromeLabs/comlink/issues/568
2024-04-08 13:16:50 +05:30
Manav Rathi da9a704094
fixing logging in workers WIP 2 2024-04-08 12:52:10 +05:30
Manav Rathi a96ad6dfa2
WIP 2024-04-08 12:40:03 +05:30
Manav Rathi 44666d6772
[web] New translations (#1364)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-08 09:40:42 +05:30
Crowdin Bot b3842dab04 New Crowdin translations by GitHub Action 2024-04-08 04:09:44 +00:00
Manav Rathi 873b158718
[web] Miscellaneous tweaks (#1363)
- Clean up environment detection code
- Remove l11n unsafe direct string manipulation
- Inline
- Remove isCanvasBlocked checker
- Remove unused stuff
2024-04-08 09:38:59 +05:30
Manav Rathi 7913d5ec2e
lint 2024-04-08 09:37:08 +05:30
Neeraj Gupta 4ceaf7cf13
[auth] Prioritise issuer match in search result order (#1362)
## Description

## Tests
2024-04-08 09:18:42 +05:30
Neeraj Gupta c728b3b8be [auth] Prioritize issuer match in search result 2024-04-08 09:15:33 +05:30
Neeraj Gupta 510a4a5978 [auth] iOS build changes 2024-04-08 09:15:16 +05:30
Manav Rathi 0b3165b812
Remove unused 2024-04-07 10:58:19 +05:30
Manav Rathi 99579fbf51
Inline 2024-04-07 10:56:15 +05:30
Manav Rathi 75d041dd9c
Inline 2024-04-07 10:53:34 +05:30
Manav Rathi d992085dbd
Inline 2024-04-07 10:49:31 +05:30
Manav Rathi cb6cfee9a3
Inline 2024-04-07 10:49:04 +05:30
Manav Rathi 60321111c2
Remove isCanvasBlocked checker
We don't really support running without canvas access, we need it for image
manipulation. The firefox feature seems poorly implemented -
https://bugzilla.mozilla.org/show_bug.cgi?id=1429865 - and if someone _really_
wishes to not add an exclusion for our open source web app, then they can
download our desktop app.
2024-04-07 10:45:30 +05:30
Manav Rathi 49b5bff042
Inline 2024-04-07 10:29:00 +05:30
Manav Rathi 7c0ab6dd8a
Remove l11n unsafe direct string manipulation 2024-04-07 10:23:20 +05:30
Manav Rathi 01e6e79819
Cannot be a compile time constant 2024-04-07 10:18:30 +05:30
Manav Rathi e5b2d737b4
Clean up environment detection code 2024-04-07 10:03:28 +05:30
Manav Rathi 5e6f057c4c
[web] Add required transitive dependency of MUI datepicker (#1357)
Previously this was coming from react-datepicker that was otherwise
unused and thus removed.

Use the same major version as we had previously.

Ref:

https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:30:16 +05:30
Manav Rathi 3cb51184b3
[web] Add required transitive dependency of MUI datepicker
Previously this was coming from react-datepicker that was otherwise unused and thus removed.

Use the same major version as we had previously.

Ref:
https://stackoverflow.com/questions/71037974/module-not-found-error-cant-resolve-date-fns-adddays-in-c-users
2024-04-07 09:26:52 +05:30
Manav Rathi 9025ad3c57
[web] Remove unused ffmpeg from cast (#1355)
- Also attempt to reenable tsc, since this was previously failing at
this ffmpeg step. But that's still not possible, the photos package tsc
trips up at the same step
- Remove some other unused dependencies too
2024-04-07 08:45:06 +05:30
Manav Rathi d317da6536
Remove unused package react-datepicker
+ another unused type
+ an transitive from code
2024-04-07 08:42:27 +05:30
Manav Rathi 0071182721
Revert "Attempt to reenable tsc"
This reverts commit 5700b101b2. We still need to
fix it in photos before re-enabling this.
2024-04-07 08:28:13 +05:30
Manav Rathi 5700b101b2
Attempt to reenable tsc
Partially reverts 6333792d64
2024-04-07 08:25:16 +05:30
Manav Rathi 02207ca96c
Remove unused ffmpeg from cast 2024-04-07 08:18:36 +05:30
Manav Rathi ddb2952b6a
[docs] yarn pretty (#1349) 2024-04-06 22:19:43 +05:30
Manav Rathi c983af0dea
[docs] yarn pretty 2024-04-06 22:17:34 +05:30
Manav Rathi 363e2b116b
[docs] Add more details in the server admin docs (#1348) 2024-04-06 22:15:56 +05:30
Manav Rathi d8b7dd06f6
[docs] Add more details in the server admin docs 2024-04-06 22:14:19 +05:30
Manav Rathi 9b73cd2176
[docs] Add a troubleshooting guide for failing uploads (#1346) 2024-04-06 20:53:40 +05:30
Manav Rathi 1205b864d2
[docs] Add a troubleshooting guide for failing uploads 2024-04-06 20:49:04 +05:30
Manav Rathi 54a1b3ca3e
[web] Fix cast CSS (#1345)
- Cleanups, remove unnecessary sass dependency
- Fix the height in the CSS
2024-04-06 19:28:36 +05:30
Manav Rathi 4b074f4475
Fix the CSS for cast 2024-04-06 19:15:42 +05:30
Manav Rathi b650372d35
Cleanupxs 2024-04-06 19:09:02 +05:30
Manav Rathi 04c0fd0617
[web] New translations (#1344)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-06 12:42:49 +05:30
Crowdin Bot e779ae5189 New Crowdin translations by GitHub Action 2024-04-06 07:12:09 +00:00
Manav Rathi 14fe0a46b0
[web] Bundle translations but lazily (#1343)
## Description

Muchos faster, muchos caching, and no duplication.

**Tested by**

Running locally in both dev and preview. Only the current language +
English is fetched. It can be made even faster by prebundling the
English translations as described in
https://github.com/i18next/i18next-resources-to-backend, but we can
profile first and see if that's even needed.
2024-04-06 12:41:25 +05:30
Manav Rathi 568f4540e3
Remove scripts
It has done its job, let it rest in peace
2024-04-06 12:12:15 +05:30
Manav Rathi 6bff42ad9b
Remove unused keys 2024-04-06 12:11:29 +05:30
Manav Rathi d00211964b
Improve heuristic 2024-04-06 11:45:05 +05:30
Manav Rathi 8695f46b43
Improve script for finding unused keys 2024-04-06 11:43:56 +05:30
Manav Rathi 8020d83ced
Fix crowdin paths 2024-04-06 11:30:31 +05:30
Manav Rathi 121df66ada
Cleanup 2024-04-06 11:19:14 +05:30