Trent Larson
3f46e3817a
add encryption for the two SQL columns, replace basic DB utils, add USE_DEXIE_DB flag, and start adding SQL everywhere
3 months ago
Trent Larson
f0c947ba07
rename the absurd-sql-specific items for clarity
3 months ago
Trent Larson
0e10847cba
adjust so DB calls go to the factory
3 months ago
Matt Raymer
9492018fd6
refactor(db): improve type safety in migration system
- Replace any[] with SqlValue[] type for SQL parameters in runMigrations
- Update import to use QueryExecResult from interfaces/database
- Add proper typing for SQL parameter values (string | number | null | Uint8Array)
This change improves type safety and helps catch potential SQL parameter
type mismatches at compile time, reducing the risk of runtime errors
or data corruption.
3 months ago
Trent Larson
26fba66bba
fix linting
3 months ago
Trent Larson
bea5f78171
fix problems with race conditions and multiple DatabaseService instances
3 months ago
Trent Larson
60be32e120
add more to the inital migration, and refactor the locations of types
3 months ago
Trent Larson
df5a719a24
add more error handling and messaging when there are bad DB errors
3 months ago
Matthew Raymer
26b98d8b0a
wip: Improve deep link validation and error handling
- Add comprehensive route validation with zod schema
- Create type-safe DeepLinkRoute enum for all valid routes
- Add structured error handling for invalid routes
- Redirect to error page with detailed feedback
- Add better timeout handling in deeplink tests
The changes improve robustness by:
1. Validating route paths before navigation
2. Providing detailed error messages for invalid links
3. Redirecting users to dedicated error pages
4. Adding parameter validation with specific feedback
5. Improving type safety across deeplink handling
5 months ago
Trent Larson
6c538de762
fix 'give' query and restore confirmClaim method
5 months ago
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
6 months ago
Trent Larson
19fd0da4b0
fix linting
7 months ago
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
7 months ago
Trent Larson
bb5913fef4
make member view available to onboard meeting organizer and reorganize buttons
7 months ago
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.
8 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
9 months ago
Trent Larson
1714f4d087
refactor some verbiage & look-and-feel
9 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
9 months ago
Trent Larson
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
9 months ago
Trent Larson
f57d3b7707
add minute to notification scheduling & fix a bug, plus other tweaks
9 months ago
Trent Larson
53abf964b2
add basic page-by-page onboarding help
10 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
11 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
11 months ago
Trent Larson
9a9c9d3a06
jump from ideas directly into giving dialog choice
1 year ago
Trent Larson
a5248af4a3
move contact actions into the details page (prepping for checkboxes)
1 year ago
Trent Larson
7df6668dc6
put BTC before BX in unit rotation
1 year ago
Trent Larson
bdb544a624
fix error sharing image and failing to upload, fix upload in webkit/safari, and test it
1 year ago
Trent Larson
e0c50dcf62
add 'isRegistered' check to guard against many buttons
1 year ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
1 year ago
Trent Larson
41a9c65afb
fix linting
1 year ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
1 year ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
1 year ago
trentlarson
f6338c05ee
move low-level DID-related create & decode into separate folder ( #120 )
Co-authored-by: Trent Larson <trent@trentlarson.com>
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/120
Co-authored-by: trentlarson <trent@trentlarson.com>
Co-committed-by: trentlarson <trent@trentlarson.com>
1 year ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
1 year ago
Trent Larson
bce003e508
change accessToken to take a DID
1 year ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
1 year ago
Trent Larson
42fde503e3
make a passkey-generator in start & home pages, and make that the default
1 year ago
Trent Larson
e88eea7f36
add BX currency, add link for user's activity, tweak verbiage
1 year ago
Trent Larson
230773a917
add Confirm Gift screen for simpler confirmation
1 year ago
Trent Larson
8571c78a53
for scan on QR code screen, import and keep on that screen
1 year ago
Trent Larson
b73d2a3b58
fix linting
1 year ago
Trent Larson
3fbf68b117
filter by selections (now all working), add cache for plans
1 year ago
Trent Larson
911203c190
adjust more code to the PushSubscriptionJSON
1 year ago
Trent Larson
2da0394003
adjust the notification-subscription objects to try and send correct info
1 year ago
Trent Larson
144ab76716
add logic to send a time for notifications
1 year ago
Jason Buchanan
41d6e5fc73
fix: buffer typescript error in util.ts when parsing ArrayBuffer
1 year ago
Trent Larson
e43c45ebea
add onboarding help instructions as separate page
1 year ago
Jason Buchanan
5dead960ae
fix: es modules syntax for buffer deps instead of commonjs require
1 year ago
Trent Larson
9b183a4b6c
add blurb explaining what data is shared with the world
1 year ago