Trent Larson
3f691ef880
add SQL DB access to everywhere we are using the DB, up to the "C" files
4 months ago
Trent Larson
4c1b4fe651
fix linting
4 months ago
Trent Larson
2d654b4586
fix linting
4 months ago
Trent Larson
0bfc18c385
add encryption & decryption for the sensitive identity & mnemonic in SQL DB
4 months ago
Trent Larson
fe77dbdcdd
add encryption & decryption for the sensitive identity & mnemonic in SQL DB
4 months ago
Matthew Raymer
0f1ac2b230
fix: move lexical declarations outside case blocks in AbsurdSqlDatabaseService
- Move queryResult and allResult declarations outside switch statement
- Change const declarations to let since they're now in outer scope
- Remove const declarations from inside case blocks
This fixes the 'no-case-declarations' linter errors by ensuring variables
are declared in a scope that encompasses all case blocks, preventing
potential scoping issues.
Note: Type definition errors for external modules remain and should be
addressed separately.
4 months ago
Matthew Raymer
dac7705003
fix: move lexical declarations outside case blocks in AbsurdSqlDatabaseService
- Move queryResult and allResult declarations outside switch statement
- Change const declarations to let since they're now in outer scope
- Remove const declarations from inside case blocks
This fixes the 'no-case-declarations' linter errors by ensuring variables
are declared in a scope that encompasses all case blocks, preventing
potential scoping issues.
Note: Type definition errors for external modules remain and should be
addressed separately.
4 months ago
Trent Larson
5d8175aeeb
add encryption for the two SQL columns, replace basic DB utils, add USE_DEXIE_DB flag, and start adding SQL everywhere
4 months ago
Trent Larson
3f46e3817a
add encryption for the two SQL columns, replace basic DB utils, add USE_DEXIE_DB flag, and start adding SQL everywhere
4 months ago
Trent Larson
92dadba1cb
rename the absurd-sql-specific items for clarity
4 months ago
Trent Larson
f0c947ba07
rename the absurd-sql-specific items for clarity
4 months ago
Trent Larson
3a6f585de0
adjust so DB calls go to the factory
4 months ago
Trent Larson
0e10847cba
adjust so DB calls go to the factory
4 months ago
Jose Olarte III
47501ae917
Linting
4 months ago
Jose Olarte III
aeb771f619
Linting
4 months ago
Matt Raymer
ee441d1aea
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.
4 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.
4 months ago
Trent Larson
5f24f4975d
fix linting
4 months ago
Trent Larson
26fba66bba
fix linting
4 months ago
Trent Larson
a38934e38d
fix problems with race conditions and multiple DatabaseService instances
4 months ago
Trent Larson
bea5f78171
fix problems with race conditions and multiple DatabaseService instances
4 months ago
Trent Larson
83771caee1
add more to the inital migration, and refactor the locations of types
4 months ago
Trent Larson
60be32e120
add more to the inital migration, and refactor the locations of types
4 months ago
Trent Larson
1129a13e20
add more error handling and messaging when there are bad DB errors
4 months ago
Trent Larson
df5a719a24
add more error handling and messaging when there are bad DB errors
4 months ago
Matthew Raymer
2660b91995
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
6 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
6 months ago
Trent Larson
6f4fbc697f
fix 'give' query and restore confirmClaim method
6 months ago
Trent Larson
6c538de762
fix 'give' query and restore confirmClaim method
6 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
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
6 months ago
Trent Larson
62ae603778
fix linting
7 months ago
Trent Larson
19fd0da4b0
fix linting
7 months ago
Matthew Raymer
d9085ced6d
(chore): cleaning up formatting and relative references
7 months ago
Matthew Raymer
15783cdbe6
(chore): cleaning up formatting and relative references
7 months ago
Trent Larson
fe71c3f754
make member view available to onboard meeting organizer and reorganize buttons
7 months ago
Trent Larson
bb5913fef4
make member view available to onboard meeting organizer and reorganize buttons
7 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.
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
6ffbcfa9a1
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
af197f7c11
catch more errors if something catastrophic happens to encrypted data
9 months ago
Trent Larson
bb3807a805
switch the encryption secret from localStorage to IndexedDB (because localStorage gets lost so often)
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
7acf921e82
refactor some verbiage & look-and-feel
10 months ago
Trent Larson
1714f4d087
refactor some verbiage & look-and-feel
10 months ago
Trent Larson
10bb79f695
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
10 months ago
Trent Larson
8db7ac3f6f
refactor project screen: add action to record a give from it, and add checks to give confirmation buttons
10 months ago
Trent Larson
7777fa202b
finish separation of daily reminder message, bump version to 0.3.34
10 months ago
Trent Larson
2758af6e6e
finish separation of daily reminder message, bump version to 0.3.34
10 months ago
Trent Larson
2c0c7ac256
add minute to notification scheduling & fix a bug, plus other tweaks
10 months ago