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

237 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
b53ca57bad Fixed out of bounds array index (#6576) 2017-06-05 07:38:43 -07:00
Saturnino Abril
0d6dd52be6 [PLT-6697] Added CTRL/CMD+SHIFT+K shortcut to open 'more direct messages' dialog (#6534)
* add keypress shortcut to open 'more direct messages' dialog

* removed duplicate e.preventDefault()

* add text description to /shortcuts output
2017-06-05 08:46:31 -04:00
Saturnino Abril
f1b317a51f add shortcut that opens a comment thread for most recent message in a channel (#6549) 2017-06-02 09:11:03 -07:00
Corey Hulen
6a54f3c489 PLT-6581 breakup webhooks greater than 4K into multiple posts (#6530) 2017-06-02 12:08:04 -04:00
Harrison Healey
3b74effacd Fixed debug message for push notifications (#6536) 2017-06-01 17:20:34 -04:00
Joram Wilander
5aaedb9663 PLT-5699 Improvements to channel switcher (#6486)
* Refactor channel switcher to not wait on server results

* Change channel switcher to quick switcher and include team switching

* Add sections, update ordering and add discoverability button

* Fix styling error

* Use CMD in text if on mac

* Clean yarn cache on every install

* Various UX updates per feedback

* Add shortcut help text for team switcher

* Couple more updates per feedback

* Some minor fixes for GM and autocomplete race

* Updating UI for channel switcher (#6504)

* Updating channel switcher button (#6506)

* Updating switcher modal on mobile (#6507)

* Removed jQuery usage

* Rename function to toggleQuickSwitchModal
2017-05-31 16:51:42 -04:00
Torsten Juergeleit
fdf1164aee PLT-5705 Created a single source of http.Client creation logic with internet proxy support, reasonable timeouts and optional insecure connections (#6503) 2017-05-31 10:34:05 -04:00
Joram Wilander
0e4add96ae Do not re-register WS connection if already authenticated (#6511) 2017-05-30 21:35:21 -07:00
Harshavardhana
f520aa1f4d Support AWS Signature V2 for Mattermost for S3 storage. (#6462)
Certain S3 compatible servers only use Legacy Signature (AWS
Signature V2), current code only supports signature v4.

This PR adds facility to click a button on the UI to enable
legacy signature with S3 compatible servers.
2017-05-30 16:12:24 -07:00
David Meza
eab6f74594 PLT-6485 Add ability to disable @here notifications (#6372) 2017-05-30 12:02:44 -04:00
Christopher Speller
00f48a1908 Adding short unit tests by default (#6494) 2017-05-25 11:01:53 -04:00
Corey Hulen
b9e57591bf Writing message to our logs when system panics and recovers (#6458) 2017-05-24 10:55:52 -04:00
Harrison Healey
7ac8eaba92 PLT-6534 Rotated uploaded profile pictures to be upright (#6482) 2017-05-24 07:52:05 -07:00
Joram Wilander
b84891f654 Only update status when clicking onto app (#6435) 2017-05-24 09:42:35 -04:00
Harrison Healey
5c1049054e PLT-6471 Properly panic when translations can't be loaded (#6414)
* PLT-6471 Properly panic when translations can't be loaded

* Print usage messages when errors occur during CLI initialization

* Reverted behaviour of FindDir and added second return value to it

* Fixed merge conflict
2017-05-23 11:06:25 -04:00
Harrison Healey
577ed27f1b PLT-6408 Framework for job server (#6404)
* Added initial job server

* Added job server to be ran as part of platform

* Added test job to the enterprise repo

* Fixed job server not loading license

* Renamed job package to jobs

* Fixed TE not being buildable

* Added JobStatus table to database

* Changed fields used by JobStatus

* Added APIs to query job status

* Added config change listener to server

* Added option to run job server from Makefile

* Added ability to enable/disable jobs from config

* Commented out placeholder for search indexing job

* Fixed govet

* Removed debug messages and fixed job api init message
2017-05-18 15:05:57 -04:00
George Goldberg
0db5e3922f PLT-6472: Basic Elastic Search implementation. (#6382)
* PLT-6472: Basic Elastic Search implementation.

This currently supports indexing of posts at create/update/delete time.
It does not support batch indexing or reindexing, and does not support
any entities other than posts yet. The purpose is to more-or-less
replicate the existing full-text search feature but with some of the
immediate benefits of using elastic search.

* Alter settings for AWS compatability.

* Remove unneeded i18n strings.
2017-05-18 11:26:52 -04:00
Carlos Tadeu Panato Junior
a123b54d5e remove notification as requested in PLT-6537 (#6412) 2017-05-18 08:58:40 -04:00
enahum
5f9a28ed6f Ability to use OAuth login from mobile (#6432) 2017-05-17 17:33:44 -04:00
Robin Naundorf
0a20e8d326 PLT-6019: Add APIv4 Endpoint for restoring Channels (#6263) 2017-05-15 16:12:30 -04:00
JoramWilander
9d109b0700 Merge branch 'release-3.9' into merge-3.9 2017-05-12 08:00:28 -04:00
William Gathoye
01fab5de94 Fix some issues in English (#5714) 2017-05-11 09:45:25 -04:00
Joram Wilander
be7c53ec7f Send status change event if status changes on channel view (#6389) 2017-05-11 08:10:59 -04:00
George Goldberg
6026ed9d53 PLT-6523: Don't crash when replying to a post whose poster has left the channel. (#6388) 2017-05-10 19:16:45 -04:00
Joram Wilander
0ae6886513 Detach session activity update from statuses (#6379) 2017-05-10 09:48:50 -04:00
George Goldberg
a678981861 PLT-6488: Reduce database queries in user bulk import. (#6371) 2017-05-10 09:08:06 -04:00
Joram Wilander
535eb14eeb Get protocol correctly if using SSL direct to Mattermost (#6361) 2017-05-09 16:01:16 -04:00
Joram Wilander
8c8d9dbf8f Forward port 3.8.1 changes that missed master (#6362) 2017-05-09 16:01:06 -04:00
Christopher Speller
e52ab9737e Fixing session error (#6370) 2017-05-09 15:21:20 -04:00
Christopher Speller
b9f4ced52b Fixing session error (#6370) 2017-05-09 12:17:06 -07:00
Robin Naundorf
5efcd2d9d3 Add API Endpoint for deleted Channels (#5889) 2017-05-09 07:52:46 -05:00
Joram Wilander
fe95276ba8 PLT-6492 Use new cookie to determine if user is logged in (#6317)
* Use new cookie to determine if user is logged in

* Add temporary code for 3.9 to prevent forced re-login
2017-05-04 16:36:31 -04:00
Joram Wilander
49481caf6d PLT-6262 Add config setting to disable file attachments (#6301)
* Add config setting to disable file attachments

* Add unit tests

* Updating UI for no attachments (#6312)

* Update UI text on file upload System Console setting (#6313)

* Update storage_settings.jsx

* Update en.json
2017-05-04 15:45:19 -04:00
Joram Wilander
88a328421f Update channel patch to post the correct system messages (#6290) 2017-05-03 08:52:36 -07:00
Harrison Healey
030b9a0c5c PLT-6380 Fired websocket event when user joins a team (#6266) 2017-05-03 08:50:12 -07:00
Harrison Healey
1c8fdb4cdd PLT-6277 Moved profile image cropping to server (#6269)
* PLT-6277 Moved profile image cropping to server

* Cosmetic refactoring of SettingPicture component
2017-05-03 09:08:00 -04:00
George Goldberg
6f6b7e4e97 Add Password field to Bulk Importer. (#6268) 2017-04-28 15:01:56 -07:00
Joram Wilander
96906482ce PLT-6214 Move channel store and actions over to redux (#6235)
* Move channel store and actions over to redux

* Fix style errors

* Fix unit test

* Various fixes

* More fixes

* Revert config changes
2017-04-28 13:16:03 -04:00
George Goldberg
302ec17bee Parallelise Bulk Import. (#6267)
* Parallelise Bulk Import.

* Set worker count through command line flag.
2017-04-28 17:54:04 +01:00
Harrison Healey
c3e17da8c8 PLT-6271 Changed word splitting to initially split on any non-name character (#6261)
* PLT-6271 Changed word splitting to initially split on any non-name character

* Fixed detection of out of channel mentions
2017-04-28 10:13:07 -04:00
Joram Wilander
1b82d98cdb Add config setting to disable statuses (#6254) 2017-04-28 10:10:58 -04:00
Christopher Speller
9a87bb3af6 Creating common token store and moving email invites and verification to it (#6213) 2017-04-27 10:55:03 -04:00
Corey Hulen
a6397b5ed9 PLT-6108 fixing to use senderId for push (#6245) 2017-04-27 07:51:19 -04:00
Harrison Healey
8e6141152b PLT-3915/PLT-5550 Improve handling of Markdown while parsing mentions (#6091)
* PLT-3915 Removed ability to mention users in code blocks

* PLT-3915 Added simple check for potential code blocks before using regexes

* PLT-5550 Improve splitting when parsing mentions to ignore markdown characters
2017-04-26 08:00:38 -07:00
Corey Hulen
3e73adceb5 PLT-6108 adding extra params to push notifications (#6236)
* PLT-6108 adding extra params to push notifications

* PLT-6108 adding extra params to push notifications
2017-04-26 07:29:50 -07:00
Joram Wilander
8d1a132eda Fix OAuth SSO first account creation, add mobile support, and fix refresh tokens (#6181) 2017-04-25 09:38:33 -07:00
Harrison Healey
db68e598a1 PLT-4457 Added API to get multiple users by their usernames (#6218)
* Allow getting profiles by username without a team

* Changed UserStore.GetProfilesByUsernames to return an array

* PLT-4457 Added API to get multiple users by their usernames

* Changed users/names route to users/usernames
2017-04-25 08:00:41 -07:00
Christopher Speller
134f78e630 Fxing hub panic (#6214) 2017-04-24 12:40:17 -04: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