Commit graph

9620 commits

Author SHA1 Message Date
httpjamesm 688c840af6
feat: get accounts token and pass to passkeys url 2024-02-08 15:46:33 -05:00
httpjamesm ad1fab8edb
feat: getAccountsURL() 2024-02-08 15:42:51 -05:00
Manav Rathi e0ecbba2e7
Remove unused code and files (#1604) 2024-02-08 15:41:45 +05:30
Manav Rathi 878b7a5e32 Remove unused PWA / manifest code
Had discussed this with Abhinav, there were some issues around marking our app
as a PWA, tied to worker lifetime, so the PWA functionality had been disabled,
and these files are not currently not supposed to be used.
2024-02-08 14:48:43 +05:30
Manav Rathi b4946693f8 Remove unused workbox-* dependencies
yarn workspace photos remove workbox-precaching workbox-recipes workbox-routing workbox-strategies workbox-window
2024-02-08 14:46:26 +05:30
Manav Rathi f8f35309d0 Remove unused deepsource.toml
This was used a long back for code analysis, but has been disabled for a while,
and the integration with the Deepsource app in the web's GitHub repository has
also been removed.
2024-02-08 14:31:01 +05:30
Manav Rathi 7225071b64 Remove unused LS_KEYS.API_ENDPOINT
This is currently unused. We can resurrect this at a later point when we could
want to make the API we connect to dynamically changable within the app settings
itself, but right now that won't be trivial (e.g. mixing credentials across
instances). So just removing this.
2024-02-08 14:24:57 +05:30
Manav Rathi 67d058d77c
Document env vars (#1601) 2024-02-08 10:13:14 +05:30
Abhinav Kumar a88c7212a0
Fix the zip file related tests (#1602) 2024-02-08 10:08:30 +05:30
Manav Rathi d928429276 Add comments around the purpose of the test 2024-02-07 19:30:47 +05:30
Manav Rathi 5c93c14a02 Fix the zip file related tests
These functions (e.g. getElectronFilesFromGoogleZip) look to have been moved
from `importService` to `ElectronAPIs` in commit
86d61060b7, perhaps the test did not get updated.

The test runs now from the desktop app.
2024-02-07 17:49:33 +05:30
Manav Rathi cdb1fb4f82
New Translations (#1600) 2024-02-07 16:27:06 +05:30
Manav Rathi fb0144466f Add more details 2024-02-07 12:51:56 +05:30
Manav Rathi 6a1c82429a Remove unused auth-url 2024-02-07 12:51:56 +05:30
Manav Rathi 9e71916edf Add more comments and variables 2024-02-07 12:51:56 +05:30
Manav Rathi 009652ac76 Create a sample .env.development 2024-02-07 12:51:56 +05:30
Crowdin Bot e404b12b34 New Crowdin translations by GitHub Action 2024-02-07 00:14:25 +00:00
Manav Rathi 996b65338d
Deploy auth from the same repository (#1599) 2024-02-03 17:25:05 +05:30
Manav Rathi a2c9cd5071 Use the correct casing
-r also worked, but -R is the preferred casing

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html
2024-02-03 17:12:25 +05:30
Manav Rathi e083c7caf2 Copy the out directory
The symlink does not seem to be working. In the build logs there is nothing
wrong, but at the end CF gives up by saying:

    + ln -sf apps/auth/out
    Finished
    Note: No functions dir at /functions found. Skipping.
    Validating asset output directory
    Failed: build output directory contains links to files that can't be accessed
2024-02-03 16:49:50 +05:30
Manav Rathi 7bd332bad2 POSIX test requires a single =
https://pubs.opengroup.org/onlinepubs/009695399/utilities/test.html

Fixes the following error when running on CF pages:

    ./scripts/deploy.sh: 14: test: multi-deploy-test: unexpected operator

Also xtrace the commands for the log
2024-02-03 16:35:33 +05:30
Manav Rathi d3cf5a9afb Make the deploy script executable 2024-02-03 16:14:23 +05:30
Manav Rathi 67624839f3 Handle the single output directory by creating a symlink 2024-02-03 15:54:45 +05:30
Manav Rathi e858ae2dc6 Deploy auth from the same repository 2024-02-03 11:34:34 +05:30
httpjamesm 97ab0e3be9
fix: add try catch to context.start() 2024-02-02 22:17:03 -05:00
httpjamesm 1f40e854ae
fix: don’t re-create context if exists 2024-02-02 22:12:07 -05:00
Neeraj Gupta 8efa92fa95 Cast: simplify ascii to base64 conversion 2024-02-02 13:34:47 +05:30
httpjamesm 677c62ca83
feat: use constant renderable file URL cache map 2024-02-01 09:53:01 -05:00
httpjamesm 1a137ddc16
feat: add isCastReady as dep for receiver init 2024-02-01 09:50:15 -05:00
httpjamesm d3efa0a28e
fix: remove options from context stop cleanup 2024-02-01 09:49:41 -05:00
httpjamesm d789d96c4c
fix: set browser can cast on mount 2024-02-01 09:49:18 -05:00
Neeraj Gupta 87ce124eb4 Build fix 2024-02-01 18:06:58 +05:30
Neeraj Gupta b250e56c09 Fix cast thumbnail url 2024-02-01 17:14:44 +05:30
Neeraj Gupta 715c9befdd Address review feedback 2024-02-01 16:33:09 +05:30
Neeraj Gupta 76187684e9 Add support for rending images of live photos + heic 2024-02-01 15:57:36 +05:30
httpjamesm e80be51af8
fix: set client pkg header for http service 2024-01-31 18:50:43 -05:00
Abhinav Kumar b2fc0401df
Fix error handling in share dialog (#1594) 2024-01-31 12:05:53 +05:30
Abhinav 22605e503c refactor code 2024-01-31 11:39:38 +05:30
Abhinav 826679b183 fix error handling in share dialog 2024-01-31 11:26:43 +05:30
httpjamesm 5b8ec11b6c
feat: set client package based on redirect URL 2024-01-30 11:21:33 -05:00
Neeraj Gupta 17caa99416 Fix cast build errors 2024-01-30 14:39:28 +05:30
Neeraj Gupta d94ea221c7 Merge branch 'cast' of github.com:ente-io/photos-web into cast 2024-01-30 14:34:41 +05:30
Abhinav 28bda3a0f9 remove font package 2024-01-30 12:04:57 +05:30
Neeraj Gupta 6572314657 Add yarn.lock 2024-01-30 12:00:10 +05:30
Neeraj Gupta d6eecf38f5 Improve logs 2024-01-30 11:31:34 +05:30
Abhinav d0c6a9d940 refactor code 2024-01-30 11:15:20 +05:30
Abhinav 0dff59eb7a cleanup 2024-01-30 11:15:07 +05:30
Abhinav aaf1a8d3b5 remove unneeded nesting 2024-01-30 11:14:54 +05:30
Neeraj Gupta 98a59172db Merge branch 'cast' of github.com:ente-io/photos-web into cast 2024-01-30 11:02:01 +05:30
Neeraj Gupta f5d476df53 Remove dependency from next/font 2024-01-30 11:01:44 +05:30