Commit Graph

32 Commits

Author SHA1 Message Date
Matthew Raymer
c9536dd643 refactor: Replace console logging with logger utility
- Add logger import across multiple view components
- Replace console.error/warn/log with logger methods
- Update error handling to use structured logging
- Improve type safety for error objects
- Add crypto-browserify polyfill for browser environment

The changes improve logging by:
1. Using consistent logging interface
2. Adding structured error logging
3. Improving error type safety
4. Centralizing logging configuration
5. Fixing browser compatibility issues

Affected files:
- Multiple view components
- vite.config.ts
- Build configuration
2025-03-11 09:35:55 +00:00
e27aefc19e fix error setting the apiServer to "", plus some refactors while fixing test 40 2025-02-16 20:36:44 -07:00
Matthew Raymer
8b77d2b573 Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine. 2025-01-05 08:38:15 +00:00
251649e6fe switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often) 2024-12-08 19:34:31 -07:00
228f213c10 move more logging into the database 2024-11-17 18:16:22 -07:00
f57d3b7707 add minute to notification scheduling & fix a bug, plus other tweaks 2024-11-15 20:39:08 -07:00
8111b0e5cf modify the settings to allow account-specific settings, eg. for "isRegistered" 2024-09-15 16:30:46 -06:00
5ad8a2d2ba await all of the db.settings updates 2024-07-20 07:19:27 -06:00
7f02ba29a3 add a share_target for people to add a photo 2024-05-10 13:17:20 -06:00
25b1598fcb doc: add more help for the notifications 2023-12-26 17:48:14 -07:00
05c6ddda02 allow a test notification from the notification help screen 2023-12-24 21:24:51 -07:00
d7f4acb702 make more adjustments to try and get logging to work 2023-12-21 20:50:35 -07:00
4f2cb55753 add warning if on unexpected server 2023-12-16 08:04:16 -07:00
3bf8fd0c22 rename "push" to "webPush" for future-proofing 2023-12-02 15:28:32 -07:00
65a5edf26b allow to customize the push-server for testing 2023-11-12 11:35:36 -07:00
Matthew Raymer
082a6eae1f Refactor db setup a bit 2023-10-16 18:49:18 +08:00
0c05505c46 allow use of custom derivation path, and add way to increment derivation for existing 2023-08-20 19:46:12 -06:00
Matthew Raymer
b6b7c56157 DiscoverView searches almost done.
Contact fixes
ContactAmounts fix quick-nav
Cleaning up ProjectView still more to do
Hide advanced by default on StatisticsView
project.task updated
2023-07-10 18:03:51 +08:00
6daa515d19 load feed of give records on home screen 2023-06-11 20:37:34 -06:00
d5336dbf1b docs & comments & labels 2023-06-11 17:02:20 -06:00
fc7c1187e8 allow to switch the server 2023-05-19 13:28:52 -06:00
c7fa6823bc add DB export 2023-03-19 18:23:15 -06:00
45b54db01e separate account from other data for backup/restore 2023-03-19 16:25:19 -06:00
ee32c1aef4 Merge branch 'master' into db-set-and-bak 2023-03-19 11:30:00 -06:00
afc175e3e7 add settings table to store names (and other things soon) 2023-03-18 19:56:57 -06:00
cfeabf05a4 refactor DB organization (prepping for more tables) 2023-03-18 17:04:14 -06:00
4fdfe2f824 feat: add contacts DB & page 2023-03-12 18:30:18 -06:00
Matthew Aaron Raymer
4a407b43ae Fix encrypt-decrypt issue. 2022-12-17 13:32:00 +08:00
Matthew Aaron Raymer
c6d0473fab Refactored again. Fields update on Account page 2022-12-16 18:46:01 +08:00
Matthew Aaron Raymer
c9d5ab82fd Adds an initial account as long as there are no available accounts. 2022-12-15 17:52:42 +08:00
Matthew Aaron Raymer
3ac8f911ac DB being created. Still getting an exception. 2022-12-15 16:45:38 +08:00
Matthew Aaron Raymer
9232afb5af In transition ... experimenting 2022-12-15 16:36:23 +08:00