3e3038295d
Split reports into models
2017-12-05 05:59:44 -05:00
e70be1647c
Begin splitting models from handlers with User
2017-12-05 05:59:44 -05:00
5a6be5a07b
Stop using form elements for API
...
Just send the JSON as the request body
2017-11-13 20:48:19 -05:00
9624f0c5bc
Move to a consistent way of handling IDs in URLs
2017-11-12 21:15:00 -05:00
507868b7a5
Begin move away from using http.ServeMux
2017-11-12 20:17:27 -05:00
9429b748fa
Prefix all API endpoints with 'v1/', pluralize collections
2017-11-11 08:05:09 -05:00
6fb66ac04e
testing: Add initial report tabulation test
2017-11-03 22:13:20 -04:00
5504d37482
testing: Improve testing CRUD for reports
...
Ensure we don't get silent errors if the Lua code is longer than the
database column, don't leave out the first report from testing, test
fetching multiple reports.
2017-11-03 20:50:19 -04:00
d3c03e4380
testing: Test creating reports
2017-11-01 21:03:07 -04:00
4e53a5e59c
Use SQL transactions for the entirety of every request
2017-10-14 14:20:50 -04:00
d0a5980b85
First pass at reorganizing go code into sub-packages
2017-10-04 19:35:59 -04:00