Commit b46f6d0
authored
feat: moderation locking (#5070)
* feat: base locking impl
* feat: lock logic in place in rev endpoint + fetch rev
* feat: frontend impl and finalize
* feat: auto skip if using the moderation queue page
* fix: qa issues
* fix: async state + locking fix
* fix: lint
* fix: fmt
* fix: qa issue
* fix: qa + redirect bug
* fix: lint
* feat: delete all locks endpoint for admins
* fix: dedupe
* fix: fmt
* fix: project redirect move to middleware
* fix: lint1 parent 915d8c6 commit b46f6d0
File tree
21 files changed
+1639
-316
lines changed- apps
- frontend
- src
- components/ui/moderation
- checklist
- middleware
- pages
- [type]
- moderation
- server
- routes/api/tags
- utils
- store
- labrinth
- .sqlx
- migrations
- src
- database/models
- routes
- internal/moderation
- v3
21 files changed
+1639
-316
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| |||
Lines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
134 | | - | |
135 | 133 | | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
141 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 206 | + | |
215 | 207 | | |
216 | 208 | | |
0 commit comments