summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
...
* [PLT-4341] add dnd command (#7694)Carlos Tadeu Panato Junior2017-10-251-0/+1
|
* PLT-7849 Add config setting to disable plugin uploads (#7666)Joram Wilander2017-10-251-3/+8
| | | | | | * Add config setting to disable plugin uploads * Update unit test
* PLT-7934: Make query for bulk elasticsearch indexing more efficient. (#7664)George Goldberg2017-10-251-21/+32
|
* Differentiate between installed and activated states for plugins (#7706)Joram Wilander2017-10-254-4/+97
|
* PLT-7599: webhook post splitting (#7707)Chris2017-10-241-0/+1
| | | | | | | | * webhook post splitting * style fix * update old webhook test
* PLT-7822: Fix search order for SQL search backend. (#7704)George Goldberg2017-10-242-0/+29
|
* Fix crash due to null data retention config parameter. (#7702)George Goldberg2017-10-241-1/+1
|
* add model.NewX funcs for builtin types (#7692)Chris2017-10-235-436/+227
| | | | | | * add model.NewX funcs for builtin types * whoops, forgot to add the new file
* Reduce cfg boilerplate (#7689)Chris2017-10-231-0/+8
| | | | | | | | | | | | * reduce cfg boilerplate * fix compile error * user test fix * another test fix * simplify diagnostics / testing
* Expose user.Props through REST API (#7661)Joram Wilander2017-10-201-1/+0
|
* [PLT-7362] Option to add user to channel if mentioned user is not currently ↵Saturnino Abril2017-10-212-0/+56
| | | | | | | | | | | | | | | | in the channel (#7619) * Option to add user to channel if mentioned user is not currently in the channel * instead of link from server, just add component on client side to add channel member * change implementation using post.props * do clean up and add test * sanitize post.props['add_channel_member'] on post creation * move sanitize to app.CreatePost and also apply to app.UpdatePost
* [PLT-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-192-0/+28
| | | | | | | | | | | | * Add column to UserAccessTokens table * PLT-7794 Add user access token enable/disable endpoints * replaced eliminated global variable * updates to user_access_token_store and upgrade.go * style fix and cleanup
* PLT-7862: Support batched live indexing. (#7640)George Goldberg2017-10-181-0/+11
|
* PLT-7193: Regression - Custom slash commands don't work in direct or group ↵Jonathan2017-10-171-1/+17
| | | | | | | | message channels (#7635) * No longer overriding specified team id for DMs/GMs, as these types of channels don't belong to a team, and doing so breaks slash commands for them * Ensured user is on specified team in case of GM/DM, extended test suite
* Merge branch 'release-4.3'Christopher Brown2017-10-161-1/+1
|\
| * PLT-7811 Standardized team sanitization flow (#7586)Harrison Healey2017-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * post-4.3 commit (#7581) * reduce store boiler plate (#7585) * fix GetPostsByIds error (#7591) * PLT-7811 Standardized team sanitization flow * Fixed TestGetAllTeamListings * Stopped sanitizing teams for team admins * Removed debug logging * Added TearDown to sanitization tests that needed it
* | [PLT-7396] Add the ability to revoke user sessions in System Console > Users ↵Rick Batka2017-10-161-0/+10
| | | | | | | | | | | | | | | | #7493 (#7623) * add endpoint and tests for revoking all sessions for a user * fix failing test build
* | PLT-7809: Add support for Kopano Webmeetings WebRTC server (#7590)Simon Eisenmann2017-10-163-6/+22
|/ | | | | | | | | | | | | | * Add support for Kopano Webmeetings WebRTC server Add an option to select which WebRTC server to use and add support to use Kopano Webmeetings as backend instead of Janus. If the new configuration is not set, WebRTC assumes Janus is used as backend. * Fixup: remove redundant case. default to janus * Fixup: use GatewayAdminUrl as direct prefix to admin URL entry point * Fixup: consumeAndClose
* 4.3 pre-cut (#7569)Chris2017-10-041-0/+1
| | | | | | * 4.3 pre-cut * fix
* PLT-7785: Slash commands can be issued to a channel in a team without it (#7567)Jonathan2017-10-041-1/+4
| | | | | | * Ensured that specified channel is a part of specified team * Simplified approach to just infer team id from specified channel id to eliminate the attack vector entirely
* PLT-5549: No feedback when trying to save localization settings in System ↵Jonathan2017-10-031-104/+197
| | | | | | | | Console when Available Languages doesn't include the default client language (#7554) * Added server-side validation check for localization settings. Refactored validation checks to be easier to read * Fixed gofmt issues
* PLT-7705: API to get data retention policy. (#7539)George Goldberg2017-10-022-0/+52
| | | | | | * PLT-7705: API to get data retention policy. * Fix review comments.
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-293-3/+66
| | | | | | | | * Return viewed at times in view channel API response * Updated transaction to read and write once * Remove transaction and only update if new value greater than older
* PLT-7644: Improve job scheduler architecture. (#7532)George Goldberg2017-09-282-4/+8
|
* PLT-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-283-0/+43
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* PLT-7633 (E20) Add session idle timeout config setting (#7524)Joram Wilander2017-09-281-0/+6
| | | | | | | | | | * Add session idle timeout config setting * Modify config setting name to SessionIdleTimeoutInMinutes * Small re-org of if statement * Merge with latest master
* Allow custom post types (#7468)Joram Wilander2017-09-272-2/+14
|
* PLT-7542 Converting LDAP sync to the job server (#7452)Corey Hulen2017-09-251-0/+2
| | | | | | | | | | | | | | | | | | | | * PLT-7542 Converting LDAP sync to the job server * Fixing minor issues * Fixing build failure * Translate error message * Translate error message * Translate error message * Translate error message * Fixing merge * Fixing bad merge
* Finally do away with NewLocAppError function. (#7498)George Goldberg2017-09-251-12/+0
| | | | | This cleans up the few NewLocAppError calls that crept in since the main bulk of them were removed, and finally removes the NewLocAppError function altogether.
* PLT-7694: Allow setting a prefix for Elasticsearch indexes. (#7500)George Goldberg2017-09-221-0/+7
|
* PLT-7508: Add settings to disable wide mention confirmation (#7416)Jesús Espino2017-09-201-0/+6
|
* interactive post update fix (#7477)Chris2017-09-191-10/+20
|
* Implement update OAuthApp endpoint for APIv4, add test (#7413)n1aba2017-09-181-0/+10
|
* PLT-6558: Basic data retention job scheduler/worker implementation. (#7449)George Goldberg2017-09-153-5/+57
| | | | | | * PLT-7639: Batch delete methods for data retention. * PLT-6558: Basic data retention job worker/scheduler implementation.
* PLT-7622 Improvements to server handling of webapp plugins (#7445)Joram Wilander2017-09-154-2/+77
| | | | | | | | * Improvements to server handling of webapp plugins * Fix newline * Update manifest function names
* Model: NewLocAppError -> NewAppError (#7450)George Goldberg2017-09-1519-125/+137
|
* Add some checking of channel ID before sending websocket event (#7431)Joram Wilander2017-09-152-0/+50
|
* more robust command response content-type checking (#7412)Chris2017-09-112-1/+3
|
* Renaming repoChristopher Speller2017-09-062-3/+3
|
* app type transition (#7167)Chris2017-09-063-3/+6
|
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-061-19/+6
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* pre 4.2 cut (#7380)Chris2017-09-051-0/+1
|
* Configs for themes in `Display Settings`: hide themes options, hide custom ↵David Meza2017-09-052-0/+35
| | | | | | | | | | | | | | themes, specific list of themes (#7173) * Add configuration to enable or disable choosing themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable choosing custom themes in Display Settings. Only for Licensed servers. * Add configuration to enable or disable a specific list of themes to choose in Display Settings. Only for Licensed servers. * Added config value and logic for "DefaultTheme" * Fix problem with undefined values when the server is not licensed
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-061-6/+19
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* PLT-7517 Added setting to enable tracing of Amazon S3 connections (#7349)Harrison Healey2017-09-051-0/+6
| | | | | | | | | | | | * PLT-7517 Added setting to enable tracing of Amazon S3 connections * Removed unnecessary placeholders on boolean settings * Added AmazonS3Trace to diagnostics * Updated AmazonS3Trace setting name in system console * Removing extra colon
* PLT-6226 fixing race in IsAuth (#7296)Corey Hulen2017-09-051-0/+5
| | | | | | | | | | * Fixing race in isAuth function * PLT-6226 fixing race in IsAuth * Moving int64 to top so it's aligned * Adding comment and fixing asymmetric call
* Add status codes to model/config.go errors. (#7369)George Goldberg2017-09-051-58/+58
|
* Fix elasticsearch purge index url in client4. (#7368)George Goldberg2017-09-051-1/+1
|
* Add x to be able to leave public and private channels (#7145)David Meza2017-09-011-0/+6
| | | | | | | | | | * Add config value EnableXToLeaveChannelsFromLHS that if true displays x to the right of private and public channels on the LHS. * Displays x to the right of private and public channels on the LHS based on if EnableXToLeaveChannelsFromLHS=true. * change the tooltip for private and public channels to `Leave channel` * Add client-side event for when user clicks the "x" button. Different for public, private, DM.
* Config to make town square read only (#7140)David Meza2017-09-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls.