enahum
5f9a28ed6f
Ability to use OAuth login from mobile ( #6432 )
2017-05-17 17:33:44 -04:00
Joram Wilander
0ae6886513
Detach session activity update from statuses ( #6379 )
2017-05-10 09:48:50 -04:00
Joram Wilander
8c8d9dbf8f
Forward port 3.8.1 changes that missed master ( #6362 )
2017-05-09 16:01:06 -04:00
George Goldberg
85c2d5a478
PLT-6393: Fix Websocket CORS header check. ( #6335 )
2017-05-04 17:21:28 -04:00
Christopher Speller
010ec23af3
Removing password reset salt ( #6334 )
2017-05-04 16:36:51 -04:00
Joram Wilander
fe95276ba8
PLT-6492 Use new cookie to determine if user is logged in ( #6317 )
...
* Use new cookie to determine if user is logged in
* Add temporary code for 3.9 to prevent forced re-login
2017-05-04 16:36:31 -04:00
Joram Wilander
49481caf6d
PLT-6262 Add config setting to disable file attachments ( #6301 )
...
* Add config setting to disable file attachments
* Add unit tests
* Updating UI for no attachments (#6312 )
* Update UI text on file upload System Console setting (#6313 )
* Update storage_settings.jsx
* Update en.json
2017-05-04 15:45:19 -04:00
Corey Hulen
a8cf08d6ef
PLT-6322 log error messages in english ( #6234 )
2017-04-28 10:03:52 -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
Joram Wilander
8d1a132eda
Fix OAuth SSO first account creation, add mobile support, and fix refresh tokens ( #6181 )
2017-04-25 09:38:33 -07:00
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
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
Christopher Speller
5398c82e1b
Revert "Usernames must start with a letter ( #5581 )"
...
This reverts commit 2e911b77c3 .
2017-04-18 17:37:25 -04: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
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
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
Carlos Tadeu Panato Junior
c6ef33ba01
get the latest message from the mailbox. It fixes the issue PLT-6176 ( #6005 )
2017-04-10 21:11:00 +01:00
JoramWilander
5c89fe1b8d
Fix configuration setting
2017-04-10 14:47:38 -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
Joram Wilander
331024d33c
Use SiteURL for OAuth login ( #6032 )
2017-04-10 11:26:16 +01:00
Carlos Tadeu Panato Junior
f7b39caf31
get the latest message from the mailbox. It fixes the issue PLT-6176 ( #6005 )
2017-04-07 10:05:34 -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
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
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
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
enahum
1cbe6e7975
Add more OAuth unit tests ( #5946 )
2017-04-03 10:37:58 -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
Carlos Tadeu Panato Junior
88b8df3146
implement GET /commands ( #5865 )
2017-04-03 08:12:50 -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
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
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
enahum
230556f0f7
PLT-6046 remove webrtc from tests ( #5872 )
2017-03-26 09:37:18 -04:00
George Goldberg
c6ded1dbfd
Merge branch 'release-3.7'
2017-03-23 17:38:24 +00:00
Brad Howes
120f5a6f8a
Websocket CORS Support ( #5667 )
...
* Second attept at patching api/websocket.go for CORS support.
* Missing include
* Fixed whitespace formatting so that gofmt passes.
* Added tests for CORS filtering
2017-03-23 09:10:52 -04: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
Josta Yee
e86add77ad
Add http_proxy support for http client ( #5571 )
...
- if 'http_proxy' environment variable is set, respect it when creating http client
- otherwise initialize a http client with timeout settings
Add ogjson to cache even when it fails
in this way we can prevent from requesting unparsable urls repeatedly
Extend expire time of cached link preview data to a week
There's no need to invalidate cache and send request again frequently
Revert timeout
Revert cache_expire_time
2017-03-20 10:20:42 -03:00
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Joram Wilander
0bc3e46082
Implement GET /logs endpoint for APIv4 ( #5778 )
2017-03-16 11:59:44 -07:00