Commit graph

57 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
a49bbd74c7 Enable REST output as JSON and JSONAPI 2017-02-20 10:38:20 +00:00
Tobie Morgan Hitchcock
b3998e369e Minimise code 2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
b1165a6180 Use specific content-type options for each route 2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
631fd694a8 Specify default query values for http REST routes 2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
01621d74fe Add websocket endpoint for sql text queries 2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
529c1028a3 Improve and simplify RPC interface methods 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
a700ef9bc4 Improve debug logging throughout codebase 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
6a719d815b Improve errors throught codebase 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
c3df9d791d Check websocket subprotocol for auth details 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
20d4bfadef Reduce POST content size to 1MB 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
30d8016d0c Reorder middleware 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
55f272a87c Implement database import and export commands 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
8385719834 Enable specifying NS and DB in http headers 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
623d55225c Use transaction mem cache for db config data 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
6fa73071a5 Add HTTP 501 error message 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
fba3a97a24 Improve HTTP 500 error message 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
07b5c5ce38 Add code spacing 2017-02-09 10:32:32 +00:00
Tobie Morgan Hitchcock
7728c5b398 Use keyed fields for ‘go vet’ 2016-12-08 22:03:42 +00:00
Tobie Morgan Hitchcock
7bbe6cb610 Extend session authentication time for NS/DB users 2016-11-23 18:18:44 +00:00
Tobie Morgan Hitchcock
3ca8fb3acc Ensure $auth.scope is preset on auth variable 2016-11-22 19:12:19 +00:00
Tobie Morgan Hitchcock
2406256417 Process authentication auth data as map 2016-11-22 19:11:33 +00:00
Tobie Morgan Hitchcock
8cdae77483 Generate token keys in SQL and store as binary 2016-11-22 13:51:21 +00:00
Tobie Morgan Hitchcock
dfb10a6316 Add support for multipart form content-type 2016-11-21 18:49:08 +00:00
Tobie Morgan Hitchcock
94c9631d91 Improve database authentication
Improve the database authentication implementation for namespaces, databases, and scopes.
2016-11-21 18:48:25 +00:00
Tobie Morgan Hitchcock
d30975d549 Save with go fmt simplified 2016-11-16 17:31:25 +00:00
Tobie Morgan Hitchcock
97f3262faf Remove unused middleware plugin 2016-11-15 20:05:29 +00:00
Tobie Morgan Hitchcock
e66435258e Ensure auth is checked after all other middleware 2016-11-14 13:24:48 +00:00
Tobie Morgan Hitchcock
4452339bd1 Improve authentication blueprint 2016-11-04 15:20:31 +00:00
Tobie Morgan Hitchcock
df7ee71cf6 Remove unused import + export routes 2016-11-04 11:25:00 +00:00
Tobie Morgan Hitchcock
9b25a75a36 Don’t pass in surreal conf options to fibre server 2016-11-04 11:24:46 +00:00
Tobie Morgan Hitchcock
ee2f34bef0 Add simple authentication blueprint to extend further 2016-11-04 11:23:52 +00:00
Tobie Morgan Hitchcock
11ce932f89 Remove old Newrelic integration 2016-10-14 22:55:28 +01:00
Tobie Morgan Hitchcock
4d70f021a3 Use updated fibre library 2016-10-14 22:55:17 +01:00
Tobie Morgan Hitchcock
096c41d91d Accept CBOR Content-Type 2016-10-14 22:54:54 +01:00
Tobie Morgan Hitchcock
f36404158d Improve web errors 2016-10-14 22:54:32 +01:00
Tobie Morgan Hitchcock
ff8a2f03a9 Improve http error messages 2016-09-14 22:33:09 +01:00
Tobie Morgan Hitchcock
3db0d79443 Use proper db parameters 2016-09-14 22:32:52 +01:00
Tobie Morgan Hitchcock
7d452b610e Increase maximum body size on PUT/POST 2016-09-14 10:19:08 +01:00
Tobie Morgan Hitchcock
792023bb0e Improve db error messages 2016-09-06 14:36:17 +01:00
Tobie Morgan Hitchcock
2334d9f7a1 Update errors and error messages 2016-07-16 14:44:48 +01:00
Tobie Morgan Hitchcock
8e2c21af35 Extend graceful shutdown wait timeout 2016-07-06 19:12:14 +01:00
Tobie Morgan Hitchcock
3b4b89c0e9 Store ember app in 'app' folder 2016-07-05 00:03:48 +01:00
Tobie Morgan Hitchcock
939ebb531b Remove auth rest endpoints 2016-07-04 12:28:22 +01:00
Tobie Morgan Hitchcock
ffea9fc1c5 Remove backup endpoint 2016-07-04 11:36:43 +01:00
Tobie Morgan Hitchcock
085b5e5c95 Update web package 2016-06-18 14:42:06 +01:00
Tobie Morgan Hitchcock
ad5316093e Add routes for import/export 2016-06-18 10:01:02 +01:00
Tobie Morgan Hitchcock
02a022012a Add websocket upgrade error message 2016-06-18 10:00:23 +01:00
Tobie Morgan Hitchcock
03383189ad Remove unused function 2016-05-23 16:35:05 +01:00
Tobie Morgan Hitchcock
a9a53e4851 Quote injected variables 2016-05-23 15:21:53 +01:00
Tobie Morgan Hitchcock
c3b64107d3 Add endpoint for lb status monitoring 2016-05-23 15:21:35 +01:00