Saturnino Abril
ecb10ed62f
APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name ( #6117 )
...
* APIv4 DELETE /users/{user_id}/posts/{post_id}/reactions/name
* updated v3 deleteReaction endpoint
* update parameter of app.DeleteReactionForPost()
* update utils.IsValidAlphaNum, add utils.IsValidAlphaNumHyphenUnderscore, and add related tests
2017-04-22 08:52:03 -04:00
Corey Hulen
e62afeace0
Adding slow pump detection to web_conn and better metrics ( #6114 )
...
* Adding slow pump detection to web_conn and better metrics
* Fixing bad merge
* Fixing typo
2017-04-21 12:38:26 -04:00
Carlos Tadeu Panato Junior
f758f9ff3a
[APIV4] GET /emoji/{emoji_id}/image for apiV4 ( #6141 )
...
* implement GET /emoji/{emoji_id}/image for apiV4
* update per request
2017-04-20 11:14:15 -04:00
Joram Wilander
be9624e2ad
Implement v4 endpoints for OAuth ( #6040 )
...
* Implement POST /oauth/apps endpoint for APIv4
* Implement GET /oauth/apps endpoint for APIv4
* Implement GET /oauth/apps/{app_id} and /oauth/apps/{app_id}/info endpoints for APIv4
* Refactor API version independent oauth endpoints
* Implement DELETE /oauth/apps/{app_id} endpoint for APIv4
* Implement /oauth/apps/{app_id}/regen_secret endpoint for APIv4
* Implement GET /user/{user_id}/oauth/apps/authorized endpoint for APIv4
* Implement POST /oauth/deauthorize endpoint
2017-04-20 09:55:02 -04:00
Harrison Healey
1a0f8d1b3c
PLT-1384 Added websocket event when preferences are updated/deleted ( #6107 )
2017-04-20 13:57:31 +01:00
Joram Wilander
0b919a324a
Don't sanitize returned user when updating a user ( #6095 )
...
* Don't sanitize returned user when updating a user
* Use user model function for clearing private data
2017-04-19 15:38:35 -04:00
Christopher Speller
5398c82e1b
Revert "Usernames must start with a letter ( #5581 )"
...
This reverts commit 2e911b77c3 .
2017-04-18 17:37:25 -04:00
Corey Hulen
86c7e7cacd
Adding hub deadlock detection into master ( #6100 )
2017-04-18 14:28:02 -07:00
Saturnino Abril
d2b86f1b8d
APIv4 POST /reactions ( #6092 )
...
* APIv4 POST /reactions
* update corresponding V3 endpoint
2017-04-18 16:15:15 -04:00
Christopher Speller
92d8fa4aa8
Merge branch 'release-3.8'
2017-04-17 15:08:56 -04:00
Corey Hulen
acc991dea1
PLT-6317 disable file watcher while running from makefile ( #6103 )
...
* PLT-6317 disable file watcher while running from make file
* Removing debug stmt
2017-04-17 10:55:03 -04:00
Carlos Tadeu Panato Junior
80684ad69f
implement DELETE /emoji/{emoji_id} fro apiV4 ( #6021 )
...
implement GET /emoji/{emoji_id} for apiv4
2017-04-17 10:07:28 -04:00
Joram Wilander
74ffb6f98f
Implement GET /webrtc/token endpoint for APIv4 ( #6046 )
2017-04-16 21:14:31 -04:00
Harrison Healey
461a0b3b7c
PLT-6113 Added initial unit tests for cmd package ( #6086 )
...
* Fixed app.CreateUser not using the provided locale
* Added initial unit tests for cmd package
* Disabled unit tests while we move to 'go build'
2017-04-15 13:45:22 -04:00
Harrison Healey
24667e3e54
Fixed copyright dates ( #6109 )
2017-04-13 15:02:18 -04:00
Joram Wilander
8b8aa2ca3c
Refactor OAuth 2.0 code into app layer ( #6037 )
2017-04-12 16:29:42 -04:00
Corey Hulen
a10ad339d1
Fixing error messages ( #5995 )
2017-04-12 16:02:31 -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
Saturnino Abril
e841d0c502
APIv4 GET /posts/{post_id}/reactions ( #6047 )
2017-04-11 14:14:33 +01: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
Saturnino Abril
a3f5cffd46
APIv4 PUT /commands/{command_id} ( #5999 )
...
* APIv4 PUT /commands/{command_id}
* update client parameter and api4 test
2017-04-07 10:06:09 -07:00
Carlos Tadeu Panato Junior
1bd19f006d
implement GET /emoji for apiV4 ( #6007 )
2017-04-07 10:05:14 -07:00
Carlos Tadeu Panato Junior
48d9099882
implement POST /emoji for apiV4 ( #5868 )
2017-04-06 11:15:57 -04:00
Saturnino Abril
d8b732a488
APIv4 GET /users/{user_id}/posts/flagged ( #5984 )
...
* APIv4 GET /users/{user_id}/posts/flagged
* change permission check
2017-04-05 16:18:23 -04:00
George Goldberg
87343176fc
PLT-5977: Only reload clients when client config changes. ( #5989 )
2017-04-05 19:10:20 +01:00
Joram Wilander
97de1d0982
Fix blanking out of FileIds and backwards compatability issue with v3 ( #5950 )
2017-04-04 15:17:47 -04:00
Corey Hulen
6bf080393d
Fixing race conditions in the code base ( #5966 )
...
* Adding initial race detector
* Remove setting of config twice
* Fixing config file watch and config reload on license save
* Fixing config file watch and config reload on license save
* Fixing build error
* Fixing locking issue
* Fixing makefile
* Fixing race in config
* Fixing race in status unit test
* Adding EE race tests
* Fixing race in cluster info
* Removing code that's isn't needed
* Fixing some more races
* Fixing govet issue
2017-04-04 14:42:07 -04:00
George Goldberg
32460bf63b
PLT-6198: Use added to channel system message on default channels. ( #5969 )
...
Use a different sytem message when a user was added to a default channel
by someone else than when they joined themselves.
2017-04-04 18:19:42 +01:00
Corey Hulen
e2a8b3d47e
PLT-6115 adding unit tests for licensing ( #5916 )
...
* Adding test to license sql store
* PLT-6115 adding unit tests for licensing
* Removing unused test
2017-04-04 09:21:32 -07: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
9609a9b89a
PLT-6196: Websocket message when added to a team. ( #5968 )
2017-04-04 08:26:40 -07:00
Corey Hulen
f0e451a2d3
Fixing config file watch and config reload on license save ( #5954 )
...
* Fixing config file watch and config reload on license save
* Fixing config file watch and config reload on license save
* Fixing build error
* Fixing locking issue
2017-04-04 11:24:58 -04:00
George Goldberg
1bcb5cdb9d
PLT-6169: Batch add users to teams. ( #5953 )
2017-04-03 19:32:57 +01:00
enahum
1cbe6e7975
Add more OAuth unit tests ( #5946 )
2017-04-03 10:37:58 -07:00
Saturnino Abril
997eacd4b6
APIv4 DELETE /teams/{team_id} ( #5937 )
2017-04-03 10:35:29 -07:00
Saturnino Abril
43e795448f
APIv4 post /teams/search ( #5931 )
2017-04-03 10:34:14 -07:00
George Goldberg
232a99f0c7
PLT-6162: Search for users not in a given team. ( #5943 )
2017-04-03 13:11:12 -04:00
Carlos Tadeu Panato Junior
88b8df3146
implement GET /commands ( #5865 )
2017-04-03 08:12:50 -04:00
Christopher Speller
67a8770118
Creating unit tests for diagnostics ( #5932 )
2017-04-03 12:01:32 +01:00
Joram Wilander
95da05a8c9
PLT-5750 Add sequence number to websocket connections and events ( #5907 )
...
* Add sequence number to websocket connections and events
* Copy pointer instead of pass by value and use int64 over uint64
* Add more logging to missed events
2017-04-01 11:39:13 -04:00
Joram Wilander
aba07e5cb9
PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ( #5765 )
...
* Fix bug where flagged posts endpoint returned posts on other teams
* Include flagged posts from DMs/GMs
2017-03-31 12:25:39 -04:00
Corey Hulen
00bb479989
PLT-6090 adding ability to read license file from disk ( #5895 )
...
* PLT-6090 adding ability to read license file from disk
* Fixing unit test that fails only sometimes
* Fixing test that fails randomly
2017-03-31 09:54:30 -04:00
Yusuke Nemoto
9a9729f22f
fix typo and missing messages ( #5902 )
2017-03-30 08:20:55 -07:00
Carlos Tadeu Panato Junior
29e6db5713
Implement POST /users/status/ids for apiv4 ( #5894 )
2017-03-30 08:09:39 -07: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
Saturnino Abril
8a31718db1
APIv4 get /channels/{channel_id}/pinned ( #5893 )
2017-03-29 08:09:05 -07:00
Saturnino Abril
2f15523fe8
APIv4 put /posts/{post_id}/patch ( #5883 )
...
* APIv4 put /posts/{post_id}/patch
* Add props and edit permission
2017-03-29 08:06:51 -07:00
Joram Wilander
58397f853a
Implement some MFA endpoints for APIv4 ( #5864 )
2017-03-27 09:21:48 -04:00