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

241 Коммитов

Автор SHA1 Сообщение Дата
Carlos Tadeu Panato Junior
251f000c68 [PLT-6710] /rename [text] slash command: Rename the channel (#6570)
* /rename [text] slash command: Rename the channel

* update strings per review
2017-07-31 12:54:34 -04: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
Nick Frazier
cc3a95fdd9 Added websocket event and webapp handler for updating user roles (#6953) 2017-07-27 08:15:50 -04:00
Saturnino Abril
58c6a70d3e Add [...] menu to search results list (#6663)
* Add [...] menu to search results list

* fix updates on search results when post is pinned or edited

* remove app dispatcher from component
2017-07-21 19:02:14 -04:00
Carlos Tadeu Panato Junior
816bfbeb91 [PLT-6708] /purpose [text] slash command: Edit the channel purpose (#6569)
* /purpose [text] slash command: Edit the channel purpose

* update command on server side to check for direct or group channels

* update stings and block the dialog when is DM or GM

* update per review

* remove duplicate websocker event and apply the same for /header command

* update per review

* update
2017-07-21 15:04:41 -04: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
6e5b1b7cd4 Fix some JS errors (#6811) 2017-06-30 14:01:42 -07:00
Carlos Tadeu Panato Junior
976030ea25 [PLT-6707] /header [text] slash command: Edit the channel header (#6566)
* add /header slash command

* update websocket

* updater per review
2017-06-29 08:06:17 -04:00
Joram Wilander
2a96b7e15e Remove unneeded return and add logging for marking channels unread (#6788) 2017-06-28 20:56:14 -04:00
Saturnino Abril
0b62078712 [PLT-6745] Fix action of SHIFT+UP by fixing latest replay-able post (#6738)
* fix latest replayable post

* use PostUtils.isSystemMessage instead of checkin that post.type is empty
2017-06-27 14:59:08 -04:00
Joram Wilander
23ccfc845c Move remaining actions over to use redux and v4 endpoints (#6720) 2017-06-26 08:16:57 -04:00
Chris
4df36a504c PLT-6714: add /settings command (#6716)
* add /settings command

* update receiver name
2017-06-23 15:47:24 -07:00
Joram Wilander
ca8d57c4db PLT-6890 Fix various scrolling issues (#6727)
* Fix various scrolling issues

* Move reaction scrolling to reaction list

* Handle scrolling when RHS opens

* Only run scroll update code when posts change
2017-06-23 12:09:56 -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
Joram Wilander
ef9326bcbb Move integrations over to redux and v4 (#6679) 2017-06-19 10:55:47 -07:00
Joram Wilander
ab67f6e257 PLT-6215 Major post list refactor (#6501)
* Major post list refactor

* Fix post and thread deletion

* Fix preferences not selecting correctly

* Fix military time displaying

* Fix UP key for editing posts

* Fix ESLint error

* Various fixes and updates per feedback

* Fix for permalink view

* Revert to old scrolling method and various fixes

* Add floating timestamp, new message indicator, scroll arrows

* Update post loading for focus mode and add visibility limit

* Fix pinning posts and a react warning

* Add loading UI updates from Asaad

* Fix refreshing loop

* Temporarily bump post visibility limit

* Update infinite scrolling

* Remove infinite scrolling
2017-06-18 14:42:32 -04:00
Joram Wilander
acdab8cce6 Fix scroll store typo and user action copy/paste errors (#6680) 2017-06-18 13:45:28 -04:00
VeraLyu
5158d3a446 Remove fake img preview before loaded (#5854)
Remove fake img preview and collapse toggle before it is loaded,
only show img and toggle after it is fully loaded.
Fix markdown img size and add scroll down behaviour.
2017-06-16 13:12:22 -04:00
David Meza
98ac903fce PLT-6481 Create platform route and logic to be able to DM a user by email or username (#6310)
* Add logic to be able to DM a user by email or username

* PLT-6481 update DM url to be in the format https://servername.com/teamname/messages/xxxxxxxx

* PLT-6481 Adding logic to get user by full email

* PLT-6481 logic for routes /messages/user_id and /messages/id1_id2 to redirect to /messages/@username

* PLT-6481 logic for GM route /messages/generated_id
2017-06-15 08:11:35 -04:00
Joram Wilander
1138dd6770 PLT-6657 Move system console to use v4 endpoints and redux (#6572)
* Move system console to use v4 endpoints and redux

* Rename logs dir to get past gitignore

* Fix test email

* Update brand unit test

* Updates per feedback
2017-06-14 08:56:56 -04:00
Joram Wilander
09e7ba23e3 PLT-6658 Ignore correct message types for setting unreads for teams (#6532)
* Ignore correct message types for setting unreads for teams

* Fix ESLint error
2017-05-31 18:05:17 -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
Saturnino Abril
8ce72aedc3 fix JS error when adding reaction when latest post is ephemeral (#6512) 2017-05-31 11:55:53 -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
Joram Wilander
04cd7b1a89 Merge 3.9 RC5 fixes into master (#6459)
* UI fixes for 3.9 (#6400)

* UI fixes for header icon alignment

* PLT-6569 - Fixing pin icon in header

* PLT-6505 - Updating z-index for emoji picker

* Updating z-index for overlaying sidebar

* PLT-6134 - Fix for emoji picker on comments

* Reverting emoji picker fix

* Fixing alignment for header icons

* Removing channel title changes

* Don't show mention badge for active channel (#6411)

* PLT-6583 - Fixing RHS compact view (#6413)
2017-05-19 12:19:04 -04:00
JoramWilander
9d109b0700 Merge branch 'release-3.9' into merge-3.9 2017-05-12 08:00:28 -04:00
Joram Wilander
9625362494 Fix DM getting marked unread from your own message (#6373) 2017-05-10 07:41:12 -04:00
Harrison Healey
0c701cc1d0 PLT-6518 Fixed user's locale not being loaded with redux actions (#6359)
* Stopped ManageLanguages component from mutating user

* Removed obsolete reference to mm_user

* PLT-6518 Fixed user's locale not being loaded with redux actions
2017-05-09 16:00:40 -04:00
Saturnino Abril
14b9d7784e fix JS error after pinning a post with an empty pinned post list open in RHS (#6345) 2017-05-08 13:51:56 +01: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
Harrison Healey
44a8f76d99 PLT-6431 Prevented autocompleting while suggestions are being received (#6328) 2017-05-04 14:54:50 -04:00
Joram Wilander
ec5f40a423 Add back button to RHS threads from pinned posts (#6306) 2017-05-03 08:55:06 -07:00
Joram Wilander
042052aec6 Improve perf for channel switching, fix team switching issues (#6286)
* Improve perf for channel switching, fix team switching issues

* Fix last channel when switching teams
2017-05-02 09:28:44 -04:00
Joram Wilander
2d22fb5652 Prevent unnecessary store emits (#6285)
* Remove unnecessary store emits

* Drastically reduce number of emitted changes
2017-05-01 10:49:34 -04: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
VeraLyu
fb3cc12f56 PLT-6249: Erase custom emoji in "recently used" after deleted (#6242) 2017-04-27 07:58:38 -07:00
Joram Wilander
7307156c49 PLT-6213 Move team store and actions over to use redux (#6222)
* Move team store and actions over to user redux

* Fix JS error when inviting by email
2017-04-26 15:49:15 -04:00
Joram Wilander
1fef5bf5fe Redux bug fixes (#6243)
* Fix save teams dispatch

* Fix login when MFA is enabled but not active

* Fix JS error caused by using deleted team member
2017-04-26 11:07:19 -04:00
Harrison Healey
7fc663ca75 PLT-6283 Hide Preview Mode error bar after enabling email notifications (#6180) 2017-04-25 09:39:08 -07: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
VeraLyu
8aab290d10 PLT-6240: Remove own pinned post from RHS when removed from channel (#6098)
Dispatch REMOVE_POST event after successfully initiating delete post,
others get informed by websocket event and will mark the msg as deleted
but not delete from RHS.
2017-04-18 08:47:27 -07:00
VeraLyu
59185babdc PLT-4176: Remain RHS pin post unchanged after channel switching (#6038)
Prevent changes to search_store after switched channel so that
RHS pin posts can continue to display previous content.
2017-04-12 14:28:35 -07:00
VeraLyu
03502cf73b PLT-6155: Keep pin badges in RHS consistent with that in center (#6018)
Sync search store when recieving pin/unpin event to keep pin
badges in RHS consistent with that in center channel.
2017-04-12 16:23:33 -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
f7a4c75a21 PLT-5702 Added special error page for private browsing error message (#5985) 2017-04-04 19:21:31 -04:00
George Goldberg
1fa3f2351c PLT-6023: Add Users to Team in WebApp. (#5956)
* PLT-6198: Use added to channel system message on default channels.

Use a different sytem message when a user was added to a default channel
by someone else than when they joined themselves.

* PLT-6023: Add Users to Team in WebApp.

* Fix string text.

* Handle added_to_team websocket message.

* Fix unread flag on new channel.
2017-04-04 15:17:15 -04:00
Harrison Healey
c7bdce8a66 PLT-5900 Removed automatic configuration of SiteURL (#5952)
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)"

This reverts commit a8e68bd890.

* Removed automatic configuration of SiteURL

* Reverted unintentional config changes

* Updated help text

* Added link to docs in Site URL warning

* Fixed merge conflict
2017-04-04 11:54:52 -04:00
Harrison Healey
c4fd04efb6 Fixed channel autocomplete flickering (#5961) 2017-04-03 21:22:09 -07:00
Harrison Healey
63cdb89144 PLT-6147 Fixed reactions not rendering properly while loading (#5958) 2017-04-03 21:21:15 -07:00
Ryan Wang
169c490892 Save recently used emojis after logout (#5926) 2017-04-03 21:27:14 -04:00