Chris
9d32cd4208
prevent deactivation of sso users ( #7759 )
2017-11-02 17:24:11 -04:00
Joram Wilander
06ec648cf3
PLT-7978 Add websocket event for user role update ( #7745 )
...
* Add websocket event for user role update
* Fix tests
* More test fixes
2017-10-31 16:00:21 +00:00
Chris
ce2b2be5de
Refactoring cfg refs and load / save functions ( #7749 )
...
* refactoring cfg refs and load / save functions
* improve error output
2017-10-31 10:39:31 -04:00
Christopher Speller
4491b5ecdf
Performance improvements for 40M posts ( #7708 )
...
* Optimizing get root posts SQL query
* Setting session invalidation to be reliable
* Adding app reciever to SessionHasPermissionToUser
* Adding app reciever to SessionHasPermissionToTeam
* Adding app reciever to SessionHasPermissionTo
* Clear session cache if permission was denied
* Fixing rebase issues
* Revert "Optimizing get root posts SQL query"
This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7.
* Fixing build
2017-10-25 11:48:15 -07:00
Nick Frazier
7fa4913f90
[PLT-7794] Add user access token enable/disable endpoints ( #7630 )
...
* Add column to UserAccessTokens table
* PLT-7794 Add user access token enable/disable endpoints
* replaced eliminated global variable
* updates to user_access_token_store and upgrade.go
* style fix and cleanup
2017-10-19 08:10:29 -04:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Rick Batka
89dc3cb126
[PLT-7396] Add the ability to revoke user sessions in System Console > Users #7493 ( #7623 )
...
* add endpoint and tests for revoking all sessions for a user
* fix failing test build
2017-10-16 20:50:31 -07:00
Joram Wilander
e05edf85cf
PLT-7781 Some more OAuth fixes ( #7568 )
...
* Some other oauth fixes
* Fix unit test
2017-10-04 11:04:56 -04:00
Joram Wilander
affd35071e
Updates to session revoking in v4 ( #7565 )
2017-10-04 11:04:17 -04:00
Joram Wilander
3e144f82e2
Only update session activity on specific endpoints ( #7549 )
2017-10-03 11:16:33 -07:00
Chris
dcf9e96a0b
remove global refs from api/api4 ( #7496 )
2017-09-22 13:54:27 -04:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
Corey Hulen
99b7d65504
Fixing profile image tag ( #7435 )
...
* Fixing profile image tag
* Fixing unit test
* Fixing unit test
2017-09-19 16:34:39 -04:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
Harrison Healey
e30e4cfe3d
PLT-7468 Moved more error pages to use predefined error types ( #7378 )
...
* PLT-7468 Moved more errors to use error types
* PLT-7468 Moved 404 error page to use error types
* Made helper function for rendering external links on error page
2017-09-05 17:40:35 -04:00
George Goldberg
63b10be020
APIv4: NewLocAppError -> NewAppError ( #7328 )
2017-08-31 10:03:16 -04:00
Joram Wilander
b37e17c032
Fix setting profile image for other users ( #7306 )
2017-08-31 08:57:35 -04:00
Saturnino Abril
651dd33b29
set to default value with config is missing ( #7320 )
2017-08-30 13:54:16 -04:00
Corey Hulen
0ab490845a
PLT-6226 Fixing races with licensing ( #7213 )
...
* PLT-6226 Fixing races with licensing
* Fixing build issue
* Fixing licensing issue
* removing commented code
2017-08-16 09:51:45 -07:00
KenmyZhang
504582b824
when session id is invalid,the function "revokeSession" should return ( #7127 )
2017-08-09 13:36:59 -07:00
Joram Wilander
59992ae4a4
PLT-6763 Implement user access tokens and new roles (server-side) ( #6972 )
...
* Implement user access tokens and new roles
* Update config.json
* Add public post permission to apiv3
* Remove old comment
* Fix model unit test
* Updates to store per feedback
* Updates per feedback from CS
2017-07-31 12:59:32 -04:00
JoramWilander
15ad24d160
Minor fix
2017-07-06 17:28:38 -04:00
Joram Wilander
5507154992
Add some basic sorting support for GET /users endpoint ( #6801 )
2017-06-30 12:07:23 -04:00
Joram Wilander
7bde11d21b
Make sure to log errors when failing to send emails ( #6754 )
2017-06-28 12:07:52 -04:00
Joram Wilander
1138dd6770
PLT-6657 Move system console to use v4 endpoints and redux ( #6572 )
...
* Move system console to use v4 endpoints and redux
* Rename logs dir to get past gitignore
* Fix test email
* Update brand unit test
* Updates per feedback
2017-06-14 08:56:56 -04:00
Joram Wilander
202c383d8d
Fix MFA enforcement on login and page load ( #6356 )
2017-05-09 07:48:57 -05:00
Joram Wilander
36a15925dc
Fix user autocomplete for DMs and GMs ( #6265 )
2017-04-28 08:04:13 -07:00
Christopher Speller
9a87bb3af6
Creating common token store and moving email invites and verification to it ( #6213 )
2017-04-27 10:55:03 -04:00
Joram Wilander
6c4c706313
Start moving webapp to Redux ( #6140 )
...
* Start moving webapp to Redux
* Fix localforage import
* Updates per feedback
* Feedback udpates and a few fixes
* Minor updates
* Fix statuses, config not loading properly, getMe sanitizing too much
* Fix preferences
* Fix user autocomplete
* Fix sessions and audits
* Fix error handling for all redux actions
* Use new directory structure for components and containers
* Refresh immediately on logout instead of after timeout
* Add fetch polyfill
2017-04-25 11:46:02 -04:00
Harrison Healey
db68e598a1
PLT-4457 Added API to get multiple users by their usernames ( #6218 )
...
* Allow getting profiles by username without a team
* Changed UserStore.GetProfilesByUsernames to return an array
* PLT-4457 Added API to get multiple users by their usernames
* Changed users/names route to users/usernames
2017-04-25 08:00:41 -07:00
Saturnino Abril
742bab6429
APIv4 PUT /users/{user_id}/active ( #6118 )
2017-04-17 11:06:33 -04:00
Harrison Healey
fb6f2a123c
PLT-5860 Updated copyright date ( #6058 )
...
* PLT-5860 Updated copyright date in about modal
* PLT-5860 Updated copyright notice in JSX files
* PLT-5860 Updated copyright notice in go files
* Fixed misc copyright dates
* Fixed component snapshots
2017-04-12 08:27:57 -04:00
Joram Wilander
dfc6db7374
Refactor switching login type code into app layer and add v4 endpoint ( #6000 )
...
* Refactor switching login type code into app layer and add v4 endpoint
* Fix unit test
2017-04-10 08:19:49 -04:00
Harrison Healey
c7bdce8a66
PLT-5900 Removed automatic configuration of SiteURL ( #5952 )
...
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705 )"
This reverts commit a8e68bd890 .
* Removed automatic configuration of SiteURL
* Reverted unintentional config changes
* Updated help text
* Added link to docs in Site URL warning
* Fixed merge conflict
2017-04-04 11:54:52 -04:00
George Goldberg
232a99f0c7
PLT-6162: Search for users not in a given team. ( #5943 )
2017-04-03 13:11:12 -04:00
Harrison Healey
6ac87d82e3
PLT-2713 Added ability for admins to list users not in any team ( #5844 )
...
* PLT-2713 Added ability for admins to list users not in any team
* Updated style of unit test
2017-03-29 21:11:40 -04:00
George Goldberg
a4764a5c10
PLT-6083: API to get users not in a specific team. ( #5888 )
2017-03-29 21:10:51 -04:00
prixone
8b868828bf
PLT 6125 Allow system admins to create users on closed servers ( #5908 )
...
* Update user.go
Added method to create user accounts using a privileged system_admin account
* Update user.go
Added respective method to handle the the APIv4 call to create users with privileged account(system_admin) by passing server restrictions of EnableUserCreation and/or EnableOpenServer set to false.
* Update user_test.go
Added test case
2017-03-29 21:05:32 -04:00
Joram Wilander
58397f853a
Implement some MFA endpoints for APIv4 ( #5864 )
2017-03-27 09:21:48 -04:00
Joram Wilander
d145c35838
Implement PUT /users/sessions/device endpoint for APIv4 ( #5866 )
2017-03-27 09:17:34 -04:00
Joram Wilander
11b7aa859c
Implement POST /users/email/verify/send endpoint for APIv4 ( #5825 )
2017-03-24 13:42:05 -07:00
Joram Wilander
2a753949f1
Implement POST /users/search endpoint for APIv4 ( #5822 )
...
* Implement POST /users/search endpoint for APIv4
* PLT-2713 Added store functions for searching users that don't have a team
* PLT-2713 Added 'without_team' option when searching users
* PLT-2713 Added 'without_team' option when searching users (v4)
2017-03-23 10:34:22 +00:00
Joram Wilander
fd6e2f3f73
Implement GET /audits endpoint for APIv4 ( #5779 )
...
* Implement GET /audits endpoint for APIv4
* Fix log unit test
2017-03-21 09:06:08 -04:00
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Joram Wilander
8b0eedbbcd
Implement PUT /users/{user_id}/mfa endpoint for APIv4 ( #5743 )
2017-03-13 12:29:56 +00:00
Joram Wilander
1860d05d62
Implement GET /users/autocomplete endpoint for APIv4 ( #5742 )
2017-03-13 12:29:41 +00:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
Saturnino Abril
66c5f7a31c
Implementation of APIv4: POST users/{user_id}/image ( #5537 )
...
* APIv4: POST users/{user_id}/image
* removed 'return' and rebased to master
2017-02-28 08:11:55 -05:00
Saturnino Abril
71d010b7af
APIv4: GET /users/{user_id}/image ( #5526 )
2017-02-27 09:25:28 -05:00