Chris
1ec295f88c
add App.License, remove utils.IsLicensed / utils.License calls ( #8203 )
2018-02-06 17:25:49 -06:00
Joey Lee
1c7f25773a
PLT-3658 Added support for Slack attachments in outgoing webhook response ( #7774 ) ( #8102 )
2018-01-26 08:37:39 -05:00
Jesse Hallam
e5dad3cf68
[PLT-8173] Strip the post_ prefix on incoming webhook overrides. ( #8019 )
2018-01-03 10:35:36 -05:00
Jesse Hallam
e9fe9f50dd
[PLT-8173] Add username and profile picture to webhook set up pages ( #8002 )
2018-01-02 08:41:23 -08:00
Carlos Tadeu Panato Junior
d9b8c4db76
[PLT-8438] Include incoming webhook display name in post props ( #7997 )
2017-12-22 10:20:18 -05:00
Chris
77a1dc1f2f
HTTP client refactor ( #7884 )
...
* http client refactor
* simplification
2017-11-22 10:15:03 -05:00
Carlos Tadeu Panato Junior
fdba2d50fd
[PLT-840] Add option to outgoing webhooks to reply to the posted message as a comment ( #7807 )
2017-11-20 15:57:35 -08:00
Joey Lee
3836f99920
PLT-7824 Added support for mentions with <@userid> and <!here> ( #7615 ) ( #7737 )
2017-11-17 11:17:59 -05:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Chris
9c0575ce6e
PLT-7599: webhook post splitting ( #7707 )
...
* webhook post splitting
* style fix
* update old webhook test
2017-10-24 19:36:31 -04:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Christopher Brown
39cc237269
Merge branch 'release-4.3'
2017-10-16 23:10:45 -05:00
Christopher Speller
3461a7b207
Add back consumeAndClose functionality. ( #7608 )
...
* consume bodies for action button integrations, webrtc gateway, oauth
endpoint
* Fixing a couple more places, switching to io.Copy to ioutil.Discard, adding a comment to help prevent future performance regressions
2017-10-12 08:00:53 -07:00
Chris
bff2b5e735
Miscellaneous app cleanup ( #7594 )
...
* app cleanup
* whoops, forgot a file
* some minor cleanup
* longer container deadline
* defensive checks
2017-10-09 14:59:48 -07:00
Joram Wilander
9adaf53e11
PLT-7818 Updates to post type ( #7579 )
...
* Updates to post type
* Update tests
2017-10-09 10:30:48 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Joram Wilander
f263d2b951
PLT-7684 Add support to outgoing webhooks and slash commands to set post type and props ( #7531 )
...
* Add support to outgoing webhooks and slash commands to set post type and props
* Fix nil access
2017-09-28 09:08:16 -07:00
George Goldberg
d6b5b681ae
Finally do away with NewLocAppError function. ( #7498 )
...
This cleans up the few NewLocAppError calls that crept in since the main
bulk of them were removed, and finally removes the NewLocAppError
function altogether.
2017-09-25 08:25:43 -04:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
Joram Wilander
23e64ec9aa
Invalidate webhook cache after updating webhook ( #7430 )
2017-09-14 11:47:34 -04:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
George Goldberg
e85b5fb988
App: NewLocAppError -> NewAppError ( #7327 )
...
* App: NewLocAppError -> NewAppError
* Remove statuscode that got missed.
2017-09-01 11:42:02 -04:00
David Meza
3c52801193
Config to make town square read only ( #7140 )
...
* Be able to make Town Square read-only (Disable typing messages for non admins).
* Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square.
* Add unit tests for TownSquareIsReadOnly config value and logic.
* Add TownSquareIsReadOnly to System console>Policy. Added Telemetry.
* Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20.
* Update en.json
* Update en.json
* Update policy_settings.jsx
* Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly.
* Refactored to simplify. Avoid code repeat and multiple db calls.
2017-09-01 09:53:55 -04:00
Corey Hulen
1709b94227
PLT-5745 Cleaning up duplicate calls ( #7298 )
...
* PLT-5745 Cleaning up duplicate calls
* Fixing missing calls
* Fixing broken test
2017-08-28 10:08:37 -04:00
Chris
b122381e87
PLT-1649: add response_url support for custom slash commands ( #6739 )
...
* add response_url support for custom slash commands
* pr suggestions
* pr update / suggestion
* test fix
2017-08-16 08:17:57 -04:00
Chris
ffbf8e51fe
PLT-6358: Server HTTP client improvements ( #6980 )
...
* restrict untrusted, internal http connections by default
* command test fix
* more test fixes
* change setting from toggle to whitelist
* requested ui changes
* add isdefault diagnostic
* fix tests
2017-08-09 13:49:07 -07:00
Chris
65817e13c7
PLT-6965 jira integration (plus plugin scaffolding) ( #6918 )
...
* plugin scaffolding / jira integration
* add vendored testify packages
* webhook fix
* don't change i18n ids
* support configuration watching
* add basic jira plugin configuration to admin console
* fix eslint errors
* fix another eslint warning
* polish
* undo unintentional config.json commit >:(
* test fix
* add jira plugin diagnostics, remove dm support, add bot tag, generate web-safe secrets
* rebase, implement requested changes
* requested changes
* remove tests and minimize makefile change
* add missing license headers
* add missing comma
* remove bad line from Makefile
2017-08-02 01:36:54 -07:00
Saturnino Abril
21a3219b9b
[PLT-6676] Make OutgoingWebhook to fire when post has no text content but only attachment ( #6935 )
...
* make OutgoingWebhook to fire when post has no text content but only attachment
* update per comment and modify payload & test
2017-07-18 15:43:31 -04:00
Corey Hulen
6a54f3c489
PLT-6581 breakup webhooks greater than 4K into multiple posts ( #6530 )
2017-06-02 12:08:04 -04:00
Torsten Juergeleit
fdf1164aee
PLT-5705 Created a single source of http.Client creation logic with internet proxy support, reasonable timeouts and optional insecure connections ( #6503 )
2017-05-31 10:34:05 -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
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
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Carlos Tadeu Panato Junior
6a5f621f73
cannot change ID and deleteat when trying to update the hook ( #5784 )
2017-03-16 16:26:15 +00:00
Joram Wilander
19c67d7fe3
Implement GET and POST /hooks/outgoing endpoints for APIv4 ( #5645 )
2017-03-13 10:40:43 -04:00
Harrison Healey
06a7c3ba8e
PLT-5800 Cleaned up duplicated code for adding slack attachments to posts ( #5711 )
2017-03-10 10:22:14 +00:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
Joram Wilander
76fa840b52
Move webhook logic from api layer to app layer ( #5527 )
...
* Move webhook logic from api layer to app layer
* Consolidate error messages
* Fix permission check and unit test
2017-02-28 09:31:53 +00:00
Poornima
19b753467d
Adding edit of incoming webhook ( #5272 )
...
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
2017-02-26 13:48:20 -05:00
Joram Wilander
69cac604e0
Implement create and get incoming webhook endpoints for APIv4 ( #5407 )
...
* Implement POST /hooks/incoming endpoint for APIv4
* Implement GET /hooks/incoming endpoint for APIv4
* Updates per feedback
2017-02-21 19:42:34 -05:00
Christopher Speller
2a9c1afd44
Adding webhook metrics ( #5348 )
2017-02-10 07:05:12 -08:00
Joram Wilander
0e2b321e6f
Refactor and migrate more functions out of api into app package ( #5063 )
2017-01-13 15:17:50 -05:00
Joram Wilander
97558f6a6e
PLT-4938 Add app package and move logic over from api package ( #4931 )
...
* Add app package and move logic over from api package
* Change app package functions to return errors
* Move non-api tests into app package
* Fix merge
2017-01-13 13:53:37 -05:00