Commit Graph

35 Commits

Author SHA1 Message Date
Thomas Balthazar
c226cabc04 PLT-2170 Send payload in application/json for outgoing webhooks (#3160)
* Send payload in application/json for outgoing webhooks

The Add outgoing webhook UI now has a 'Content-Type' field that allows
to choose between application/x-www-form-urlencoded and
application/json. All outgoing webhooks created before this change will
be considered as x-www-form-urlencoded. There's also a minor change in
the way the outgoing webhook summary is displayed: the 'Callback URLs'
label was missing.

* Fix JS formatting errors

* Increase ContentType field length to 128
2016-05-31 10:51:28 -04:00
David Lu
4353e1fb97 PLT-2989 Incoming webhooks available to all channels user is member of (#3082)
* Removed OPEN_CHANNEL check

* Added checks for each type of channel

* Added all channels display

Used onComponentUpdate, made code clearer

* Made requested changes
2016-05-26 08:36:51 -04:00
David Lu
e81fa3220d Added validation for command triggers (#3068) 2016-05-20 14:47:10 -04:00
Christopher Speller
d1efb66ad7 Merge branch 'release-3.0' 2016-05-12 12:11:02 -04:00
Harrison Healey
d9f724f959 PLT-2927/PLT-2924 Fixing issues with integration lists (#2974)
* Changed IntegrationStore to store integrations by team

* Fixed regenerating a command's token not causing the UI to update

* Re-added IntegrationStore.hasReceived methods
2016-05-12 11:30:53 -04:00
Christopher Speller
4b260b761a Updating client dependancies and ESLint (#2954)
* Updating client dependancies

* Fixing eslint errors with updates

* Updating eslint
2016-05-12 07:50:53 -04:00
Harrison Healey
2c92540471 PLT-2698 Integrations improvements (#2883)
* Fixed Integrations link to show up for non-admins (when enabled) and when only slash commands are enabled

* Updated BackstageSidebar to only show enabled integrations

* Added placeholder to integrations list when none exist

* Added loading spinner to integrations pages when they're loading
2016-05-05 09:32:12 -04:00
Christopher Speller
a92e1f79b6 Adding callback URLs to outgoing webhooks display (#2850) 2016-05-02 16:19:52 -04:00
Joram Wilander
3c21405060 Fixed cancel link when adding incoming webhooks (#2831) 2016-05-02 08:08:36 -04:00
Asaad Mahmood
c41cd44ada Multiple UI Improvements (#2802) 2016-04-26 08:59:14 -07:00
Corey Hulen
2e5617c29b PLT-2057 User as a first class object (#2648)
* 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
2016-04-21 22:37:01 -07:00
Harrison Healey
29e1a85360 PLT-2553 Additional backstage UI Improvements (#2673)
* Renamed Commands to Slash Commands in backstage UI

* Updated displayed info for listed commands and outgoing webhooks

* Disallowed empty outgoing webhook trigger words and improved client-side validation for them
2016-04-11 09:04:56 -04:00
Harrison Healey
77ee1ce7fe PLT-2553 Updated backstage page navigation (#2661)
* Updated integrations list based on feedback

* Reorganized Integrations pages

* Repurposed AddIntegration page as a landing page for Integrations

* Moved backstage breadcrumb header into its own component

* Removed unnecessary prop

* Fixed Save links on AddIntegration pages
2016-04-08 11:51:28 -04:00
Asaad Mahmood
32bc97f855 Multiple UI Improvements
* Multiple UI Improvements

* Adding app_body behind missing classes
2016-04-06 11:19:55 -07:00
Harrison Healey
b3edd32aee PLT-1750 Moved slash commands to backstage
* 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
2016-04-05 09:29:01 -04:00
Asaad Mahmood
c12d997f24 Multiple UI Improvements
* Fixing backstage scrolling and link issue

* Fixing system console and color picker css

* Changing the toggleclass
2016-04-05 09:22:26 -04:00
Harrison Healey
cac5c0f0dd Improved handling of invalid incoming and outgoing webhooks 2016-04-04 09:50:01 -04:00
Harrison Healey
9fd7802af1 Added 'Created by...' line in integration list 2016-04-04 09:47:43 -04:00
Harrison Healey
441156b91e Added DisplayName and Description fields to both types of webhooks and slash commands 2016-04-04 09:45:02 -04:00
Asaad Mahmood
d7f394a49b PLT-2395 - Improvements to backstage css 2016-04-04 08:19:27 -04:00
Harrison Healey
132d4cdf8f Moved backstage integrations pages to /settings/integrations 2016-03-29 15:19:04 -04:00
Harrison Healey
46020c7722 Updated AddIntegrations help text 2016-03-29 15:18:48 -04:00
Harrison Healey
355b0d61ae Removed expand widget from the backstage sidebar and changed how the sections highlight 2016-03-29 15:18:48 -04:00
Harrison Healey
4029db3905 Fixed hardcoded team name in InstalledIntegrations 2016-03-29 15:18:48 -04:00
Harrison Healey
17f10b1aba Added english localization for Backstage and additional cleanup 2016-03-29 15:18:48 -04:00
Harrison Healey
149c72cf8c Added ability to regenerate outgoing webhook tokens on InstalledIntegrations page 2016-03-29 15:18:48 -04:00
Harrison Healey
bb13476326 Added delete buttons to InstalledIntegrations 2016-03-29 15:18:48 -04:00
Harrison Healey
3634b5bab5 Fixed adding outgoing webhooks with only a trigger word or a channel 2016-03-29 15:18:48 -04:00
Harrison Healey
f9deb399a9 Removed Team Settings from backstage 2016-03-29 15:18:48 -04:00
Harrison Healey
aa684f0b8b Added ChannelSelect component 2016-03-29 15:18:26 -04:00
Harrison Healey
5e8ab52d23 Added basic AddOutgoingWebhook page 2016-03-29 15:18:26 -04:00
Harrison Healey
3bb9c31967 Added searching to InstalledIntegrations page 2016-03-29 15:18:26 -04:00
Harrison Healey
3246d97d5e Added basic screen to add incoming webhooks 2016-03-29 15:18:26 -04:00
Harrison Healey
dcdea9f30b Added AddIntegration page 2016-03-29 15:18:26 -04:00
Harrison Healey
c417fdc152 Added initial backstage components and InstalledIntegrations page 2016-03-29 15:18:26 -04:00