aboutsummaryrefslogtreecommitdiffstats
path: root/rust/TODO
blob: 1ed580e623eef38d2b9e7a990398b1c884428ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

- refactor rev creation (from an entity) into it's own function, across the board
    => attach to database module structs?
    => should make cockroachdb compatible (single use of CTE)
    => usable from both "update" and "create"
- editgroup param to update
    => also for creation? for consistency

- editor_id vs. editor username; return editor_id (in addition to name?)

later:
- editgroup: state to track review status?
- re-implement old python tests
- enforce "no editing if editgroup accepted" behavior
- refactor entity creation/editing (DRY)
- refactor to allow Result<> in all handlers
- real auth
- metrics, jwt, config, sentry
- ansible/deployment/DNS story
- refactor logging; use slog

schema/api questions:
- url table (for files)
- get works/releases by creator
- "types"
- define release field stuff
- what should entity POST return? include both the entity and the edit?
- PUTs (updates) to entities