Chris
1ae680aefa
Merge branch 'master' into release-4.7
2018-02-12 12:02:54 -06:00
Jonathan
9707ac3aaf
Added invite_id field to email invite url, along with validation of this field on the server ( #8235 )
2018-02-12 09:16:17 -05:00
Chris
0f703a3368
Eliminate utils.SetLicense calls ( #8217 )
...
* eliminate utils.SetLicense calls
* test fix
* another test fix
* more test fixes
2018-02-07 16:20:51 -06:00
Chris
4e6cc846a6
Finally remove utils.Cfg ( #8113 )
...
* finally remove utils.Cfg
* fix compile error
* another test compilation fix
2018-01-17 13:38:37 -05:00
Carlos Tadeu Panato Junior
3d3a234fca
[PLT-8430] Auto lowercase team and channel names in API requests ( #7992 )
2018-01-12 09:01:45 -05:00
Jesús Espino
dd9ad10d70
[PLT-6936] Translate AppError.Message automatically by default ( #8063 )
2018-01-08 13:13:24 -05:00
Chris
591ef9f352
Remove utils.ClientCfg and utils.ClientCfgHash ( #8041 )
...
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
2018-01-05 16:17:57 -06:00
Chris Duarte
384ca1017a
Allow for custom subject in TestInviteUsersToTeam ( #7999 )
2018-01-02 08:46:31 -05:00
Chris
816a30397d
Role refactor ( #7867 )
...
* role refactor
* add missing file
* fix web test
2017-11-21 11:08:32 -08:00
Tsilavina Razafinirina
ab6ef954b4
PLT-6217 Fixes system message posted to Town Square when a member leaves a team ( #7752 )
...
* Fixes system message posted to Town Square when adding/removing team member (#6483 )
Fixes unit test method call to match RemoveUserFromTeam modification (#6483 )
Fixes system message posted to Town Square when adding/removing team member (#6483 )
Removes unnessary error message
* Updates system message when a user leaves a team (#6483 )
* Changes system message when a user is removed from team (#6483 )
* Adds a new string to be post to town-square when a member is added to a team (#6483 )
2017-11-20 10:15:33 -05:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Chris
78a9774147
add model.NewX funcs for builtin types ( #7692 )
...
* add model.NewX funcs for builtin types
* whoops, forgot to add the new file
2017-10-23 09:40:35 -07: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
Harrison Healey
e522a1c2e4
PLT-7811 Standardized team sanitization flow ( #7586 )
...
* post-4.3 commit (#7581 )
* reduce store boiler plate (#7585 )
* fix GetPostsByIds error (#7591 )
* PLT-7811 Standardized team sanitization flow
* Fixed TestGetAllTeamListings
* Stopped sanitizing teams for team admins
* Removed debug logging
* Added TearDown to sanitization tests that needed it
2017-10-09 10:30:59 -07:00
Chris
9bc7af0c57
Don't use global app for api / api4 tests ( #7528 )
...
* don't use global app for api / api4 tests
* put sleep back. we're gonna have to do some goroutine wrangling
* fix oauth test config assumptions
* jobs package, i'm comin' for you next
* app test fix
* try increasing sleep a little
2017-10-02 09:50:56 +01: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
Saturnino Abril
f6e0310b50
[PLT-7390] Add Type = 'O' in getting open teams at sql store ( #7207 )
...
* add Type = 'O' in getting open teams at sql store
* updated PR
2017-08-24 00:19:15 +08:00
Christopher Speller
fd1301779f
Merge branch 'release-4.1'
2017-08-17 09:35:36 -07: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
Saturnino Abril
fcd56927df
disable intermittently failing test at TestGetAllTeams temporarily ( #7211 )
2017-08-15 23:03:39 +08:00
JoramWilander
d780ac6e27
Update unit test
2017-08-09 09:33:30 -04:00
JoramWilander
1885d2ec2a
Minor updates to team
2017-08-08 16:20:07 -04:00
Harrison Healey
9a23519d07
PLT-6983 Allowed team invite IDs of arbitrary lengths to match API v3 ( #6944 )
2017-07-15 05:06:59 +08:00
George Goldberg
2bf64b54c2
PLT-7025: Fix Slack Import API. ( #6905 )
2017-07-12 22:13:25 +09:00
Saturnino Abril
eea64f8049
[PLT-5864] Move teammate name display setting to the System Console ( #6681 )
...
* move teammate name display setting to the system console
* update all the likes of TeammateNameDisplay names
* fix gofmt error
* rebase and fix conflict
2017-06-30 09:06:59 +01:00
Pieter Lexis
227586e09a
[PLT-5639] Show a message when invited addresses are blocked ( #6691 )
...
* Show a message when invited addresses are blocked
When using the "Send Email Invite" functionality. Emails were sent to
domains that were not on the `RestrictCreationToDomains` list. This
would lead to users getting a message that they can't create an account
if they follow the link in the email.
This commit will check the email addresses before the mails are sent and
warn the user typing them in which ones are blocked.
* Add unit test for domain restrictions on invite
* Invite Member: Clear serverError on toggle
2017-06-29 09:04:14 -04:00
Harrison Healey
c66799a839
Fixed error information being obscured when joining teams with API v4 ( #6751 )
2017-06-28 07:56:29 -04:00
Joram Wilander
82b36b3721
PLT-6815 Do not disconnect websocket when joining a team ( #6746 )
...
* Do not disconnect websocket when joining a team
* Fix eslint error
2017-06-26 13:25:43 -04:00
Joram Wilander
23ccfc845c
Move remaining actions over to use redux and v4 endpoints ( #6720 )
2017-06-26 08:16:57 -04:00
Joram Wilander
2e6fd031d1
Add GET /teams/invite/{invite_id} endpoint for v4 ( #6685 )
2017-06-20 14:55:43 +01:00
Zeger-Jan van de Weg
0c04c5334f
Add APIv4 endpoint to permanently delete teams ( #6604 )
...
Tests are added, however, it only tests the property if its soft deleted. In the
background it will be hard deleted, but that is untestable through a integration
test.
2017-06-15 08:13:18 -04: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
Carlos Tadeu Panato Junior
c540e80166
alsways get the last message from inbucket ( #6251 )
2017-04-27 07:50:49 -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
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
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
Carlos Tadeu Panato Junior
7eb09dbffd
[APIV4] POST /teams/{team_id}/import for apiv4 ( #5920 )
2017-04-03 17:38:26 +01:00
Joram Wilander
5f6d50bff1
Use 201 status code where appropriate for APIv4 ( #5903 )
2017-03-31 09:56:20 -04: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
Saturnino Abril
d0af931e6e
APIv4 put /teams/{team_id}/patch ( #5860 )
2017-03-24 08:17:46 -04:00
Saturnino Abril
f1274a7ec2
Endpoint for APIv4 POST /teams/{team_id}/members ( #5804 )
2017-03-24 09:13:27 +00:00
Joram Wilander
a284cd8c18
Implement some team endpoints for APIv4 ( #5745 )
...
* Implement PUT /teams/{team_id} endpoint for APIv4
* Implement GET /users/{user_id}/teams/{team_id}/unread endpoint for APIv4
* Implement POST /teams/{team_id}/members/ids endpoint for APIv4
* Remove debug statement
2017-03-13 09:46:28 -04:00
Joram Wilander
1860d05d62
Implement GET /users/autocomplete endpoint for APIv4 ( #5742 )
2017-03-13 12:29:41 +00:00
Carlos Tadeu Panato Junior
19ec4c4298
add team exists endpoint for APIv4 ( #5517 )
2017-03-07 19:30:33 -05:00
Andrei Stanciu
25b9b7d26b
ApiV4: GET /users/{user_id}/teams/unread ( #5539 )
2017-02-28 15:47:30 +00:00
Andrei Stanciu
45edfbe719
Get all teams api4 ( #5542 )
2017-02-28 08:41:38 +00:00