53 Commits

Author SHA1 Message Date
Manav Rathi
0cef0656f3
[desktop] Add IndexedDB circuit breaker
From one customer's logs (Windows):

[rndr] [error] Unhandled promise rejection: Error: The user's token was present in local storage but not in IndexedDB

And thereafter the app started behaving erratically. Restarting fixed it. This
sequence happened during an app update.

This sequence is not reproducible, but adding as a extra precaution adding a
circuit breaker to prevent execution if IndexedDB is not readable.
2025-02-13 14:29:34 +05:30
Manav Rathi
882d66ee52
Remove old state 2025-01-15 09:48:04 +05:30
Manav Rathi
4e5c99aafe
Prune 2024-11-20 10:00:52 +05:30
Manav Rathi
d481fa5cde
m4 2024-11-07 13:58:05 +05:30
Manav Rathi
1f8ddb0c08
wip checkpoint 2024-11-07 11:54:32 +05:30
Manav Rathi
448a8789fa
Switch 2024-11-05 19:07:00 +05:30
Manav Rathi
d26c4a7a84
Remove old code 2024-11-05 15:10:46 +05:30
Manav Rathi
432ef74101
Support arbitrary JSON values in kv store 2024-09-25 12:18:06 +05:30
Manav Rathi
627a53428a
wip: checkpoint 2024-09-24 06:48:46 +05:30
Manav Rathi
31bfb53dfb
Inline inmems 2024-09-07 13:27:23 +05:30
Manav Rathi
261a7f278b
Fix 2024-09-06 19:58:13 +05:30
Manav Rathi
8cfe36be68
Remove legacy locale mapper 2024-09-06 19:58:12 +05:30
Manav Rathi
6e8514e08c
Add sanity checker 2024-09-06 19:58:12 +05:30
Manav Rathi
194f07d48e
Fix style lint issue 2024-08-29 17:50:09 +05:30
Manav Rathi
6aba9064a7
[web] Make web app's log handling consistent with how desktop app does it 2024-08-29 17:36:40 +05:30
Manav Rathi
7d13666a2e
@/next => @/base 2024-07-18 18:55:33 +05:30
Manav Rathi
c66a74d1c7
Cleanup 2024-07-03 18:09:15 +05:30
Manav Rathi
532a9f64ff
Read 2024-07-03 11:45:49 +05:30
Manav Rathi
910013572d
Make the user's ID accessible to web workers 2024-07-03 11:44:31 +05:30
Manav Rathi
612e81d74e
tsc 2024-07-01 13:53:29 +05:30
Manav Rathi
bf1f4b26cf
Keep separate 2024-07-01 13:51:43 +05:30
Manav Rathi
de7b80a352
Fix 2024-07-01 13:48:29 +05:30
Manav Rathi
cf3728eee8
Migrate 2024-07-01 13:46:48 +05:30
Manav Rathi
22fbf0a1be
2 2024-07-01 13:20:11 +05:30
Manav Rathi
4acd17f06b
Funnel point 2024-07-01 13:20:11 +05:30
Manav Rathi
ea51cdfc77
Remove unused 2024-06-29 11:18:46 +05:30
Manav Rathi
4d41f2d64c
Remove unused 2024-06-29 11:15:43 +05:30
Manav Rathi
4c1462e18a
Remove unused 2024-06-23 19:52:55 +05:30
Manav Rathi
dd6f36e037
Unnest 2024-06-07 11:34:08 +05:30
Manav Rathi
9061caac99
Ditto 2024-05-24 20:43:32 +05:30
Manav Rathi
11cc8e46b7
Session storage shouldn't be undefined in newer browsers
Tried FF incognito
2024-05-24 20:41:11 +05:30
Manav Rathi
0f45244457
Redo logout 2 2024-05-15 12:43:19 +05:30
Manav Rathi
0bcc6e3f3f
Redo logout 2024-05-15 11:46:37 +05:30
Manav Rathi
98d38a3e44
Forward storage 2024-05-07 12:43:14 +05:30
Manav Rathi
b056cf7f56
Move to newer shared package 2024-04-12 20:55:07 +05:30
Manav Rathi
a2a8be3b19
Scaffold the split 2024-04-12 20:52:33 +05:30
Manav Rathi
41472eb87d
Document and structure more 2024-04-12 20:24:48 +05:30
Manav Rathi
c691ad2ac1
Document the plan 2024-04-12 20:11:44 +05:30
Manav Rathi
36f9ca2004
Remove unused param 2024-04-12 19:53:23 +05:30
Manav Rathi
c83dc87d5d
Inline the factory 2024-04-12 14:45:03 +05:30
Manav Rathi
495ff99874
Replace enum with TS type 2024-04-12 14:41:33 +05:30
Manav Rathi
cd3ff6f878
Delete is not needed outside 2024-04-12 14:32:50 +05:30
Manav Rathi
b447dedf83
Cache limit is usused 2024-04-12 14:26:41 +05:30
Manav Rathi
bdadc839e0
Remove firefox specific workaround
In a quick (but possibly incomplete) test I wasn't able to reproduce this in an
incognito window. Throwing the error from here has a potential for breaking
things though, I'll try to verify this as I go through the flows individually.
2024-04-12 14:23:56 +05:30
Manav Rathi
7fa9e924eb
Consolidate 2024-04-11 20:57:54 +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
90a770c619
WIP 2024-04-08 18:09:08 +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