Trent Larson
7cc35803c9
remove debugging console statements
3 months ago
Trent Larson
11f2527b04
start adding the SQL approach to files, also using the Dexie approach if desired
3 months ago
Trent Larson
84cc501951
start adding the SQL approach to files, also using the Dexie approach if desired
3 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
3 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
3 months ago
Trent Larson
b6b95cb0d0
remove unused redirect to start page (now that we're creating an ID up front)
3 months ago
Trent Larson
6e005de65a
remove unused redirect to start page (now that we're creating an ID up front)
3 months ago
Trent Larson
655c5188a4
add queueing to the DB service so that requests get processed in order
3 months ago
Trent Larson
611fa232da
add queueing to the DB service so that requests get processed in order
3 months ago
Trent Larson
8b7451330f
remove possibility of failing a migration script and then succeeding on later ones
3 months ago
Trent Larson
8fb49f5279
remove possibility of failing a migration script and then succeeding on later ones
3 months ago
Trent Larson
b8fbc3f7a6
fix console error about "window" unavailable due to service worker
3 months ago
Trent Larson
c1d730f586
fix console error about "window" unavailable due to service worker
3 months ago
Trent Larson
92dadba1cb
rename the absurd-sql-specific items for clarity
3 months ago
Trent Larson
f0c947ba07
rename the absurd-sql-specific items for clarity
3 months ago
Trent Larson
3a6f585de0
adjust so DB calls go to the factory
3 months ago
Trent Larson
0e10847cba
adjust so DB calls go to the factory
3 months ago
Jose Olarte III
47501ae917
Linting
3 months ago
Jose Olarte III
aeb771f619
Linting
3 months ago
Jose Olarte III
28634839ec
Feature: front/back camera toggle
- Added to gifting and profile dialog camera for now. Toggle button is hidden in desktop.
- WIP: same feature for QR scanner camera.
- WIP: ability to specify default camera depending on where it's called.
3 months ago
Jose Olarte III
cb82846593
Feature: front/back camera toggle
- Added to gifting and profile dialog camera for now. Toggle button is hidden in desktop.
- WIP: same feature for QR scanner camera.
- WIP: ability to specify default camera depending on where it's called.
3 months ago
Trent Larson
2647c5a77d
fix migrations logging error
3 months ago
Trent Larson
bb0d8942b8
fix migrations logging error
3 months ago
Matt Raymer
682fceb1c6
Merge remote-tracking branch 'refs/remotes/origin/sql-absurd-sql' into sql-absurd-sql
3 months ago
Matt Raymer
8b734e4ffb
Merge remote-tracking branch 'refs/remotes/origin/sql-absurd-sql' into sql-absurd-sql
3 months ago
Matt Raymer
e0013008b4
refactor: improve type safety and browser compatibility - Replace any types with SqlValue[] in migration system - Add browser-compatible implementations of Node.js modules (crypto, fs, path) - Update Vite config to handle Node.js module polyfills - Remove outdated migration documentation files
3 months ago
Matt Raymer
152499a34f
refactor: improve type safety and browser compatibility - Replace any types with SqlValue[] in migration system - Add browser-compatible implementations of Node.js modules (crypto, fs, path) - Update Vite config to handle Node.js module polyfills - Remove outdated migration documentation files
3 months ago
Trent Larson
0674d98670
fix BUILDING instructions
3 months ago
Trent Larson
4500ab5038
fix BUILDING instructions
3 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.
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
Matt Raymer
75f6e99200
chore: update migration documents and move to new home
3 months ago
Matt Raymer
fe1e198992
chore: update migration documents and move to new home
3 months ago
Matt Raymer
52c9e57ef4
Merge remote-tracking branch 'refs/remotes/origin/sql-absurd-sql' into sql-absurd-sql
3 months ago
Trent Larson
603823d808
add to build instructions for electron on mac
3 months ago
Trent Larson
5f24f4975d
fix linting
3 months ago
Matt Raymer
dda1e763d1
Merge remote-tracking branch 'refs/remotes/origin/sql-absurd-sql' into sql-absurd-sql
3 months ago
Trent Larson
17727a3ff7
add to build instructions for electron on mac
3 months ago
Trent Larson
26fba66bba
fix linting
3 months ago
Trent Larson
5057d7d07f
don't always apply the camera-implementation cursor rules
3 months ago
Trent Larson
d6f9567777
don't always apply the camera-implementation cursor rules
3 months ago
Trent Larson
946e88d903
add a input area for arbitrary SQL on the test page
3 months ago
Trent Larson
28b24f6c5d
add a input area for arbitrary SQL on the test page
3 months ago
Matt Raymer
cbfb1ebf57
Merge branch 'new-storage' into sql-absurd-sql
3 months ago
Matt Raymer
1f82a5b328
Merge branch 'new-storage' into sql-absurd-sql
3 months ago
Trent Larson
a38934e38d
fix problems with race conditions and multiple DatabaseService instances
3 months ago
Trent Larson
bea5f78171
fix problems with race conditions and multiple DatabaseService instances
3 months ago
Trent Larson
a3bdcfd168
fix problem with initialization & refactor types
3 months ago
Trent Larson
d4b01e0cbf
fix problem with initialization & refactor types
3 months ago
Trent Larson
83771caee1
add more to the inital migration, and refactor the locations of types
3 months ago