Commit Graph

111 Commits (da8494c511a03b5bbdd1407d47e57d0579a86172)

Author SHA1 Message Date
xwashere a833f8c585
fix this
1 year ago
xwashere 7bd08debe6
fix: oh god oh fuck oh god oh no oh
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
Josh Moore 72a58295ae feat: added base implementation of admin routing
1 year ago
Josh Moore 98826a08be feat: added login router
1 year ago
Josh Moore 6dc4070810 build: use `@tsconfig/node20` [docker build]
1 year ago
Josh Moore 35fcee6ec1 feat: added ass version to Request metadata (see #223 for info)
1 year ago
Josh Moore fae0d0b69b refactor: added missing explicit semicolons
1 year ago
Josh Moore 0a652227a3 feat: dummy non-functioning login page [skip ci:ts]
1 year ago
Josh Moore 059b20e714 feat: nice
1 year ago
Josh Moore 39082f4fb0 refactor: renamed views/ and views2/
1 year ago
Josh Moore 1562e7af67 refactor: rename Tailwind files
1 year ago
Josh Moore d4d6e869b2 fix: update imports for new tsconfig.json
1 year ago
Josh Moore d91520cb78 feat: use pasted nanoid function (only 130 bytes) to resolve ESM issues
1 year ago
Josh Moore ed6213a76b build: updated tsconfig.json
1 year ago
Josh Moore e8e29d2a73 feat: add ability to pass pkg version easily
1 year ago
Josh Moore d3191c9970 remove: this was re-implemented already in a much simpler way
1 year ago
Josh Moore 40469eabcf feat: migrated some utils
1 year ago
Josh Moore f4d05bdb33 refactor: migrated file operations
1 year ago
Josh Moore d04b4f9bb5 refactor: migrated all the generators
1 year ago
Josh Moore d5bd01b814 feat: added initial API route for posting a new user
1 year ago
Josh Moore 346aa9b97d fix: set S3 region to `auto` if unset
1 year ago
Josh Moore 8487089209 feat: probably improved single object S3 upload
1 year ago
Josh Moore b852a95dcd feat: added empty API router
1 year ago
Josh Moore 7c4829f349 feat: bit of a cleanup
1 year ago
Josh Moore c9905eb127 feat: added file hashing
1 year ago
Josh Moore f245f06647 feat: attach file size to AssFile
1 year ago
Josh Moore 04acf001e7 fix: setup should be allowed even if SQL not defined
1 year ago
Josh Moore ac1a51ec16 fix: this should be `resolve(false)`
1 year ago
Josh Moore c274e0722b fix: added proper error handler here
1 year ago
Josh Moore 9429fca2f7 feat: implement favicon redirect
1 year ago
Josh Moore 597983f370 fix: unknown crash in prod?
1 year ago