Граф коммитов

9522 Коммитов

Автор SHA1 Сообщение Дата
Derrick Anderson
d45d8a16b3 prereq check (#8151) 2018-01-25 08:40:29 -05:00
Joram Wilander
3918ed6c58 Add GET /emojis/name/{emoji_name} API endpoint (#8142) 2018-01-24 08:50:11 -05:00
enahum
f2415b98f6 [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)
* Add ExperimentalGroupUnreadChannels setting

* track ExperimentalGroupUnreadChannels in diagnostics
2018-01-23 17:59:41 -03:00
Harrison Healey
195ad56204 Merge branch 'release-4.6' 2018-01-23 15:07:31 -05:00
Chris
3dad632043 use markdown parsing to identify mentions (#8139) 2018-01-23 14:48:20 -05:00
Chris
b34384dbad set from_webhook if a builtin slash command overrides username or icon (#8143) 2018-01-23 11:26:31 -08:00
Joram Wilander
4f4a765e7d ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)
* Add POST /emoji/search and GET /emoji/autocomplete API endpoints

* Add constant to be clearer
2018-01-23 08:04:44 -08:00
Chris
599991ea73 PLT-3383: image proxy support (#7991)
* image proxy support

* go vet fix, remove mistakenly added coverage file

* fix test compile error

* add validation to config settings and documentation to model functions

* add message_source field to post
2018-01-22 15:32:50 -06:00
enahum
2bdd44cce9 translations PR 20180115 (#8107) 2018-01-21 18:27:59 -03:00
Joram Wilander
a844577535 Add sort query parameter to GET /emojis (#8121) 2018-01-19 09:37:59 -05:00
Evgeniy
9d6a9ff4be Post a system message to the affected channel by CLI command (#7877) (#7968) 2018-01-18 16:05:00 -05:00
Joram Wilander
e9a9262956 Handle missed case with ExperimentalEnableDefaultChannelLeaveJoinMessages setting (#8112) 2018-01-18 11:52:16 -05:00
Chris
4e6cc846a6 Finally remove utils.Cfg (#8113)
* finally remove utils.Cfg

* fix compile error

* another test compilation fix
2018-01-17 13:38:37 -05:00
Joram Wilander
dce0616305 ABC-73 Move session clean-up to daily task (#8095)
* Move session clean-up to daily task

* Split delete query into batches
2018-01-17 08:50:49 -05:00
Chris Duarte
d35d9484f4 Allow deactivation of SSO users api3 (#8008) 2018-01-16 15:47:06 -06:00
Harrison Healey
2fa7c464f0 Updated dependencies and added avct/uasurfer (#8089)
* Updated dependencies and added avct/uasurfer

* Added uasurfer to NOTICE.txt
2018-01-16 12:03:31 -05:00
Chris
f5c8a71698 ABC-22: Plugin sandboxing for linux/amd64 (#8068)
* plugin sandboxing

* remove unused type

* better symlink handling, better remounting, better test, whitespace
fixes, and comment on the remounting

* fix test compile error

* big simplification for getting mount flags

* mask statfs flags to the ones we're interested in
2018-01-15 09:21:06 -08:00
enahum
58defb7424 translations PR 20180109 (#8069)
* translations PR 20180109

* Fix french translation
2018-01-12 14:08:34 -05:00
Chris
7e5ce97668 Remove global cfg vars (#8099)
* remove global cfg vars

* enterprise update
2018-01-12 09:02:11 -05:00
Carlos Tadeu Panato Junior
3d3a234fca [PLT-8430] Auto lowercase team and channel names in API requests (#7992) 2018-01-12 09:01:45 -05:00
Saturnino Abril
4acc2238e9 redirect error uri when OAuth SSO is setup but account creation is disabled (#8086) 2018-01-11 19:18:16 -05:00
Adrian Carolli
b1d13a2d89 [PLT-7793] Add /users/tokens/search endpoint (#8088)
* Add /users/tokens/search endpoint + tests

* Fix check-style

* Unnecessary deletion
2018-01-11 16:30:55 -05:00
Chris
1d9efd0e39 Remove global config watcher (#8080)
* remove global config watcher

* keep config watcher disabled for tests

* compile fix

* fix resource leak
2018-01-11 13:23:41 -08:00
Jesús Espino
6990d052d5 [XYZ-6] Add sampledata platform command (#8027)
* Add fake dependency

* [XYZ-6] Add sampledata platform command

* Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
2018-01-11 10:57:47 -05:00
Jason Blais
ae77328714 Update diagnostics.go for 4.6 release (#8082)
* Update diagnostics.go

* Fix formatting error
2018-01-10 21:50:22 -05:00
Chris Duarte
0a9200c35d Add EnableDefaultChannelLeaveJoinMessages config setting (#7961) 2018-01-10 14:04:04 -08:00
Harrison Healey
90abd76d3f PLT-8522 Added separate messages for being removed from channel or team (#8078) 2018-01-10 12:22:51 -07:00
Jesús Espino
dd9ad10d70 [PLT-6936] Translate AppError.Message automatically by default (#8063) 2018-01-08 13:13:24 -05:00
Chris
591ef9f352 Remove utils.ClientCfg and utils.ClientCfgHash (#8041)
* remove utils.ClientCfg and utils.ClientCfgHash

* remove unused import
2018-01-05 16:17:57 -06:00
Adrian Carolli
fd3fa8f8dc [PLT-7793] Added /users/tokens endpoint (#8038)
* Added /users/tokens/all endpoint

- UserAccessStore now has getAll method
- Added tests
- Added route
- Added handler

* Remove space fix check-style

* Remove blank space check-style

* Fixes for make check-style

* Remove extra code that is un-needed in user_test.go

* Rename endpoint + grammar

- Renamed /users/tokens/all to /users/tokens
- Renamed getUserAccessTokens to getUserAccessTokensForUser
- Renamed getAllUserAccessTokens to getUserAccessTokens
- Minor Grammar changes

* Add localization for sql_user_access_token.get_all

* Fix minor plural spelling
2018-01-05 14:46:48 -05:00
Chris
66bdf830b5 disable config watching during cli tests (#8040) 2018-01-05 13:33:07 -06:00
Derrick Anderson
edc4c35f5f Uncomment upgrade for 4.6 (#8045)
* Uncomment upgrade for 4.6

* add 4.6 version
2018-01-05 12:29:40 -05:00
George Goldberg
143e664cd9 PLT-8312: Use combined LIKE/Full Text search for channels. (#8029)
* PLT-8312: Use combined LIKE/Full Text search for channels.

* Code tidyup

* Get it working consistently and update unit tests.

* Fix code style.
2018-01-05 23:59:10 +08:00
Jesús Espino
a5bbf3f643 PLT-8483: Ignore join/leave team messages for unread counts (#8042) 2018-01-05 09:27:42 -05:00
Chris Duarte
74eb82cfaa rename DefaultTeamName to ExperimentalPrimaryTeam (#8039) 2018-01-05 08:43:55 -05:00
Joram Wilander
45e372fb5b Update Zoom plugin to latest (#8030) 2018-01-04 13:51:11 -08:00
Chris Duarte
5e78d7fe12 Add admin update endpoint that can update authservice and authdata (#7842)
* add admin update endpoint that can upate authservice and authdata

* Control only SystemAdmin access

* Refactored AdminUpdate endpoint to only be able to update AuthData, AuthService and Password by User.Id

* Refactor to move `PUT /api/v4/users/{user_id}/auth`. Created a struct to hold UserAuth info.
2018-01-04 12:45:59 -05:00
Jesse Hallam
e5dad3cf68 [PLT-8173] Strip the post_ prefix on incoming webhook overrides. (#8019) 2018-01-03 10:35:36 -05:00
Chris Duarte
15cc449758 Add color properties to config to white label login buttons (#7826) 2018-01-02 13:36:31 -08:00
Corey Hulen
df09f87def Adding a script to help with ldap config issues (#7995)
* Adding a script to help with ldap config

* Fixing help text

* Fixing typo
2018-01-02 12:11:30 -08:00
Joram Wilander
3f15c73656 Don't omit current user from updated user WS event (#8018) 2018-01-02 11:21:35 -08: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
enahum
b902e4eea9 translations PR 20180101 (#8015) 2018-01-02 08:40:13 -08:00
enahum
afe8fbe2d2 translations PR 20171225 (#8006) 2018-01-02 08:39:59 -08:00
Jesse Hallam
5e5168f5cd fix i18n identifier (#8009) 2018-01-02 08:39:45 -08:00
Chris Duarte
384ca1017a Allow for custom subject in TestInviteUsersToTeam (#7999) 2018-01-02 08:46:31 -05: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
Joram Wilander
1aac5a9c97 Drop built-in plugin start-up log messages to debug from info (#7986) 2017-12-22 13:38:22 +00:00
Chris
91bfc72a99 Reduce logging data races, fix MySQL test race condition (#7994)
* fix races

* revert unintentional change

* fix test as intended
2017-12-22 12:09:33 +00:00
Chris Duarte
5189e8ea10 UCHAT-60 change default notification settings for new users (#7845)
* UCHAT-60 change default notification settings for new users

* 1. Turn off "Case sensitive first name" in Words that trigger mentions. 2. Send Desktop Notifications for "Only for mentions and direct messages".
2017-12-21 15:50:25 -05:00