Commit Graph

21 Commits

Author SHA1 Message Date
34ccdd8caa
Add error logging for invalid uploads 2025-01-19 00:33:36 +00:00
bda939cb67
This seems better for the safety of error messages 2025-01-19 00:29:52 +00:00
d655cc7bb4
Use userSafeErrorf to protect system paths 2025-01-19 00:24:37 +00:00
369e43b054
Use empty hooks for testing 2025-01-08 23:01:58 +00:00
eb36349ce5
Add post upload hook 2025-01-08 22:31:57 +00:00
d3c52c3d35
The branch in the database starts with @ 2025-01-08 19:58:17 +00:00
20de90afe8
Use a separate work dir to keep the site available until the upload has been extracted 2025-01-08 18:35:07 +00:00
5f50ec5a56
Update branches table after updating the site
This also adds tests to ensure multiple calls to the upload endpoint lock correctly
2025-01-08 17:59:11 +00:00
4ecd88c0c0
Rename sitesQueries in serve and upload 2025-01-08 17:53:13 +00:00
fbe0863d36
Change primary keys and remove id column 2025-01-08 01:04:44 +00:00
2193c44252
Move validation to a separate package 2025-01-08 00:59:27 +00:00
303e789d82
Protect upload calls with a mutex for each site 2025-01-07 23:54:12 +00:00
e0fb935aaf
Test site and branch names 2025-01-07 23:52:42 +00:00
731a9953f1
Reference the maxFileSize constant here 2025-01-07 23:18:40 +00:00
cb0cb9f39d
Fix old path typo 2025-01-07 23:18:39 +00:00
7cd63ac46d
Change old path to 'old@[...]' 2025-01-07 21:18:37 +00:00
27be538a06
This is a somewhat decent state of the source code 2025-01-07 16:52:40 +00:00
d8ccd87e9b
Add database storage 2025-01-07 16:52:25 +00:00
c953eb7f67
Rename module 2024-08-10 13:28:45 +01:00
a431e506ec
Keep working on this 2023-08-21 00:27:54 +01:00
3367bd2d09
Start adding project code 2023-07-22 00:59:45 +01:00