Commit Graph

140 Commits (3f685ef06712cd4552a30f74f31986b7e13048e6)

Author SHA1 Message Date
Sylvie dd050b6d37
fix: error handling
12 months ago
Sylvie 7cd56bc4ed
fix: accept missing on initial creation
12 months ago
Sylvie c228a9f6c3
fix: use simpler types & normalize within db implementations
12 months ago
Sylvie fa38f14a0c
refactor: move these types to `types.d.ts`
12 months ago
Sylvie 495bbcf1db
more todo
12 months ago
Sylvie 0abf3a2188
fix: try to reconcile types
12 months ago
Sylvie 778f25761d
todo
12 months ago
Sylvie 2a6e78356f
fix: missing error logs in api
12 months ago
Sylvie 11d6f302f2
fix: mysql not setting `_ready`
12 months ago
Sylvie c8ee9a2985
fix: log user create error locally
12 months ago
Sylvie 7791af03c1
feat: add port to MySQL config
12 months ago
Sylvie 5eff78c1da
refactor: update all imports for ESM
12 months ago
Sylvie 36870295c4
build: use `dist/` subdirs for output now
12 months ago
Josh Moore efdb10b482
fix: look for server.json in .ass-data dir [docker build]
1 year ago
Josh Moore 9083df9315
chore: make consistent with "Checking data files"
1 year ago
Josh Moore 3e26d4da65
fix: remove unused PATHS variable (moved to other file)
1 year ago
Josh Moore fd578d8359
fix: remove duplicate sections
1 year ago
Josh Moore ec97d0a3b6
feat: inform host that DB has not been set
1 year ago
Josh Moore c81541b667
fix: only ensure dir on start; files can be done by JSON DB
1 year ago
Josh Moore 6e7ac81ed4
chore: organize imports
1 year ago
xwashere 3c5094695a
semicolons
1 year ago
xwashere 0d1172d332
add: postgresql!
1 year ago
xwashere 9c9f2ac768
impr: move sql config to "database", add config for different db variants
1 year ago
xwashere e113cb57ee
Merge remote-tracking branch 'upstream/dev/0.15.0' into dev/0.15.0
1 year ago
xwashere a833f8c585
fix this
1 year ago
xwashere 7bd08debe6
fix: oh god oh fuck oh god oh no oh
1 year ago
xwashere 26431b2982
fix: oh god oh fuck oh god oh no oh
1 year ago
xwashere d36e5c53fe
nvm
1 year ago
X 66c81503e8
Merge branch 'tycrek:dev/0.15.0' into dev/0.15.0
1 year ago
xwashere ce3ad10281
split json database out of data.ts
1 year ago
xwashere 5620d0bed3
add: database class interface
1 year ago
Josh Moore 304f499cac fix: use const & specify which config was invaldi
1 year ago
Josh Moore 3709a6958e chore: vsc autoformat
1 year ago
xwashere c648533469
feat: configurable rate limiting
1 year ago
Josh Moore 1c12615e01 feat: add `requireAdmin` optional param
1 year ago
Josh Moore c84f507dea chore: minor cleanup
1 year ago
Josh Moore c2509388d3 fix: add proper type here (excuse to do a [docker build] )
1 year ago
Josh Moore 4b68cb7c31 feat: redirect user to the page they originally requested
1 year ago
Josh Moore b46198eb47 feat: added login checker/redirection flow
1 year ago
Josh Moore 04ef991fbc fix: remove unnecessary function & move session setup step to exist...
1 year ago
Josh Moore 5d06745ceb refactor: use consistent import ordering
1 year ago
Josh Moore 5832a696a8 feat: authenticate sessions with bcrypt
1 year ago
Josh Moore 285e5ccc6a feat: added getAll to `data.ts` (MySQL is UNTESTED)
1 year ago
Josh Moore b4ebe8b5d5 feat: added UNTESTED MySQL getAll
1 year ago
Josh Moore 69f1776c7a feat: added base implementation of login validation middleware
1 year ago
Josh Moore 38c235c836 feat: improve setup logs
1 year ago
Josh Moore 5e7016a0c6 feat: move setup POST to /api/setup
1 year ago
Josh Moore 7f04d365b6 feat: made basic page routers universal
1 year ago
Josh Moore b7f79a49fd feat: added session types & set up session storage
1 year ago
Josh Moore 9d3dc96aec feat: added base implementation of user routing
1 year ago