Commit Graph

5655 Commits (b771f9b53ec6ec212045280dd61815f4eed590c1)

Author SHA1 Message Date
Michael de Sa 414ca7f0b6 Add clarifying comment for InfluxDB UID being Name
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-19 14:42:34 -05:00
Jared Scheib 5998923ab8 Add test coverage for Get with empty User
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-19 14:39:06 -05:00
Michael de Sa f463642bae Update route authorization by Role
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-10-19 14:33:08 -05:00
Jared Scheib 19369b38cc Set Scheme to be OAuth2 explicitly for all users
Add Provider to Users authenticated via /me

Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-10-19 14:32:33 -05:00
Michael Desa dafab1653a Fix formating of server/auth.go 2017-10-19 12:54:06 -04:00
Michael Desa 72640d3bd2 Add tests for retrieving user by name and provider
Fix incorrect error message

Cleanup old Get user test
2017-10-19 12:52:46 -04:00
Andrew Watkins 9665741b84 Merge pull request #2130 from influxdata/bugfix/bad-rp
BUGFIX: Bad error messages for RP creation and DB creation
2017-10-19 09:07:52 -07:00
Andrew Watkins 5de6bba94e Merge branch 'master' into bugfix/bad-rp 2017-10-19 08:53:01 -07:00
Andrew Watkins 63d849738d Merge pull request #2135 from influxdata/bugfix/drag-n-drop
BUGFIX: Drag n drop cancelling
2017-10-19 08:52:34 -07:00
Hunter Trujillo c4fa842669 Fix for changelog. 2017-10-18 21:33:39 -06:00
Hunter Trujillo c66324d1a6 Be The Change. 2017-10-18 20:12:00 -06:00
Deniz Kusefoglu ded67180c1 Merge pull request #2133 from influxdata/feature/implicit_http
Prepend 'http://' to source url
2017-10-18 16:03:16 -07:00
Alex Paxton edfc2f7f19 Merge pull request #2120 from influxdata/responsive-admin-tabs
Improve appearance of  Admin on small screens
2017-10-18 16:03:02 -07:00
Deniz Kusefoglu 93d0c3d885 Merge pull request #2131 from influxdata/bugfix/csv_alignment
Fix overlay of custom time indicator and csv download button
2017-10-18 16:02:49 -07:00
Andrew Watkins 7db450fc4c Update CHANGELOG 2017-10-18 15:51:27 -07:00
Andrew Watkins e1b752f78a Reset fileInput value on cancel 2017-10-18 15:48:02 -07:00
Andrew Watkins 3057219844 Guard against no file 2017-10-18 15:43:54 -07:00
deniz kusefoglu fdb042ed45 Add changes to changelog 2017-10-18 14:32:48 -07:00
deniz kusefoglu 3b380e26cd Add http:// before a source url, if it does not begin with it, and change sourceform to a SFC 2017-10-18 14:24:59 -07:00
Michael Desa 8d472646cd Fix wrong authorization level on selected routes
Fix leaking of username on failed authorization

Add comment to chronograf.UserQuery

Fix logic in hasPrivilege method
2017-10-18 15:45:06 -04:00
Michael Desa a0d300d280 Use new chonograf.UserStore Get method when needed
Refactor tests that were dependent of old implementation of UsersStore
2017-10-18 14:45:33 -04:00
Andrew Watkins 33bad0bcd9 Tweak function names 2017-10-18 11:25:28 -07:00
Michael Desa 246e65e598 Generalize chronograf.UsersStore Get method
The `Get` method on the UsersStore was generalize by changing the second
parameter to a struct. This allows the Store to retrieve users by more
than simply their name.

-Get(ctx context.Context, name string) (*User, error)
+Get(ctx context.Context, q UserQuery) (*User, error)
2017-10-18 14:17:42 -04:00
deniz kusefoglu 260bbacb3c Fix overlay of custom time indicator and csv download button 2017-10-18 10:48:26 -07:00
Andrew Watkins 511777396c Merge branch 'master' into responsive-admin-tabs 2017-10-18 10:05:58 -07:00
Andrew Watkins 305facda40 Use gaurd clause pattern 2017-10-18 09:55:52 -07:00
Andrew Watkins 3b746ab26f Add/fix comments and improve grouping 2017-10-18 09:55:18 -07:00
Michael Desa 0517a87954 Add comment to AuthorizedUser 2017-10-18 12:45:58 -04:00
Andrew Watkins 3451aa476f Add removeFuncs to propTypes 2017-10-18 09:45:13 -07:00
Andrew Watkins 21674fc851 Fix comment 2017-10-18 09:44:28 -07:00
Andrew Watkins d8d0ec41f9 Use spread instead of assign 2017-10-18 09:43:21 -07:00
Andrew Watkins b33dad9909 Update CHANGELOG 2017-10-18 09:40:33 -07:00
Michael Desa 3430eeb84b Wrap routes with Authorization middleware 2017-10-18 12:40:17 -04:00
Andrew Watkins 21a2148188 Uncomment out commented error messages 2017-10-18 09:39:00 -07:00
Andrew Watkins c229bb61f3 Move render to bottom of component 2017-10-18 09:39:00 -07:00
Andrew Watkins 69e25b82c2 Christmas came early 2017-10-18 09:39:00 -07:00
Andrew Watkins bf283aa3bf Merge pull request #2122 from influxdata/bugfix/unsafe-ssl
BUGFIX:  Unsafe SSL
2017-10-18 09:38:46 -07:00
Michael Desa f50a2b686f Add AuthorizedUser middleware 2017-10-18 12:35:40 -04:00
Michael Desa e61ed60ae8 Extract logic for getting user by name & provider 2017-10-18 12:34:23 -04:00
Andrew Watkins 8e1cb0b298 Merge branch 'master' into bugfix/unsafe-ssl 2017-10-18 09:06:26 -07:00
Andrew Watkins ae38886f6b Update CHANGELOG 2017-10-17 20:10:06 -07:00
Hunter Trujillo 77f2e372e5 Merge pull request #2127 from influxdata/feature/milliseconds
Dygraph Fork for Milliseconds
2017-10-17 16:17:54 -06:00
Andrew Watkins 4fda37e739 Merge branch 'bugfix/unsafe-ssl' of github.com:influxdata/chronograf into bugfix/unsafe-ssl 2017-10-17 15:13:47 -07:00
Andrew Watkins 00b6ae15f5 Better banner copy 2017-10-17 15:13:04 -07:00
Andrew Watkins b3bd97a383 Update CHANGELOG.md 2017-10-17 14:14:36 -07:00
Andrew Watkins 19fc9da8bb Merge pull request #2041 from influxdata/feature/now-in-cal
FEATURE: Toggle now() in date picker
2017-10-17 13:45:21 -07:00
Andrew Watkins 80940f8bfa Fix field helper specs 2017-10-17 13:34:16 -07:00
Andrew Watkins 9b1cc1d436 Change influxql and FieldList fields to value instead of name 2017-10-17 13:31:17 -07:00
Chris Goller f765734495 Merge remote-tracking branch 'origin/feature/now-in-cal' into feature/now-in-cal 2017-10-17 15:23:30 -05:00
Andrew Watkins 77b3487bd2 Change tests and reducers to use value instead of name 2017-10-17 13:19:08 -07:00