78d27eecfb
fix linting
2025-06-19 19:06:37 -06:00
4e215914a3
IndexedDB migration: fix loading of data, fix object comparisons, add unmodified, etc
2025-06-19 16:19:00 -06:00
Matthew Raymer
a580ce775d
feat: Add comprehensive database migration service for Dexie to SQLite
...
- Add migrationService.ts with functions to compare and transfer data between Dexie and SQLite
- Implement data comparison with detailed difference analysis (added/modified/missing)
- Add contact migration with overwrite options and error handling
- Add settings migration focusing on key user fields (firstName, isRegistered, profileImageUrl, showShortcutBvc, searchBoxes)
- Include YAML export functionality for data inspection
- Add comprehensive JSDoc documentation with examples and usage instructions
- Support both INSERT and UPDATE operations with parameterized SQL generation
- Include detailed logging and error reporting for migration operations
This service enables safe migration of user data from the legacy Dexie (IndexedDB)
database to the new SQLite implementation, with full comparison capabilities
and rollback safety through detailed reporting.
2025-06-18 10:54:32 +00:00
8092d1c576
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2025-05-27 21:07:24 -06:00
fe77dbdcdd
add encryption & decryption for the sensitive identity & mnemonic in SQL DB
2025-05-26 22:42:20 -06:00
Matthew Raymer
46f6268e5b
refactor: Improve settings and feed handling in HomeView
...
- Split feed initialization into separate methods
- Add registration status verification
- Improve error handling and notifications
- Add JSDoc comments for better code documentation
- Make apiServer optional in settings type
The changes improve code organization by:
1. Breaking down monolithic initialization into focused methods
2. Adding proper type safety for optional settings
3. Improving error handling and user feedback
4. Adding clear documentation for methods
5. Separating concerns for feed, contacts and registration
2025-03-05 06:08:08 +00:00
c1058499c7
add discovery of people's profiles, and update profile endpoints for latest server version
2025-01-18 20:02:20 -07:00
2e7700731b
switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info
2025-01-06 08:52:10 -07:00
399e6299de
add contact-methods to a contact
2025-01-04 20:34:05 -07:00
d4bb2a35fc
add a contact-edit page and allow saving of notes
2025-01-04 16:35:05 -07:00
8a0632f655
add DB file for the secret
2024-12-08 21:21:16 -07:00
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
2024-12-08 19:34:31 -07:00
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
2024-11-24 13:09:40 -07:00
15e09c2d81
change the notification detection to our own variables, and save the selected time
2024-11-20 19:55:51 -07:00
195ba6c759
add new projects to front page
2024-11-04 19:57:39 -07:00
4168c37074
add large notice when user has a new offer to them
2024-11-03 10:39:28 -07:00
53abf964b2
add basic page-by-page onboarding help
2024-10-23 08:27:16 -06:00
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
2024-09-15 16:30:46 -06:00
fe627ed6b2
include some DID info on the contact list page
2024-08-31 13:05:59 -06:00
6aef08d7e8
copy a list of contacts and then import
2024-08-20 19:39:29 -06:00
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
2024-08-08 08:51:25 -06:00
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
2024-07-19 12:44:54 -06:00
053ee4a748
add advanced page & flag for editing raw claims, and fix recipient assignment in detail screen
2024-06-29 10:18:56 -06:00
4cb434fd5d
passkey test ( #116 )
...
Co-authored-by: Trent Larson <trent@trentlarson.com >
Reviewed-on: trent_larson/crowd-funder-for-time-pwa#116
Co-authored-by: trentlarson <trent@trentlarson.com >
Co-committed-by: trentlarson <trent@trentlarson.com >
2024-06-24 22:21:24 -04:00
7f02ba29a3
add a share_target for people to add a photo
2024-05-10 13:17:20 -06:00
c48b8246f9
add registration inside contact import, with flag to hide it
2024-04-28 16:18:30 -06:00
581a374b05
show contact's or user's icon in more places
2024-04-19 11:39:01 -06:00
50cae65214
add photo to profile page (not yet saved)
2024-04-17 20:07:09 -06:00
3fbf68b117
filter by selections (now all working), add cache for plans
2024-04-06 14:01:18 -06:00
e3696e3ac5
feed filter: save the changed values to the DB, go to map if no location chosen, reload if necessary
2024-04-03 19:54:01 -06:00
866dcb3a2a
add screens for the shortcuts for the BVC group (doesn't submit yet)
2024-02-24 18:38:11 -07:00
aeb1d6a6a5
add next-public-key-hash to manual input
2024-01-05 12:44:28 -07:00
934664b9c9
add the hashed-next-key to the contact data, shown & stored
2024-01-03 17:44:41 -07:00
15ccd2394f
add missing 'date' to log interface
2024-01-01 16:25:23 -07:00
6eb26ea90c
remove IndexedDB keys that shouldn't be keys, and remove unused table, and add commentary
2024-01-01 16:24:30 -07:00
7fe256dc9e
log service worker messages to the DB (now works)
2023-12-22 12:51:18 -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
1be6c04699
prompt them to fill in their name when sharing their info
2023-12-11 16:36:50 -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
e813315dad
Fixes and updates
2023-11-08 05:52:29 -05:00
Matthew Aaron Raymer
7f0f1b7fc8
Merging changes
2023-11-08 14:47:48 +08:00
85bd807bcc
allow view of feed without an identifier
2023-11-05 21:46:46 -07:00
c388cc8cfe
remove lastName and just have a single name field
2023-11-05 16:34:18 -07:00
Matthew Raymer
2d38183dce
Some updates and nudging toward notification ui
2023-10-16 07:43:10 -04:00
Matthew Raymer
2c4a920c3c
Updates for web push workflow
2023-09-08 21:04:50 +08:00
94d9c425ad
add QR scanner for adding a contact
2023-09-07 18:59:19 -06:00
Matthew Raymer
31d13b9143
Refactoring for cleanup
2023-09-06 20:46:16 +08:00
26d9b134c7
refactor map selection, and now location selection & cancellation works (but not saving yet)
2023-08-31 18:58:34 -06:00