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

110 Коммитов

Автор SHA1 Сообщение Дата
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
David Meza
f740698dbe PLT-6486 Add an @username button to the profile popover, that puts the username in the post when clicked (#6349)
* PLT-6486 Add an `@username` button to the profile popover, that puts the username in the post when clicked

* PLT-6486 Display `@username` mention on the right text area on center or RHS.

* Disable @mentions from profile popover on searches, mentions and pinned posts. Fix js errors.

* Control undefined post in SearchStore that causes an exception.
2017-07-31 08:24:13 -04:00
Chris
673f3a1144 PLT-6689: fix user image requests (#6946)
* fix user image requests

* fix eslint errors and a few more cache busters
2017-07-19 13:54:16 -07: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
7a09b4bd78 Make channel switcher partially obey RestrictDirectMessage setting (#6830) 2017-07-04 09:01:27 +01:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Joram Wilander
6bfb7ea3a9 Fix JS error when hovering over reactions (#6710)
* Fix JS error when hovering over reactions

* Fix autocomplete for custom emojis

* Update to latest mattermost-redux
2017-06-21 10:38:19 -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
Harrison Healey
fc7f6ffd32 PLT-6735 Fixed unknown prop warning from SuggestionBox (#6618) 2017-06-10 13:06:39 -07:00
Joram Wilander
7be7c67757 Increase quick switcher perf by not storing server results (#6575) 2017-06-05 09:45:50 -04:00
Saturnino Abril
fd6f6a55ce [PLT-6616] Fixed autocomplete to close properly (#6528)
* fix autocomplete to close properly

* disable key press of suggestion box when input value is empty
2017-06-05 08:43:59 -04:00
Harrison Healey
7ad1571701 PLT-6684 Fixed onClick handler for search autocomplete suggestions (#6540) 2017-05-31 17:15:47 -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
Harrison Healey
69f3f2fdce PLT-6282 Make post list stay visible when post textbox height changes (#6323)
* PLT-6282 Changed post drafts to use an action when being stored

* PLT-6282 Triggered post list to update scroll position when post draft changes

* PLT-6282 Changed SuggestionBox to complete suggestions without an event
2017-05-23 10:17:06 -04:00
Christopher Speller
2bbedd9def Updating client dependencies. Switching to yarn. (#6433)
* Updating client dependancies. Switching to using yarn.

* Updating React

* Moving pure components to using function syntax (performance gains with newer react version)

* Updating client dependancies.

* Ignore .yarninstall

* Enabling pre-lockfile because it's the entire point of using yarn.

* Removing old webpack config

* Moving to new prop-types

* Fixing ESLint Errors

* Updating jest snapshots.

* Cleaning up package.json
2017-05-18 09:28:18 -04:00
Harrison Healey
44a8f76d99 PLT-6431 Prevented autocompleting while suggestions are being received (#6328) 2017-05-04 14:54:50 -04:00
Joram Wilander
dc6c836b35 Fix group message names in channel switcher (#6246) 2017-05-03 08:48:44 -07:00
Joram Wilander
ad701900ef Fix mouse selection on channel switcher (#6244) 2017-04-27 07:58:15 -07:00
Carlos Tadeu Panato Junior
f5d9010f9a implement fix for PLT-6383 - Add "CAUTION" to @all auto-complete (#6240) 2017-04-27 09:27:31 -04:00
Joram Wilander
6c4c706313 Start moving webapp to Redux (#6140)
* Start moving webapp to Redux

* Fix localforage import

* Updates per feedback

* Feedback udpates and a few fixes

* Minor updates

* Fix statuses, config not loading properly, getMe sanitizing too much

* Fix preferences

* Fix user autocomplete

* Fix sessions and audits

* Fix error handling for all redux actions

* Use new directory structure for components and containers

* Refresh immediately on logout instead of after timeout

* Add fetch polyfill
2017-04-25 11:46:02 -04:00
Christopher Speller
7f68a60f8c Fixing double enter in channel switcher (#6208) 2017-04-24 13:10:34 -04:00
Harrison Healey
fb6f2a123c PLT-5860 Updated copyright date (#6058)
* PLT-5860 Updated copyright date in about modal

* PLT-5860 Updated copyright notice in JSX files

* PLT-5860 Updated copyright notice in go files

* Fixed misc copyright dates

* Fixed component snapshots
2017-04-12 08:27:57 -04:00
Harrison Healey
c4fd04efb6 Fixed channel autocomplete flickering (#5961) 2017-04-03 21:22:09 -07:00
Harrison Healey
36c74d7b47 PLT-5873 Renamed private groups to private channels (#5924)
* PLT-5873 Renamed private groups to private channels in web app

* PLT-5873 Renamed private groups to private channels in server
2017-04-03 13:42:05 +01:00
Saturnino Abril
1167b39185 Fixed mobile search focus - keyboard collapse/focus (#5766) 2017-03-24 09:05:43 +00:00
Joram Wilander
163f591b7b Increase timeout on suggestion clear after blur (#5631) 2017-03-04 17:56:55 +00:00
Joram Wilander
3a91d4e5e4 PLT-3077 Add group messaging (#5489)
* Implement server changes for group messaging

* Majority of client-side implementation

* Some server updates

* Added new React multiselect component

* Fix style issues

* Add custom renderer for options

* Fix model test

* Update ENTER functionality for multiselect control

* Remove buttons from multiselect UI control

* Updating group messaging UI (#5524)

* Move filter controls up a component level

* Scroll with arrow keys

* Updating mobile layout for multiselect (#5534)

* Fix race condition when backspacing quickly

* Hidden or new GMs show up for regular messages

* Add overriding of number remaining text

* Add UI filtering for team if config setting set

* Add icon to channel switcher and class prop to status icon

* Minor updates per feedback

* Improving group messaging UI (#5563)

* UX changes per feedback

* Update email for group messages

* UI fixes for group messaging (#5587)

* Fix missing localization string

* Add maximum users message when adding members to GM

* Fix input clearing on Android

* Updating group messaging UI (#5603)

* Updating UI for group messaging (#5604)
2017-03-02 17:48:56 -05:00
Saturnino Abril
9ba968ce33 Use consistent Display Name sorting code throughout the webapp #5159 (#5213)
* Use consistent Display Name sorting code throughout the webapp #5159

* fixed broken sorting of teams and channels
2017-01-31 20:57:16 -03:00
Harrison Healey
931e712af1 Fixed ChannelMentionProvider matching completed mentions (#5188) 2017-01-25 23:16:18 -03:00
Harrison Healey
23e7414d35 Fixed channel mention autocomplete to not match completed mentions (#5101) 2017-01-20 08:19:23 -05:00
Harrison Healey
a5b5dabf4a Added support for emojis with multiple aliases to autocomplete (#5097) 2017-01-17 15:49:05 -05:00
Joram Wilander
846880e814 Clear mention autocomplete if there is no regex match (#5085) 2017-01-16 18:33:42 -05:00
Christopher Speller
8fb66c2b83 Merge branch 'release-3.6' 2017-01-12 19:59:37 -05:00
Harrison Healey
2f9b56eb3a Fixed onBlur being called when not given as a prop (#5024) 2017-01-09 14:22:21 -05:00
Asaad Mahmood
93a526f7ed PLT-5179 - Fixing modal overflow for autocomplete (#5002)
* PLT-5179 - Fixing modal overflow for autocomplete

* PLT-5171 - Fixing search bar popover behaviour
2017-01-09 09:32:27 -05:00
Corey Hulen
e82bcea0d0 PLT-5118 moving to last_picture_update for the profile img (#4985) 2017-01-06 12:13:22 -05:00
Hayden Chudy
42da7aa700 PLT-5027: Don't show own user in auto-complete list. (#4916) 2016-12-30 13:43:14 -03:00
Joram Wilander
1539730ac1 Only show emoji autocomplete after two typed characters (#4895) 2016-12-26 09:44:20 -05:00
enahum
e492b80fb8 PLT-4893 remove channel handler in channel switcher (#4889) 2016-12-26 09:31:11 -05:00
Joram Wilander
cadc9e11e4 Remove race between multiple autocomplete requests (#4860) 2016-12-21 12:45:21 -05:00
Joram Wilander
bf3fec604f Remove autocomplete delay (#4819) 2016-12-20 09:08:58 -05:00
Harrison Healey
c2be6497eb Changed SuggestionBox to clear suggestions shortly after losing focus (#4721) 2016-12-09 15:43:50 -08:00
enahum
b57c9fec89 PLT-4894 channel switcher (CTRL+K) to match message autocomplete (#4733)
* PLT-4894 Change name display of direct messages in channel switcher (CTRL+K) to match message autocomplete

* Addressing feedback
2016-12-08 10:20:03 -05:00
Harrison Healey
7acd135e02 Removed duplicated characters when autocompleting composed characters (#4734) 2016-12-08 09:22:09 -03:00
Asaad Mahmood
08c2d28942 Multiple UI Improvements (#4712)
* Multiple UI Improvements

* Reverting modal animation
2016-12-06 10:51:31 -05:00
Harrison Healey
b477e384d8 Added support for autocompleting at mentions for users with non-alphanumeric names (#4717) 2016-12-06 09:36:40 -03:00
Harrison Healey
165ad0d4f7 PLT-1378 Initial version of emoji reactions (#4520)
* Refactored emoji.json to support multiple aliases and emoji categories

* Added custom category to emoji.jsx and stabilized all fields

* Removed conflicting aliases for :mattermost: and :ca:

* fixup after store changes

* Added emoji reactions

* Removed reactions for an emoji when that emoji is deleted

* Fixed incorrect test case

* Renamed ReactionList to ReactionListView

* Fixed 👍 and 👎 not showing up as possible reactions

* Removed text emoticons from emoji reaction autocomplete

* Changed emoji reactions to be sorted by the order that they were first created

* Set a maximum number of listeners for the ReactionStore

* Removed unused code from Textbox component

* Fixed reaction permissions

* Changed error code when trying to modify reactions for another user

* Fixed merge conflicts

* Properly applied theme colours to reactions

* Fixed ESLint and gofmt errors

* Fixed ReactionListContainer to properly update when its post prop changes

* Removed unnecessary escape characters from reaction regexes

* Shared reaction message pattern between CreatePost and CreateComment

* Removed an unnecessary select query when saving a reaction

* Changed reactions route to be under /reactions

* Fixed copyright dates on newly added files

* Removed debug code that prevented all unit tests from being ran

* Cleaned up unnecessary code for reactions

* Renamed ReactionStore.List to ReactionStore.GetForPost
2016-11-30 13:55:49 -05:00
Joram Wilander
02d581c159 PLT-4697 Update channel switcher to autocomplete all users on the system (#4624)
* Add autocomplete API for system-wide users

* Update channel switcher to autocomplete all users on the system
2016-11-29 10:12:59 -05:00
enahum
7315d69474 Fix some react natives warning messages (#4653) 2016-11-28 10:38:33 -05:00
Joram Wilander
981ea33b8e PLT-4403 Add server-based channel autocomplete, search and paging (#4585)
* Add more channel paging API

* Add channel paging support to client

* Add DB channel search functions

* Add API for searching more channels

* Add more channel search functionality to client

* Add API for autocompleting channels

* Add channel autocomplete functionality to the client

* Move to be deprecated APIs to their own file

* Final clean-up

* Fixes related to feedback

* Localization changes

* Add unit as suffix to timeout constants
2016-11-24 09:35:09 -05:00