|
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 |
|
|
cbf6878c13
|
Update this logging
|
2025-01-10 22:48:31 +00:00 |
|
|
08f94bc260
|
Add a 200 response for GET /
|
2025-01-08 23:02:17 +00:00 |
|
|
369e43b054
|
Use empty hooks for testing
|
2025-01-08 23:01:58 +00:00 |
|
|
21a6b03da1
|
Hook should be called from the temporary work directory
|
2025-01-08 22:53:52 +00:00 |
|
|
eb36349ce5
|
Add post upload hook
|
2025-01-08 22:31:57 +00:00 |
|
|
e778f6c855
|
Support the old upload format for compatibility
|
2025-01-08 20:07:10 +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 |
|
|
40a52773f7
|
Separate into InitDB and InitRawDB
|
2025-01-08 17:49:41 +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 |
|
|
6f285c8208
|
API: Prevent setEnabled when domain is not owned
|
2025-01-08 00:32:31 +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 |
|
|
4a02ed02d6
|
Update dependency golang.org/x/net to v0.34.0
|
2025-01-07 16:52:40 +00:00 |
|
|
c9e78305a1
|
Add branch enable/disable api endpoint
|
2025-01-07 16:52:40 +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 |
|
|
88236f19d4
|
Update Go and dependencies
|
2025-01-02 14:00:42 +00:00 |
|
|
2f0a112a48
|
Fix: update github workflow cmd name
|
2024-08-16 20:17:10 +01:00 |
|
|
c953eb7f67
|
Rename module
|
2024-08-10 13:28:45 +01:00 |
|
|
a3495aa297
|
Update workflow
|
2024-06-06 12:11:57 +01:00 |
|
|
89115ed68a
|
Update dependencies
|
2024-06-06 01:15:23 +01:00 |
|
|
357fb32264
|
Use - in site branch string
|
2023-12-05 23:10:50 +00:00 |
|
|
720e413336
|
Parse flags and check server error with Is
|
2023-11-17 09:09:11 +00:00 |
|
|
a431e506ec
|
Keep working on this
|
2023-08-21 00:27:54 +01:00 |
|
|
c727ac594f
|
Move test workflow to the correct directory
|
2023-07-22 01:04:03 +01:00 |
|
|
d7866e14f3
|
Add .gitignore
|
2023-07-22 01:02:56 +01:00 |
|
|
3367bd2d09
|
Start adding project code
|
2023-07-22 00:59:45 +01:00 |
|
|
3046ff86c1
|
First commit
|
2023-07-22 00:58:22 +01:00 |
|