Commit Graph

8789 Commits

Author SHA1 Message Date
Alex Ford
e6ca2974cd Fix for SignupEmail invite handling (#6820)
* Fix SignupEmail invite handling

* Fix eslint errors
2017-07-07 12:13:13 -04:00
George Goldberg
39b071bc0e Add optional config parameter to test elasticsearch endpoint. (#6877) 2017-07-07 12:12:14 -04:00
George Goldberg
db2f6cf076 PLT-6976: Elasticsearch capitalisation and tests. (#6839)
* Fixes Elasticsearch to have consistent capitalisation everywhere
  across the code and UI (except the config file unfortunately).
* Adds basic unit tests for Elastichsearch.
* Adds a Elasticsearch docker image to the Makefile to enable testing
  the Elasticsearch feature.
2017-07-07 15:36:17 +01:00
George Goldberg
0495a51949 PLT-6916: Redesign the jobs package and Jobserver. (#6733)
This commit redesigns the jobserver to be based around an architecture
of "workers", which carry out jobs of a particular type, and "jobs"
which are a unit of work carried by a particular worker. It also
introduces "schedulers" which are responsible for scheduling jobs of a
particular type automatically (jobs can also be scheduled manually when
apropriate).

Workers may be run many times, either in instances of the platform
binary, or the standalone jobserver binary. In any mattermost cluster,
only one instance of platform OR jobserver must run the schedulers. At
the moment this is controlled by a config variable, but in future will
be controlled through the cluster leader election process.
2017-07-07 15:21:02 +01:00
Saturnino Abril
6e0f5f0969 add preparatory upgrade code for 4.1 (#6870) 2017-07-07 08:52:30 -04:00
Saturnino Abril
3d382cfa0e Uncomment upgrade for 4.0 (#6844) 2017-07-06 22:07:27 +08:00
Asaad Mahmood
d64d1f4029 PLT-6905 - Updating channel header design (#6789)
* PLT-6905 - Updating channel header design

* Updating border-radius

* Updating radius for wide icons

* Updating trigger for overlay

* Updating UI for channel header

* Updating channel header sizing

* Updating channel header css

* Updating sidebar css

* Updating status icons

* Adjusting border

* Updating comment

* Removing type from status icon

* Fixing UI issues for the channel header/sidebar

* make "Add a channel description" open the channel header modal

* Updating status and opacity

* Updating stauts icon positioning

* Updating description and heading size

* Updating UI changes

* Updating UI changes

* add a focused class to the parent div .search__form and then remove when hover away

* Fix active state for pinned posts icon

* Updating UI changes

* Update channel header text
2017-07-06 09:07:43 -04:00
Joram Wilander
97cfe62309 Remove bad checks for emoji picker preview feature (#6861) 2017-07-06 08:32:34 -04:00
Saturnino Abril
beac2b0da0 teammate name display setting: username as default or full_name when LDAP/SAML is enabled (#6857) 2017-07-05 22:35:17 -04:00
Saturnino Abril
279c7b7fda [PLT-6969] System console setting for the emoji picker (#6809)
* system console setting for the emoji picker

* remove state.emojiPickerEnable

* update url to /admin_console/customization/emoji
2017-07-06 08:48:34 +08:00
Joram Wilander
918ce03622 Fix MFA setup page (#6856) 2017-07-06 06:02:53 +08:00
Joram Wilander
73527800a1 Properly store recently used emoji when reacting (#6854) 2017-07-06 05:02:49 +08:00
Harrison Healey
29b22f13c5 PLT-6975 Fixed image thumbnail size being calculated incorrectly (#6855) 2017-07-06 05:01:32 +08:00
Jeff Schering
4508fa09e2 Add dependencies for 4.0 release (#6853) 2017-07-06 05:00:55 +08:00
Saturnino Abril
af35dcf9c4 [PLT-6800] Clear center and rhs view on other window when leaving a channel (#6723)
* clear center and rhs view on other window when leaving a channel

* move redirection to websocket actions

* close sidebar at websocket action
2017-07-05 16:36:50 -04:00
Joram Wilander
04e364f4f7 Do not scroll center channel to bottom when posting in RHS (#6852) 2017-07-05 16:28:32 -04:00
enahum
d59cac0314 translations PR 20170703 (#6836)
* translations PR 20170703

* Fix bad merge
2017-07-05 16:21:54 -04:00
Saturnino Abril
81a893b556 fix position of emoji picker (#6837) 2017-07-05 16:21:04 -04:00
Joram Wilander
4efb0f37b7 Increase post visibility in current channel when receiving posts (#6848) 2017-07-05 16:20:25 -04:00
Joram Wilander
dd78a3f1fa Fix some scrolling issues (#6851) 2017-07-05 16:20:09 -04:00
Harrison Healey
039271394e PLT-6753 Fixed deactivated users counting against max members on a team (#6758)
* PLT-6753 Fixed deactivated users counting against max members on a team

* Removed nested sql query when checking the number of team members
2017-07-05 09:10:15 -07:00
Asaad Mahmood
857d280007 Minor UI Updates (#6842)
* PLT-6964 - Updating new theme

* PLT-6827 - Fixing error bar link color issue
2017-07-05 23:29:58 +08:00
George Goldberg
65289f26e7 Fix some duplicate message IDs in Bulk Importer. (#6850) 2017-07-05 07:49:30 -07:00
Joram Wilander
4219d39e97 Return channel member immediately if user is already in channel (#6847) 2017-07-05 09:06:55 -04:00
Jason Blais
0e1a9b7ebf Add App Directory link to Integrations pages (#6731)
* Update installed_commands.jsx

* Update installed_incoming_webhooks.jsx

* Update installed_oauth_apps.jsx

* Update installed_outgoing_webhooks.jsx

* Update integrations.jsx

* Update quick_switch_modal.jsx

* Update en.json

* Decrease help text size in Integrations page

* Fix syntax error

* Tweak help text size based on Asaad's feedback

* Fix indentation

* Update help text classname to backstage-list__help

* Update _backstage.scss

* Remove the horizontal line in integrations page

* Renamed template strings for integrations help links
2017-07-05 21:03:49 +08:00
Joram Wilander
0a1b34366b Update mattermost redux to latest (#6846)
* Update to latest mattermost-redux

* Add back recent and new users to team analytics page

* Update to latest
2017-07-05 09:00:30 -04:00
Chris
5bd60a4d1e add /search command (#6741) 2017-07-05 09:26:31 +08:00
Saturnino Abril
8f8a978e84 [PLT-6838] Restrict channel delete option per permission policy even for last channel member (#6706)
* channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page

* apply to public channel only and add restriction to API layer

* updated channel deletion
2017-07-05 06:32:27 +08:00
Saturnino Abril
6d6ed309b9 add "TeammateNameDisplay": "full_name" to config.json (#6845) 2017-07-04 15:27:44 -07:00
Joram Wilander
8ec8948c84 PLT-6554 Add config setting to control enabling API version 3 (#6835)
* Add config setting to control enabling API version 3

* Update help text for APIv3 config setting (#6843)

* Update configuration_settings.jsx

* Update en.json
2017-07-04 16:12:02 -04:00
Harrison Healey
4bd7b68b24 PLT-6960 Only update post.EditAt when the message changes (#6840) 2017-07-04 15:17:54 -04:00
Christopher Speller
1858fba7d4 Removing unnessisary go routines to fix random test failure. (#6838) 2017-07-04 09:37:52 -04:00
94117nl
29b98ec383 PLT-6445 Migrate add_command.jsx to be pure and use Redux (#6804)
* Migrate add_command.jsx to be pure and use redux

* Add basic test for AddCommand component
2017-07-04 08:58:45 -04:00
Asaad Mahmood
0b112999b5 PLT-6978 - Fixing spacing for menu items (#6827) 2017-07-04 08:37:42 -04:00
Joram Wilander
914562a3f0 Fix IE and Edge by upgrading redux-persist (#6832) 2017-07-04 06:55:44 -04:00
Joram Wilander
9f5fb98b75 Fix system admin not seeing manage channel members options (#6831) 2017-07-04 09:06:18 +01:00
Joram Wilander
7a09b4bd78 Make channel switcher partially obey RestrictDirectMessage setting (#6830) 2017-07-04 09:01:27 +01:00
Corey Hulen
04b00e0933 Adding back ping retry (#6810) 2017-07-04 00:01:23 -07:00
George Goldberg
0a3bb8fdb1 Refactor system console buttons into RequestButton component. (#6808)
Since I was going to make yet another button for the ElasticSearch test
config button, I refactored all of them to use a single common component
and tidied that component up and gave it some unit tests.
2017-07-04 00:00:17 -07:00
Joram Wilander
f54aee1ef5 Add paging to the GET /emojis endpoint (#6802) 2017-07-03 23:58:02 -07:00
Saturnino Abril
02335ddad4 fix collapsed image preview that doesn't stay collapsed after posting a message in the channel (#6833) 2017-07-03 16:24:02 -04:00
Corey Hulen
e60c6dec19 PLT-6935 Fixes issue when locale set to unknown (#6829) 2017-07-03 13:26:30 -04:00
George Goldberg
171a788715 PLT-6951: Fix channel join slash command. (#6824)
Don't show an ephemeral message when the channel join succeeds. Just
redirect to the channel.
2017-07-03 07:54:59 -07:00
Jason Blais
ac2c91c507 Fix EnablChannelViewedMessages typo (#6822)
* Update config.json

* Update config.go

* Update config.go

* Update channel.go

* Update post.go

* Update diagnostics.go

* Update config.go
2017-07-03 09:01:14 -04:00
Alex Ford
a6e9a7a38f Update the Developer Machine Setup link in the README (#6817) 2017-07-02 13:11:36 -04:00
George Goldberg
25aa7bd06a PLT-6955: Add new config fields to diagnostics. (#6791)
* PLT-6955: Add new config fields to diagnostics.

* Fix review comments.
2017-06-30 21:34:57 -04:00
Harrison Healey
2f83ea61c7 PLT-6830 Fixed updating profile image not invalidating cache (#6814) 2017-06-30 21:27:09 -04:00
Corey Hulen
093dfd6c7f Reverting tutorial fix (#6812) 2017-06-30 18:18:04 -07:00
Corey Hulen
d2eb10b7e6 Fixing JS error (#6813)
* Fixing JS error

* Fixing js error and storing issue
2017-06-30 17:19:04 -07:00
Joram Wilander
6e5b1b7cd4 Fix some JS errors (#6811) 2017-06-30 14:01:42 -07:00