Patrick O'Carroll
9ad8a77a21
ordered user orgs alphabeticaly fixes #11556
2018-04-13 14:53:36 +02:00
Gerben Meijer
e722732021
Return actual user ID in UserProfileDTO
...
This fixes calls to /api/user where ID is currently always 0
2018-03-22 16:30:04 +01:00
Alexander Zobnin
d8612380e9
refactor: rename User Groups to Teams
2017-12-08 18:25:45 +03:00
Torkel Ödegaard
beb9f8ee74
Merge remote-tracking branch 'origin/master' into develop
2017-12-07 14:14:50 +01:00
Marcus Efraimsson
1e10fcad83
test: fix failing postgres test
...
Should use case insensitive matching when searching for users
2017-11-29 15:17:31 +01:00
Torkel Ödegaard
ad1d69861e
Merge branch 'master' of github.com:grafana/grafana into develop
2017-10-11 16:47:16 +02:00
Torkel Ödegaard
2bc57d856c
fix: set lastSeenAt date when creating users to then years in past insteasd of empty date, fixes #9260
2017-10-11 11:29:17 +02:00
Torkel Ödegaard
18337f610d
Merge branch 'master' into develop
2017-09-22 08:42:07 +02:00
Aaron Kirkbride
442f625a4e
Remove duplicate bus.AddHandler() ( #9289 )
...
`bus.AddHandler("sql", SetUsingOrg)` is already called on line 24.
Very minor change.
2017-09-18 15:52:15 +02:00
Torkel Ödegaard
95f5c84a57
ux: making org visibile in profile view
2017-08-16 15:03:49 +02:00
Torkel Ödegaard
1dab313ca3
Merge branch 'master' into develop
2017-08-14 10:30:36 +02:00
Torkel Ödegaard
e8a20643d6
feat: store last seen date for users and present in stats and user lists, closes #9007
2017-08-09 10:36:41 +02:00
Daniel Lee
9e7aa65fb7
WIP: clean up after user and org user delete
2017-06-15 20:19:54 +02:00
Daniel Lee
699f9095e2
WIP: remove permissions when deleting global user
2017-06-14 23:45:30 +02:00
Torkel Ödegaard
359421b5e8
refactor: sqlstore inTransaction consolidated to one version, fixes #8376
2017-05-23 10:56:23 +02:00
Dan Cech
f490c5f12c
use X-Grafana-Org-Id header to ensure backend uses correct org ( #8122 )
2017-04-14 15:47:39 +02:00
Daniel Lee
9efb6e76e9
users: adds search and pagination ( #7753 )
...
ref #7469 . Follow up change that adds proper paging with 50 results
per page as well as a search box to search by name, login or email.
2017-03-07 16:03:54 +01:00
bergquist
5174d050f2
middlware: change org when url contains orgid
...
closes #6948
ref #1613
2017-02-17 15:02:14 +01:00
Daniel Lee
193d468ed3
admin: adds paging to global user list
...
Currently there is a limit of 1000 users in the global
user list. This change introduces paging so that an
admin can see all users and not just the first 1000.
Adds a new route to the api - /api/users/search that
returns a list of users and a total count. It takes
two parameters perpage and page that enable paging.
Fixes #7469
2017-02-13 12:59:36 +01:00
Torkel Ödegaard
fb57bf77da
ux(getting started): progress on getting started panel and persited help flag states, #6466
2016-11-09 10:41:39 +01:00
Eric Uldall
eda442dbf9
added support to login user oauth user by email only ( #6330 )
...
* added support to login user oauth user by email only
* added sql handler
* fixed model method name from GetUserByEmail to GetUserByEmailQuery
* fixed variable declaration typo
2016-10-20 06:45:10 +02:00
Dan Cech
630a8ed8aa
support setting default org role when adding user via grafana.net auth
2016-09-20 12:36:36 -04:00
Karl
2f5ae85d33
Initial patch for grafana/grafana#4267 ( #5280 )
2016-06-06 07:15:37 +02:00
Torkel Ödegaard
ab1048b7ee
feat(preferences): theme and home dashbord settings now work work on profile and org settings page
2016-04-02 13:54:06 -07:00
utkarshcmu
fe2d8f1ea0
Used dialect for postgres
2015-11-07 05:21:22 -08:00
utkarshcmu
2676f24e0a
Fixed user deletion in Postgres SQL
2015-11-06 20:17:27 -08:00
Torkel Ödegaard
aa89416bca
fix(invite): fixes to org invite stuff, #2630
2015-09-01 12:35:06 +02:00
Torkel Ödegaard
d19e101e6b
feat(signup): almost done with new sign up flow, #2353
2015-08-31 11:35:07 +02:00
Torkel Ödegaard
14884d5a2b
feat(signup): progress on new signup flow, #2353
2015-08-30 18:56:53 +02:00
Torkel Ödegaard
01d9849e44
fix(user create): fixed for creating multiple users with empty email when auto assign org is set to false, fixes #2011
2015-08-18 20:15:24 +02:00
Torkel Ödegaard
e6d09b3266
fix(db): remove stars and tags when removing user or dashboard, fixes #2016
2015-08-12 09:23:46 +02:00
Torkel Ödegaard
90400bf5ad
fix(ldap): fix for ldap users with empty email address, fixes #2461
2015-08-07 10:14:36 +02:00
Torkel Ödegaard
788e7fd36d
Lots of api refactoring for org routes, #2014
2015-05-19 10:16:32 +02:00
Torkel Ödegaard
bf9e51928d
Fix to signed in user when user <-> org link is gone
2015-05-19 09:02:37 +02:00
Torkel Ödegaard
fbc6bb2112
More refactoring of user http api, trying to reuse handlers for sign in user and admin operations
2015-05-18 19:06:19 +02:00
Torkel Ödegaard
38fc85d619
Final tweaks to auth proxy feature
2015-05-02 12:30:53 +02:00
Torkel Ödegaard
be589d81c7
Auth: Support for user authentication via reverse proxy header (like X-Authenticated-User, or X-WEBAUTH-USER), Closes #1921
2015-05-02 12:06:58 +02:00
Anthony Woods
fc5839d8f1
gofmt. remove extra whitespace
2015-03-17 23:42:16 +08:00
Anthony Woods
bce62c49d0
fixes #1606
2015-03-17 23:10:49 +08:00
Anthony Woods
6a09a7c398
fixes #1606 emit OrgCreated event when new org created.
2015-03-17 23:09:43 +08:00
Torkel Ödegaard
17063df3cc
Changed default org name form 'main' to 'Main Org.'
2015-03-12 19:43:52 +01:00
Torkel Ödegaard
f3d4d2782f
Simplified single org settings, now auto_assign_org, and auto_assign_org_role, new [users] config section, Closes #1585
2015-03-11 16:19:29 +01:00
Torkel Ödegaard
04ca85fe89
Moved dashboard theme option from the dashboard to a persisted user setting, #1458
2015-02-28 14:30:08 +01:00
Torkel Ödegaard
7c241fd617
Added permissions section to admin > edit user view, an admin can now make another user admin, Closes #1517
2015-02-26 15:43:48 +01:00
Torkel Ödegaard
f3f79792ab
account -> org table migration is starting to work, need to test mysql and postgres
2015-02-24 18:32:29 +01:00
Torkel Ödegaard
26e4809e2e
Big Backend Refatoring: Renamed Account -> Org
2015-02-23 20:07:49 +01:00
Torkel Ödegaard
47c6c6e1b7
Added change password feature, Closes #1455
2015-02-19 16:09:49 +01:00
Torkel Ödegaard
17004ce3ae
Fixed issue with login by username and uppercase letters in username, #1484
2015-02-18 13:00:39 +01:00
Torkel Ödegaard
71f09ddd94
Added delete user action to user admin api, and made it work in UI, Closes #1466 , #1446
2015-02-11 16:47:22 +01:00
Torkel Ödegaard
e165e2af95
Worked on user admin features, can now create and edit users as a grafana admin user, #1446
2015-02-10 15:36:51 +01:00