Commit graph

20 commits

Author SHA1 Message Date
9f14d462f7
fix: ensure that $SHELL is used when running scripts from Task 2023-12-28 00:34:27 -05:00
48ded34b2f
fix(taskfiles): resolve naming typo in be:docker:start deps 2023-12-19 19:58:26 -05:00
35ca5ed377
refactor(taskfiles): consolidate start+stop, add namespace for docker tasks 2023-12-18 00:02:04 -05:00
b5b8213be3
refactor(taskfiles): remove redundant paths and venv entries in backend taskfile 2023-12-18 00:02:04 -05:00
c681c65c68
refactor(taskfiles): extract lint+format logic into script, trim taskfile 2023-12-18 00:02:04 -05:00
89186e5c30
refactor(taskfiles): extract build logic out of taskfile, remove migration deadcode 2023-12-18 00:02:00 -05:00
0582f9877e
refactor(taskfiles): extract start logic out of taskfile 2023-12-18 00:01:26 -05:00
0242b2d5ff
refactor: FastAPI -> Django migration (#41)
* build(backend): set up Django 4.2 scaffolding

* feat: porting files API

feat: file ownership basics

feat: gaps in test compatibility

* test: port files API tests

* fix(tests): test database port 5432>5431 to avoid conflict with application database

* feat(auth): LoginView, middleware to handle JWT bearer tokens

* refactor: clean up old FastAPI logic, temporary utils

* refactor: resolve LoginView linting

* feat: user creation + test coverage

* test: session creation coverage

* refactor: hoist secrets, replace placeholders

* chore: clear linting errors+warns
2023-11-26 21:34:09 -05:00
a737e954aa
build(deps): refactor dependency metadata to live in pyproject.toml (#40)
* build(deps): refactor dependency metadata to live in pyproject.toml

* build(test): wait once after successful status to ensure DB is ready
2023-11-16 00:36:58 -05:00
d31f73c66a
build(backend): start+stop+logs command cleanup (#37) 2023-08-27 15:56:29 +00:00
992bf1e5e1
build(backend): ensure that migrate settings set host properly (#34) 2023-08-26 05:31:22 +00:00
62cb0955d5
fix: trigger ci run if taskfile changes + split basepath env variable… (#27)
fix: trigger ci run if taskfile changes + split basepath env variables in taskfile
2023-08-19 11:33:18 -04:00
172d70f8d5
perf: avoid redundant bootstrap runs on commands (#26) 2023-08-19 15:16:10 +00:00
1554e23e7f
build(backend): run as a container (#17)
* docs: document running as a container

* build: functional dockerfile

* build: task command tweaks to accommodate docker app

* ci(backend): optionally build dev docker image
2023-08-15 23:57:09 -04:00
fdc402f76a
feat(backend): file deletion flow (#16)
* feat(backend): file deletion flow

* ci: set change-check flags when no changes detected

* feat(backend): refactor settings to be a singleton object

* refactor(backend): cleaning delete flow cruft

* test(backend): add coverage for deletion + adapt coverage to only rely on endpoints

* docs: type responses for deletions
2023-08-14 08:26:05 -04:00
fbba07cbdc
build: tooling clean-up (#14)
* build(backend): requirements-locks to use venv directly to avoid needing to activate

* build(backend): taskfile cleaning, no more sourcing

* build(frontend): remove unneeded syntax, cmds>cmd for one-liners

* docs: instructors on local setup

* ci: hoisted default working directory settings
2023-08-12 16:32:07 -04:00
da2bf786d5
feat(backend): handle settings by environment (#13)
* build(backend): db provisioning tooling

* feat(backend): split application configuration by env

* docs(backend): update mention of local db setup
2023-08-12 15:56:52 -04:00
a341b462c7
build(backend): add db-aware testing tooling (#9)
* fix(backend): centralized settings, fix refs

* build(backend): pytest configuration points at the right path

* build(backend): test tooling script

* ci(backend): use taskfile to trigger tests in ci

* test(backend): stub db-test

* ci(backend): use Task for backend steps, remove redundant bootstrap
2023-08-12 11:45:51 -04:00
d3cc915039
build(backend): test tooling setup + taskfile tidy (#7)
* build(backend): test tooling setup + taskfile tidy

* test(backend): add stub test

* ci: run backend tests
2023-08-11 13:58:22 -04:00
24d31f2d9c build: split taskfiles into be+fe concerns 2023-08-11 00:48:57 -04:00