Commit Graph

2993 Commits (f051aa641bb5c9d1b04ee7c26aed74a149ab8645)

Author SHA1 Message Date
Cory LaNou f051aa641b first round on unmarshalling a packet. needs testing 2015-01-07 16:10:27 -07:00
Cory LaNou bf655b36f6 starting collectd 2015-01-06 19:28:34 -07:00
dgnorton d044d5ffa6 Merge pull request #1270 from influxdb/muchoQL
This PR adds to InfluxQL:
- CREATE DATABASE, USER, and RETENTION POLICY
- ALTER RETENTION POLICY
- GRANT and REVOKE for privileges
- DROP for DATABASE and USER
2015-01-06 14:12:30 -05:00
David Norton 4b5f9d3d0e influxql: fix broken test in parser_test.go 2015-01-06 13:47:21 -05:00
Philip O'Toole cbec384b07 Merge pull request #1284 from influxdb/authorization_and_authentication
Add support for authentication and authorization
2015-01-06 09:23:22 -08:00
Philip O'Toole 4c4950a796 Rename AuthenticatedUser to Authenticate
Feedback from final code review.
2015-01-06 09:19:31 -08:00
Philip O'Toole e0533ac938 Merge pull request #1293 from gdi2290/patch-1
update the year in the LICENSE file
2015-01-05 21:45:36 -08:00
PatrickJS cb0c2775fc update the year in the LICENSE file
2015
2015-01-05 21:35:28 -08:00
Philip O'Toole 2dd526e791 Explicit testing of authentication
Includes a test for first-time creation of an admin user -- that it is
possible without supplying authentication credentials.
2015-01-05 17:03:11 -08:00
Philip O'Toole c77855b560 Add some unit tests for new auth functionality 2015-01-05 16:03:05 -08:00
Philip O'Toole 6b7af89119 Add new wrapper handlers for User authentication 2015-01-05 16:03:05 -08:00
Philip O'Toole 2c6e2a8a76 Add config flag to control authentication 2015-01-05 16:03:05 -08:00
Philip O'Toole 77764169b4 Function to return whether there is an admin user 2015-01-05 16:03:05 -08:00
Philip O'Toole b7786da28c Correct application/json header string 2015-01-05 16:03:05 -08:00
Philip O'Toole e4c57db75f Merge pull request #1292 from influxdb/200_201
Return 201, not 200, after creation of user
2015-01-05 16:02:17 -08:00
Philip O'Toole 67d5cb61b3 Return 201, not 200, after creation of user 2015-01-05 15:58:30 -08:00
David Norton 06a684a2d8 influxql: fixed typo in err msg and comment 2015-01-05 15:46:52 -05:00
David Norton 2d219d0da0 influxql: use strconv.Atoi instead of ParseInt 2015-01-05 15:44:11 -05:00
David Norton d927573b3a influxql: use strconv.Itoa instead of FormatInt 2015-01-05 15:37:18 -05:00
David Norton 97d6602ac4 update QUERIES.md 2015-01-05 14:10:01 -05:00
David Norton d6aa34e840 influxql: add ALTER RETENTION POLICY statement 2015-01-05 13:24:50 -05:00
Philip O'Toole c21257f999 Merge pull request #1287 from influxdb/fix_some_comments
Correct some comments
2015-01-05 01:22:50 -05:00
Philip O'Toole b068fcadf0 Correct some comments 2015-01-04 22:11:37 -08:00
David Norton 7443e1323a influxql: add DROP USER statement 2015-01-04 22:56:25 -05:00
David Norton e62efba6ed influxql: add DROP DATABASE statement 2015-01-04 22:32:49 -05:00
David Norton 52c0bf0fa2 influxql: refactor ParseStatement 2015-01-04 22:03:18 -05:00
David Norton 96e8f96d13 influxql: add CREATE RETENTION POLICY statement 2015-01-04 21:50:56 -05:00
David Norton 09a8a925e8 influxql: add REVOKE statement 2015-01-03 02:06:47 -05:00
David Norton 87922c4202 influxql: add GRANT statement 2015-01-03 02:06:47 -05:00
David Norton 03694fd6c0 influxql: add CREATE USER statement 2015-01-03 02:06:47 -05:00
David Norton 4739cc8c1d remove RETENTION POLICY from CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton 4ede864d13 influxql: add CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton b2a2b73bd9 influxql: add tokens for user & DB admin 2015-01-03 02:06:47 -05:00
David Norton a303d15617 Propose DROP & REVOKE syntax for DB and user 2015-01-03 02:06:47 -05:00
David Norton 7683eb6754 Add WITH PASSWORD & RETENTION POLICY 2015-01-03 02:06:47 -05:00
David Norton f6c1b75cef Propose user & permissions query syntax 2015-01-03 02:06:46 -05:00
Paul Dix 7743310432 Merge pull request #1264 from influxdb/in_mem_tag_index
Add in memory tag and metastore index
2015-01-02 14:28:25 -05:00
Paul Dix 70ad990208 Remove series id to measurement map, put in series object 2015-01-02 14:24:48 -05:00
Paul Dix b6691e035c More style updates 2015-01-02 14:13:45 -05:00
Paul Dix b42def229a Update database style based on feedback 2015-01-02 14:02:02 -05:00
Paul Dix d5548aa136 Refactor Index into database
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Philip O'Toole 3143127402 Merge pull request #1282 from influxdb/associatibity_unit_test
Add unit test for change made by PR 1273
2014-12-31 18:53:05 -05:00
Philip O'Toole f37f0b80fa Add unit test for change made by PR 1273 2014-12-31 15:50:10 -08:00
Philip O'Toole ff4ec329a8 Merge pull request #1281 from influxdb/fix_filterExprBySource_comment
Fix filter expr by source comment
2014-12-31 17:37:51 -05:00
Philip O'Toole ba0745e244 Fix comment for filterExprBySource 2014-12-31 14:35:30 -08:00
Ben Johnson 80977aa375 Merge pull request #1280 from influxdb/combine-exec
Create cluster on initial run
2014-12-31 13:55:04 -07:00
Ben Johnson 7db96f795a Remove magic number. 2014-12-31 13:50:34 -07:00
Paul Dix b268ffecb8 Wire up getting measurements by a collection of series ids 2014-12-31 15:10:47 -05:00
Ben Johnson 9b1d9df868 Add --role to 'run'. 2014-12-31 12:55:27 -07:00
Paul Dix 3aa46c6b8a Wire up TagValues on index. 2014-12-31 14:54:28 -05:00