Commit Graph

123 Commits (4457d322053fd4ca73928f5a58a9e49e358f6cfa)

Author SHA1 Message Date
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
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