summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* [XYZ-6] Add sampledata platform command (#8027)Jesús Espino2018-01-112-2/+6
| | | | | | | | * Add fake dependency * [XYZ-6] Add sampledata platform command * Creating EMOJI_NAME_MAX_LENGTH as a constant and using it where needed
* Add EnableDefaultChannelLeaveJoinMessages config setting (#7961)Chris Duarte2018-01-101-56/+61
|
* [PLT-6936] Translate AppError.Message automatically by default (#8063)Jesús Espino2018-01-081-0/+12
|
* [PLT-7793] Added /users/tokens endpoint (#8038)Adrian Carolli2018-01-051-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added /users/tokens/all endpoint - UserAccessStore now has getAll method - Added tests - Added route - Added handler * Remove space fix check-style * Remove blank space check-style * Fixes for make check-style * Remove extra code that is un-needed in user_test.go * Rename endpoint + grammar - Renamed /users/tokens/all to /users/tokens - Renamed getUserAccessTokens to getUserAccessTokensForUser - Renamed getAllUserAccessTokens to getUserAccessTokens - Minor Grammar changes * Add localization for sql_user_access_token.get_all * Fix minor plural spelling
* Uncomment upgrade for 4.6 (#8045)Derrick Anderson2018-01-051-0/+1
| | | | | | * Uncomment upgrade for 4.6 * add 4.6 version
* rename DefaultTeamName to ExperimentalPrimaryTeam (#8039)Chris Duarte2018-01-051-3/+3
|
* Add admin update endpoint that can update authservice and authdata (#7842)Chris Duarte2018-01-042-0/+36
| | | | | | | | | | * add admin update endpoint that can upate authservice and authdata * Control only SystemAdmin access * Refactored AdminUpdate endpoint to only be able to update AuthData, AuthService and Password by User.Id * Refactor to move `PUT /api/v4/users/{user_id}/auth`. Created a struct to hold UserAuth info.
* [PLT-8173] Strip the post_ prefix on incoming webhook overrides. (#8019)Jesse Hallam2018-01-032-18/+18
|
* Add color properties to config to white label login buttons (#7826)Chris Duarte2018-01-021-0/+47
|
* [PLT-8173] Add username and profile picture to webhook set up pages (#8002)Jesse Hallam2018-01-022-9/+39
|
* UCHAT-60 change default notification settings for new users (#7845)Chris Duarte2017-12-211-7/+4
| | | | | | * UCHAT-60 change default notification settings for new users * 1. Turn off "Case sensitive first name" in Words that trigger mentions. 2. Send Desktop Notifications for "Only for mentions and direct messages".
* Set default for DefaultTeamName setting if not present in config (#7987)Joram Wilander2017-12-191-0/+4
|
* Allow default team to be configured (#7846)Chris Duarte2017-12-191-0/+1
|
* PLT-6896 per-paging for logs (#7903)Yusuke Nemoto2017-12-131-1/+1
| | | | | | | | | | * PLT-6896 Read logs from last * Getting rid of file.Stats * remove deprecated value * Make non-reassigned value constant
* add config option to hide tutorial screens (#7840)Chris Duarte2017-12-081-0/+5
|
* PLT-6217-bis Fixes system message posted to Town Square when a user joins a ↵Tsilavina Razafinirina2017-12-081-7/+22
| | | | | | | | team #7863 (#7864) * Adds new string post message when a user has joined a team (#6483) * Simplifies long if statement in post.go (#6483)
* Uncomment upgrae for 4.5Christopher Speller2017-12-081-0/+1
|
* PLT-8314: Test Message Export Against S3 Bucket (#7957)Jonathan2017-12-072-49/+4
| | | | | | * Removed export directory config setting, in favour of hard-coding it to an 'export' directory under the local file directory. Improved the local file backend copy implementation to implicitly create the destination directory if it's missing * Fixed the tests
* Hash key for plugin store and limit id length (#7933)Joram Wilander2017-12-052-4/+5
|
* PLT-8289 Added ability to change location of client plugins (#7942)Harrison Healey2017-12-051-6/+16
|
* Revert "Hash key for plugin store table and limit plugin ID length (#7915)" ↵Christopher Speller2017-12-012-5/+4
| | | | | (#7931) This reverts commit c3af8785734803b6199a28249537ef3e47fe4caa.
* Hash key for plugin store table and limit plugin ID length (#7915)Joram Wilander2017-12-012-4/+5
| | | | | | | | * Hash plugin store keys and update column limits * Limit plugin ID length on install * Add note to manifest id and allow zero length keys
* 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