Commit Graph

136 Commits (x-dev-15)

Author SHA1 Message Date
xwashere 839c7a73a7
fix this
7 months ago
xwashere 275cb73290
Merge remote-tracking branch 'upstream/dev/0.15.0' into dev/0.15.0
7 months ago
Sylvie 5eff78c1da
refactor: update all imports for ESM
7 months ago
Sylvie 36870295c4
build: use `dist/` subdirs for output now
7 months ago
xwashere 73301a59be
Merge remote-tracking branch 'upstream/dev/0.15.0' into dev/0.15.0
7 months ago
xwashere 25da5b3c3a
Merge branch 'dev/0.15.0' of https://github.com/XWasHere/ass into dev/0.15.0
7 months ago
xwashere ac377ba479
oops
7 months ago
xwashere 3cfef2ba4c
fix style stuff
7 months ago
xwashere a8f1d55078
mongoo
7 months ago
Josh Moore efdb10b482
fix: look for server.json in .ass-data dir [docker build]
8 months ago
Josh Moore 9083df9315
chore: make consistent with "Checking data files"
8 months ago
Josh Moore 3e26d4da65
fix: remove unused PATHS variable (moved to other file)
8 months ago
Josh Moore fd578d8359
fix: remove duplicate sections
8 months ago
Josh Moore ec97d0a3b6
feat: inform host that DB has not been set
8 months ago
Josh Moore c81541b667
fix: only ensure dir on start; files can be done by JSON DB
8 months ago
Josh Moore 6e7ac81ed4
chore: organize imports
8 months ago
xwashere 3c5094695a
semicolons
8 months ago
xwashere 0d1172d332
add: postgresql!
8 months ago
xwashere 9c9f2ac768
impr: move sql config to "database", add config for different db variants
8 months ago
xwashere e113cb57ee
Merge remote-tracking branch 'upstream/dev/0.15.0' into dev/0.15.0
8 months ago
xwashere a833f8c585
fix this
8 months ago
xwashere 7bd08debe6
fix: oh god oh fuck oh god oh no oh
8 months ago
xwashere 26431b2982
fix: oh god oh fuck oh god oh no oh
8 months ago
xwashere d36e5c53fe
nvm
8 months ago
X 66c81503e8
Merge branch 'tycrek:dev/0.15.0' into dev/0.15.0
8 months ago
xwashere ce3ad10281
split json database out of data.ts
8 months ago
xwashere 5620d0bed3
add: database class interface
8 months ago
Josh Moore 304f499cac fix: use const & specify which config was invaldi
8 months ago
Josh Moore 3709a6958e chore: vsc autoformat
8 months ago
xwashere c648533469
feat: configurable rate limiting
8 months ago
Josh Moore 1c12615e01 feat: add `requireAdmin` optional param
8 months ago
Josh Moore c84f507dea chore: minor cleanup
8 months ago
Josh Moore c2509388d3 fix: add proper type here (excuse to do a [docker build] )
8 months ago
Josh Moore 4b68cb7c31 feat: redirect user to the page they originally requested
8 months ago
Josh Moore b46198eb47 feat: added login checker/redirection flow
8 months ago
Josh Moore 04ef991fbc fix: remove unnecessary function & move session setup step to exist...
8 months ago
Josh Moore 5d06745ceb refactor: use consistent import ordering
8 months ago
Josh Moore 5832a696a8 feat: authenticate sessions with bcrypt
8 months ago
Josh Moore 285e5ccc6a feat: added getAll to `data.ts` (MySQL is UNTESTED)
8 months ago
Josh Moore b4ebe8b5d5 feat: added UNTESTED MySQL getAll
8 months ago
Josh Moore 69f1776c7a feat: added base implementation of login validation middleware
8 months ago
Josh Moore 38c235c836 feat: improve setup logs
8 months ago
Josh Moore 5e7016a0c6 feat: move setup POST to /api/setup
8 months ago
Josh Moore 7f04d365b6 feat: made basic page routers universal
8 months ago
Josh Moore b7f79a49fd feat: added session types & set up session storage
8 months ago
Josh Moore 9d3dc96aec feat: added base implementation of user routing
8 months ago
Josh Moore 72a58295ae feat: added base implementation of admin routing
8 months ago
Josh Moore 98826a08be feat: added login router
8 months ago
Josh Moore 6dc4070810 build: use `@tsconfig/node20` [docker build]
8 months ago
Josh Moore 35fcee6ec1 feat: added ass version to Request metadata (see #223 for info)
8 months ago