Commit graph

25620 commits

Author SHA1 Message Date
Manav Rathi 64231c73f1
[web] Add ESLint to enforce HMR how vite likes it
Configuration changes taken from the vite starter (react-ts).

From the vite docs (https://github.com/vitejs/vite-plugin-react-swc?tab=readme-ov-file#consistent-components-exports)

> For React refresh to work correctly, your file should only export React components.
>
> If an incompatible change in exports is found, the module will be invalidated.
> To make it easier to export simple constants alongside your component the module
> is only invalidated when their value changes.

While we're not currently using vite for our main apps, it would be worthwhile
to write code in a way that a future migration to it is painless if needed.

About the what and the why, the Gatsby docs are illuminating:
https://www.gatsbyjs.com/docs/reference/local-development/fast-refresh/#how-it-works

Some other refs:
- https://github.com/ArnaudBarre/eslint-plugin-react-refresh
- https://github.com/vitejs/vite/discussions/4577#discussioncomment-1161007
- https://github.com/vitejs/vite-plugin-react/issues/34
2024-04-13 18:38:24 +05:30
Manav Rathi 27fb43837b
[desktop] Fix export related IPC - Part 1/x (#1432) 2024-04-13 18:31:36 +05:30
Manav Rathi 4f764dc77c
Consolidate constants 2024-04-13 18:27:40 +05:30
Manav Rathi 63a2ca7606
Fix lint 2024-04-13 18:24:57 +05:30
Manav Rathi eb995f4354
Split 2024-04-13 18:20:40 +05:30
Manav Rathi 37cb2aaaf9
Refactor 2024-04-13 18:09:32 +05:30
Neeraj Gupta 4c93033522 [mob] Upgrade sqflite_async 2024-04-13 18:08:57 +05:30
Neeraj Gupta ab70908980 Merge branch 'update_deps_and_flutter' of https://github.com/ente-io/auth into update_deps_and_flutter 2024-04-13 18:07:44 +05:30
ashilkn a3f102c183 [mob] Use custom toggle widget to remove UI issues after migrating to material 3 2024-04-13 18:07:01 +05:30
Neeraj Gupta 2feee2cc5e [mob][photos] Bump flutter version in README and github workflow 2024-04-13 17:58:41 +05:30
Neeraj Gupta c183531e8b Switch to older version of share_plus 2024-04-13 17:53:06 +05:30
Neeraj Gupta 9522854685 Flutter gradle plugin changes 2024-04-13 17:52:49 +05:30
Neeraj Gupta d864acafa3 [mob] Upgrade to flutter 3.19.5 2024-04-13 17:52:35 +05:30
ashilkn 75dd7c3e48 [mob] make function private 2024-04-13 17:15:13 +05:30
ashilkn 2c0148d661 [mob] fix UI of toggle widget on iOS 2024-04-13 17:11:04 +05:30
Manav Rathi 1ffa905f99
Inline 2 2024-04-13 17:00:50 +05:30
Manav Rathi 07fa5cb83d
Inline 2 2024-04-13 16:59:47 +05:30
Manav Rathi c90ba63aad
Inline 1 2024-04-13 16:57:04 +05:30
Manav Rathi 284d7920b3
Inline 2 2024-04-13 16:54:26 +05:30
Manav Rathi ca114a467d
Inline 1 2024-04-13 16:50:23 +05:30
ashilkn 372ced2502 [mob] fix colour of loading dialog 2024-04-13 16:48:36 +05:30
Manav Rathi f7e961e86b
Inline 2024-04-13 16:44:55 +05:30
Vishnu Mohandas e72003c199
[mob][photos] Prepare for release v0.8.79 (#1430)
![v0 8 79
changelog](https://github.com/ente-io/ente/assets/77285023/f55a544a-9d10-467c-b23f-bd57f9a2efe4)
2024-04-13 15:09:12 +05:30
ashilkn 1a8ec9fb4c [mob] minor change to change log 2024-04-13 15:02:43 +05:30
Prateek Sunal 17507cce68 fix: remove unused constants 2024-04-13 14:09:52 +05:30
Prateek Sunal 51d02177ad chore: bump dependencies 2024-04-13 14:07:20 +05:30
Prateek Sunal 0a06ee1f55 chore: lint fix 2024-04-13 14:04:06 +05:30
Prateek Sunal 564ca440e7 fix: remove unwanted line 2024-04-13 14:03:54 +05:30
Prateek Sunal de06c8f38b fix: use better way to remove quotes 2024-04-13 14:02:29 +05:30
Prateek Sunal 780ec7f9d6 fix: generalize xml parser logic 2024-04-13 14:02:29 +05:30
Prateek Sunal 2b9db5cbfb fix: only multipart when count is greater than 1 2024-04-13 14:02:29 +05:30
Prateek Sunal baeac73339 fix: complete url xml 2024-04-13 14:02:29 +05:30
Prateek Sunal 69394fc8a6 fix: separate xml parser util 2024-04-13 14:02:29 +05:30
Prateek Sunal 99d84821c7 feat: add multipart upload support 2024-04-13 14:02:29 +05:30
ashilkn 8fa18e1ffe [mob] update change log 2024-04-13 13:37:03 +05:30
ashilkn 703ba5ad9b [mob] bump up to v0.8.79 2024-04-13 13:22:38 +05:30
Manav Rathi ba5383789a
[desktop] Add an OPFS based cache (#1429)
See the extensive documentation in `blob-cache.ts` for the why and the
how. Done basic sanity testing for normal flows, the beta ML flows still
need to be tested.
2024-04-13 13:19:37 +05:30
Manav Rathi 7deb0dca8e
Fix lint 2024-04-13 13:17:42 +05:30
Manav Rathi f2d3ec74a1
Granular migration 2024-04-13 13:12:16 +05:30
Manav Rathi 0f3b28a425
Revert "Recreate ML db"
This partially reverts commit 95a0e80c5b.
2024-04-13 12:56:21 +05:30
Manav Rathi 95a0e80c5b
Recreate ML db 2024-04-13 12:46:48 +05:30
ashilkn 04e45b7908 fix: call updateEmail after initState to avoid runtime exception
updateEmail uses getEnteColorScheme() which adds an inherited widget as dependency to the widget. Adding an inherited widget as dependency before init state is completed throws an exception
2024-04-13 12:42:55 +05:30
Neeraj Gupta 555a960def
[auth] Potential fix for keyboard popup not working while focusing on… (#1428)
… search

## Description

## Tests
2024-04-13 12:15:49 +05:30
Neeraj Gupta 949a304078 [auth] Potential fix for keyboard popup not working while focusing on search 2024-04-13 12:03:29 +05:30
Manav Rathi b50f8a8212
Promise 2024-04-13 10:35:20 +05:30
Manav Rathi edd9c94d73
URL => id, which is what it is 2024-04-13 10:32:40 +05:30
Manav Rathi d0dc8b1320
Dedup 2024-04-13 10:22:24 +05:30
Manav Rathi c0d95edac8
Inline 2 2024-04-13 10:19:16 +05:30
Manav Rathi f7ba28d1fb
Inline 1 2024-04-13 10:17:58 +05:30
Manav Rathi eef9bf1f26
Inline 2024-04-13 10:16:08 +05:30