Tobie Morgan Hitchcock
7728c5b398
Use keyed fields for ‘go vet’
2016-12-08 22:03:42 +00:00
Tobie Morgan Hitchcock
9b8aec6549
Add SQL functions for hotp/totp/yubikey security
2016-12-08 21:57:22 +00:00
Tobie Morgan Hitchcock
455fd3a35a
Ensure go-bindata is installed
2016-11-27 13:08:47 +00:00
Tobie Morgan Hitchcock
f931341a95
Add ability to check if db transaction is closed
2016-11-26 16:52:43 +00:00
Tobie Morgan Hitchcock
1bf7f5c7e4
Set GOMAXPROCS at runtime to CPU number
2016-11-26 13:39:48 +00:00
Tobie Morgan Hitchcock
fbe34c6083
Add PERMISSIONS and remove DEFINE / REMOVE RULES
2016-11-26 13:39:03 +00:00
Tobie Morgan Hitchcock
2b47e6e0a9
No need for a default TYPE on SQL DEFINE FIELD
...
Previously the default type for DEFINE FIELD statements was “any”, but this is unnecessary, as fields with type “any” are not type-checked anyway, so there is little point in defining the default as “any”. Therefore the type is left blank if no TYPE is specifically defined.
2016-11-26 13:35:58 +00:00
Tobie Morgan Hitchcock
90953735d9
DEFINE and REMOVE SQL queries can not be inside transactions
2016-11-26 13:05:21 +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
3442275878
Ensure in-memory config can be accessed concurrently
2016-11-23 15:42:32 +00:00
Tobie Morgan Hitchcock
bf60887dc0
Fix typo
2016-11-23 15:41:21 +00:00
Tobie Morgan Hitchcock
2fcc2e3668
Improve SQL INFO command to support namespaces
2016-11-23 12:53:27 +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
75b5f2f412
Improve SQL DEFINE TOKEN statements
2016-11-22 19:10:42 +00:00
Tobie Morgan Hitchcock
063de926ed
Improve SQL DEFINE LOGIN statements
2016-11-22 19:10:32 +00:00
Tobie Morgan Hitchcock
f150e5b587
Increase bit length of SQL TOKEN keys
2016-11-22 19:09:02 +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
bb752eb124
Encrypt SQL LOGIN password immediately
2016-11-22 13:36:57 +00:00
Tobie Morgan Hitchcock
5bfe938fcf
Enable authentication tokens on SCOPES
2016-11-21 18:58:07 +00:00
Tobie Morgan Hitchcock
2783c4c653
Add authentication level checks to SQL INFO query
2016-11-21 18:52:51 +00:00
Tobie Morgan Hitchcock
b25ce6d059
If no TYPE is found on SQL DEFINE FIELD default to “any”
2016-11-21 18:52:12 +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
d5604f589c
Add package for memory storage of database runtime
...
Database configuration data for all namespaces, databases, logins, tokens, scopes, tables, fields, indexes should be stored in memory for quick access when needed without querying the KV store.
It should be kept in sync with the master data in the unerlying KV store, but it can be used for propagating the database configuration across the cluster.
2016-11-21 18:47:23 +00:00
Tobie Morgan Hitchcock
19650ab770
Remove POLICY from SQL DEFINE SCOPE statement
2016-11-21 18:43:15 +00:00
Tobie Morgan Hitchcock
11d394f9fc
Remove unused zone command line flag
2016-11-21 16:34:33 +00:00
Tobie Morgan Hitchcock
e74e9f1352
Apply go fmt simplify command
2016-11-21 16:32:07 +00:00
Tobie Morgan Hitchcock
3754f23041
Fix typo
2016-11-21 16:31:59 +00:00
Tobie Morgan Hitchcock
4931bfbca5
Enable public method for running sql query
2016-11-21 14:36:37 +00:00
Tobie Morgan Hitchcock
4e039cff44
Add basic sql functions for crypto
2016-11-21 14:34:15 +00:00
Tobie Morgan Hitchcock
9136f926f7
Update 3rd party dependencies
2016-11-20 09:28:13 +00:00
Tobie Morgan Hitchcock
0fa8537624
No need to have selected a NS/DB for transactions
2016-11-17 14:18:33 +00:00
Tobie Morgan Hitchcock
a57c2733fa
Use uint64 as limit in mysql backend connector
2016-11-17 14:18:11 +00:00
Tobie Morgan Hitchcock
efa641e175
Fix pgsql backend connection issues
2016-11-17 13:55:54 +00:00
Tobie Morgan Hitchcock
3ef9eef887
No need for global authentication token
...
Each namespace/database has it’s own jwt signing authentication token, so a global token for the whole of the database is now unecessary.
2016-11-17 08:47:46 +00:00
Tobie Morgan Hitchcock
ee6653c289
Improve SQL DEFINE SCOPE statement
2016-11-16 22:47:43 +00:00
Tobie Morgan Hitchcock
cf79487b81
Add SQL DEFINE TOKEN statement
2016-11-16 22:47:23 +00:00
Tobie Morgan Hitchcock
a66c604c2f
Add SQL DEFINE LOGIN statement
2016-11-16 22:46:57 +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
2a10913b06
Change name of authentication scope level
2016-11-14 13:26:07 +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
cd20e647a0
No need to check auth level when choosing NS/DB
2016-11-14 13:23:34 +00:00
Tobie Morgan Hitchcock
63e516b63f
Add method for parsing json object directly
2016-11-14 13:22:43 +00:00
Tobie Morgan Hitchcock
cd44c77de6
Improve error message when unable to select NS/DB
2016-11-14 10:20:45 +00:00
Tobie Morgan Hitchcock
3038b6adec
Rename file
2016-11-13 19:21:34 +00:00
Tobie Morgan Hitchcock
45b06dfd9b
Remove unused SQL tokens
2016-11-10 12:36:01 +00:00
Tobie Morgan Hitchcock
4f04721b31
Enable times as basic LET variables and set immediately
2016-11-09 15:18:11 +00:00
Tobie Morgan Hitchcock
0292140d3c
Enable NOW keyword as shortcut for now() in SQL
2016-11-09 15:16:09 +00:00