Commit Graph

8374 Commits

Author SHA1 Message Date
Carlos Tadeu Panato Junior
dc5ddd4ac0 PLT-6376: Button for "Add Members to Team" modal should say "Add", not "Go" (#6185) 2017-04-24 12:30:08 +01:00
Justin Wyer
788df7a4bd Fix the flaky TestTeamStoreSearchByName test in store/sql_team_store_test.go (#6187) 2017-04-24 12:28:11 +01: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
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
Harrison Healey
81706b402d PLT-6368 Changed client to always use window.location.origin over SiteURL (#6193) 2017-04-21 12:15:40 -04:00
Carlos Tadeu Panato Junior
b57b5abce8 implement POST /logs for apiV4 (#6143) 2017-04-21 10:16:35 +01:00
prixone
08822def53 [PR5878] Update to improve maintability [PR5938 required]... (#5940)
For this update to properly work [PR 5938](https://github.com/mattermost/platform/pull/5938) is required!
2017-04-20 15:19:31 -04:00
George Goldberg
430e93dfc1 PLT-6152: Set Header in channel intro obeys permissions. (#6156) 2017-04-20 08:46:16 -07:00
Carlos Tadeu Panato Junior
c94754e94f [PLT-6288] add way to view in the browser and not download in apiV4 (#6062)
* add way to view in the browser and not download

* add DetectContentType to get the contenttype for the file

* update per review
2017-04-20 16:34:07 +01:00
Harrison Healey
4a49dec7ad PLT-1384 Synced preferences over the websocket (#6108) 2017-04-20 16:30:50 +01:00
Ryan Wang
ff8b91027f Add modified view members modal to Town Square (#5695) 2017-04-20 16:25:03 +01: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
George Goldberg
55bbf15fc7 PLT-6112: Add some more unit tests to the model package (#6142)
* Unit Tests for model/push_response.go

* Unit tests for security_bulletin.go

* Unit tests for webrtc.go

* Unit tests for model/password_recovery.go

* Add missing headers.

* Unit tests for model/license.go

* Tidy up existing tests.

* Simplify JSON to/from tests.

* Fix gofmt
2017-04-20 09:58:54 -04:00
Carlos Tadeu Panato Junior
8723f61f45 implement [PLT-4118] Help text on "Private Channel --> Set Channel Purpose" is incorrect (#6144) 2017-04-20 09:58:22 -04:00
Saturnino Abril
b0e5713680 APIv4 POST /channels/group (#6166) 2017-04-20 09:55:43 -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
doh5
b79439e92b Add IDs to the system console boolean (#6138)
Currently under testing
2017-04-20 13:52:16 +01:00
doh5
e2b28f06dc Add ID to the system console save button. (#6147)
under testing
2017-04-20 13:46:27 +01:00
Harrison Healey
fba10a85e4 Fix accidentally reverted English strings (#6148) 2017-04-20 13:45:47 +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
Pierre Rudloff
bc906abd66 Move "Start Video Call" option to the bottom of the profile popover (#5853) 2017-04-18 21:21:52 -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
VeraLyu
8aab290d10 PLT-6240: Remove own pinned post from RHS when removed from channel (#6098)
Dispatch REMOVE_POST event after successfully initiating delete post,
others get informed by websocket event and will mark the msg as deleted
but not delete from RHS.
2017-04-18 08:47:27 -07:00
lindalumitchell
d5ae46c96c Update markdown test for lists (#6131)
* Update for no line breaks in lists

* Updating line breaks in lists expected behavior
2017-04-18 08:26:25 -07:00
Jason Blais
b1c47922ed GH-5847 Add missing localization string (#6130)
* Add missing localization string to channel_intro_messages.jsx

* Update en.json

* Fix indentation
2017-04-18 08:26:10 -07:00
enahum
c10517188d Add missing GM locs (#6116) 2017-04-18 11:49:50 +01:00
lindalumitchell
17091d0ccb Add special characters hashtag tests (#6132) 2017-04-18 11:05:31 +01:00
Christopher Speller
92d8fa4aa8 Merge branch 'release-3.8' 2017-04-17 15:08:56 -04:00
Saturnino Abril
742bab6429 APIv4 PUT /users/{user_id}/active (#6118) 2017-04-17 11:06:33 -04:00
Corey Hulen
a2f5ad0d14 PLT-5863 Fixing double display of error message (#6104) 2017-04-17 10:55:26 -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
Corey Hulen
3207886514 Adding the ability to disable full text search queries for master (#6102) 2017-04-17 10:54:26 -04:00
Corey Hulen
7e29dc65aa PLT-6298 fixing javascript error on HA system console page (#6080) 2017-04-17 10:46:53 -04:00
Jason Blais
8d67fa03a9 Update en.json (#6064) 2017-04-17 10:46:37 -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
Simon Soriano
f9ac95c920 Add CLI tool for validating the config.json file (#6041) 2017-04-17 10:44:10 -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
Asaad Mahmood
62974f19cd Ui improvements (#6089)
* PLT-6084 - Fixing emoji reaction overflow

* PLT-6158 - Fixing pinned badge alignment in RHS

* PLT-6306 - Post alignment in compact view

* PLT-6266 - Adjusting spacing for files (compact)

* PLT-6245 - Adjusting spacing in emoji screen modal

* PLT-6237 - Adjusting filter in system console

* PLT-6247 - Adjusting spacing on code block tag

* PLT-6302 - Margins not equal for paragraphs in post
2017-04-16 21:27:15 -04:00
Joram Wilander
74ffb6f98f Implement GET /webrtc/token endpoint for APIv4 (#6046) 2017-04-16 21:14:31 -04:00
Ryan Wang
c7f26bb110 Update error message when password is too long (#6001) 2017-04-16 17:08:37 -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
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
prixone
0b55dc133b Update global_actions.jsx (#5938)
Clicking @ should append @[username] to the search
2017-04-12 14:30:09 -07:00
VeraLyu
59185babdc PLT-4176: Remain RHS pin post unchanged after channel switching (#6038)
Prevent changes to search_store after switched channel so that
RHS pin posts can continue to display previous content.
2017-04-12 14:28:35 -07:00
Yusuke Nemoto
0aa84799fd svg preview (#6045) 2017-04-12 14:26:02 -07:00
Joram Wilander
9b9788cf11 Prevent multiple clicks on post retry (#6055) 2017-04-12 14:25:00 -07:00