Saturnino Abril
2708ed6d1f
add client config of ExperimentalEnablePostMetadata ( #9970 )
2018-12-06 12:10:12 -05:00
Christopher Speller
1bac79b9b4
Fix panic with customurlschemes ( #9968 )
2018-12-06 10:56:06 -05:00
Hanzei
2eaa9e9b35
Migrate to idiomatic error handling in api4/user.go ( #9962 )
2018-12-06 10:55:06 -05:00
George Goldberg
36e54bcc59
MM-13184: Add some documentation to API handlers. ( #9939 )
2018-12-05 17:37:30 -05:00
Christopher Speller
8abec4a785
Switching to maintained gomail fork.
2018-12-05 13:51:47 -08:00
Christopher Speller
260b107590
Updating dependencies.
2018-12-05 13:51:47 -08:00
Jesús Espino
acdc20d486
Reading months to translation (included in the extraction tool too) ( #9953 )
2018-12-05 20:00:33 +01:00
Jesse Hallam
a317093467
leverage CheckCommand when a cmd should pass ( #9944 )
...
Using RunCommand obscures the error if, indeed, the assertion fails because the cmd fails to run.
2018-12-05 10:51:31 -08:00
Christopher Speller
aba194188f
MM-12855 Plugin Context ( #9922 )
...
* Basic plugin context.
* Adding more useful fields to plugin context.
* Fix spelling
Co-Authored-By: crspeller <crspeller@gmail.com >
* Fixing location of context creation.
2018-12-05 10:46:08 -08:00
Hanzei
de5440d979
Depreciate fullmap target ( #9963 )
2018-12-05 10:13:00 -08:00
Mukul Rawat
56937b0e8b
* migrate to idiomatic handling the Reader method of LocalFileBackend ( #9959 )
...
* migrate to idiomatic handling the ReadFile method of LocalFileBackend
* migrate to idiomatic handling the ListDirectory method of LocalFileBackend
* gofmt done
* migrate to idiomatic handling the FileExists method of LocalFileBackend
2018-12-05 11:10:54 +01:00
Mukul Rawat
d3c55b8a02
make the error handling idiomatic ( #9942 )
...
remove an excess if-else
* run gofmt
2018-12-04 21:55:13 +01:00
Dan Maas
b1438209a6
NOTICE.txt updates for December 2018 ( #9926 )
...
- Added new dependencies `semver` and `logrus`
2018-12-04 20:50:55 +01:00
Jesús Espino
6a2f81601d
Commenting out delete command test becase race condition ( #9952 )
2018-12-04 20:36:53 +01:00
Jesús Espino
105fc4b38d
Fixing weird fail on delete command tests ( #9937 )
2018-12-04 12:36:58 +01:00
Joram Wilander
2d8cb45ff3
Temporary fix for slack attachment fields being clobbered by plugins ( #9935 )
2018-12-04 11:08:10 +01:00
Jesús Espino
2611606e13
Improved how CLI "command delete" command works ( #9929 )
2018-12-04 06:13:37 +01:00
Joram Wilander
2b99627026
Revert temporary webhook debugging ( #9934 )
...
* Revert "More temporary debugging (#9932 )"
This reverts commit eab2336bb1 .
* Revert "Add temporary webhook debug logs (#9931 )"
This reverts commit 043a455ce3 .
2018-12-03 15:05:52 -05:00
Christopher Speller
2770d4db64
Updating content security policy. ( #9906 )
2018-12-03 18:59:30 +01:00
Jesús Espino
bf19debdfd
Migrate to idiomatic error handling the api4/channel.go file ( #9933 )
2018-12-03 18:27:58 +01:00
Joram Wilander
eab2336bb1
More temporary debugging ( #9932 )
2018-12-03 17:27:26 +01:00
Joram Wilander
043a455ce3
Add temporary webhook debug logs ( #9931 )
2018-12-03 14:50:37 +01:00
Jesús Espino
adedb44925
Validating config on set command ( #9914 )
...
* Validating config on set command
* Adding more tests to confg set command
2018-12-03 14:18:05 +01:00
Christopher Speller
21aaddef92
Fixing initalization order. ( #9916 )
2018-11-30 17:07:08 +01:00
Kautilya Tripathi
8cd0f284d5
[GH-9639] Add plugin API for SearchUsers method ( #9793 )
...
* fixes 9639
* Adding conversion.
2018-11-30 07:47:17 -08:00
Christopher Speller
acd2deaca3
Fixing enterprise init order. ( #9912 )
2018-11-29 10:12:05 -08:00
Jesse Hallam
6d9b4bc277
fix two page, perPage -> offset, limit mistranslations ( #9904 )
...
* fix two page, perPage -> offset, limit mistranslations
* add TestPluginAPIGetUsersInTeam
2018-11-29 13:02:06 -05:00
Jesús Espino
8bbd99aea9
Adding make i18n-extract command to the makefile ( #9909 )
2018-11-29 08:19:26 -08:00
Jesús Espino
ba0a9b4d50
MM-12368: Fixing webhook create incomming ( #9905 )
2018-11-29 11:49:45 +01:00
Christopher Speller
da265fbaf7
Moving app from singular to being created for every request ( #9889 )
...
* Moving app from singular to being created for every request.
* Automatic refactor
* Adding license header
* Feedback fixes
2018-11-28 10:56:21 -08:00
Carlos Tadeu Panato Junior
1bcf08aa4b
Refactor Get/Create Direct Channel into one function ( #9867 )
...
* refactor GetDirectChannel and CreateDirectChannel in one function
* remove CreateDirectChannel plugin api and update GetDirectChannel and GetGroupChannel plugin api
* update tests
2018-11-28 18:01:49 +01:00
George Goldberg
09eae76c00
Use constants for NotifyProps keys. ( #9901 )
...
We have constants for (most) of the notify props keys. We should use
them consistently, instead of sometimes and other times having strings
scattered around the place.
2018-11-28 11:11:41 -05:00
Harrison Healey
1607d18e55
MM-12009 Resolve relative links in posts as the web app does ( #9896 )
2018-11-28 11:01:35 -05:00
George Goldberg
9730b46bca
MM-13190: Fix NotifyProps in Bulk Import. ( #9900 )
...
If some, but not all, notify props are specified for a user in the bulk
import data, and that is a newly created user, we must explicitly
initialise all the other notify props to their default values to avoid
breaking client assumptions.
2018-11-28 15:28:51 +00:00
Jesús Espino
415036ee8d
Improving create-outgoing webhook command ( #9899 )
2018-11-28 15:55:16 +01:00
Joram Wilander
3904c01f46
MM-12881 Add license sku fields ( #9883 )
...
* Add license sku fields
* Add diagnostics
* Gofmt fixes
2018-11-28 09:49:43 -05:00
Christopher Speller
2e4373f91c
Properly reuturning result from store function so failure is caught. ( #9890 )
2018-11-28 06:43:22 -08:00
Jesse Hallam
136d8ca5c4
Various unit test related improvements ( #9865 )
...
* api4: improved error handling
* system_store: more logs
* integrate go-junit-report into test-te/test-ee
* add CI_MINIO_HOST and CI_INBUCKET_HOST instead of CI_HOST
* comment re: minio configuration issue
* fix TestStartServerPortUnavailable to pass even when root can bind to :21
* skip TestFindManifest_FolderPermission while running as root
2018-11-28 09:05:39 -05:00
George Goldberg
c24c518a14
MM-13185: Fix Message Export config special case. ( #9898 )
...
It should only apply when setting through the System Console, to avoid
messing up externally managed config files.
2018-11-28 14:01:29 +00:00
George Goldberg
9afb1586cd
MM-12648: Properly unescape OpenGraph metadata containing HTML entities. ( #9891 )
2018-11-28 10:58:12 +00:00
Harrison Healey
4294758793
MM-13208 Rename DisablePostMetadata setting to EnablePostMetadata and turn off by default ( #9894 )
2018-11-27 16:13:02 -05:00
Shobhit Gupta
514c1f1617
[MM-12452] Stop inserting hashed plugin keys ( #9817 )
...
* Stop inserting hashed plugin keys
* Address comments
* Remove else statement
* Address comments
* Add comment
* Update as per comments
* Refactor as per comments
* Update plugin_key_value_store.go
minor comment tweaks
* fail on non StatusNotFound for original key query
* idiomatic error handling, and do not clean up if insert fails
2018-11-27 21:50:31 +01:00
Harrison Healey
385a0048bf
MM-13015 Remove metadata field from post when metadata is disabled ( #9882 )
2018-11-26 10:48:58 -05:00
Carlos Tadeu Panato Junior
79f1c1d44c
Add preparatory upgrade code for 5.7.0 ( #9881 )
2018-11-26 14:58:12 +01:00
Carlos Tadeu Panato Junior
7253b2c59c
upgrade db to 5.6.0 ( #9880 )
2018-11-26 14:05:04 +01:00
Harshit Patni
7663de06bb
[MM - 12370] Add cli command "webhook delete" ( #9804 )
...
* [MM - 12370] Add cli command "webhook delete"
* Replace spaces with tabs
* Call cli command to delete hooks in tests
* Capture webhook object from create webhook to get webhook id
* Print error message when webhook not deleted
* Remove redundant error message and if condition in webhook delete test
* Fix build
2018-11-26 12:32:11 +01:00
Harrison Healey
ba627c0f92
Skip getting the post again when getting file metadata for a post ( #9879 )
2018-11-26 10:47:01 +00:00
Harshil Sharma
60393f1cad
#132 Added some comments for API client ( #9872 )
...
* #132 Added some comments for API client
* #132 fixed godoc formatting
* #138 fixed go formatting
2018-11-26 10:43:56 +00:00
Jesús Espino
be8be3a6dc
Moving app level migrations to its own file ( #9871 )
2018-11-23 09:39:33 -08:00
Hanzei
21cbdb6de6
Add helper methods for SubmitDialog structs ( #9864 )
...
* Add To/From JSON methods for SubmitDialog structs
* Fix method ordering
2018-11-23 12:29:32 -05:00