Commit graph

1171 commits

Author SHA1 Message Date
Manav Rathi 7658b99742
Fix 2024-05-08 12:55:03 +05:30
Manav Rathi 3b7dbe6628
Fix 2024-05-08 12:55:03 +05:30
Manav Rathi 2f87c3cf5a
Debug 2 2024-05-08 12:55:03 +05:30
Manav Rathi c9601c33c3
Debug 2024-05-08 12:55:03 +05:30
Manav Rathi b917237db2
Code can become invalid after timeout 2024-05-08 12:55:03 +05:30
Manav Rathi 943f9ea9c1
Wait for pairing code before initializing cast 2024-05-08 12:55:03 +05:30
Manav Rathi 63c3842770
Write export record after operation completion 2024-05-07 20:35:59 +05:30
Manav Rathi ff3c37e703
Write file exported record after success 2024-05-07 20:35:59 +05:30
Manav Rathi 7f35a27f37
Undefs 2024-05-07 13:08:43 +05:30
Manav Rathi c2804b33fa
Use storage 2024-05-07 13:05:09 +05:30
Manav Rathi 45865a8376
Share 2024-05-07 12:58:10 +05:30
Manav Rathi fe99383d7f
Inline 2024-05-07 12:52:26 +05:30
Manav Rathi 98d38a3e44
Forward storage 2024-05-07 12:43:14 +05:30
Manav Rathi 54e8cd498f
Inline 2024-05-07 12:25:23 +05:30
Manav Rathi 07d75a5dea
Fixes 2024-05-07 12:23:05 +05:30
Manav Rathi ce9ad0f406
Rename 2024-05-07 11:28:35 +05:30
Manav Rathi 521950075f
yarn lint-fix 2024-05-07 11:12:23 +05:30
Manav Rathi 491b814a2e
Convert the third one too 2024-05-07 10:45:06 +05:30
Manav Rathi ccf336e00f
2 2024-05-07 10:35:22 +05:30
Manav Rathi 7993a07607
1 2024-05-07 10:28:05 +05:30
Manav Rathi daeccdab32
Move 2024-05-07 10:05:49 +05:30
Manav Rathi c4756fb847
[desktop] More fixes leading on to the release (#1632) 2024-05-07 09:49:04 +05:30
Crowdin Bot e3fae854db New Crowdin translations by GitHub Action 2024-05-07 01:40:22 +00:00
Manav Rathi e934cc8cb4
Allow UID 1 to re-index 2024-05-06 20:12:38 +05:30
Manav Rathi 94ec766bc6
Add missing conditional 2024-05-06 19:42:42 +05:30
Manav Rathi 66f705ed9b
Use the correct key 2024-05-06 19:32:57 +05:30
Manav Rathi 333f364d38
Serve legacy face crops 2024-05-06 19:20:25 +05:30
Vishnu Mohandas be01f88058
Update copy for Cast 2024-05-06 17:32:14 +05:30
Crowdin Bot 6db94b7595 New Crowdin translations by GitHub Action 2024-05-06 05:00:53 +00:00
Manav Rathi 78e97c1c01
[web] Enable German (#1620)
German translation has reached almost 100% coverage, time to enable it.
Thank you to all the translators in Crowdin 🙏
2024-05-06 10:30:16 +05:30
Manav Rathi ea57815945
Add a TODO and fix typo 2024-05-06 10:23:08 +05:30
Manav Rathi 9804d448f6
Enable German (has reached 100%) 2024-05-06 10:19:55 +05:30
Manav Rathi 59d8b9bfbb
Remove misused translation strings 2024-05-06 10:17:29 +05:30
Manav Rathi a288c8305a
Add TODO about better translation 2024-05-06 10:07:27 +05:30
Crowdin Bot e59007590d New Crowdin translations by GitHub Action 2024-05-06 04:23:57 +00:00
Manav Rathi c92380eb10
Once over 2024-05-04 19:08:48 +05:30
Manav Rathi fa8f229fcb
Help tsc 2024-05-04 19:02:07 +05:30
Manav Rathi 34c30e4520
Remove unused file 2024-05-04 18:59:29 +05:30
Manav Rathi 6a6b77f1d2
Remove unused code 2024-05-04 18:56:52 +05:30
Manav Rathi 575e4809d8
Random order 2024-05-04 18:48:43 +05:30
Manav Rathi ee503b3bce
Shuffle 2024-05-04 18:37:48 +05:30
Manav Rathi 094f1daef3
Get all files 2024-05-04 18:22:36 +05:30
Manav Rathi 3c000b5c62
First time 2024-05-04 17:50:29 +05:30
Manav Rathi 42089403fd
Account for processing in the timings 2024-05-04 17:32:02 +05:30
Manav Rathi 2ae2b73c59
Simplify revoke 2024-05-04 17:17:10 +05:30
Manav Rathi 438b6430e0
Simplify 2024-05-04 16:59:10 +05:30
Manav Rathi b6add9650a
Revoke 2024-05-04 15:30:39 +05:30
Manav Rathi b809523ec9
More 2024-05-04 14:41:06 +05:30
Manav Rathi 77036ee29a
Rearrange 2024-05-04 14:26:18 +05:30
Manav Rathi b42326bd9b
Remove unused saved data 2024-05-04 14:23:56 +05:30
Manav Rathi 1d11c906ef
Reorder 2024-05-04 14:21:44 +05:30
Manav Rathi 80301b14f4
Rearrange 2024-05-04 14:18:44 +05:30
Manav Rathi bf66697bcb
t2 2024-05-04 13:24:58 +05:30
Manav Rathi 8b75393ea0
gen 2024-05-04 12:39:55 +05:30
Manav Rathi b520996af5
Sketch 2024-05-04 12:28:15 +05:30
Manav Rathi 882af50507
Reorder 2024-05-04 11:18:23 +05:30
Manav Rathi efdf980558
busywork 2024-05-04 11:15:06 +05:30
Manav Rathi fdeb0f9493
Match 2024-05-04 11:12:43 +05:30
Manav Rathi c2a2370510
Mirror 2024-05-04 11:11:49 +05:30
Manav Rathi 3d8d6e9fac
Remove unused remove code 2024-05-04 10:52:12 +05:30
Manav Rathi 3c3955017e
Start chromecast SDK only once 2024-05-04 10:49:33 +05:30
Manav Rathi 1dafec15c7
Unused 2024-05-04 10:31:59 +05:30
Manav Rathi 2ca88ef0a3
Placeholder 2024-05-04 10:26:52 +05:30
Manav Rathi a058897c48
Simplify 2024-05-04 10:24:37 +05:30
Manav Rathi 3ca1bd7729
Fuse 2024-05-04 10:17:09 +05:30
Manav Rathi 4b674c22c1
Inline 2024-05-04 10:15:31 +05:30
Manav Rathi 75a9abab0f
Inline 2024-05-04 10:11:59 +05:30
Manav Rathi 949dd22f81
Inline 2024-05-04 10:03:53 +05:30
Manav Rathi 8bcbdeb6e2
Rename 2024-05-04 09:56:24 +05:30
Manav Rathi 6175c2617c
Rearrange 2024-05-04 09:08:48 +05:30
Manav Rathi 0f64a506e5
Comments 2024-05-04 09:00:58 +05:30
Manav Rathi 8a4f5e2934
Fix 2024-05-04 08:55:54 +05:30
Manav Rathi 54bb32d5e7
3 phase 2024-05-04 08:44:58 +05:30
Manav Rathi 159d207d1f
Phases 2024-05-04 07:27:10 +05:30
Manav Rathi 5dc4352196
Ignore nulls 2024-05-04 07:13:32 +05:30
Manav Rathi afa8303d91
Split phases 2024-05-04 06:59:06 +05:30
Manav Rathi a86a818924
pp 2024-05-04 06:34:52 +05:30
Manav Rathi 5388112b48
Pair 2 2024-05-03 21:57:30 +05:30
Manav Rathi 90a87a8e4f
Pair 1 2024-05-03 21:42:33 +05:30
Manav Rathi 021ff4611c
Remove indirection 2024-05-03 19:25:52 +05:30
Manav Rathi b7842765e8
Document 2024-05-03 19:24:04 +05:30
Manav Rathi 30464772e2
Inline 2024-05-03 19:19:18 +05:30
Manav Rathi 1d8be29bd6
Add missing dependency array 2024-05-03 19:07:25 +05:30
Manav Rathi c750329fb1
Fix type only import
Ref:
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28190#issuecomment-444339277
2024-05-03 19:02:04 +05:30
Manav Rathi a0c5dd84c7
Add typings 2024-05-03 19:00:16 +05:30
Manav Rathi 08f23efeca
Use in cast 2024-05-03 18:47:44 +05:30
Manav Rathi 34c664ac33
Move to @/media 2024-05-03 18:37:57 +05:30
Crowdin Bot c31ce04c6e New Crowdin translations by GitHub Action 2024-05-03 09:31:18 +00:00
vishnukvmd 8dc6e1ab6a Fix lint error 2024-05-03 14:59:42 +05:30
vishnukvmd 03e9aef848 Update copies for Cast 2024-05-03 14:54:31 +05:30
Neeraj Gupta 8a85932512 refactor 2024-05-03 12:27:48 +05:30
Neeraj Gupta b9b928797c [web][cast] Use server to generate deviceCode 2024-05-03 12:24:52 +05:30
Crowdin Bot d08c2b4fa0 New Crowdin translations by GitHub Action 2024-05-03 01:40:38 +00:00
Manav Rathi 6a99002064
Start using it 2024-05-02 21:25:44 +05:30
Manav Rathi 68721b8168
Pick from the correct table 2024-05-02 11:11:24 +05:30
Manav Rathi 8327c2b881
Remove unused ElectronFile 2024-05-02 10:23:56 +05:30
Manav Rathi cd5c1e35fa
Disable live clip, rely on the thumbnailed version 2024-05-01 21:05:29 +05:30
Manav Rathi 30f22e333a
Pass file when we have it 2024-05-01 21:04:41 +05:30
Manav Rathi 5ba2e35af6
Force disable it for non internal users 2024-05-01 20:13:08 +05:30
Manav Rathi 0226a99fa3
Disable enabling ML search 2024-05-01 20:09:36 +05:30
Manav Rathi 2690b874ee
Make the migration a no-op 2024-05-01 19:49:09 +05:30
Manav Rathi 932f26684d
Electron logout 2024-05-01 18:50:10 +05:30
Manav Rathi 4eb51061cb
For real 2024-05-01 18:21:45 +05:30
Manav Rathi de4aa3a6ca
URL encode 2024-05-01 18:15:52 +05:30
Manav Rathi c988884ab1
Setting pathname had no effect 2024-05-01 17:56:46 +05:30
Manav Rathi b967d4bbea
URL encode better
e.g. fixes the reading of a file with a hash in the name
2024-05-01 17:39:28 +05:30
Manav Rathi 0a93ba67a1
Fix warnings
Refs:
https://stackoverflow.com/questions/69730364/what-is-the-purpose-of-shouldforwardprop-option-in-styled
2024-05-01 17:04:44 +05:30
Manav Rathi 9dd865ff6e
Comment 2024-05-01 15:31:42 +05:30
Manav Rathi 52909f6f21
The handler adds its own error message prefix
Error occurred in handler for 'generateImageThumbnail': Error: This feature in not available on the current OS/arch
2024-05-01 14:06:34 +05:30
Manav Rathi 5ffc2f20fd
Replicate previous behaviour 2024-05-01 13:57:33 +05:30
Manav Rathi f2a764aac2
Fix export trash movement 2024-05-01 13:42:09 +05:30
Manav Rathi f91dddda93
Fix paths 2024-05-01 13:35:42 +05:30
Manav Rathi 6086d43635
Don't log a potentially huge list 2024-05-01 12:32:33 +05:30
Manav Rathi ff5a167f48
Might not be JSONStringify-able 2024-05-01 11:33:49 +05:30
Manav Rathi 55c603d345
Tweak logs 2024-05-01 10:39:35 +05:30
Manav Rathi 38969d6f45
Fix zip reader 2024-05-01 10:17:51 +05:30
Manav Rathi 735213b474
linter linter on the wall who's the fairest of them all 2024-05-01 09:17:17 +05:30
Manav Rathi 7056e04c02
Fix lint for web
Copy overrides from desktop
2024-05-01 09:13:41 +05:30
Manav Rathi 42b214a4ba
Remove duplicate state and reset store on successful completion
Clears out the collection name
2024-05-01 09:05:12 +05:30
Manav Rathi e18731e625
yarn upgrade-interactive typescript and lints 2024-05-01 08:51:47 +05:30
Manav Rathi 6c716ad892
Tell prettier not to print the names of the files it processes 2024-05-01 08:30:35 +05:30
Manav Rathi c353ceaaf9
[desktop] IPC refactoring and general cleanup (#1572) 2024-04-30 23:13:05 +05:30
Neeraj Gupta d81684a93b [web][cast] More logs 2024-04-30 18:20:01 +05:30
Neeraj Gupta 13d5a9f71a [web][cast] Add logs 2024-04-30 18:09:35 +05:30
Neeraj Gupta ecfb7d944d [web][cast] Add slide logs 2024-04-30 17:45:50 +05:30
Neeraj Gupta 20459afc7b [cast] Add logs 2024-04-30 17:33:25 +05:30
Manav Rathi 9cc730e6a9
more posix 2024-04-30 14:56:13 +05:30
Manav Rathi 5681f14967
Clarify that entry names are guaranteed to be posixy 2024-04-30 14:31:06 +05:30
Manav Rathi 0c312c0ea1
strict 3 2024-04-30 14:10:59 +05:30
Manav Rathi 72b9113d30
ensure 2024-04-30 13:59:00 +05:30
Manav Rathi b52c9f558f
Remove cache size overrides
Need a bit more benchmarking or real world feedback to see if this is even something that is helping us.
2024-04-30 13:39:58 +05:30
Manav Rathi f84937f8c1
Bye ElectronFile 2024-04-30 13:26:55 +05:30
Manav Rathi f5754eb2e1
Remove uses of path 2024-04-30 13:01:29 +05:30
Manav Rathi a148f1a7af
[web] New translations (#1560)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-30 12:40:08 +05:30
Manav Rathi 92a066d322
Revert "search-bar component added"
This reverts commit 4ed194f397.

Two main functional issues was:

- When trying to upload files, if I would search something without results, the
  dialog would just close.

- As a user, I expect to be able to move out of the search bar with
  escape. However, pressing escape closes the whole dialog, causing the user's
  drag and dropped or selected files to be lost. This is not specifically a
  problem with the code added in this commit, however this UX will need to be
  fixed in some way before introducing the search bar.

One medium issue:

- The dialog box kept changing size when I searched. This is visually jarring.

Other minor issues:

- The input element did not match the look and feel for the rest of the search
  input elements in the app. Aligning the search bar to the left and right of
  the album thumbnails and using the MUI Input element (as our code uses MUI
  elements in other places) might've fixed it.

- There were various debugging console.logs left over, once of which even seemed
  like a case we need to handle.

- The strings were not localized.
2024-04-30 12:31:24 +05:30
Crowdin Bot 25fd5d5422 New Crowdin translations by GitHub Action 2024-04-30 06:42:25 +00:00
Manav Rathi 09bc15ddd3
[web] Upload refactoring - Zip file support (#1559) 2024-04-30 12:11:46 +05:30
Manav Rathi e2cd1ea380
Fallback 2024-04-30 12:03:05 +05:30
Manav Rathi ab95b4daee
Inline 2024-04-30 11:51:25 +05:30
Manav Rathi 92ecbf9fa1
Add search bar within the Album selection screen #564 (#1558)
## Description
Search bar component for the ente-web added.
The component for web and mobile responsiveness is shown below.

> Thank you to the team for considering 


## Tests
Normal screen--
![Screenshot 2024-04-30
103238](https://github.com/ente-io/ente/assets/82031202/c4d8b033-2624-4985-b9ba-18e5eca29f0f)
Mobile screen--
![Screenshot 2024-04-30
111031](https://github.com/ente-io/ente/assets/82031202/4246a71b-3dd3-4de3-b4e0-f06185926faa)
2024-04-30 11:38:37 +05:30
Manav Rathi 8ee9b2be32
Use only the currently uploaded items 2024-04-30 11:36:28 +05:30
Manav Rathi 1f110929b2
connect 2024-04-30 11:08:55 +05:30
daviddeepan 4ed194f397 search-bar component added 2024-04-30 11:05:27 +05:30
Manav Rathi 68f3f1e714
more 2024-04-30 11:01:50 +05:30
Manav Rathi a5177a3742
fore 2024-04-30 10:51:20 +05:30
Manav Rathi 761fd560a1
Separate file 2024-04-30 10:43:12 +05:30
Manav Rathi c1a3fb4896
docs 2024-04-30 10:31:33 +05:30
Manav Rathi 5f0103682b
entries 2024-04-30 10:24:41 +05:30
Manav Rathi 7ad4069b99
hobgoblins 2024-04-30 10:23:33 +05:30
Manav Rathi afb0e1aff3
web 2024-04-30 10:20:37 +05:30
Manav Rathi 77fe4f9f03
wip ze ipc 2024-04-30 09:39:38 +05:30
Manav Rathi 93991c3a7f
up 2024-04-30 09:25:59 +05:30
Manav Rathi baf491c624
up 2024-04-30 09:10:27 +05:30
Manav Rathi ff8aba816a
cont 2024-04-29 21:48:31 +05:30
Manav Rathi 39737b985b
teach readstream about zips 2024-04-29 21:40:10 +05:30
Manav Rathi 6bcf985390
or can it 2024-04-29 21:27:45 +05:30
Manav Rathi eb608f4bdd
ren 2024-04-29 21:12:47 +05:30
Manav Rathi fca398f296
impl 2024-04-29 21:07:20 +05:30
Manav Rathi 38094f317a
wipx 2024-04-29 20:58:58 +05:30
Manav Rathi 2c62f983a8
wipx 2024-04-29 20:42:57 +05:30
Manav Rathi 61de0c9c9c
Before the changes 2024-04-29 19:55:04 +05:30
Manav Rathi 3ef727537c
UploadItem 2024-04-29 19:46:50 +05:30
Manav Rathi cca33074fb
Pending uploads 2024-04-29 19:29:52 +05:30
Manav Rathi c1ef0199be
Partial integration 2024-04-29 17:16:43 +05:30
Manav Rathi 0fbafcc4f5
Remove unused sharedFiles app context prop
setSharedFiles was removed in 3b468cb154 (years ago).
2024-04-29 16:33:04 +05:30
Manav Rathi 2d40f530a7
more 2024-04-29 15:51:20 +05:30
Manav Rathi 864a53afa2
more 2024-04-29 15:23:46 +05:30
Manav Rathi d94f0a0f56
wip 2024-04-29 15:08:46 +05:30
Manav Rathi 2fa1fcac65
impl 2024-04-29 14:34:05 +05:30
Manav Rathi 3d298a9cd4
separate type 2024-04-29 14:23:33 +05:30
Manav Rathi 3b6204f47d
Take 2 2024-04-29 13:49:02 +05:30
Manav Rathi 63841abd30
Envision 2024-04-29 11:44:43 +05:30
Manav Rathi e8687caba2
wip pending 2024-04-29 11:07:57 +05:30
Manav Rathi 75c058fc4c
This is where it comes from 2024-04-29 09:53:54 +05:30
Manav Rathi 0f46a25a5d
[web] Allow thumbnail cache to be optional
See: https://github.com/ente-io/ente/discussions/1449#discussioncomment-9255346

I'm not yet sure what was the case why it was not initialized, hoping to get
some logs for the error when initializing the cache to see how we got to this
state. But meanwhile, ensure that the code works even without the cache.
2024-04-29 09:25:55 +05:30
Manav Rathi 13f0ff3af5
wip zip selection on web itself 2024-04-28 20:31:11 +05:30
Manav Rathi a3d06c54af
Prune 2024-04-28 17:38:03 +05:30
Manav Rathi e65307517d
Scaffold 2024-04-28 17:08:22 +05:30
Manav Rathi 0e9507be34
Understand better 2024-04-28 16:47:03 +05:30
Manav Rathi 0202f8f38b
More debug 2024-04-28 16:32:45 +05:30
Manav Rathi 42b0b6e9bb
convert to mp4 2024-04-28 16:28:57 +05:30
Manav Rathi 7179b0a603
less line 2024-04-28 15:58:15 +05:30
Manav Rathi 69193e374c
Wait for i18n loaded before accessing messages 2024-04-28 15:51:45 +05:30
Manav Rathi c90e9b7fd1
Add a debug inspector 2024-04-28 13:26:43 +05:30
Manav Rathi b66972e884
Handle missing stacks 2024-04-28 12:48:00 +05:30
Manav Rathi 05b9f834cf
ffmpeg wasm timings 2024-04-28 12:42:34 +05:30
Manav Rathi e7a4e3e7c2
fix logger 2024-04-28 12:27:36 +05:30
Manav Rathi 85d0a72df3
Rework the stream handling 2024-04-28 11:32:23 +05:30
Manav Rathi 9a37141d29
Not yet sure how but desktop drag drops have the full path 2024-04-27 20:50:45 +05:30
Manav Rathi 17275ed29d
Inline 2024-04-27 18:03:09 +05:30
Manav Rathi bb2ddec163
Inline
The zip-file tests are no longer directly usable, the way we read the files has
changed, these will have to be recreated in a new form.
2024-04-27 17:45:34 +05:30
Manav Rathi 6671a62c78
duh 2024-04-27 17:06:33 +05:30
Manav Rathi 536bcf1091
Add a fixed size block transformer
Surprisingly, this is not a primitive. Or maybe I didn't find it.

The highWaterMark-ing didn't work, that seems more of a recommendation than an
enforcement.
2024-04-27 17:00:01 +05:30
Manav Rathi 31a70674ff
Revert "Read in 4 MB blocks"
This reverts commit db30d8d81e.
2024-04-27 16:49:22 +05:30
Manav Rathi db30d8d81e
Read in 4 MB blocks
Refs:
- https://developer.mozilla.org/en-US/docs/Web/API/TransformStream/TransformStream
2024-04-26 18:48:33 +05:30
Manav Rathi 31608ab8fa
Inline 2024-04-26 18:18:15 +05:30
Manav Rathi e786bed078
Inline 2024-04-26 18:16:22 +05:30
Manav Rathi 3074bc108f
Fix 2024-04-26 17:49:50 +05:30
Manav Rathi 8ba952c3b8
Remove unused 2024-04-26 17:48:10 +05:30
Manav Rathi 9f41539330
Enhance 2024-04-26 17:47:08 +05:30