summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* Changed config behaviour such that exportFromTimestamp is set/unset when ↵Jonathan2017-12-012-1/+104
| | | | message export is enabled/disabled (#7925)
* recommit: ordered plugin settings (#7919) (#7926)Chris2017-11-302-39/+48
|
* PLT-8018: Bundled jira plugin (#7920)Chris2017-11-304-52/+48
| | | | | | | | | | | | * 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
* ordered plugin settings (#7919)Chris2017-11-302-39/+48
|
* PLT-7503: Create Message Export Scheduled Task and CLI Command (#7612)Jonathan2017-11-306-0/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Created message export scheduled task * Added CLI command to immediately kick off an export job * Added email addresses for users joining and leaving the channel to the export * Added support for both MySQL and PostgreSQL * Fixing gofmt error * Added a new ChannelMemberHistory store and associated tests * Updating the ChannelMemberHistory channel as users create/join/leave channels * Added user email to the message export object so it can be included in the actiance export xml * Don't fail to log a leave event if a corresponding join event wasn't logged * Adding copyright notices * Adding message export settings to daily diagnostics report * Added System Console integration for message export * Cleaned up TODOs * Made batch size configurable * Added export from timestamp to CLI command * Made ChannelMemberHistory table updates best effort * Added a context-based timeout option to the message export CLI * Minor PR updates/improvements * Removed unnecessary fields from MessageExport object to reduce query overhead * Removed JSON functions from the message export query in an effort to optimize performance * Changed the way that channel member history queries and purges work to better account for edge cases * Fixing a test I missed with the last refactor * Added file copy functionality to file backend, improved config validation, added default config values * Fixed file copy tests * More concise use of the testing libraries * Fixed context leak error * Changed default export path to correctly place an 'export' directory under the 'data' directory * Can't delete records from a read replica * Fixed copy file tests * Start job workers when license is applied, if configured to do so * Suggestions from the PR * Moar unit tests * Fixed test imports
* PLT-5458: If someone posts a channel link to channel_A that you don't belong ↵Chris2017-11-282-0/+24
| | | | | | | | | | | | to, it doesn't render properly (#7833) * add channel link hints to post props * optimization * update regex, add unit test * fix rebase issue
* Add Config to disable Auth Transfers. (#7843)Chris Duarte2017-11-281-0/+5
| | | | | | * Add Config to disable Auth Transfers. * Set config ExperimentalEnableAuthenticationTransfer behind an E20 license restriction
* Decrease plugin key value store table index name size (#7910)Joram Wilander2017-11-271-4/+10
|
* PLT-8131 (part2) Add plugin key value store support (#7902)Joram Wilander2017-11-272-0/+48
| | | | | | | | * Add plugin key value store support * Add localization strings * Updates per feedback
* Replace Channel Name for Team in Email Notifications (#7839)Chris Duarte2017-11-241-0/+5
| | | | | | * allow option to set channel name in email notification subject * Added TeamName to title when UseChannelInEmailNotifications=true
* Fixing missing default for EnablePreviewFeatures (#7887)Christopher Speller2017-11-211-0/+4
|
* Role refactor (#7867)Chris2017-11-212-49/+40
| | | | | | | | * role refactor * add missing file * fix web test
* Hide pre-release features section of advanced settings pane. (#7847)Chris Duarte2017-11-211-0/+1
|
* [PLT-840] Add option to outgoing webhooks to reply to the posted message as ↵Carlos Tadeu Panato Junior2017-11-201-5/+8
| | | | a comment (#7807)
* Refactor password validation and config defaults (#7859)Chris2017-11-201-878/+942
| | | | | | * refactor password validation and config defaults * reorder config lines for clarity
* PLT-6217 Fixes system message posted to Town Square when a member leaves a ↵Tsilavina Razafinirina2017-11-201-2/+4
| | | | | | | | | | | | | | | | | | team (#7752) * Fixes system message posted to Town Square when adding/removing team member (#6483) Fixes unit test method call to match RemoveUserFromTeam modification (#6483) Fixes system message posted to Town Square when adding/removing team member (#6483) Removes unnessary error message * Updates system message when a user leaves a team (#6483) * Changes system message when a user is removed from team (#6483) * Adds a new string to be post to town-square when a member is added to a team (#6483)
* PLT-7824 Added support for mentions with <@userid> and <!here> (#7615) (#7737)Joey Lee2017-11-175-123/+4
|
* Add placeholder field and user_autocomplete type to plugin manifest (#7817)Joram Wilander2017-11-132-0/+11
| | | | | | * Add placholder field and user_autocomplete type to plugin manifest * user_autocomplete -> username
* Basic manifest docs (#7806)Chris2017-11-091-15/+85
| | | | | | | | * basic manifest docs * add a bit more documentation * space out fields for better godoc formatting
* PLT-7709 Add UI settings to plugin manifest (#7794)Joram Wilander2017-11-082-8/+131
| | | | | | | | | | | | | | * Add UI settings to plugin manifest * Add another test case * Add options field to setting * Updates per feedback * Report diagnostics on if plugins have settings set * Add regenerate_help_text field
* Uncomment upgrae for 4.4 (#7796)Christopher Speller2017-11-061-0/+1
|
* Revert PLT-7809 (#7793)Jason Blais2017-11-063-22/+6
| | | | | | | | | | * Update webrtc_test.go * Update webrtc.go * Update config.go * Update webrtc.go
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-031-1/+0
|
* PLT-7810 Track if an APIv3 endpoint was used in the last day (#7744)Joram Wilander2017-10-311-0/+2
| | | | | | * Track if an APIv3 endpoint was used in the last day * Make it atomic
* [PLT-7362] Add post' root ID to APIv4 addChannelMember to render added user ↵Saturnino Abril2017-10-311-0/+11
| | | | | | | | | | (as system post) at RHS (#7730) * add post' root ID to apiv4 addChannelMember to render added user (as system post) at RHS * add check to post_root_id parameter * add AddChannelMemberWithRootId function for backward compatibility
* PLT-7978 Add websocket event for user role update (#7745)Joram Wilander2017-10-311-0/+1
| | | | | | | | * Add websocket event for user role update * Fix tests * More test fixes
* PLT-5813 support SAML sync via LDAP (#7668)Corey Hulen2017-10-311-1/+15
| | | | | | * PLT-5813 support SAML sync via LDAP * Cleaning up based on review
* Add autoclose dm config parameter (#7734)Chris2017-10-301-0/+5
| | | | | | * add autoclose dm config parameter * update naming
* Remove unused variables / code (#7736)Chris2017-10-301-4/+0
| | | | | | * remove unused variables / code * fix bug in testPostStoreGetOldest
* simplify things (#7735)Chris2017-10-3010-51/+18
|
* Remove more global refs / state (#7723)Chris2017-10-261-0/+2
| | | | | | | | | | * remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
* Add config setting to configure plugins directory (#7725)Joram Wilander2017-10-261-1/+12
|
* PLT-7976: Configurable timeout for Elasticsearch requests. (#7716)George Goldberg2017-10-251-0/+10
|
* Fixing build failure due to missing licence header (#7720)Christopher Speller2017-10-251-0/+3
|
* add missing license headers, test to makefile (#7711)Chris2017-10-252-0/+6
|
* [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
|\