Harrison Healey
8d66523ba7
Used a consistent tense for system messages ( #8079 )
2018-01-26 13:35:50 -05: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
Martin Kraft
540dd9ae94
XYZ-32: Increases size of position to 128 characters. ( #8148 )
...
* XYZ-32: Changes type of 'position' column on 'users' table.
* XYZ-32: Uncomment to run on CI and pre-release.
* XYZ-32: Reverts translation changes.
* XYZ-32: Fix for gofmt.
2018-01-26 08:37:12 -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
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
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
Chris
7e5ce97668
Remove global cfg vars ( #8099 )
...
* remove global cfg vars
* enterprise update
2018-01-12 09:02:11 -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
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
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
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
Siyuan Liu
a37d53c732
PLT-8350 "mention" when channel user count equals to max allowed num ( #7976 )
2017-12-15 14:16:31 -06:00
Yusuke Nemoto
ddd99f7476
PLT-6896 per-paging for logs ( #7903 )
...
* PLT-6896 Read logs from last
* Getting rid of file.Stats
* remove deprecated value
* Make non-reassigned value constant
2017-12-13 13:04:55 -06:00
Siyuan Liu
c39788b64b
Do not auto-join 'off-topic' channel if it is private ( #7950 )
2017-12-13 12:50:07 -06:00
Chris
4c17bdff1b
Add plugin slash command support ( #7941 )
...
* add plugin slash command support
* remove unused string
* rebase
2017-12-08 13:55:41 -06:00
Tsilavina Razafinirina
0cdf969ac7
PLT-6217-bis Fixes system message posted to Town Square when a user joins a team #7863 ( #7864 )
...
* Adds new string post message when a user has joined a team (#6483 )
* Simplifies long if statement in post.go (#6483 )
2017-12-08 11:15:33 -08:00
Joram Wilander
5358b9c42c
Update zoom plugin to latest ( #7959 )
2017-12-07 14:05:09 -08:00
Joram Wilander
4da0257bd5
Add diagnostic for zoom plugin ( #7958 )
2017-12-07 14:03:11 -08:00
Chris
98620d5aa3
update jira plugin ( #7949 )
2017-12-05 18:14:41 -06:00
Joram Wilander
7cefef6d21
Hash key for plugin store and limit id length ( #7933 )
2017-12-05 15:19:33 -08:00
Joram Wilander
150de584c3
PLT-8131 Bundled zoom plugin ( #7947 )
...
* Bundled zoom plugin
* Update plugin to latest
2017-12-05 16:35:46 -05:00
Chris
e7725106ed
fix post editing when channel links are present ( #7938 )
2017-12-05 14:18:45 -05:00
Joram Wilander
7a1f81cd52
Add GetChannelMember method to plugin API ( #7930 )
2017-12-05 09:14:03 -05:00
Chris
46f51197fb
update jira plugin ( #7934 )
2017-12-04 13:23:49 -06:00
Christopher Speller
81c1fad4d4
Revert "Hash key for plugin store table and limit plugin ID length ( #7915 )" ( #7931 )
...
This reverts commit c3af878573 .
2017-12-01 23:20:11 -08:00
Joram Wilander
c3af878573
Hash key for plugin store table and limit plugin ID length ( #7915 )
...
* Hash plugin store keys and update column limits
* Limit plugin ID length on install
* Add note to manifest id and allow zero length keys
2017-12-01 15:20:08 -05:00
Chris
1c1c184bed
plugin http fixes and tests ( #7929 )
2017-12-01 10:07:32 -05:00
Chris
daebd26a28
PLT-8018: Bundled jira plugin ( #7920 )
...
* bundled jira plugin
* fix generated file formatting, add prepackaged key
* whoops, uploaded wrong file
* whitelist generated files for license check
* make it work for people without go/bin in their path
2017-11-30 14:55:44 -06:00