summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
Commit message (Collapse)AuthorAgeFilesLines
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-301-31/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-3921 Fix System Console Recent Active Users (#3856)enahum2016-09-061-1/+1
| | | * PLT-3921 System Console Recent Active Users
* Do not send push notifications for channels being actively viewed (#3931)Joram Wilander2016-09-021-1/+27
|
* Show loading icon until first page of posts is loaded on channel switch (#3918)Joram Wilander2016-09-021-3/+2
|
* PLT-3593 fixing issue of removing from team DM list (#3857)Corey Hulen2016-08-221-8/+0
|
* Fix the elusive missing posts bug (#3836)Joram Wilander2016-08-191-6/+2
|
* Correctly reset tracker for updateLastViewedAt and other asynchronous calls ↵Joram Wilander2016-08-161-4/+5
| | | | (#3801)
* PLT-3005 Added confirmation screen to integrations (#3747)David Lu2016-08-151-3/+3
|
* Removed /shortcuts from mobile (#3753)David Lu2016-08-111-10/+13
|
* PLT-2899 adding clustering of app servers (#3682)Corey Hulen2016-08-041-1/+2
| | | | | | | | | | | | | | | | | | * PLT-2899 adding clustering of app servers * PLT-2899 base framework * PLT-2899 HA backend * PLT-2899 Fixing config file * PLT-2899 adding config syncing * PLT-2899 set System console to readonly when clustering enabled. * PLT-2899 Fixing publish API * PLT-2899 fixing strings
* Moving javascript driver back to platform (#3613)Christopher Speller2016-07-191-1/+1
|
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-13/+3
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* PLT-2992 Added the ability to use different themes for each team (#3411)Harrison Healey2016-07-141-0/+23
| | | | | | | | | | | | | | | | | | | | | | * Cleaned up user_settings_theme.jsx and import_theme_modal.jsx * Made ImportThemeModal use a callback to return the theme to the user settings modal instead of saving it directly * Moved user theme from model to preferences * Added serverside API to delete preferences TODO update package with client stuff * Changed constants.jsx so that Preferences and ActionTypes can be imported on their own * Updated ThemeProps migration code to properly rename solarized code themes * Fixed warnings thrown by AppDispatcher * Added clientside UI to support team-specific themes * Removed debugging code from test * Fixed setting a user's theme when they haven't set their theme before
* PLT-3366 Holding down the ALT key and clicking on a message adds a new ↵samogot2016-07-141-0/+37
| | | | messages indicator (squashed) (#3374)
* PLT-3237 Update displayed config values in admin console after saving (#3506)Harrison Healey2016-07-061-2/+9
| | | | | | * Reloaded admin console data when settings are saved * Fixed attempting to save an invalid config setting overwriting the stored config
* PLT-3145 Custom Emojis (#3381)Harrison Healey2016-07-051-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-3203 Commenting on the RHS while in permalink view makes the message not ↵enahum2016-06-071-4/+6
| | | | show up in the RHS (#3282)
* Refactor login, claim and create_team into views and add actions (#3110)Joram Wilander2016-05-261-1/+1
|
* Refresh login page if server version of client doesn't match browser version ↵Joram Wilander2016-05-161-13/+17
| | | | of client (#3004)
* PLT-2927/PLT-2924 Fixing issues with integration lists (#2974)Harrison Healey2016-05-121-0/+6
| | | | | | | | * Changed IntegrationStore to store integrations by team * Fixed regenerating a command's token not causing the UI to update * Re-added IntegrationStore.hasReceived methods
* Recent mention searches now OR terms instead of AND (#2931)Joram Wilander2016-05-091-2/+3
|
* PLT-2600/PLT-2770 Changed getPublicLink api call to return a proper JSON ↵Harrison Healey2016-05-061-4/+2
| | | | | | | | string (#2914) * Removed unused channelId and userId parameters from web client getPublicLink method * Changed getPublicLink api call to return a proper JSON string
* PLT-2600/PLT-2770 Added Get Public Link modal and added new API for public ↵Harrison Healey2016-05-051-0/+30
| | | | | | | | file links (#2892) * Switched public file links to use a GetLinkModal * Separated getFile and the new getPublicFile api calls
* Performance improvments (#2869)Christopher Speller2016-05-041-1/+0
|
* PLT-2707 Adding option to show DM list from all of server (#2871)Corey Hulen2016-05-041-0/+22
| | | | | | * PLT-2707 Adding option to show DM list from all of server * Fixing loc
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-168/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams
* Add custom branding functionality (#2667)Joram Wilander2016-04-111-1/+0
|
* PLT-1750 Moved slash commands to backstageHarrison Healey2016-04-051-0/+77
| | | | | | | | | | | | | | * Added slash commands to InstalledIntegrations page * Reset installed integration type filter if there is no longer any integrations of the selected type * Added pages to backstage to add slash commands * Cleaned up internationalization for slash commands * Added ability to regen slash command tokens from backstage * Removed Integrations tab from UserSettings
* Improved handling of invalid incoming and outgoing webhooksHarrison Healey2016-04-041-4/+4
|
* Added ability to regenerate outgoing webhook tokens on InstalledIntegrations ↵Harrison Healey2016-03-291-0/+15
| | | | page
* Added delete buttons to InstalledIntegrationsHarrison Healey2016-03-291-0/+30
|
* Added basic screen to add incoming webhooksHarrison Healey2016-03-291-0/+46
|
* Added initial backstage components and InstalledIntegrations pageHarrison Healey2016-03-291-0/+46
|
* Changed PreferenceStore to store data in memoryHarrison Healey2016-03-231-3/+14
|
* Revert "PLT-2183 Slash command auto-complete"Christopher Speller2016-03-181-3/+3
|
* Fixing merge=Corey Hulen2016-03-171-3/+3
|\
| * fix eslint errorsNicolas Clerc2016-03-171-4/+1
| |
| * add external slashcommands managementNicolas Clerc2016-03-171-3/+6
| |
* | merging files=Corey Hulen2016-03-161-0/+26
|/
* Converting to Webpack. Stage 1.Christopher Speller2016-03-161-0/+1086