summaryrefslogtreecommitdiffstats
path: root/webapp/actions/global_actions.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-301-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented initial changes for files table * Removed *_benchmark_test.go files * Re-implemented GetPublicFile and added support for old path * Localization for files table * Moved file system code into utils package * Finished server-side changes and added initial upgrade script * Added getPostFiles api * Re-add Extension and HasPreviewImage fields to FileInfo * Removed unused translation * Fixed merge conflicts left over after permissions changes * Forced FileInfo.extension to be lower case * Changed FileUploadResponse to contain the FileInfos instead of FileIds * Fixed permissions on getFile* calls * Fixed notifications for file uploads * Added initial version of client code for files changes * Permanently added FileIds field to Post object and removed Post.HasFiles * Updated PostStore.Update to be usable in more circumstances * Re-added Filenames field and switched file migration to be entirely lazy-loaded * Increased max listener count for FileStore * Removed unused fileInfoCache * Moved file system code back into api * Removed duplicate test case * Fixed unit test running on ports other than 8065 * Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext * Refactored handleImages to make it more easily understandable * Renamed getPostFiles to getFileInfosForPost * Re-added pre-FileIds posts to analytics * Changed files to be saved as their ids as opposed to id/filename.ext * Renamed FileInfo.UserId to FileInfo.CreatorId * Fixed detection of language in CodePreview * Fixed switching between threads in the RHS not loading new files * Add serverside protection against a rare bug where the client sends the same file twice for a single post * Refactored the important parts of uploadFile api call into a function that can be called without a web context
* Updating ESLint (#4085)Christopher Speller2016-09-231-1/+1
|
* PLT-1759 - Auto-complete for !channels when posting messages. (#3890)George Goldberg2016-09-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Auto-complete for !channels when posting messages. This is part 1 of the fix for PLT-1759 to make channels linkable. Still to do: - Make the !channels clickable when they appear in messages. This is blocked until PR #3865 is resolved as it looks like that refactors some of the code that would be touched by making this change. - Unit tests. Again, I think the above referenced PR should be merged before tackling this. * Fix style problems. * Highlighting of !channel-names in messages. This only identifies the !channel-name (not the display name). The implementation of the auto-complete on channel names now needs to be modified to convert to the channel handle before sending the message. * Display !channel-name as !Display Name. When we encounter !channel-name in a message, display it as a link using the channel's actual name rather than it's handle (name). * Match on names and display name, and use name. * Autocomplete channels matching on both the name and the the display name. * Use the name as the text we fill in instead of the display name. It's potentially a bit ugly, but it minimises complexity for now as otherwise we'd have to do complicated things to the message box. * Fix style issues. * Load more channels everywhere. Whenever we load the list of channels, we should also load the list of more channels. This is to enable auto-completing and auto-linking of all channels whether or not the user is in them currently. * Include more channels in the map for linking. * Listen for channel list updates for autolinking. * Remove accidental console.log. * Autocomplete on more channels too. * i18n for channel autocomplete. * Link directly to channels in !channel mentions. This currently does not work if you aren't a member of that channel. Need to decide what the correct behaviour is in that case. * Fix style issues. * Show channel name and handle in suggestion. * Match channels only at start or after space. * Better matching in text-formatting. Only match channels after a space-type character or at the start in the posts list too. * Move the route construction to make tests work. Moves route-construction out of text_formatting.jsx and into utils.jsx so that the unit tests work once again.
* PLT-1238 on permalink not visible back button points to last channel or ↵enahum2016-09-141-2/+14
| | | | town-square (#4019)
* PLT-3869 Fix set default language when user logs out (#3796)enahum2016-08-151-0/+1
|
* PLT-3506 Added flagged posts functionality (#3679)Joram Wilander2016-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
* PLT-3484 OAuth2 Service Provider (#3632)enahum2016-08-031-7/+0
| | | | | | | | | | | | | | * PLT-3484 OAuth2 Service Provider * PM text review for OAuth 2.0 Service Provider * PLT-3484 OAuth2 Service Provider UI tweaks (#3668) * Tweaks to help text * Pushing OAuth improvements (#3680) * Re-arrange System Console for OAuth 2.0 Provider
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-2/+2
|
* Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-121-2/+2
|
* Merge release 3.2 into master (#3548)Harrison Healey2016-07-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-061-0/+7
| | | | | | | | | | | | | | * 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
* On receive of a comment that we don't have the thread for, acquire the ↵Joram Wilander2016-07-061-31/+11
| | | | thread (#3490)
* Do not clear the more direct messsages list on every open (#3485)Joram Wilander2016-07-051-5/+0
|
* Update permalink error message (#3427)Eric Sethna2016-06-281-1/+1
| | | | | | | | | | * Clarify permalink error message * Clarify permalink error message en.json * Update global_actions.jsx * Update en.json
* Adding webpack code splitting (#3377)Christopher Speller2016-06-221-1/+1
|
* Remove the unnecessary comma (#3351)Park Daesun2016-06-161-1/+1
| | | It is not error, but It is unnecessary
* Merge branch 'release-3.1'JoramWilander2016-06-131-2/+2
|\ | | | | | | | | Conflicts: webapp/components/create_comment.jsx
| * PLT-3203 Commenting on the RHS while in permalink view makes the message not ↵enahum2016-06-071-2/+2
| | | | | | | | show up in the RHS (#3282)
* | PLT-3221 Remove async call to get posts when creating a comment and editing ↵enahum2016-06-091-5/+13
|/ | | | | a post (#3300) PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-021-10/+7
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-011-7/+10
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-011-10/+7
| | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
* Merge branch 'release-3.0'JoramWilander2016-05-271-2/+12
|
* Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-271-12/+6
|
* PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-271-6/+12
| | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text
* Refactor login, claim and create_team into views and add actions (#3110)Joram Wilander2016-05-261-0/+470