Jesús Espino
2945e8a2b0
MM-10699: Disallow renaming direct and group message channels ( #9518 )
...
* MM-10699: Disallow renaming direct and group message channels
* Replacing errors.New with errors.Wrapf
2018-10-02 19:33:52 +02:00
Jesús Espino
c82a84ed76
MM-12067: Add SetDefaultProfileImage to reset the user profile image to a generated one ( #9449 )
...
* MM-12067: Add SetDefaultProfileImage to reset the user profile image to a generated one
* Allow to get the default profile image for my user
* Allowing to reset the last update image date to 0
* PR reviews
2018-10-02 08:04:38 +02:00
Jesse Haka
3e462713de
if EnableLinkPreviews not enabled, do not call url ( #9461 )
2018-10-02 08:00:50 +02:00
George Goldberg
328d9a55ee
Bump prerequisite go version check to 1.11 ( #9517 )
2018-10-01 10:21:55 -07:00
Carlos Tadeu Panato Junior
ad4443d06d
fix gofmt for go 1.11 ( #9516 )
...
* fix gofmt for go 1.11
* fix test
* comment out one test
2018-10-01 10:19:11 -07:00
George Goldberg
a0f75cadb2
MM-12110: Don't /invite or /kick deactivated users. ( #9494 )
2018-10-01 13:51:12 +01:00
Harshil Sharma
71e3afaf63
#MM-12130 - Fix incorrect key in en.json and changes some translations from service terms to terms of service ( #9488 )
...
* Fix incorrect key in en.json and changes some translations from service terms to terms of service
* Improved translated messages
2018-10-01 13:16:13 +02:00
Jesús Espino
a6fa2b72d1
Migrate to idiomatic error handling app/notification*.go ( #9487 )
2018-10-01 10:22:31 +02:00
Christopher Speller
a8c01377bc
Updating server dependancies. ( #9498 )
2018-09-28 12:40:17 -07:00
Carlos Tadeu Panato Junior
006623e0f7
Add preparatory upgrade code for 5.5.0 ( #9479 )
2018-09-28 17:18:19 +02:00
Jesús Espino
a551b375fa
Idiomatic error handling for app/{job,license,login}.go ( #9474 )
2018-09-28 16:55:14 +02:00
Jesse Hallam
ee672a72e4
MM-12192: autocompleteUsers: if a teamId is provided, require it to match the channel's team id ( #9481 )
...
* MM-12192: unit test
* MM-1292: autocompleteUsers: if a teamId is provided, require it to match the channel's team id
2018-09-28 10:06:40 -04:00
Jason Blais
de5c8622f8
Add EnablePublicChannelsMaterialization to diagnostics.go ( #9495 )
...
* Fix style error in diagnostics.go
* Add EnablePublicChannelsMaterialization to diagnostics.go
* Fix build error
2018-09-28 15:59:56 +02:00
George Goldberg
a257d501df
MM-12080: Added some extra logging to cluster leader changed. ( #9475 )
...
Purpose of this is to make in-field debugging of cluster leader issues
(particularly around duplicate job scheduling) easier to debug from
production server logs.
2018-09-27 12:17:55 -07:00
Mark Vainomaa
760e200795
Bump AuthorizeRequest State max length to 1024 ( #9468 )
...
Resolves MM-12000
2018-09-27 12:17:27 -07:00
George Goldberg
cad806703d
MM-12013: Fix post-permission checks to cascade for DM/GM channels. ( #9476 )
2018-09-27 12:15:47 -07:00
Christopher Speller
4546423427
Fixing non elastic search paging. ( #9471 )
2018-09-27 15:11:19 -04:00
Hanzei
15d9f10f43
Add plugin API methode to return the current server version ( #9429 )
2018-09-27 12:56:47 -04:00
Jesús Espino
d937f41233
Idiomatic error handling for app/import*.go ( #9473 )
2018-09-27 18:55:07 +02:00
Jesús Espino
49e0473753
MM-11567: Autocomplete search in: for DMs and GMs ( #9430 )
...
* MM-11567: Autocomplete search in: for DMs and GMs
* Adding unit tests
* Allowing to search Direct Messages in the autocompletion
* Fix it in TE
2018-09-27 16:15:41 +02:00
Jesús Espino
89852d04c0
When leave a channel the push notification can fail ( #9478 )
2018-09-27 15:10:09 +01:00
Carlos Tadeu Panato Junior
e77f9d06f5
Uncomment upgrade for 5.4.0 ( #9477 )
2018-09-27 16:09:21 +02:00
Jesse Hallam
34a1da9717
emit CustomTermsOfService in license ( #9472 )
2018-09-27 11:24:57 +01:00
Jesse Hallam
af984b71e9
ensure subpath redirect preserves query string correctly ( #9444 )
...
The previous code appended a `/` to the end of the URL, breaking if a
query string was present.
2018-09-27 09:34:45 +02:00
Elias Nahum
6a4d21d056
translations PR 20180924 ( #9454 )
2018-09-26 22:02:27 -03:00
Harshil Sharma
af275fe924
#MM-12130 changes for custom service terms ( #9450 )
...
* #MM-12130 changes for custom service terms
* Fixed styling
* Added getServiceTerms API
* removed unnecessary panic
* removed custom service terms text from flat config
* reverted user sql store as those changes are no longer needed
* added tests
* Updated a config key to be more standard
* Added copyright info
* Loading service terms only if the feature is enabled
* Loading service terms only if the feature is enabled
* removed unused index
* added createservice termns API
* made a param to bool instead of string
* added createservice termns API
* review fixes
* fixed styling
* Minor refactoring
* removed saveConfig and loadConfig magic
* added empty service terms text check to createServiceTerms API
* refactoed some urls to be terms_of_service instead of service_terms
* removed check for support settings
* changed URLs in tests
* removed unused code
* fixed a bug
* added service termd id in conif
* fixed a test
* review fixes
* minor fixes
* Fixed TestCreateServiceTerms
2018-09-26 16:49:22 -04:00
Harrison Healey
4e59a27293
Move HTTPService and ConfigService into services package ( #9422 )
...
* Move HTTPService and ConfigService into utils package
* Re-add StaticConfigService
* Move config and http services into their own packages
2018-09-26 12:42:51 -04:00
Jesús Espino
15d64fb201
MM-7188: Cleaning push notification on every read, not only on channel switch ( #9348 )
...
* MM-7188: Cleaning push notification on every read, not only on channel switch
* Removed unnecesary goroutine
* Fixing tests
* Applying suggestion from PR
2018-09-26 16:34:12 +02:00
Christopher Speller
37e00ef916
Adding paging to elasticsearch API. ( #9425 )
2018-09-26 10:27:04 -04:00
Jesús Espino
bfec808e53
Idiomatic error handling for app/file.go ( #9456 )
2018-09-25 16:23:23 -04:00
Jesús Espino
7636650a25
Migrate to idiomatic error handling app/a*.go and app/b*.go ( #9455 )
2018-09-25 08:42:06 -04:00
Christopher Speller
3785ad48c1
Adding arg spec to bulk export. ( #9453 )
2018-09-25 10:57:35 +01:00
Jesús Espino
a4ae404473
Migrate to idiomatic error handling app/authentication.go ( #9411 )
2018-09-24 22:22:24 +02:00
Dan Maas
90863683bf
Update NOTICE.txt ( #9433 )
...
- Update homepage, owner, and copyright info for all dependencies
- Add SPDX open-source license IDs
- Alphabetize dependency list so future updates will cause smaller diffs
2018-09-24 15:34:50 -04:00
Jesús Espino
38529ca23c
Add missing dots (fixing compilation error on go 1.11) ( #9448 )
2018-09-24 12:00:28 -07:00
Carlos Tadeu Panato Junior
f917d3d19b
add translation strings and add test case ( #9294 )
2018-09-24 11:59:53 -07:00
Jesús Espino
847f30a13b
MM-11707: Change the default setting for EDIT_OTHERS_POSTS ( #9447 )
...
* MM-11707: Removes edit_others_posts permission from the team_admin role in MakeDefaultRoles().
* MM-11707: Tests fix.
* MM-11707: Update test store.
* MM-11707: Allow to change the permission for edit the others posts on TE
* Fixing tests
2018-09-24 15:35:39 +02:00
Joram Wilander
89cd752aa1
Include webhook ID in debug log ( #9439 )
2018-09-24 08:19:56 -04:00
Jesús Espino
9d73c79def
Idiomatic error handling for app/c*.go ( #9423 )
2018-09-24 13:27:31 +02:00
Jesús Espino
8898d7aab9
Idiomatic error handling for app/e*.go ( #9426 )
2018-09-24 12:52:29 +05:30
Vasily Naumkin
74c92237c0
Do not force downloading of shared public files ( #9412 )
...
I believe we don't need to force downloading of shared public files, because `writeFileResponse` method will compare its MIME type with `MEDIA_CONTENT_TYPES` and output it inline or as attachment automatically.
Usually we are share images and it is much more convenient to see them without downloading.
2018-09-21 08:22:23 -07:00
Joram Wilander
d764b26b52
Fail plugin activation if no web app and server component ( #9438 )
2018-09-21 08:07:32 -07:00
Jesús Espino
a08df883b4
Move file backend to its own service ( #9435 )
...
* Move file backend to its own service
* Moving utils/inbucket to mailservice package
2018-09-20 10:07:03 -07:00
Elias Nahum
f1be975d7a
translations PR 20180917 ( #9428 )
2018-09-20 11:53:10 -03:00
Christopher Speller
3ea33b76f8
Improving token lookup. ( #9436 )
2018-09-20 10:23:44 -04:00
Hanzei
1463df21a5
Add ChannelId and TeamId to PostActionIntegrationRequest ( #9384 )
...
* Add ChannelId and TeamId to PostActionIntegrationRequest
* Add tests
2018-09-19 08:39:36 -04:00
Jesse Hallam
0204c45b7a
Revert "disable EnablePublicChannelsMaterialization by default ( #9418 )" ( #9427 )
...
This reverts commit 5786b0d6d5 , now that
the feature is safe to enable by default.
2018-09-18 10:53:36 -04:00
Jesús Espino
c2496911c0
Migrate to idiomatic error handling the first half to the app/channel.go ( #9413 )
2018-09-17 23:10:57 +02:00
Jesse Hallam
6c826e765f
materialize PublicChannels without triggers ( #9424 )
...
Creating triggers requires SUPERUSER privileges, and is especially
painful on RDS. Pivot to maintaining this denormalized table in code.
2018-09-17 13:25:19 -07:00
Harrison Healey
6c2a5555b8
MM-11700 Clean up handling of user display names for notifications ( #9343 )
...
* MM-11700 Clean up handling of user display names for notifications
2018-09-18 00:20:12 +05:30