Commit Graph

8973 Commits

Author SHA1 Message Date
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
Chris
e06686dbf4 fix caret position after autocomplete (#7118) 2017-08-03 20:40:53 -04:00
Chris
df1ff4ec97 PLT-7212: fix missing webhook post attachments (#7011)
* fix missing webhook post attachments

* make ProcessSlackAttachments return a new slice instead of modifying it
2017-08-03 16:25:47 -07:00
Saturnino Abril
dc884983e6 close post control button after reacting to a post (#7110) 2017-08-03 17:14:10 -04:00
Corey Hulen
2dbe30cba3 Adding debugging to index creation (#7053)
* Adding debugging to index creation

* Fixing debug stmt

* Fixing debug stmt
2017-08-03 14:03:29 -07:00
94117nl
304377c427 PLT-6455 Migrate installed_oauth_apps.jsx to be pure and use Redux (#7059)
* Migrate installed_oauth_apps.jsx to be pure and use Redux

* Props docs typo, add test, remove commands_container, bump yarn.lock
2017-08-03 16:24:30 -04:00
Alex White
3174c9a07d PLT-6823 Removes option to set notification sound in Edge (#6883)
* Remove sound notification support for Edge

* Move the sound test to utils and also stop the dings for Edge along with firefox

* Fix some styling issues

* Remove sound notification support for Edge

Move the sound test to utils and also stop the dings for Edge along with firefox

Fix some styling issues

* Reversing soundOptions util method. Fixing some string IDs for clarity

* Fixing a syntax error

* Restructure HasSoundOptions blocks to not begin with negative statement

* Fixing paranthesis
2017-08-03 10:03:51 -04:00
94117nl
ea095d6206 GH-6452 Migrate installed_command.jsx to be pure and use Redux (#6903)
* Migrate installed_command.jsx to be pure and use Redux

* Add test for InstalledCommand component

* Fix failing test and typo

* Whoops. Revert back deleted filter

* Add filter test

* Remove commands related code from /stores/integration_store.jsx
2017-08-03 09:25:07 -04:00
David Meza
b54d134299 PLT-6484 Add /leave command to leave a channel (#6402)
* PLT-6484 Add /leave command to leave a channel

* Text changes requeted on review.

* PLT-6484 Display the right error message when trying to /leave town-square

* PLT-6484 Be able to execute /leave command in direct and group message channels with the same effect as clicking x

* PLT-6484 Refactor to create new leave_private_channel_modal.jsx

* PLT-6484 Remove previous leave private channel logic to use new leave_private_channel_modal.jsx

* Remove dot in command description. Change localized error when leaving Town square.

* disable /leave command in reply threads on the right-hand sidebar, since it is not obvious which channel you should leave
2017-08-03 08:59:42 -04:00
lindalumitchell
19804c4e40 Update test .md files with new emoji set (#7104)
* Updated with new emoji set for testing

Changed test-emoticons4.md from Symbols and formatting tests to Flags, Special, and formatting tests.

* Updated with new emoji set for testing

Updated test-emoticons3.md from Places to Objects and Symbols.

* Updated with new emoji set for testing

Updated test-emoticons2.md from Objects to Food, Activity, and Travel.

* Updated with new emoji set for testing

Updated test-emoticons1.md to new emoji set, still containing the intro, People, and Nature sections.
2017-08-03 08:54:34 -04:00
Harrison Healey
9c037dd18a PLT-7250 Updated marked to better handle trailing periods on URLs (#7098) 2017-08-03 08:52:18 -04:00
Joram Wilander
713673c888 PLT-7194 Add email when adding user access tokens (#7087)
* Add email when adding user access tokens

* Update en.json

* Update en.json
2017-08-03 08:51:52 -04:00
Corey Hulen
43c523e839 PLT-7130 adding more generic push notificaiton message. (#7044)
* PLT-7130 adding more generic push notificaiton message.

* Fixing strings
2017-08-03 08:38:17 -04:00
Saturnino Abril
f3934bc7e1 [PLT-1249] Add close button 'x' to the right of a link preview (#7017)
* add close button 'x' to the right of a link preview

* Updating webhook UI

* UI improvements for close button

* Adding hover state

* Making the close button visible on mobile

* previews are permanently disabled/closed for that link

* make post as required props

* fix JS error of undefined

* fix update issue both at center and RHS view
2017-08-03 14:29:31 +08:00
Joram Wilander
345bb2236f Fix teams being incorrectly marked unread across tabs (#7062) 2017-08-02 17:09:53 -04:00
Joram Wilander
eee711145c Do not show non-autocomplete commands for system admins (#7094) 2017-08-02 17:07:30 -04:00
Christopher Speller
873e4f4903 Merge pull request #7085 from saturninoabril/merge-4.0.2
Merge 4.0.2
2017-08-02 12:53:01 -07:00
Jonathan
76bfd279b3 PLT-7140: On slow connection searching should clear RHS and show spinner (#7014)
* Added a RECEIVED_SEARCH_TERM event on search form submit, attempted to modify Search Results Header title when loading search results

* Fixed RHS behaviour so that loading icon is shown while waiting for search results on slow connections.

* PLT-7140: Fixed all eslint issues

* PLT-7140: reverted changes to config/config.json that were accidentally committed

* PLT-7140: Removed all static function decorators that I previously added to jsx files. These were suggested by eslint, but can cause issues for functions that override parent functionality. still can't reproduce the errors seen on spinmint locally, so I'm guessing at this point

* PLT-7140: Changed var to const

* Updating UI for search results loading (#7096)
2017-08-02 15:38:54 -04:00
enahum
fa3dd6a84b If login is using mobile respond with JSON object (#7030) 2017-08-03 02:39:14 +08:00
Harrison Healey
b796960a25 PLT-7204 Fixed markdown preview (#6997)
* PLT-7204 Fixed markdown preview

* Updated style of Textbox component
2017-08-02 09:29:09 -07:00
Joram Wilander
dab299c9af Fix commenting on deleted post (#7095) 2017-08-02 08:25:27 -07:00
Joram Wilander
4d45214394 Add more debugging info to server logs for failed OAuth requests (#7039) 2017-08-02 08:05:36 -07:00
Joram Wilander
2c5eefa17a Fix TestUpdateOAuthUserAttrs unit test (#7037) 2017-08-02 07:50:14 -07:00
Jonathan
ca80b7fe31 PLT-7145: platform user deleteall expects a user as argument (#7002)
* PLT-7145: Fixed typo preventing deleteall command from working as expected. Cleaned up spelling and error messages throughout the user module

* PLT-7145: Grammar and wording suggestions from PR 7002
2017-08-02 07:26:27 -07:00
George Goldberg
29be10ca2f PLT-7275: Configure replica/shard count for Elasticsearch indexes. (#7093) 2017-08-02 09:50:09 -04:00
Jonathan
b47cf82043 PLT-7238: Modified channel member dropdown list to show user name, as defined by display settings, rather than full name (#7086) 2017-08-02 09:29:44 -04:00
Joram Wilander
4dcaa5b676 Use redux selector for getting siderbar channels (#7078) 2017-08-02 09:29:15 -04:00
Joram Wilander
6ff7e4ea4b Change refresh on version change to be after explicit click (#7090) 2017-08-02 08:44:25 -04:00
Chris
65817e13c7 PLT-6965 jira integration (plus plugin scaffolding) (#6918)
* plugin scaffolding / jira integration

* add vendored testify packages

* webhook fix

* don't change i18n ids

* support configuration watching

* add basic jira plugin configuration to admin console

* fix eslint errors

* fix another eslint warning

* polish

* undo unintentional config.json commit >:(

* test fix

* add jira plugin diagnostics, remove dm support, add bot tag, generate web-safe secrets

* rebase, implement requested changes

* requested changes

* remove tests and minimize makefile change

* add missing license headers

* add missing comma

* remove bad line from Makefile
2017-08-02 01:36:54 -07:00
Joram Wilander
c6bf235ec2 Do not show commented on header for ephemeral posts (#7069) 2017-08-01 13:34:30 -04:00
Harrison Healey
d79e538d27 PLT-7262 Stopped including emoji sprite sheets multiple times in CSS (#7077)
* PLT-7262 Stopped including emoji sprite sheets multiple times in CSS

* Changed EmojiPickerItem to be a PureComponent
2017-08-01 13:28:39 -04:00
Harrison Healey
0cc5854b64 Fixed error thrown when viewing a channel containing an invalid emoji reaction (#7080)
* Added better error handling for when reacting with a non-existant emoji

* Re-added emoji aliases ca, za, and pk
2017-08-01 13:27:18 -04:00
Saturnino Abril
1026b7d84c add POST_UPDATED constant for socket events (#7074) 2017-08-01 23:23:37 +08:00