Tobie Morgan Hitchcock
b92219b04b
Update package name and location
2021-12-14 08:13:19 +00:00
Tobie Morgan Hitchcock
1eac7f614e
Increase length of time for write timeout
2021-11-27 19:50:12 +00:00
Tobie Morgan Hitchcock
4849eb4486
Enable query params to be defined on a connection
2021-04-15 23:02:35 +01:00
Tobie Morgan Hitchcock
7b6472a39b
Use asterisk for CORS Origin header response
2021-03-22 19:14:17 +00:00
Tobie Morgan Hitchcock
5f71e04b41
Remove pprof endpoint exposure
2021-03-22 19:13:19 +00:00
Tobie Morgan Hitchcock
36838d2198
Add http pprof profile debugging
2020-11-26 21:37:20 +00:00
Tobie Morgan Hitchcock
94d017242f
Decrease idle timeout for keepalive requests
2020-11-19 20:32:09 +00:00
Tobie Morgan Hitchcock
347e271984
Fix bug with RETURN DIFF in rpc methods
2020-09-21 09:20:22 +01:00
Tobie Morgan Hitchcock
b3fd17045a
Increase connection read timeout
2020-03-28 09:59:51 +00:00
Tobie Morgan Hitchcock
480f4b00a9
Ensure connection read timeout is not too small
2020-02-21 13:51:20 +00:00
Tobie Morgan Hitchcock
3b513e3a8c
Update route timeouts
2019-12-17 12:21:55 +00:00
Tobie Morgan Hitchcock
a980bdac6b
Allow exporting for NS and DB users
2019-11-28 17:30:59 +00:00
Tobie Morgan Hitchcock
02442fb6d9
Override default timeout durations
2019-11-21 08:55:14 +00:00
Tobie Morgan Hitchcock
a840f660dd
Implement route-specific timeouts
2019-11-21 02:07:13 +00:00
Tobie Morgan Hitchcock
89e84283a4
Increase keepalive idle timeouts for loadbalancers
2019-11-21 00:44:09 +00:00
Tobie Morgan Hitchcock
d0d566bbd9
Improve database speed
2019-11-20 13:20:27 +00:00
Tobie Morgan Hitchcock
9f4b696fab
Support CBOR serialization
2019-11-18 11:29:40 +00:00
Tobie Morgan Hitchcock
2ee1133a4b
Simplify command line config arguments
2019-06-16 08:08:23 +01:00
Tobie Morgan Hitchcock
bcb1d3174c
Fix RPC Modify method
2019-05-24 10:11:41 +01:00
Tobie Morgan Hitchcock
bd9e518f0f
Ensure fibre connection id is created if it doesn’t exist
2019-02-01 01:17:41 +00:00
Tobie Morgan Hitchcock
ef9c73d4d7
Make SQL parser stateless
2019-01-31 12:38:23 +00:00
Tobie Morgan Hitchcock
efeb186200
Ensure all fibre.Contexts have a unique socket id
2019-01-14 16:03:38 +00:00
Tobie Morgan Hitchcock
6ed01504ec
Fix non-used declared properties bug
2018-09-11 17:39:32 +01:00
Tobie Morgan Hitchcock
bf4659d8f9
Add SQL export functionality
2018-08-20 07:53:11 +01:00
Tobie Morgan Hitchcock
a3787ad274
Simplify and improve internal SQL AST structures
2018-08-20 00:21:35 +01:00
Tobie Morgan Hitchcock
8a41cc8a08
Use a fake context when running scope auth queries
2018-07-12 02:50:03 +01:00
Tobie Morgan Hitchcock
295285707e
Don’t use a cookie for unique Session ID
2018-05-14 02:37:49 +01:00
Tobie Morgan Hitchcock
6f02651c4f
Ensure correct cookie header even if cookie exists
...
Previously, if the cookie value was passed to the database from the client, then the client would not set the correct cookie option values, effectively causing the cookie to expire.
2018-05-14 00:15:26 +01:00
Tobie Morgan Hitchcock
e120f8961c
Add server-generated session info to queries
2018-05-12 23:46:01 +01:00
Tobie Morgan Hitchcock
c8980e2eac
Remove connection wide variables
2018-05-09 23:09:51 +01:00
Tobie Morgan Hitchcock
220d04b696
No need to close the log messages channel
...
Closing the channel sometimes resulted in writes to a closed channel. Instead, the channel will be cleared up by GC as the socket is removed from the sync.Map anyway.
2018-05-09 16:34:53 +01:00
Tobie Morgan Hitchcock
faf54b053a
Add RPC Ping method
2018-05-09 12:13:44 +01:00
Tobie Morgan Hitchcock
e3bea0a897
Use context.Context on all kvs requests
2018-05-02 03:05:03 +01:00
Tobie Morgan Hitchcock
9f0ea3ee61
Improve database query logging
2018-05-02 02:32:06 +01:00
Tobie Morgan Hitchcock
be832029a7
Remove google and syslog logging
2018-04-05 08:51:44 +01:00
Tobie Morgan Hitchcock
b4a8f10cdc
Ensure query variables are consistent
...
All request variables which are assigned to an sql query are now specified in one location, ensuring that they are consistent and always present for all queries.
2018-03-18 21:38:21 +00:00
Tobie Morgan Hitchcock
ca392f87a7
Add ON SIGNUP and ON SIGNIN events to SQL SCOPE
...
It is now possible to run queries when a user signs-up or signs-in, by specifying multiple queries within an ON SIGNUP (…) clause, or a ON SIGNIN (...) clause.
2018-03-18 21:30:02 +00:00
Tobie Morgan Hitchcock
d70d063797
Make JWT token values available to scope CONNECT query
2018-03-02 11:03:19 +00:00
Tobie Morgan Hitchcock
aebc001229
Store IP address in JWT token
2018-03-02 11:02:47 +00:00
Tobie Morgan Hitchcock
bece5d1f07
Ensure we run signUp not signIn when signing up
2018-02-17 09:14:26 +00:00
Tobie Morgan Hitchcock
2249086887
Improve rpc authentication methods
2018-02-14 13:19:43 +00:00
Tobie Morgan Hitchcock
c47fe55ffb
Ensure any previous auth data is reset if authentication fails
2018-02-14 13:17:05 +00:00
Tobie Morgan Hitchcock
e073bf2775
Enable persistent request variables
...
It is now possible to set a variable on a connection, and use that variable in multiple subsequent queries. This ensures that websockets can make use of state variables for detecting logged-in, and non-logged-in clients.
2018-02-12 22:13:36 +00:00
Tobie Morgan Hitchcock
15e9f77434
Add Uniq() rpc method for crypto-secure rando ids
2018-02-12 21:50:19 +00:00
Tobie Morgan Hitchcock
779251bc54
Simplify auth data response on rpc requests
...
Ther is no need to return all auth data when caling the Info() and Auth(token) rpc functions. Instead only the id needs to be returned to the consuming application.
2018-02-12 21:48:55 +00:00
Tobie Morgan Hitchcock
a9883efc4a
Improve error messages on authentication failure
2018-01-31 08:52:21 +00:00
Tobie Morgan Hitchcock
58b8b461e3
Enable specifying NS, DB, and auth through websocket protocols
2018-01-31 08:52:11 +00:00
Tobie Morgan Hitchcock
40f1c4b224
Improve error message on scope signin
2017-12-20 06:51:51 +00:00
Tobie Morgan Hitchcock
e3c7aacd66
Enable parameters in LIVE queries
2017-12-08 10:29:52 +00:00
Tobie Morgan Hitchcock
92ecba9154
Improve signin and signup error messages
2017-12-07 18:48:42 +00:00