Joram Wilander
dd1c8c22dc
Fix panic when receiving a config to update to if some settings are not set ( #13889 )
2020-02-13 14:26:57 -05:00
Miguel de la Cruz
84f45634a8
Remove remaining t.Fatal from the codebase ( #13876 )
...
* Remove remaining t.Fatal from the codebase
* Fix job_store test
* Address review comments
* Remove comments
2020-02-13 17:53:23 +01:00
Jesús Espino
1d1ab03c38
Passing t to all tests setup functions ( #13841 )
...
* Passing t to all tests setup functions
* Fixing build
2020-02-10 19:31:41 +01:00
Shota Gvinepadze
ffb3897c8c
Disable signatures modification through API ( #13682 )
...
Co-authored-by: mattermod <mattermod@users.noreply.github.com >
2020-01-29 18:39:00 +04:00
Rajat Varyani
51a61f6bc1
[MM-19720] Expose endpoint for config patch ( #12997 )
2020-01-14 13:06:17 +01:00
Jesús Espino
a63684fcb5
Consistent license message for all the go files ( #13235 )
...
* Consistent license message for all the go files
* Fixing the last set of unconsistencies with the license headers
* Addressing PR review comments
* Fixing busy.go and busy_test.go license header
2019-11-29 12:59:40 +01:00
Miguel de la Cruz
2259b7f2a8
[MM-19948] Set version on module file and internal paths ( #13186 )
...
* [MM-19948] Set version on module file and internal paths
* Fixes after merge
* Fix i18n checker error
2019-11-28 14:39:38 +01:00
Akshay Chhajed
5b89cdcb6b
GH-12888 Modify api4/config_test.go to use testify ( #12946 )
2019-11-06 20:51:30 +01:00
Joram Wilander
404c49f62f
MM-16725 Respect env var overrides when setting config ( #11821 )
...
* Respect env var overrides when setting config
* Use strings.NewReader
2019-08-09 11:33:59 -04:00
Jesús Espino
5dee75553d
MM-15006: Returning informative errors on config validation ( #10585 )
...
* MM-15006: Returning informative errors on config validation
* Adding new unit test verifying the validation and correct response
2019-04-11 08:57:25 +02:00
Jesse Hallam
8c8b1bbc9c
MM-14441: restrict system admin config ( #10477 )
...
* tweak utils.Merge docs
* move merge_test to utils_test package for easier testing
* utils: support MergeConfig and StructFieldFilter
* constrain updating certain fields by the restricted system admin
2019-03-21 15:46:38 -04:00
Jesús Espino
921504483b
Removing unnused InviteSalt config ( #10446 )
2019-03-15 07:06:28 +01:00
Jesse Hallam
9ef8c1e8b1
MM-14439: experimental restrict system admin ( #10414 )
...
* api4: break out license and config from system
* app: move some config functions from admin.go to config.go
* add ExperimentalSettings.RestrictSystemAdmin
* forbid various actions to restricted system admin
* update default.json
* fix function names in errors
2019-03-08 13:15:28 -05:00