summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* PLT-3145 Custom Emojis (#3381)Harrison Healey2016-07-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorganized Backstage code to use a view controller and separated it from integrations code * Renamed InstalledIntegrations component to BackstageList * Added EmojiList page * Added AddEmoji page * Added custom emoji to autocomplete and text formatter * Moved system emoji to EmojiStore * Stopped trying to get emoji before logging in * Rerender posts when emojis change * Fixed submit handler on backstage pages to properly support enter * Removed debugging code * Updated javascript driver * Fixed unit tests * Fixed backstage routes * Added clientside validation to prevent users from creating an emoji with the same name as a system one * Fixed AddEmoji page to properly redirect when an emoji is created successfully * Fixed updating emoji list when an emoji is deleted * Added type prop to BackstageList to properly support using a table for the list * Added help text to EmojiList * Fixed backstage on smaller screen sizes * Disable custom emoji by default * Improved restrictions on creating emojis * Fixed non-admin users seeing the option to delete each other's emojis * Fixing gofmt * Fixed emoji unit tests * Fixed trying to get emoji from the server when it's disabled
* Adding page size option to LDAP (#3439)Christopher Speller2016-07-041-0/+10
|
* Fix FD leak (#3464)@42wim2016-07-041-0/+9
|
* enabled team creation for sysadmins (#3433)David Lu2016-06-301-2/+2
|
* EE: Add the ability to restrict the user roles that can send team invites ↵Joram Wilander2016-06-291-0/+10
| | | | (#3442)
* Implementing server side of LDAP sync now button (#3430)Christopher Speller2016-06-281-0/+14
|
* Syncronization interval now set on config save. (#3421)Christopher Speller2016-06-282-2/+6
|
* Adding validation for LDAP settings to configuration (#3425)Christopher Speller2016-06-281-0/+19
|
* PLT-2971 Added email footer for address (#3319)David Lu2016-06-161-0/+6
| | | | | | | | | | * Added email footer for address * added default * Update html.go * Changed according to PM
* Fixed @all not working as intended (#3335)David Lu2016-06-151-1/+0
|
* PLT-3344 Set Localization config to always have by default all languages ↵enahum2016-06-151-12/+1
| | | | available (#3339)
* Add German Localization (#3328)enahum2016-06-141-0/+1
|
* Fix bad condition on hiding email addresses and update user etag to include ↵Joram Wilander2016-06-142-3/+3
| | | | privacy settings (#3327)
* PLT-3143 Added serverside code for custom Emoji (#3311)Harrison Healey2016-06-144-0/+261
| | | | | | | | | | | | | | * Added model objects for emoji * Added database tables for emoji * Added settings for custom emoji * Added serverside APIs and unit tests for custom emoji * Added additional validation to catch duplicate emoji names earlier on * Added additional validation to prevent users from adding emoji as another user
* Merge branch 'release-3.1'JoramWilander2016-06-132-25/+76
|\ | | | | | | | | Conflicts: webapp/components/create_comment.jsx
| * Correctly set defaults for all LDAPSettings in the config (#3301)Joram Wilander2016-06-091-24/+64
| |
| * Changed default LocalizationSettings.AvailableLocales to include all locales ↵Harrison Healey2016-06-071-1/+11
| | | | | | | | (#3280)
| * Bumping version to: 3.1.0-rc1Mattermost Build2016-06-061-0/+1
| |
* | PLT-2058 Debugging incoming web hook content (#3150)Martin Schenck2016-06-101-6/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-2058 Debugging incoming web hook content This change debugs contents of incoming webhooks using l4g. The problem is that in order to debug the request body, it neads to be read. And a Reader can only be read once. Hence, the body is only read for Debugging if it is actually enabled. Furthermore, a new reader is created from the content of the old reader in order for the rest of the method to work as usual (with or without debugging). The debug statement is wrapped in a closure, so that the content is only copied if Debug is actually enabled. It is not possible to return `(string, string)` from the closure to `l4g.Debug()`. That is the reason the debugging is not done with `=%v`, but the translations strings end with a space. I tested the change with a `application/json` HTTP header as well as `payload=` The debug method is extracted into util/log.go in order to be re-usable for debugging `io.Reader` * Added a config flag to turn off incoming webhook debugging Setting `EnableWebhookDebugging` to false in the `config.json` will disable the printing of the content of incoming webhooks to the console * Defaulting webhook debugging to true * Added the setting of debugging incoming webhooks to the system console
* PLT-3114 Moved preview collapse out of pre-release features (#3206)Joram Wilander2016-06-061-0/+3
| | | | | | | | | | * Added user setting to auto collapse image previews * Added slash commands for collapsing/expanding image previews * Added translation strings for collapse setting * Add default props for preview collapse setting
* PLT-2939 Fix Default slash command icon is invalid (#3250)enahum2016-06-061-1/+0
|
* Adding LDAP Syncronization (#3219)Christopher Speller2016-06-033-0/+231
|
* PLT-1800 Load server side locale from the config.json (#3202)enahum2016-06-022-15/+35
| | | | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency * Fix get locale on login_controller
* Close HTTP response bodies properly in golang driver (and some api ↵Joram Wilander2016-06-021-4/+114
| | | | functions) (#3217)
* PLT-2283 Improved trimming of punctuation from hashtags and search terms (#3178)Harrison Healey2016-06-013-7/+20
| | | | | | * Improved trimming of punctuation from hashtags and search terms * Separated punctuation regexes used for hashtags and for search terms
* Revert "PLT-1800 Load server side locale from the config.json" (#3201)Christopher Speller2016-06-012-35/+15
|
* PLT-1800 Load server side locale from the config.json (#3135)enahum2016-06-012-15/+35
| | | | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text * Remove github.com/cloudfoundry/jibber_jabber as vendor dependency
* PLT-2170 Send payload in application/json for outgoing webhooks (#3160)Thomas Balthazar2016-05-312-0/+90
| | | | | | | | | | | | | | | * Send payload in application/json for outgoing webhooks The Add outgoing webhook UI now has a 'Content-Type' field that allows to choose between application/x-www-form-urlencoded and application/json. All outgoing webhooks created before this change will be considered as x-www-form-urlencoded. There's also a minor change in the way the outgoing webhook summary is displayed: the 'Callback URLs' label was missing. * Fix JS formatting errors * Increase ContentType field length to 128
* Added validation to make sure theme entries are colours (#3107)Harrison Healey2016-05-312-0/+28
| | | | | | * Added validation to make sure theme entries are colours * Added serverside validation for theme
* Revert "PLT-1800 Load server side locale from the config.json" (#3133)Christopher Speller2016-05-272-35/+15
|
* PLT-1800 Load server side locale from the config.json (#3092)enahum2016-05-272-15/+35
| | | | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics * Fix localization on served locale file as plain/text
* Adding APIs to reload config, recycle db connections and ping server (#3096)Corey Hulen2016-05-241-15/+113
| | | | | | | | * Adding APIs to reload config, recycle db connections and ping server * Fixing unit test * Adding unit tests
* Revert "PLT-1800 Load server side locale from the config.json (#3076)"Christopher Speller2016-05-242-35/+15
| | | | This reverts commit 34beaa569bfb32f1607375f1d5a22859322060d2.
* Max_File_Size setting in System Console > File Settings (#3070)Thomas Balthazar2016-05-242-4/+10
|
* PLT-1800 Load server side locale from the config.json (#3076)enahum2016-05-242-15/+35
| | | | | | * PLT-1800 Load server side locale from the config.json * Add support for locales with country specifics
* Added validation for command triggers (#3068)David Lu2016-05-201-1/+4
|
* Adding enterprise build hash to about dialog (#3058)Christopher Speller2016-05-201-0/+1
|
* PLT-2664 Split out push notifications from email notifications (#3049)Joram Wilander2016-05-191-0/+1
| | | | | | | | * Split out push and email notification logic, always send push notifications on mention * Add user setting to control push notifications * Minor changeto simplify code
* Integrations: Enable <!channel> notifications in incoming webhooks (#3039)Thomas Balthazar2016-05-182-0/+111
|
* Merge branch 'release-3.0'Christopher Speller2016-05-171-1/+1
|\
| * PLT-2965 Fix config sanitation (#3005)enahum2016-05-161-1/+1
| |
| * Fix heavy regression on GitLab for version 3.0.0 (#3000)ArthurH2016-05-161-1/+2
| | | | | | Fix regression on GitLab
* | PLT-2188 Integrations: Support raw new lines in the text payload (#2993)Thomas Balthazar2016-05-172-4/+150
| | | | | | | | | | | | | | | | | | | | * Integrations: Support raw new lines in the text payload * Improve support for raw new lines in text payload The regexp used to escape control characters now also searches for additional fields: text|fallback|pretext|author_name|title|value
* | Fix heavy regression on GitLab for version 3.0.0 (#3000)ArthurH2016-05-161-1/+2
|/ | | Fix regression on GitLab
* PLT-2905 fixing upgrade of SSO accounts (#2962)Corey Hulen2016-05-112-9/+20
| | | | | | * PLT-2905 fixing upgrade of SSO accounts * Fixing multiple Auths mapped to different emails
* PLT-2862 Re-added LDAP login boxes as part of signup flow (#2937)Harrison Healey2016-05-091-0/+8
| | | | | | * Added ldap_only parameter for login API * Re-added LDAP login boxes as part of signup flow
* Recent mention searches now OR terms instead of AND (#2931)Joram Wilander2016-05-092-2/+6
|
* PLT-2600/PLT-2770 Changed getPublicLink api call to return a proper JSON ↵Harrison Healey2016-05-062-8/+21
| | | | | | | | string (#2914) * Removed unused channelId and userId parameters from web client getPublicLink method * Changed getPublicLink api call to return a proper JSON string
* PLT-2697 Fixing team admins (#2900)Corey Hulen2016-05-062-2/+44
| | | | | | | | | | | | * PLT-2697 Fixing team admins * Fixing eslint error * Fixing loc issues * Fixing func * Fixing func
* Add separator between DMs on your team and not (#2910)Joram Wilander2016-05-061-0/+1
|