Commit Graph
1958 Commits
Author SHA1 Message Date
trentlarson 5976a4995e fix problem clicking on offer-delivery, plus some other hardening and phrasing 2025-06-08 20:13:32 -06:00
trentlarson dcd0cc4c20 fix import for derived accounts and hopefully make other account-access code more robust 2025-06-08 19:14:41 -06:00
trentlarson b3ca6c9d91 remove relative URL references in different target because mobile chokes 2025-06-08 16:55:03 -06:00
trentlarson e9d800f601 fix a web test (all passing now) 2025-06-07 21:41:43 -06:00
trentlarson b939a5e592 bump build to 23 and version to 0.4.8 2025-06-07 18:54:56 -06:00
trentlarson aa62037fae bump to build 22 version 0.4.7 (though I think the android capacitor.config.json appId is wrong) 2025-06-07 18:45:24 -06:00
trentlarson 722020ea86 fix linting 2025-06-07 18:09:04 -06:00
trentlarson 96aa3f4a54 add Python dependency for electron on Mac 2025-06-07 17:54:31 -06:00
trentlarson c0c5f9842b fix some errors and correct recent type duplications & bloat (cherry-picked from d8f2587d1c) 2025-06-07 17:53:36 -06:00
trentlarson be27ca1855 fix more logic for tests (cherry-picked from 83acb028c7) 2025-06-07 17:42:06 -06:00
trentlarson 92e4570672 fix some incorrect logic & things AI hallucinated 2025-06-07 17:39:10 -06:00
trentlarson 820ae727ed fix linting 2025-06-07 17:19:01 -06:00
trentlarson dbeb1c6b4b Merge branch 'sql-absurd-sql-back' 2025-06-07 17:18:10 -06:00
trentlarson 573e4b206a Merge branch 'search-map-fix' 2025-06-07 16:43:49 -06:00
trentlarson abc05d426e update messaging for unknown icons on home feed 2025-06-07 16:23:07 -06:00
trentlarson 2ea7479d75 fix verbiage and fix the contact actions to be on the right-hand side 2025-06-07 16:03:47 -06:00
trentlarson 9ac9713172 fix linting 2025-06-07 15:40:52 -06:00
trentlarson 41dad3254d fix a non-existent description, move the description right below the image 2025-06-07 15:33:29 -06:00
trentlarson 485eac59a0 remove unnecessary data element from export 2025-06-07 14:02:22 -06:00
Matthew Raymer 73fc32b75d fix(import): ensure contact import works for both Dexie and absurd-sql backends
- Refactor importContacts to handle both Dexie and absurd-sql (SQLite) storage
- Add ContactDbRecord interface with all string fields strictly typed (never null)
- Add helper functions to coerce null/undefined to empty string for all string fields
- Guarantee contactMethods is always stored as a JSON string (never null)
- Add runtime validation for required fields (e.g., did)
- Ensure imported/updated contacts are type-safe and compatible with both backends
- Improve code documentation and maintainability

Security:
- No sensitive data exposed
- All fields validated and sanitized before database write
- Consistent data structure across storage backends

Testing:
- Import tested with both Dexie and absurd-sql backends
- Null/undefined fields correctly handled and coerced
- No linter/type errors remain
2025-06-07 06:01:17 +00:00
Matthew Raymer 3d8e40e92b feat(export): Replace CSV export with standardized JSON format
- Add contactsToExportJson utility function for standardized data export
- Replace CSV export with JSON format in DataExportSection
- Update file extension and MIME type to application/json
- Remove Dexie-specific export logic in favor of unified SQLite/Dexie approach
- Update success notifications to reflect JSON format
- Add TypeScript interfaces for export data structure

This change improves data portability and standardization by:
- Using a consistent JSON format for data export/import
- Supporting both SQLite and Dexie databases
- Including all contact fields in export
- Properly handling contactMethods as stringified JSON
- Maintaining backward compatibility with existing import tools

