Commit Graph

42 Commits

Author SHA1 Message Date
Joram Wilander
c201ef1775 Add statuses to profiles pictures and remove from header in DMs (#3940) 2016-09-06 09:56:46 -04:00
Joram Wilander
f32eb525f3 Do not send push notifications for channels being actively viewed (#3931) 2016-09-02 12:50:15 -04:00
enahum
7533062f6c PLT-3918 Turn off replies for System Messages (#3922) 2016-09-02 11:23:51 -04:00
Joram Wilander
effd084023 Show loading icon until first page of posts is loaded on channel switch (#3918) 2016-09-02 11:21:10 -04:00
Joram Wilander
58242905d6 Fix scrollHeight console error when logging out of iOS app (#3909) 2016-08-30 19:55:29 -03:00
Joram Wilander
3e14e8b5ab Remove getPosts request after deleting a post (#3905) 2016-08-30 19:54:48 -03:00
Harrison Healey
167dd22eef PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for autolinking (#3865)
* Added highlighting to links when their URL includes the search term

* Decoupling UserStore from react-router to allow for unit tests involving it

* PLT-3998 Added SiteURL as an option to be passed into the text formatting code

* Removed reference to PreferenceStore and window from TextFormatting

* Refactored TextFormatting to remove remaining browser-only code

* Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting

* Increased max listeners for Preference and Emoji stores

* PLT-3832 Added automated unit tests for autolinking

* PLT-3567 Rerender posts when mention keywords change

* Updated RHS and search to match the changes to TextFormatting

* Broke TextFormatting's dependency on the UserStore
2016-08-29 09:50:00 -04:00
Corey Hulen
b49a019cec PLT-4004 fixing javascript error when switching teams (#3877) 2016-08-25 08:56:16 -04:00
Joram Wilander
80d83ae77c Prevent flagging of deleted posts and don't show deleted posts in flagged post list (#3846) 2016-08-22 16:36:01 -08:00
Joram Wilander
dad764088e PLT-1831 Add statuses to centre channel profile pictures (#3826)
* Created profile picture componenet and added statuses to pictures in center channel

* PLT-3899 - Updating UI for status indicators (#3823)

* PLT-3899 - Updating UI for status indicators

* Updating position of timestamps for compact layout
2016-08-19 10:06:16 -04:00
enahum
ed6b69aab3 PLT-3754 EE: Add a Display Option to disable Join/Leave messages (#3808)
* PLT-3754 EE: Add a Display Option to disable Join/Leave messages

* Differentiate between join/leave add/remove messages

* Update user removed from channel text message
2016-08-18 14:37:55 -08:00
Christopher Speller
18e7d7f485 Reverting plt-3366 due to a bug (#3737) 2016-08-04 08:37:47 -08:00
Joram Wilander
0184d6059b PLT-3506 Added flagged posts functionality (#3679)
* Added flagged posts functionality

* UI Improvements to flags (#3697)

* Added flag functionality for mobile

* Updating flagged text (#3699)

* Add back button to RHS thread when coming from flagged posts

* Updating position of flags (#3708)

* Plt 3506 - Reverting flag position (#3724)

* Revert "Updating position of flags (#3708)"

This reverts commit aaa05632c5.

* Fixing the icon in search

* Help text and white space improvements (#3730)

* Updatng help text and some white spacing.

* Updating help text
2016-08-04 10:38:09 -05:00
Harrison Healey
1de3bd3b43 PLT-3640 Add mobile landing pages (#3674)
* PLT-3640 Moved all clientside user agent snooping into a single file

* PLT-3640 Added mobile landing pages on login to iOS and Android web apps

* PLT-3640 Moved landing page to appear before first login

* PLT-3640 Fixed detection of Chrome on Android

* PLT-3640 Disabled mobile landing pages when their respective URLs are set to blank
2016-08-02 20:01:33 -08:00
Asaad Mahmood
b263b0eb98 Multiple Ui improvements (#3678)
* Adding permalink back to mobile

* Improving reply flow and fixing colorpicker on mobile

* Hiding colorpicker on click only for mobile size screens
2016-08-01 11:17:27 -04:00
enahum
6dc7ea6ab2 PLT-3553 Fix System messages show an empty box (#3689) 2016-07-28 13:38:15 -04:00
Christopher Speller
1641370fbe Moving javascript driver back to platform (#3613) 2016-07-19 10:16:44 -04:00
samogot
f31e8e09f5 PLT-914 Add mention notifications for replies on a comment thread (#3130)
* PLT-914 Add mention notifications for replies on a comment thread

* remove useless store method
fix highlighting comments posted before th user write something to thread

* refactor out isCommentMention function after rebase

* change comment bar highlighting to replay icon mention highlighting

* settings and always visible highlight

* fix unit tests for new settings

* change highlight behaviour
- if any message in comment thread generates mention - all thread is highlighted
- remove always visible highlightion

* fix bug about the textarea in the center channel not clearing

* fix default settings value notify_props.comments

* do not highlight own comments if there is no other user's messages in thread

* refactor out ReactDOM.findDOMNode

* refactor out using of UserStore from component
2016-07-19 08:27:23 -04:00
Harrison Healey
f7b3731b2b Merge branch 'release-3.2' into 'master' 2016-07-15 12:26:32 -04:00
samogot
9b9facd3d2 PLT-3366 Holding down the ALT key and clicking on a message adds a new messages indicator (squashed) (#3374) 2016-07-14 08:19:27 -04:00
Harrison Healey
caef414abe PLT-3631 Properly update PostViewController when emojis change (#3565)
* Properly remove custom emojis from clientside store

* Properly update PostViewController when emojis change
2016-07-12 16:06:03 -04:00
Asaad Mahmood
06eacf30b9 PLT-3157 - Adding display width customisation to intro message (#3521)
* PLT-3157 - Adding display width customisation to intro message

* Fixing error
2016-07-12 08:02:30 -04:00
Harrison Healey
9481a4f0ef Merge release 3.2 into master (#3548)
* Bumping version to: 3.2.0-rc1

* PLT-2863 fixing bad merge that broke this PR (#3523)

* PLT-2863 adding remove user from team

* PLT-2863 adding the client side UI

* Fixing trailing space

* Fixing reported issues

* Adding documentatino

* Switching to final javascript driver

* Fixing bad merge

* Fixing bad merge

* PLT-3538 Fix Login page doesn't show SAML option if gitlab is enabled (#3524)

* Login error messages fix (#3525)

* daily translations 20160708 (#3533)

* Fixed permissions when getting a file attachment to use the correct user id (#3535)

* PLT-3575 Fix Cannot upload certificates with .cer file extension on SAML (#3534)

* PLT-3560 blocking adding to channel once user is removed (#3537)

* Always allow system admins to see the Integrations sidebar (#3536)

* Plt 3475 - Post control improvements (#3538)

* Adding class to post when dropdown is active.

* plt-3475 - Post controls improvements

* daily translations 20160711 (#3544)
2016-07-11 14:21:51 -04:00
Asaad Mahmood
075383e190 Plt 3475 - Post control improvements (#3538)
* Adding class to post when dropdown is active.

* plt-3475 - Post controls improvements
2016-07-11 09:37:42 -04:00
Joram Wilander
6c33350f5c On receive of a comment that we don't have the thread for, acquire the thread (#3490) 2016-07-06 08:48:00 -04:00
Asaad Mahmood
f91b9d4a65 PLT-3418, PLT-2950, PLT-3375, PLT-3382, PLT-3446, PLT-3465: Multiple UI Improvements (#3449)
Improving help text margins

Updating changes for get link and create post files

Fixing icon for select team screen

Fixing styles for select team button

Adding improvements to posts UI

Adding improvement to post layout

Updating changes for post controls

Updating z-index for sidebar--right

Updating help text position

Fixing code for posts

Fixing css for post view

Pushing improvements for posts view

Updating changes for post view

Updating post layout

Fixing system time css

Updating header for system posts

Updating post css

Removing opacity and changing color for system messages

Simplifying root post and system post behaviour

Removing images from compact view

Updating help text for display

Updating embed preview text for advanced option

PLT-3490 - Fixing RHS issue on Edge
2016-07-05 15:46:36 -04:00
Harrison Healey
dc2f2a8001 PLT-3145 Custom Emojis (#3381)
* Reorganized Backstage code to use a view controller and separated it from integrations code

* Renamed InstalledIntegrations component to BackstageList

* Added EmojiList page

* Added AddEmoji page

* Added custom emoji to autocomplete and text formatter

* Moved system emoji to EmojiStore

* Stopped trying to get emoji before logging in

* Rerender posts when emojis change

* Fixed submit handler on backstage pages to properly support enter

* Removed debugging code

* Updated javascript driver

* Fixed unit tests

* Fixed backstage routes

* Added clientside validation to prevent users from creating an emoji with the same name as a system one

* Fixed AddEmoji page to properly redirect when an emoji is created successfully

* Fixed updating emoji list when an emoji is deleted

* Added type prop to BackstageList to properly support using a table for the list

* Added help text to EmojiList

* Fixed backstage on smaller screen sizes

* Disable custom emoji by default

* Improved restrictions on creating emojis

* Fixed non-admin users seeing the option to delete each other's emojis

* Fixing gofmt

* Fixed emoji unit tests

* Fixed trying to get emoji from the server when it's disabled
2016-07-05 11:58:18 -04:00
David Lu
eb76e61534 stopped youtube videos upon collapsing (#3388) 2016-06-21 21:21:40 -04:00
Asaad Mahmood
4e38796e69 Improving about modal and colon issue with webhooks (#3343)
Updating word break

Updating improvements for about modal
2016-06-16 08:42:38 -04:00
Harrison Healey
ba77aefe02 PLT-3202 Re-render timestamps when display settings switch between 12h and 24h (#3337)
* Made post timestamp switch from 12h to 24h without refreshing

* Made RHS post timestamps switch from 12h to 24h without refreshing
2016-06-15 08:13:17 -04:00
Joram Wilander
0f7a8f0fb5 Distinguish between static embeds and toggleable embeds (#3333) 2016-06-15 08:01:52 -04:00
Asaad Mahmood
f6b4a611d0 Multiple UI improvements (#3317)
Removing break all

Replacing jquery selectors and some other UI improvements

Removing jquery selector
2016-06-14 13:53:47 -04:00
samogot
400bc8b46d Scrolling fixes (#3200)
* scrolling fixes:
- jumps on free scroll when somebody posts a new message (and old one disappears at top)
- jumps on closing RHS (no compensation of resize)
- scroll blinking on opening/closing RHS (delay before resize compensation)

* fix scroll slipping up on multiple open/close RHS in case when (this.refs.postlist.offsetHeight % Constants.SCROLL_PAGE_FRACTION === 0)
2016-06-10 09:59:13 -04:00
enahum
18c53e03eb PLT-3221 Remove async call to get posts when creating a comment and editing a post (#3300)
PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS
2016-06-09 11:28:57 -07:00
Joram Wilander
1e245f19c7 PLT-3114 Moved preview collapse out of pre-release features (#3206)
* Added user setting to auto collapse image previews

* Added slash commands for collapsing/expanding image previews

* Added translation strings for collapse setting

* Add default props for preview collapse setting
2016-06-06 10:41:54 -07:00
Asaad Mahmood
353216e05c PLT-3182 - Improving switch channels modal and some minor UI improvements (#3238)
* PLT-3182 - Improving switch channels modal and some minor UI improvements

Enabling link previews

Adding compact layout to RHS

Improving timestamps

* Adding update code for RHS components
2016-06-06 08:46:03 -04:00
Asaad Mahmood
7b99ac0a91 PLT-3177 - Fixing ordering for custom themes (#3226)
Fix for bot tag and webhook attachments

Adding theme styling for webhooks

Removing embed styling

Improving margins on compcat view for line breaks
2016-06-03 07:58:23 -04:00
Asaad Mahmood
848a8663ed Multiple UI improvements (#3220)
* Multiple UI improvements

* Pushing time fix

* Fixing absolute time stamps on IOS
2016-06-02 12:34:47 -07:00
Joram Wilander
abde1da60c User display names now update immediately after changing display setting (#3155) 2016-05-30 11:12:08 -04:00
enahum
d331e5b964 PLT-2973 Fix Channel view doesn't scroll to New Messages indicator on first load (#3151) 2016-05-30 08:12:44 -04:00
samogot
e1bebb2d77 PLT-2321 Move the toggle icon next to the link being previewed (#3071)
* PLT-2321 Move the toggle icon next to the link being previewed
only applicable to one-line messages started with link

* remove useless "Youtube" header when no title is available

* allow breaking long links instead of toggle

* simplify "/" to "/<wbr />" replacing
fix empty post without additional content body

* discard buggy "simplification"
2016-05-27 19:31:02 -04:00
Joram Wilander
6399a94ce2 PLT-2672 Refactored posts view with caching (#3054)
* Refactored posts view to use view controller design

* Add post view caching

* Required updates after rebase

* Fixed bug where current channel not set yet was causing breakage
2016-05-27 16:01:28 -04:00