Commit Graph

9005 Commits

Author SHA1 Message Date
George Goldberg
22459ee17a PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)
* PLT-7302: Aggregate Elasticsearch indexes over a certain age.

This is done by a scheduled daily job, in order to keep the shard count
to a sensible level in Elasticsearch.

* Use map[string]string instead of StringMap
2017-08-17 10:05:17 -04:00
Saturnino Abril
4e92d18017 set ephemeral message ("message deleted") without ("Only visible to you") visible to users other than the owner (#7201) 2017-08-17 10:14:59 +01:00
Chris
f80d50adbd PLT-7407: Back-end plugin mechanism (#7177)
* begin backend plugin wip

* flesh out rpcplugin. everything done except for minor supervisor stubs

* done with basic plugin infrastructure

* simplify tests

* remove unused test lines
2017-08-16 17:23:38 -05:00
Corey Hulen
4f85ed985d Fixing licensing (#7226) 2017-08-16 11:28:48 -07:00
Corey Hulen
29a7e182a6 PLT-6079 Adding leader election (#7105) 2017-08-16 10:29:45 -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
Harrison Healey
32265df8be PLT-7353 Fixed being unable to use quotes in links (#7171) 2017-08-16 11:04:29 -04:00
George Goldberg
30cfc1aa3e PLT-7368: Don't clear search box on ESC in Chrome. (#7215) 2017-08-16 09:18:36 -04:00
Jason Blais
cc3d8a9180 Add note that users can be searched by token ID in the Users page (#7222)
* Update en.json

* Update custom_integrations_settings.jsx

* Update logs.jsx
2017-08-16 10:18:06 -03:00
Chris
b122381e87 PLT-1649: add response_url support for custom slash commands (#6739)
* add response_url support for custom slash commands

* pr suggestions

* pr update / suggestion

* test fix
2017-08-16 08:17:57 -04:00
Saturnino Abril
5cd45c9394 add emoji to recently used section when reacting to a post in RHS (#7217) 2017-08-16 16:59:05 +08:00
Joram Wilander
bbf6c81a06 Fix out-of-channel mentions for usernames with dashes (#7151) 2017-08-10 08:41:34 -04:00
Chris
ffbf8e51fe PLT-6358: Server HTTP client improvements (#6980)
* restrict untrusted, internal http connections by default

* command test fix

* more test fixes

* change setting from toggle to whitelist

* requested ui changes

* add isdefault diagnostic

* fix tests
2017-08-09 13:49:07 -07:00
KenmyZhang
504582b824 when session id is invalid,the function "revokeSession" should return (#7127) 2017-08-09 13:36:59 -07:00
George Goldberg
ab13de96a0 PLT-7288: Allow CLI to delete teams with no channels. (#7135) 2017-08-09 13:36:27 -07:00
Chris
ff0811e4a4 lint all the things (#7154)
* lint all the things

* remove extra echo
2017-08-09 13:35:49 -07:00
Jonathan
9309ad9d7a PLT-7301: Removed props mutation that was causing JS error, now passing locale as a prop directly instead of fetching it out of the user object (#7162) 2017-08-09 13:33:31 -07:00
Jonathan
fd6856b674 PLT-7206: Remove the "Delete Channel" option for private channels if you're the last channel member and policy setting restricts channel deletion (#7050)
* PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks

* PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values.

* PLT-7206: Added unit tests for showManagementOptions(...)

* PLT-7206: Fixed test case descriptions

* Added unit tests for showCreateOption(...)

* PLT-7206: Added unit tests for canManageMembers(...)

* PLT-7206: Removed last person in channel loophole from server-side code

* PLT-7206: Reverted config.json

* PLT-7206: Fixed double negatives in unit test names

* PLT-7206: PR feedback - Removed confusing comment and unused variable
2017-08-09 09:34:09 -04:00
Chris
6b741c4cea testify (#7116) 2017-08-08 17:40:46 -05:00
Saturnino Abril
c42510a7f4 add preparatory upgrade code for 4.2 (#7157) 2017-08-08 16:13:55 -04:00
enahum
70fe9e9e97 translations PR 20170807 (#7144)
* translations PR 20170807

* Fix pt-BR variable
2017-08-09 00:33:25 +08:00
Saturnino Abril
e359e28018 [PLT-7317] Fix emoji picker preview (#7136)
* fix emoji picker preview

* make use of sprite-sheet CSS for all system emojis
2017-08-08 23:48:41 +08:00
Harrison Healey
6964ae61dc Added unit tests for getFile headers (#7045)
* Added unit tests for getFile headers

* Fixed exe type test to run correctly on multiple platforms

* Make sure we close the body on all Client4 calls

* Changed Response.Response field to Response.Header

* Clarified type of Response.Header
2017-08-08 23:47:17 +08:00
Tejay Cardon
2105b10ccd FIXES PLT-6648 Add support for Server Side Encryption on S3 (#6467)
Help from Jason Blais on wording
Update storage_settings.jsx
Update en.json
2017-08-08 10:15:20 -04:00
George Goldberg
7683e751ab PLT-7311 Don't allow empty search in searchbar. (#7133) 2017-08-08 08:54:23 -04:00
Saturnino Abril
dcaed2c8e3 uncomment upgrade for 4.1 (#7128) 2017-08-08 08:48:01 -04:00
George Goldberg
5132c62d15 PLT-7309: Fix webook management when permitted for non-admins. (#7132) 2017-08-08 08:45:17 -04:00
George Goldberg
82407bd44a PLT-7313: Show help popover when search focused and empty. (#7134) 2017-08-08 08:44:12 -04:00
Saturnino Abril
bec6b90b8d bump mattermost-redux#e529791 at yarn.lock (#7141) 2017-08-08 08:42:27 -04:00
Chris
2853b3a47b PLT-7263: truncate long issue descriptions (#7142)
* truncate long issue descriptions, add tests

* minor tweak to text template

* add license header

* remove tests for now (since dependency is blocked)

* remove second jira link
2017-08-08 08:41:33 -04:00
94117nl
2c8fe15cc8 Change "Cancel" button to "Close" (#7131) 2017-08-08 17:11:24 +08:00
George Goldberg
a4ce7371ca Revert "PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag (#7109)" (#7147)
This reverts commit f4638aecec.
2017-08-08 09:58:28 +01:00
George Goldberg
f4638aecec PLT-6609: Don't highlight #hashtag.dot when searching for #hashtag (#7109) 2017-08-07 17:10:33 +08:00
Asaad Mahmood
9eb8d93a0d Updating user access token UI (#7091)
* Updating user access token UI

Updating help text

Updating tokenlistClass

Updating string for token

Updating translations

Updating translations

Updating translations

* Updating translations

* Minor UI fix

* Update manage_tokens_modal.jsx

* Update user_settings_security.jsx

* Update en.json

* Fix merge conflicts
2017-08-06 17:23:16 -07:00
Jonathan
178ccd16cb System Console: Email notification content setting (#7122)
* PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code

* PLT-7195: Modified batch emails to respect email notification content type setting

* PLT-7195: Tweaking the colours a bit

* PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit

* PLT-7195: Added unit tests for non-batched emails

* Checked license when applying email content settings

* Changed return type of getFormattedPostTime
2017-08-06 07:52:35 +08:00
Saturnino Abril
9f3713aa98 [PLT-7231/PLT-7306] Fix GitLab SSO failure with non-English locale and make config locales more forgiving (#7125) 2017-08-06 06:45:46 +08:00
Eric Sethna
2ab2baba58 Add beta tag to Elasticsearch (#7121)
* make Elasticsearch beta

* make Elasticsearch beta

* make Elasticsearch beta
2017-08-05 03:29:29 +08:00
Chris
efe477abf8 make suggestion box focus more robust, require more explicit enabling (#7123) 2017-08-04 14:07:08 -05:00
Chris
efdbb6ee54 fix some webhook attachments not truncating, lower short text to 300 chars (#7120) 2017-08-04 14:24:53 -04:00
Harrison Healey
fb2022fb1c PLT-6924 Added ability to disable file uploads/downloads on old mobile apps (#7117) 2017-08-04 11:05:33 -07:00
Harrison Healey
3998659236 PLT-7267 Refactored tracking of recent emojis to hide deleted emojis (#7102)
* Fixed local ESLint error

* PLT-7267 Refactored tracking of recent emojis to hide deleted emojis
2017-08-04 11:03:41 -07:00
Saturnino Abril
2c8a5ffd97 [PLT-2407] Improve ordering of uploaded attachments (#7022)
* improve ordering of uploaded attachments

* use LocalizationStore.getLocale() when comparing file names
2017-08-04 11:00:23 -07:00
William Gathoye
c973608ccb Fix issue 4161 (#6919)
* Fix issue 4161

* Minor tweaks

* Fix log title
2017-08-05 01:56:26 +08:00
Eric Sethna
a7521dc7f1 Update for 4.1 (#7088) 2017-08-05 01:56:00 +08:00
Asaad Mahmood
fcede31bed PLT-7295 - Submitting UI changes for Jira (#7097)
* PLT-7295 - Submitting UI changes for Jira

* Updating help text

* Revert "Updating help text"

This reverts commit 2885b290c6.
2017-08-05 01:55:26 +08:00
Joram Wilander
5a8c1c18e5 PLT-7287 Move access token text in user list to under the dropdown (#7099)
* Move access token text in user list to under the dropdown

* Updating UI for token help text (#7107)
2017-08-05 01:51:08 +08:00
Jonathan
28726460d7 PLT-7223: Update "Database schema cannot be upgraded" error message to indicate expected version (#7079)
* PLT-7223: Updated error message to include relevant schema versions

* PLT-7223: Removed unit test. It poisons database state, and there's no recovery mechanism, because the code under test causes an ungraceful exit, so we can't fix the database in a defer statement. This causes the next test execution or server start to fail.

* PLT-7223: Incorporated @crspeller's suggestions into error message string
2017-08-04 12:44:44 -04:00
Asaad Mahmood
a5f1a77fa5 Ui improvements (#7092)
* PLT-7121 - Making channel header text dynamic

* PLT-7268 - Fixing search results in compact view

* PLT-7248 - Adjusting space between post controls

* PLT-7303 - Fixing manage members button

* Revert "PLT-7303 - Fixing manage members button"

This reverts commit 7dcb68a8e3.
2017-08-04 23:45:59 +08:00
George Goldberg
fac865bf65 Set Elasticsearch replica count default to 1. (#7108) 2017-08-04 14:48:17 +01:00
Harrison Healey
885c7e277d PLT-7261 Fixed incorrect content type for preview and thumbnail images (#7119) 2017-08-04 09:05:16 -04:00