Граф коммитов

8964 Коммитов

Автор SHA1 Сообщение Дата
Saturnino Abril
39154d22ae make sidebar right menu Global actions and toggle that on leaving team (#6900) 2017-07-11 05:37:08 +08:00
Harrison Healey
d307162d16 PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (Resubmit) (#6892)
* PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library

* Switched mattermost-redux to webapp-4.0 branch
2017-07-11 05:36:26 +08:00
Joram Wilander
0c910cc8c5 Fix multiple pinned post issues (#6887) 2017-07-11 05:35:50 +08:00
Asaad Mahmood
2190a288e0 PLT-7065 - Fixing alignment for heading (#6901) 2017-07-11 05:34:29 +08:00
Joram Wilander
f3acd34128 Redirect OAuth SSO errors to error page (#6898) 2017-07-11 02:52:59 +08:00
Joram Wilander
046dbc5e81 Show expand button when previews defaulted to collapsed (#6896) 2017-07-11 02:52:28 +08:00
Joram Wilander
1e7022ff6d Deleting the focused post now sends user to normal channel view (#6890) 2017-07-11 02:51:31 +08:00
Saturnino Abril
f1cf1b5f7a [PLT-7001] Fix extra whitespace between search bar and "@" icon in channel header after expanding the right-hand side (#6891)
* fix extra whitespace between search bar and "@" icon in channel header after expanding the right-hand side

* remove .search__form class
2017-07-11 02:50:38 +08:00
Joram Wilander
2bfd7be8d1 Minor status updates (#6889) 2017-07-11 02:49:42 +08:00
Asaad Mahmood
87e62e8823 Minor UI fixes for 4.0 (#6899)
* PLT-7056 - Fixing profile popover position

* PLT-7082 - Removing extra space below header

* PLT-7074 - Channel header fix

* PLT-7054 - Fixing scroll inside members popover

* Updating mention highlight color for default theme
2017-07-11 02:48:45 +08:00
Joram Wilander
45e7ad0c34 Fix out of order posts for admins plus two minor fixes (#6886) 2017-07-11 01:58:01 +08:00
Asaad Mahmood
9a7453e208 Minor UI updates (#6884) 2017-07-11 01:27:35 +08:00
Carlos Tadeu Panato Junior
6330f7f637 fix wording (#6640) 2017-07-10 08:49:26 -07:00
Rich Barton
998b8f70c2 PLT-6659 Fixed upload thumbnails that weren't properly rotated (#6816)
- Used client-side EXIF data to rotate profile picture thumbnails
- Added a small package for correctly translating EXIF orientation into CSS transforms
- Instead of displaying the image using FileReader, used URL.createObjectURL because it is faster
- For upload thumbnails, the original behavior was scaling the entire original image, without accounting for EXIF rotate. I changed this to use the thumbnail image, which does respect rotation.
- The preview image was not available when the upload request returned, because handling the preview image creation was in a goroutine. I used sync.WaitGroup to block until the preview image creation is done.
2017-07-10 06:51:07 -07:00
Christopher Speller
e5912d4f95 Fixing error in apiv4 flagged posts route (#6880) 2017-07-09 06:51:55 +08:00
Saturnino Abril
4956a7198b Revert "PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (#6881)" (#6882)
This reverts commit 250a344d04.
2017-07-09 06:36:30 +08:00
Harrison Healey
250a344d04 PLT-7039 Use loadProfilesAndStatusesForPosts from the redux library (#6881) 2017-07-08 08:23:58 +08:00
Joram Wilander
a6ee8bb1ee Fix 'user_id' of undefined JS error (#6878) 2017-07-08 07:28:18 +08:00
Asaad Mahmood
06814885a0 UI changes (#6876)
* PLT-7011 - Long channel name truncation

* PLT-7013 - Fixing channel header mobile

* PLT-7012 - Updating quick switch modal on mobile

* PLT-7008 - Channel preferences mobile fix

* PLT-7014 - Increasing tap area for channel desc
2017-07-08 07:27:38 +08:00
Joram Wilander
e8c02c7c1d Only show unreads below indicator after first load is complete (#6874) 2017-07-08 07:27:13 +08:00
Saturnino Abril
61adde5112 fix "@" mention doesn't open recent mentions search results if RHS is closed (#6872) 2017-07-08 07:26:28 +08:00
Saturnino Abril
40c0c0bd13 Enable emoji picker by default in config.json (#6871) 2017-07-08 07:25:57 +08:00
Harrison Healey
0bb4add8a1 PLT-6999 Stopped mutating style object provided by react-bootstrap (#6869)
* PLT-6999 Stopped mutating style object provided by react-bootstrap

* Fixed indentation to satisfy eslint
2017-07-08 07:25:26 +08:00
Alex Ford
b03b9d7362 Minor fixes based on lgtm.com alerts (#6819)
* Remove a couple of superfluous trailing arguments

* Simplify assignment logic in a couple of places

* Modify some potentially inconsistent setState calls to use the function form

* Fix eslint errors
2017-07-07 13:29:32 -04:00
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
JoramWilander
15ad24d160 Minor fix 2017-07-06 17:28:38 -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