Commit Graph

255 Commits

Author SHA1 Message Date
Harrison Healey
c66799a839 Fixed error information being obscured when joining teams with API v4 (#6751) 2017-06-28 07:56:29 -04:00
Christopher Speller
9659a6da06 Stage 1 of caching layer. Framework (#6693) 2017-06-27 08:02:08 -07:00
Saturnino Abril
f2abb9d8eb fix permission app error with updatePost (#6749) 2017-06-26 21:05:50 +01:00
Chris
69ae5cef16 verify for email domain for everything but ldap / saml (#6718) 2017-06-26 14:33:48 -04:00
Chris
14467ee134 add /open command (#6717) 2017-06-26 09:36:47 -07:00
VeraLyu
33eb77b757 PLT-3711: Add websocket event for emoji addition (#6211)
* PLT-3711: Add websocket event for emoji addition

* (SA) updated as per review

This PR is edited directly to merge into master.

* (SA) updated as per review

This PR is edited directly to merge into master.
2017-06-23 19:09:17 -04:00
Chris
4df36a504c PLT-6714: add /settings command (#6716)
* add /settings command

* update receiver name
2017-06-23 15:47:24 -07:00
Corey Hulen
a077cae279 Fixing cluster issue with posts (#6736) 2017-06-23 16:13:21 -04:00
Joram Wilander
3f1fca9463 PLT-6759 Show deactivated users in GMs (#6703)
* Show deactivated users in GMs

* Fix runtime error when DMing deactivated user
2017-06-22 11:36:46 +01:00
Carlos Tadeu Panato Junior
1e84e931ec when a channel is update propagate the channel to everybody (#6677) 2017-06-21 13:01:05 -07:00
Corey Hulen
b5d2c12d22 Setting per-paging for logs to load 10K initially like the old apis (#6697)
* Setting per-paging for logs to load 10K initially like the old apis

* Fixing unit test
2017-06-20 13:13:02 -07:00
Joram Wilander
1d66e64e54 Add POST and DELETE /license endpoints for v4 (#6665)
* Add POST and DELETE /license endpoints for v4

* Fix comment text
2017-06-19 10:46:51 -07:00
Corey Hulen
36f216cb7c PLT-6080 moving clustering to memberlist (#6499)
* PLT-6080 adding cluster discovery service

* Adding memberlist lib

* Adding memberlist lib

* WIP

* WIP

* WIP

* WIP

* Rolling back config changes

* Fixing make file

* Fixing config for cluster

* WIP

* Fixing system console for clustering

* Fixing default config

* Fixing config

* Fixing system console for clustering

* Tweaking hub setting

* Bumping up time

* merging vendor dir

* Updating vendor dir

* Fixing unit test

* Fixing bad merge

* Remove some testing code

* Moving comment

* PLT-6868 adding db ping retry

* Removing unused loc strings

* Adding defer to cancel
2017-06-19 08:44:04 -07:00
Corey Hulen
64eb968b7d PLT-3901 send different push message when only images attached (#6672) 2017-06-16 14:22:12 -04:00
Joram Wilander
528f2dc6c3 Merge release-3.10 into master (#6654)
* PLT-6787 Fixed being able to send a post before files finished uploading (#6617)

* Fix quick switcher for channels/users not stored locally (#6610)

* Fix button text on confirm mention modal (#6609)

* fix post delete permission of channel admin (#6608)

* open comment thread for the most recent reply-able message (#6605)

* Use mutex flag with yarn to prevent concurrent builds interfering (#6619)

* Use mutex flag with yarn to prevent concurrent builds interfering

* Remove yarn mutex file with clean

* Minor bug fixes (#6615)

* PLT-6774 - Fixing color for offline icon

* PLT-6784 - Fixing status icon

* Fixing icon margin

* Updating caret position

* PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620)

* Fixing JS error (#6623)

* Minor bug fixes (#6622)

* PLT-6808 - Updating channel switcher on mobile

* PLT-6743 - Updating scrollbar styling

* Login instead of failing if user exists in OAuth sign-up flow (#6627)

* PLT-6802 Disable team switcher (#6626)

* Disable team switcher

* Fix ESLint errors

* PLT-6807 Ensured select teams page can scroll on iOS (#6630)

* Do not redirect from account switch pages on 401 (#6631)

* Fixing loadtest command and renaming to /test (#6624)

* PLT-6820 Update mattermost-redux dependency (#6632)

* translations PR 20170612 (#6629)

* Bump HTTP client timeout to 30 seconds (#6633)

* For team unreads return empty array instead of null (#6636)

* PLT-6831 Fix status modal localization IDs (#6637)

* Fix status modal localization IDs

* Update test snapshot
2017-06-15 11:05:43 -04:00
Zeger-Jan van de Weg
0c04c5334f Add APIv4 endpoint to permanently delete teams (#6604)
Tests are added, however, it only tests the property if its soft deleted. In the
background it will be hard deleted, but that is untestable through a integration
test.
2017-06-15 08:13:18 -04:00
Saturnino Abril
8db20efd46 fix user agent for desktop app (#6612) 2017-06-08 07:59:02 -04:00
Joram Wilander
0f3bd85b8d Allow switching to private channels with /join command (#6579) 2017-06-05 11:57:50 -04:00
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