Commit graph

78 commits

Author SHA1 Message Date
Neeraj Gupta 20459afc7b [cast] Add logs 2024-04-30 17:33:25 +05:30
Manav Rathi c1103b656c
[web] Upload refactoring - Part x/x (#1536) 2024-04-25 21:33:03 +05:30
Neeraj Gupta 1dc8ac6023 [web][cast] Close on sender disconnect 2024-04-25 18:14:02 +05:30
Neeraj Gupta a243db032c [web][cast] Remove help qrcode 2024-04-25 15:00:25 +05:30
Neeraj Gupta 3f62357016 [web][cast] Remove debug logs and castDebugger 2024-04-25 14:59:02 +05:30
Manav Rathi c13812c31a
Move to library 2024-04-25 12:46:21 +05:30
Manav Rathi 7f3d9690c0
exactType => extension 2024-04-24 22:02:46 +05:30
Manav Rathi e03a0a09d4
lowercase extension 2024-04-24 21:28:30 +05:30
Manav Rathi d05ca58f57
Move to correct package 2024-04-24 20:46:36 +05:30
Manav Rathi af79db90d0
Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
Manav Rathi 38e18f29bd
Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi f3c798148c
type-detect 2024-04-24 18:06:52 +05:30
Neeraj Gupta a5dfc97035 [web][cast] disable cast stop 2024-04-24 15:41:18 +05:30
Manav Rathi 9de8a3d40a
Fixes 2024-04-24 13:19:37 +05:30
Manav Rathi 0566d2ee93
Spruce 2024-04-24 13:01:53 +05:30
Manav Rathi 190dc586a9
Prune 2024-04-23 18:47:48 +05:30
Neeraj Gupta 8e5d5c4e41 [web][cast] Minor fixes 2024-04-21 17:59:57 +05:30
Neeraj Gupta fdc7cf6ad8 [web] Fix cast build 2024-04-21 17:56:50 +05:30
Neeraj Gupta a7a44140e5 [cast] Load debug script 2024-04-21 14:35:56 +05:30
Neeraj Gupta 026647f192 cast: add additional logs 2024-04-21 14:14:36 +05:30
Neeraj Gupta 3486ef090c [cast] Add additional console logs for debuging remote device 2024-04-21 11:58:57 +05:30
Manav Rathi c90cd258ec
Deduce 2024-04-18 15:05:39 +05:30
Manav Rathi 184ba91a2d
Refactor 2024-04-17 12:34:00 +05:30
Manav Rathi fb1d2c800a
Dedup 2024-04-17 12:07:15 +05:30
Manav Rathi 871cb417d6
Replace 2024-04-17 12:03:45 +05:30
Manav Rathi 3172104578
Start using @/media's version 2024-04-17 10:08:08 +05:30
Manav Rathi c98d5a3e40
Filter out files with HEIC previews 2024-04-16 21:00:47 +05:30
Manav Rathi 2dd705d7f7
Not better not worse 2024-04-16 20:49:47 +05:30
Manav Rathi 0a248e5ce5
Prepare 2024-04-16 20:22:12 +05:30
Manav Rathi 598a885df2
Refactor
This doesn't fix the initial gap, functionality is still the same, but the flow
is now easier to understand.
2024-04-16 20:17:28 +05:30
Manav Rathi 138b775c13
At a more opportune place 2024-04-16 19:57:08 +05:30
Manav Rathi 2bb3e152f8
Precache 2024-04-16 19:54:00 +05:30
Manav Rathi f78e4d3914
Fix live photo cast 2024-04-16 19:42:53 +05:30
Manav Rathi 87077417a2
Remove dup 2024-04-14 20:07:17 +05:30
Manav Rathi 5eda8fd464
Log in other apps too 2024-04-10 13:09:14 +05:30
Manav Rathi d441418b5b
Remove deprecated loggers 2024-04-09 12:06:46 +05:30
Manav Rathi 1dc8f4617e
log.error regex replacement
- logError\(e, (".+")\);
- log.error($1, e);

+ a whole bunch of manual tweakings
2024-04-09 11:32:34 +05:30
Manav Rathi 92a3650696
Dedup comlink 2024-04-08 20:53:27 +05:30
Manav Rathi a1c9ceae6b
Add temporary gateways 2024-04-08 20:47:47 +05:30
Manav Rathi 3e3712efb3
Transition 2024-04-08 20:43:42 +05:30
Manav Rathi 0be549c91b
Transition 2024-04-08 20:21:49 +05:30
Manav Rathi 90a770c619
WIP 2024-04-08 18:09:08 +05:30
Manav Rathi 02207ca96c
Remove unused ffmpeg from cast 2024-04-07 08:18: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 121df66ada
Cleanup 2024-04-06 11:19:14 +05:30
Manav Rathi 6333792d64
Temporarily disable tsc on CI 2024-04-05 22:03:39 +05:30
Manav Rathi 69bd822499
Attempt to fix tsc warning on CI
Error: src/services/wasm/ffmpeg.ts(6,38): error TS2307: Cannot find module 'ffmpeg-wasm' or its corresponding type declarations.
2024-04-05 21:59:18 +05:30
Manav Rathi 6a31331ac4
Fix lint issue when running on CI
> cast
    $ /home/runner/work/ente/ente/web/node_modules/.bin/tsc
    Error: src/components/FilledCircleCheck/index.tsx(2,20): error TS2307: Cannot find module './FilledCircleCheck.module.scss' or its corresponding type declarations.
2024-04-05 21:56:46 +05:30
Manav Rathi cf27f3236c
lint-fix 2024-04-05 20:48:23 +05:30