summaryrefslogtreecommitdiffstats
path: root/model
Commit message (Collapse)AuthorAgeFilesLines
* XYZ-32: Increases size of position to 128 characters. (#8148)Martin Kraft2018-01-262-3/+3
| | | | | | | | | | * XYZ-32: Changes type of 'position' column on 'users' table. * XYZ-32: Uncomment to run on CI and pre-release. * XYZ-32: Reverts translation changes. * XYZ-32: Fix for gofmt.
* Add GET /emojis/name/{emoji_name} API endpoint (#8142)Joram Wilander2018-01-241-1/+15
|
* [ICU-621] Add ExperimentalGroupUnreadChannels setting (#8127)enahum2018-01-231-0/+5
| | | | | | * Add ExperimentalGroupUnreadChannels setting * track ExperimentalGroupUnreadChannels in diagnostics
* Merge branch 'release-4.6'Harrison Healey2018-01-231-3/+5
|\
| * PLT-8522 Added separate messages for being removed from channel or team (#8078)Harrison Healey2018-01-101-3/+5
| |
* | ABC-90 Add POST /emoji/search and GET /emoji/autocomplete API endpoints (#8125)Joram Wilander2018-01-233-0/+74
| | | | | | | | | | | | * Add POST /emoji/search and GET /emoji/autocomplete API endpoints * Add constant to be clearer
* | PLT-3383: image proxy support (#7991)Chris2018-01-226-13/+766
| | | | | | | | | | | | | | | | | | | | | | | | * image proxy support * go vet fix, remove mistakenly added coverage file * fix test compile error * add validation to config settings and documentation to model functions * add message_source field to post
* | Add sort query parameter to GET /emojis (#8121)Joram Wilander2018-01-192-0/+13
| |
* | Post a system message to the affected channel by CLI command (#7877) (#7968)Evgeniy2018-01-181-27/+29
| |
* | [PLT-7793] Add /users/tokens/search endpoint (#8088)Adrian Carolli2018-01-113-0/+64
| | | | | | | | | | | | | | | | * Add /users/tokens/search endpoint + tests * Fix check-style * Unnecessary deletion
* | [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