|
cdbf0573d0
|
Allow HEAD method too
|
2025-03-30 02:54:52 +01:00 |
|
|
3f2024f58e
|
Ensure the storageFs file gets closed
|
2025-03-30 02:53:38 +01:00 |
|
|
bd87580001
|
Fix using no-cache query parameter with url paths
|
2025-03-30 00:07:13 +00:00 |
|
|
ccfac033df
|
Test switching branch on paths
|
2025-03-30 00:01:13 +00:00 |
|
|
912f1b2e03
|
Test switching branch
|
2025-03-29 23:59:55 +00:00 |
|
|
d9c65dedf2
|
Move the httpPrefix outside function scope
|
2025-03-29 23:51:25 +00:00 |
|
|
3719fc57cc
|
Only allow GET requests in the serve handler
|
2025-03-29 23:50:26 +00:00 |
|
|
f3c05c46a8
|
Replace bluebell switch path with a query parameter
|
2025-03-29 23:47:50 +00:00 |
|
|
870cc23665
|
Add some api tests
|
2025-03-29 23:27:38 +00:00 |
|
|
ce4b78cc1d
|
Output GET /sites as an array of domain objects
|
2025-03-28 13:02:10 +00:00 |
|
|
8d8d54df0d
|
Output GET sites as an object of domains containing an array of branches
|
2025-03-27 00:14:38 +00:00 |
|
|
1f2e9880bc
|
Add GET /api/v1/sites/:host
|
2025-03-25 00:16:34 +00:00 |
|
|
79912dc5c4
|
Replace isAlphanumericOrDash with isDomainRune
|
2025-03-25 00:15:48 +00:00 |
|
|
fee7ed1e28
|
Remove duplicated '-' check
|
2025-03-25 00:14:42 +00:00 |
|
|
6897df5cd5
|
Modify generateToken to not use make
|
2025-03-25 00:10:29 +00:00 |
|
|
e227284177
|
Prefix api with '/api/v1'
|
2025-03-25 00:09:53 +00:00 |
|
|
850299d927
|
Update dependencies
|
2025-03-24 20:34:07 +00:00 |
|
|
0506ff2d5f
|
Don't fail upload if hook is missing
|
2025-01-19 00:37:29 +00:00 |
|
|
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 |
|
|
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 |
|