Trent Larson
8d1511e38f
convert all remaining DB writes & reads to SQL (with successful registration & claim)
2 weeks ago
Matthew Raymer
e0aded04b4
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
3 months ago
Matthew Raymer
3b4f4dc125
style: reorder v-model and v-bind directives
Changes:
- Move v-model directives before other attributes
- Move v-bind directives before event handlers
- Reorder attributes for better readability
- Fix template attribute ordering across components
- Improve eslint rules
- add default vite config for testing (handles nostr error too)
This follows Vue.js style guide recommendations for attribute
ordering and improves template consistency.
3 months ago
Matthew Raymer
f6802cd160
refactor: improve router type safety and usage
- Add explicit Router type imports across views
- Replace $router type casting with proper typing
- Use $router.back() instead of $router.go(-1) for consistency
- Add proper route and router typings to components
- Clean up router navigation methods
- Fix router push/back method calls
This commit improves type safety and consistency in router usage across
the application's view components.
3 months ago
Matthew Raymer
c708716675
refactor: migrate interfaces to dedicated directory
Reorganizes TypeScript interfaces into a modular structure:
- Create dedicated interfaces directory with specialized files
- Split interfaces by domain (claims, common, limits, records, user)
- Update imports in endorserServer.ts to use new interface locations
- Replace 'any' types with 'unknown' for better type safety
- Add proper type imports and exports
This improves code organization and maintainability by:
- Centralizing interface definitions
- Reducing file size of endorserServer.ts
- Making interface relationships more explicit
- Improving type safety with stricter types
3 months ago
Matthew Raymer
3b7a872ae1
refactor: update nostr-tools imports for better tree shaking
Changes:
- Import specific functions from nostr-tools instead of full module
- Replace nip06.accountFromExtendedKey with direct import
- Update related function calls to use imported version
This change reduces bundle size by enabling better tree shaking
of unused nostr-tools functionality.
4 months ago
Matthew Raymer
a8e15804a6
WIP: certificate view and dependency updates
- Update certificate view canvas rendering and QR code generation
- Upgrade dependencies (expo-file-system, expo-font, expo-keep-awake)
- Fix type imports for nostr-tools and dexie-export-import
- Update vite config for better dependency resolution
- Clean up main entry points (capacitor, electron, pywebview)
- Improve error handling in API and plan services
- Add type safety to API error handling
- Update build configuration for platform-specific builds
This is a work in progress commit focusing on certificate view improvements
and dependency maintenance. Some type definitions and build configurations
may need further refinement.
4 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
4 months ago
Trent Larson
8e46c38008
yet another attempt at nostr-tools nip06 fix
4 months ago
Jason Buchanan
6fc416d759
chore: cleanup in prep for pull request
4 months ago
Jason Buchanan
e86cf3c9f2
deps: fixing issues around nostr-tools deps being removed that were necessary
4 months ago
Jason Buchanan
53a06be734
deps: updated `nostr-tools` and import
4 months ago
Trent Larson
85c93c060a
fix display on a mobile device & mark slower tests
4 months ago
Trent Larson
da0f9e7581
add end time to projects
4 months ago
Trent Larson
2a23587c3b
make screen where user can create a group onboarding meeting
4 months ago
Trent Larson
7ababb4e1b
fix problem after minimizing use of account private data
4 months ago
Trent Larson
f3f8aeefc3
add discovery of people's profiles, and update profile endpoints for latest server version
5 months ago
Trent Larson
881c5d287d
fix linting
5 months ago
Trent Larson
be010f7777
show warning about using nostr, and show errors if location was enabled but data is missing
5 months ago
Matthew Raymer
be8ba12df6
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.
5 months ago
Trent Larson
e67ae23879
add number of confirmers to certificate & show DID info when appropriate
6 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
6 months ago
Trent Larson
fb0d855fac
rename variables for clarity
6 months ago
Trent Larson
92fbde4f51
fix error on project screen hitting "back" with the chevron
6 months ago
Trent Larson
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
7 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
8 months ago
Trent Larson
1bfdcab90b
add page for one-on-one invites (incomplete)
8 months ago
Trent Larson
9f4a19993e
update nostr message to include signature for public key
8 months ago
Trent Larson
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
8 months ago
Trent Larson
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
9 months ago
Trent Larson
a4073a5fff
support TripHopping on nostr as well
9 months ago
Trent Larson
d492ea9eeb
send all info needed to create a Trustroots event
9 months ago
Trent Larson
25d5e13029
add nostr Trustroots partner as an option when submitting a project
9 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
9 months ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
9 months ago
Trent Larson
4f97010f99
fix tests, add test for offer update
10 months ago
Trent Larson
f38edff942
allow editing of an offer
10 months ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
10 months ago
Trent Larson
59820a2f01
add more type casts
11 months ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
11 months ago
Trent Larson
b2ebc2992b
cache the passkey JWANT access token for multiple signatures
11 months ago
Trent Larson
cd0a31e6f5
remove remaining getIdentity calls & fix QR code for did:peer
11 months ago
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
11 months ago
Trent Larson
7cb9e2aa52
replace remaining didJwt.createJwt calls with one that checks for did:peer
11 months ago
Trent Larson
bce003e508
change accessToken to take a DID
11 months ago
Trent Larson
45f0a14661
add expiration inside JWANT & refactor getHeaders to move toward supporting did:peer
11 months ago
Trent Larson
af976ba838
add an image to projects (which shows on all ProjectIcons except for offers)
1 year ago
Trent Larson
7f02ba29a3
add a share_target for people to add a photo
1 year ago
Trent Larson
f4f5fc7730
change remainder of "confirm" calls to better UX
1 year ago
Trent Larson
7078f7b9e6
add choice of a start date for a project
1 year ago