Security: No sensitive data exposure, maintains existing access controls
2025-06-07 05:02:33 +00:00
trentlarson 38e67f3533 update a DB save to match others, ie. first SQL then maybe Dexie 2025-06-06 19:50:16 -06:00
trentlarson 7f63ee7c80 add another way to fix the privacy policy manifest for third parties like GoogleToolboxForMac 2025-06-06 19:45:41 -06:00
trentlarson 6a47f0d3e7 format total numbers better 2025-06-06 19:40:53 -06:00
trentlarson fc50a9d4c6 fix problem finding offer identifiers 2025-06-06 19:06:29 -06:00
Jose Olarte III 45f43ff363 Updated icon and splash assets 2025-06-06 18:15:42 +08:00
Jose Olarte III 7b1d4c4849 Adjusted iOS-specific paddings
- Switched to CSS max() for proper conditional padding when dealing with screens that have a notch, dynamic island, gesture bar, etc.
- Top padding should now appear more compact in iOS
2025-06-06 18:14:56 +08:00
Matthew Raymer c1f2c3951a feat(db): improve settings retrieval resilience and logging
Enhance retrieveSettingsForActiveAccount with better error handling and logging
while maintaining core functionality. Changes focus on making the system more
debuggable and resilient without overcomplicating the logic.

Key improvements:
- Add structured error handling with specific try-catch blocks
- Implement detailed logging with [databaseUtil] prefix for easy filtering
- Add graceful fallbacks for searchBoxes parsing and missing settings
- Improve error recovery paths with safe defaults
- Maintain existing security model and data integrity

Security:
- No sensitive data in logs
- Safe JSON parsing with fallbacks
- Proper error boundaries
- Consistent state management
- Clear fallback paths

Testing:
- Verify settings retrieval works with/without active DID
- Check error handling for invalid searchBoxes
- Confirm logging provides clear debugging context
- Validate fallback to default settings works
2025-06-06 09:22:35 +00:00
trentlarson 9d4f726c31 bump to build # 19 version 0.4.7 for mobile packages 2025-06-05 20:30:27 -06:00
trentlarson 1d7f626645 fix SQL references to bad "key" -> "id" 2025-06-05 20:11:32 -06:00
trentlarson c5228ba7ec fix retrieval of column names -- so now most ops are working (but not all, eg. set name) 2025-06-05 20:06:32 -06:00
trentlarson 6e1fcd8dee remove unused DB methods (for now) 2025-06-05 20:00:51 -06:00
trentlarson 5bb563d694 fix extraction of values from SQLite queries 2025-06-05 19:57:59 -06:00
trentlarson a3951c9d66 refactor for clarity (no logic changes) 2025-06-05 18:30:25 -06:00
trentlarson aa177a9b8c fix extraction of migration names for SQLite via Capacitor 2025-06-05 18:13:33 -06:00
trentlarson 03cb4720b8 fix Capacitor to use the same migrations (migrations run but accounts aren't created) 2025-06-04 22:01:14 -06:00
Jose Olarte III 0e65431f43 Map z-index fix + adjustments
- Set map z-index lower than nav
- Relocated search box to account for conditional visibility
- Various conditional fixes
- Spacing adjustments
2025-06-04 18:41:49 +08:00
trentlarson 297c5a2dbb disable SQLite in Java & Swift (since they don't compile) & add SQL queueing on startup
At this point, the app compiles and runs in Android & iOS but DB operations fail.
2025-06-03 19:59:28 -06:00
Jose Olarte III 92b9c9334c Clickable person & project icons
- Known entities get routed to their corresponding detail views
- Unknown entities pop up a notification
2025-06-02 21:35:15 +08:00
Jose Olarte III 706182ca0c Icon for hidden DID entity
- Display EntityIcon for known entities, eye-slash icon for hidden entities, and the person-question icon for unknown entities
- Design tweaks (spacings, mostly)
2025-06-02 17:44:37 +08:00
Matthew Raymer 68e0fc4976 merge(master): big merge for qrcode-reboot 2025-06-02 03:57:00 +00:00
trentlarson 504056eb90 add some time to test 30 (but shrink the per-loop timeout) 2025-06-01 15:08:32 -06:00
trentlarson 5a1007c49c add iOS development team ID 2025-06-01 14:29:32 -06:00
Jose Olarte III cbc14e21ec Look in .own.did for DID, as well 2025-05-30 17:34:50 +08:00
trentlarson ef3bfcdbd2 fix linting 2025-05-28 20:30:00 -06:00
trentlarson ec1f27bab1 fix more logging cleanup errors 2025-05-28 20:20:09 -06:00
trentlarson 01c33069c4 fix more of the logging & log display 2025-05-28 20:08:09 -06:00
trentlarson c637d39dc9 fix log cleanup check to actually pay attention to limit 2025-05-28 19:44:16 -06:00
trentlarson 3e90bafbd1 correct & simplify the DB logging 2025-05-28 19:37:01 -06:00
Matthew Raymer d2c3e5db05 fix: one lint that got past me 2025-05-28 14:03:21 +00:00