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
2 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.
2 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.
2 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
2 months ago
Trent Larson
c9c3cacfbd
fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)
2 months ago
Matthew Raymer
a32c3c7765
Multi-build support; tested successfully for Electron
4 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.
4 months ago
Trent Larson
3c1731acdf
add contact-methods to a contact
4 months ago
Trent Larson
defbef736f
fix any error messages with words that are too long and push the "X" off the page
4 months ago
Trent Larson
0a314934b8
add invite-one-accept screen dedicated to accepting invitations
5 months ago
Trent Larson
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
5 months ago
Trent Larson
fa46663dda
fix problem when notification subscription isn't found
5 months ago
Trent Larson
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
5 months ago
Trent Larson
8735fe44db
change the notification detection to our own variables, and save the selected time
5 months ago
Trent Larson
75fb4da42d
move push notification setup out of an App.vue Notification and into a component
5 months ago
Trent Larson
6dc44b2494
move more logging into the database
5 months ago
Trent Larson
2c0c7ac256
add minute to notification scheduling & fix a bug, plus other tweaks
5 months ago
Trent Larson
a271d9c206
add link directly into contact page to add a new contact via "contactJwt" query parameter
7 months ago
Trent Larson
4fd2319d53
fix error is OfferDialog where assignment to a project was missed, plus some refactors
8 months ago
Trent Larson
8111b0e5cf
modify the settings to allow account-specific settings, eg. for "isRegistered"
8 months ago
Trent Larson
f2cb7d3ed8
prompt for name when showing info, and provide a "copy" page when remote
8 months ago
Trent Larson
6b65e31649
misc tweaks and linting clean-up
10 months ago
Trent Larson
c48b8246f9
add registration inside contact import, with flag to hide it
1 year ago
Trent Larson
e2df848e96
add page to view all claims about a DID (which we'll have to restrict to visible people soon)
1 year ago
Trent Larson
eeaacaf202
replace many of the javascript "confirm" calls with the nicer UX version
1 year ago
Trent Larson
80818a8861
remove a lingering debug console.log
1 year ago
Trent Larson
a91ffc88b9
reorder home page vapid check to avoid an error on localhost
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
4a65d095db
add adjustment to UTC hour for notification time
1 year ago
Trent Larson
144ab76716
add logic to send a time for notifications
1 year ago
Trent Larson
9b183a4b6c
add blurb explaining what data is shared with the world
1 year ago
Trent Larson
c58f012d2c
allow viewing and deletion of an image
1 year ago
Trent Larson
2058205150
for BVC shortcut: send attend & give actions, and list actions to confirm
1 year ago
Trent Larson
6aab1ff49d
consolidate interface and remove copies of code
1 year ago
Trent Larson
61c3a0e30b
avoid error on browsers without a service worker
1 year ago
Trent Larson
1f05e81b05
add notification immediately after setting up subscription, and tweak messaging
1 year ago
Trent Larson
1f13bf772c
move wait for service-worker initialization into the notification modal
1 year ago
Trent Larson
f8d3fe2ee1
enhance service-worker logging, allow for filtered-push test
1 year ago
Trent Larson
25b1598fcb
doc: add more help for the notifications
1 year ago
Trent Larson
fd8877900b
add another alert message & test button
1 year ago
Trent Larson
05c6ddda02
allow a test notification from the notification help screen
1 year ago
Trent Larson
7fe256dc9e
log service worker messages to the DB (now works)
1 year ago
Trent Larson
d7f4acb702
make more adjustments to try and get logging to work
1 year ago
Trent Larson
aaa1f31945
fix one single linting problem
1 year ago
Trent Larson
5db3423301
enhance error messages
1 year ago
Trent Larson
2c33febb0e
fix location of web-push unsubscribe action
1 year ago
Trent Larson
e6f73dc81c
add an unsubscribe to the web push
1 year ago
Trent Larson
672abac9a9
show web-push subscription info on demand, and refine docs
1 year ago
Trent Larson
0607fad3e5
remove the 'never' option for notifications & close on 'maybe later'
1 year ago