Commit Graph

719 Commits

Author SHA1 Message Date
Corey Hulen
3207886514 Adding the ability to disable full text search queries for master (#6102) 2017-04-17 10:54:26 -04:00
gstraube
160a66c952 [PLT-6102] Increase maximum length of field User.Position (#6044)
* Increase maximum length of field User.Position

* Rename method
2017-04-17 10:45:51 -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
Carlos Tadeu Panato Junior
d8d0716122 [APIV4] POST /commands/{command_id}/regen_token for apiV4 (#6052)
* implement POST /commands/{command_id}/regen_token for apiV4

* update comment
2017-04-16 16:49:57 -04:00
Andy Lo-A-Foe
8072bb6f57 Fix Go client’s GetTeamByName() (#6088) 2017-04-12 14:21:19 -07:00
Joram Wilander
8b8aa2ca3c Refactor OAuth 2.0 code into app layer (#6037) 2017-04-12 16:29:42 -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
Saturnino Abril
3b1088f3bd APIv4 DELETE /commands/{command_id} (#6012) 2017-04-10 09:27:10 -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
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
Christopher Speller
997b35d2fc Increment server version number 2017-04-05 08:57:49 -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
9609a9b89a PLT-6196: Websocket message when added to a team. (#5968) 2017-04-04 08:26:40 -07:00
Carlos Tadeu Panato Junior
0a81dd9fff implement GET /teams/{team_id}/commands/autocomplete (#5951) 2017-04-03 21:20:04 -07:00
Carlos Tadeu Panato Junior
9dce502814 Implement POST /teams/{team_id}/invite/email for apiV4 (#5944) 2017-04-03 21:32:09 -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
e49f5928c5 PLT-6139 (Server): Private Channel member managing (#5941)
Adds an EE policy feature to allow restricting system-wide which level of
Admins can manage the membership of private channels.
2017-04-03 13:13:28 -04: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
da5265681d [APIV4] Implement PUT /users/{user_id}/status for apiV4 (#5928) 2017-04-03 17:40:45 +01:00
Carlos Tadeu Panato Junior
7eb09dbffd [APIV4] POST /teams/{team_id}/import for apiv4 (#5920) 2017-04-03 17:38:26 +01:00
Carlos Tadeu Panato Junior
88b8df3146 implement GET /commands (#5865) 2017-04-03 08:12:50 -04: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
Saturnino Abril
5d56fbb036 APIv4 POST /posts/{post_id/pin & unpin (#5906)
* APIv4 get /posts/{post_id}/pin & unpin

* remove PinnedPost from api test helper
2017-03-31 09:58:47 -04:00
Joram Wilander
4e224c2996 Implement PUT /channels/{channel_id}/members/{user_id}/notify_props for APIv4 (#5901) 2017-03-31 09:55:37 -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
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
Saturnino Abril
8a31718db1 APIv4 get /channels/{channel_id}/pinned (#5893) 2017-03-29 08:09:05 -07:00
George Goldberg
64f80decaf PLT-6057: Fix empty search results with in/from. (#5892)
When search query was empty but in/from was set, search results didn't
include posts containing hashtags.
2017-03-29 08:08:36 -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
060b9f92c3 Remove API endpoints being deprecated in 3.8 (#5880) 2017-03-28 08:07:15 -04:00
Joram Wilander
daca0d93f6 Move WebSocket API to it's own package and add websocket v4 endpoint (#5881) 2017-03-28 09:58:19 +01:00
Joram Wilander
58397f853a Implement some MFA endpoints for APIv4 (#5864) 2017-03-27 09:21:48 -04:00
Joram Wilander
a0d5c01dfd Implement client config/license endpoints for APIv4 (#5867) 2017-03-27 09:19:53 -04:00
Joram Wilander
d145c35838 Implement PUT /users/sessions/device endpoint for APIv4 (#5866) 2017-03-27 09:17:34 -04:00
George Goldberg
b489a5bb01 PLT-5904 (Server): Config flag for SMTP Cert Check. (#5857) 2017-03-27 08:43:27 -03:00
Saturnino Abril
01aaccb340 APIv4 post /channels/ids (#5845)
* APIv4 post /channels/ids

* updated enpoint as /teams/{team_id}/channels/ids
2017-03-27 08:41:40 -03:00
George Goldberg
720ee81113 PLT-6063: AddUserToTeam permission depends on policy. (#5869)
Uses same policy setting as InviteUserToTeam.
2017-03-26 09:37:39 -04:00
Joram Wilander
ea74613444 Implement some team endpoints for APIv4 (#5870)
* Implement GET /users/{user_id}/teams/members endpoint for APIv4

* Implement DELETE /teams/{team_id}/members/{user_id} endpoint for APIv4
2017-03-25 03:38:24 -03:00
Joram Wilander
69fb47b88b Add query parameters to get posts v4 endpoint (#5858)
* Add since query paremeter to get posts v4 endpoint

* Add query paremeters for before/after to get posts v4 endpoint
2017-03-24 13:46:11 -07:00
Joram Wilander
28a78d7607 Implement some channel endpoints for APIv4 (#5846)
* Add v4 endpoint for getting the channels on a team for a user

* Implement PUT /channels/{channel_id}/patch endpoint for APIv4

* Implement POST /teams/{team_id}/channels/search endpoint for APIv4

* Update permission check
2017-03-24 13:45:34 -07:00