summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* PLT-3629 fix uploading certificates if the files in the config do not exists ↵enahum2016-07-201-1/+12
| | | | (#3634)
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-186-18/+85
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* Cleaning up old export code (#3601)Christopher Speller2016-07-154-20/+0
|
* added field name to ldap system console errors (#3593)David Lu2016-07-141-10/+34
|
* PLT-2992 Added the ability to use different themes for each team (#3411)Harrison Healey2016-07-145-39/+88
| | | | | | | | | | | | | | | | | | | | | | * Cleaned up user_settings_theme.jsx and import_theme_modal.jsx * Made ImportThemeModal use a callback to return the theme to the user settings modal instead of saving it directly * Moved user theme from model to preferences * Added serverside API to delete preferences TODO update package with client stuff * Changed constants.jsx so that Preferences and ActionTypes can be imported on their own * Updated ThemeProps migration code to properly rename solarized code themes * Fixed warnings thrown by AppDispatcher * Added clientside UI to support team-specific themes * Removed debugging code from test * Fixed setting a user's theme when they haven't set their theme before
* PLT-3192 EE: Restricted site name to 30 characters (#3560)David Lu2016-07-141-0/+6
| | | | | | * Restricted site name to 30 characters * Added maxlength to TextSetting
* Added some documentation comments to Go driver (#3576)Joram Wilander2016-07-141-0/+46
|
* Fix SAML config validation (#3562)enahum2016-07-131-1/+1
|
* SAML Unit Tests, Go Driver & Removed vendor dependency (#3532)enahum2016-07-131-0/+33
|
* Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-129-91/+347
|
* Merge release 3.2 into master (#3548)Harrison Healey2016-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bumping version to: 3.2.0-rc1 * PLT-2863 fixing bad merge that broke this PR (#3523) * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver * Fixing bad merge * Fixing bad merge * PLT-3538 Fix Login page doesn't show SAML option if gitlab is enabled (#3524) * Login error messages fix (#3525) * daily translations 20160708 (#3533) * Fixed permissions when getting a file attachment to use the correct user id (#3535) * PLT-3575 Fix Cannot upload certificates with .cer file extension on SAML (#3534) * PLT-3560 blocking adding to channel once user is removed (#3537) * Always allow system admins to see the Integrations sidebar (#3536) * Plt 3475 - Post control improvements (#3538) * Adding class to post when dropdown is active. * plt-3475 - Post controls improvements * daily translations 20160711 (#3544)
* PLT-1465 Added password requirements (#3489)David Lu2016-07-064-14/+63
| | | | | | | | | | * Added password requirements * added tweaks * fixed error code * removed http.StatusNotAcceptable
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-063-5/+35
| | | | | | | | | | | | | | * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver
* Adding webserver mode to the system console. Automatic enabling of gzip on ↵Christopher Speller2016-07-061-1/+3
| | | | existing servers (#3458)
* PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel ↵Joram Wilander2016-07-061-15/+27
| | | | | | | | management permissions (#3453) * EE: Add the ability to restrict channel management permissions * Always allow last user in a channel to delete that channel
* SAML support (#3494)enahum2016-07-053-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3073: Implement SAML/Okta Server side (EE) (#3422) * PLT-3137 Support for SAML configuration * PLT-3410 SAML Database Store * PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key * PLT-3409 SAML Interface for EE * PLT-3139 Handle SAML authentication server side * Add localization messages * PLT-3443 SAML Obtain SP metadata * PLT-3142 Login & Switch to/from SAML * Remove Certs for Database & Clean SAML Request * Make required Username, FirstName and LastName * PLT-3140 Add SAML to System Console (#3476) * PLT-3140 Add SAML to System Console * Move web_client functions to client.jsx * Fix issues found by PM * update package.json mattermost driver * Fix text messages for SAML
* 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
|