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
Matthew Raymer
3dbb836ae5
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.
6 months ago
Matthew Raymer
03178d35e7
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.
6 months ago
Matthew Raymer
79ef59c5a9
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
6 months ago
Matthew Raymer
0a8ace0d8f
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.
6 months ago
Matthew Raymer
f33d1f0af3
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.
6 months ago
Trent Larson
898821c9aa
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
6 months ago
Trent Larson
e31458bef6
yet another attempt at nostr-tools nip06 fix
6 months ago
Jason Buchanan
d1faee69a8
chore: cleanup in prep for pull request
6 months ago
Jason Buchanan
16b77b283d
deps: fixing issues around nostr-tools deps being removed that were necessary
6 months ago
Jason Buchanan
633169de9f
deps: updated `nostr-tools` and import
7 months ago
Trent Larson
7c61d0445b
fix display on a mobile device & mark slower tests
7 months ago
Trent Larson
5b8a564e10
add end time to projects
7 months ago
Trent Larson
5943df756a
make screen where user can create a group onboarding meeting
7 months ago
Trent Larson
1a0d46d963
fix problem after minimizing use of account private data
7 months ago
Trent Larson
c1058499c7
add discovery of people's profiles, and update profile endpoints for latest server version
7 months ago
Trent Larson
b871aa9d39
fix linting
8 months ago
Trent Larson
45de44cf9e
show warning about using nostr, and show errors if location was enabled but data is missing
8 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
8bf9640c10
add number of confirmers to certificate & show DID info when appropriate
8 months ago
Trent Larson
251649e6fe
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
9 months ago
Trent Larson
ed4a9e581b
rename variables for clarity
9 months ago
Trent Larson
8c03946bd7
fix error on project screen hitting "back" with the chevron
9 months ago
Trent Larson
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
9 months ago
Trent Larson
149481d468
finish the loading of an invite RegisterAction when clicking on a link
11 months ago
Trent Larson
1bfdcab90b
add page for one-on-one invites (incomplete)
11 months ago
Trent Larson
9f4a19993e
update nostr message to include signature for public key
11 months ago
Trent Larson
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
11 months ago
Trent Larson
1d48da6855
disable checkboxes for nostr partner messages; adjust linting warnings
11 months ago
Trent Larson
a4073a5fff
support TripHopping on nostr as well
11 months ago
Trent Larson
d492ea9eeb
send all info needed to create a Trustroots event
11 months ago
Trent Larson
25d5e13029
add nostr Trustroots partner as an option when submitting a project
11 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
12 months ago
Trent Larson
0947c55110
remove the last of the localStorage for passing parameters
1 year ago
Trent Larson
4f97010f99
fix tests, add test for offer update
1 year ago
Trent Larson
f38edff942
allow editing of an offer
1 year ago
Trent Larson
53e77e46dd
fix list of offers (and some other lists), and add tests for offers
1 year ago
Trent Larson
59820a2f01
add more type casts
1 year ago
Trent Larson
d724d8093c
add ability to edit a GiveAction
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
Trent Larson
11163dfad9
consolidate getIdentity & remove dups
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
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
Jose Olarte III
5388e6052c
Button width changes
For buttons that are next to each other
1 year ago