summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/upgrade.go
Commit message (Collapse)AuthorAgeFilesLines
* added the custom icon and username for the outgoing webhook and its response ↵Pradeep Murugesan2018-07-251-1/+2
| | | | | | | | | | | | (#9141) * 8272 added the username and icon as part of the model and persisted the same * 8272 added the custome icon and name when set to the web hook response * 8272 changed the infinte loop to timeout after 5 seconds * 8272 fixed review comments
* Add preparatory upgrade code for 5.2.0 (#9047)Carlos Tadeu Panato Junior2018-07-101-0/+10
|
* Uncomment upgrade for 5.1.0 (#9040)Carlos Tadeu Panato Junior2018-07-031-5/+3
|
* Add note on 5.0->4.10 downgrade in upgrade.go (#9029)George Goldberg2018-07-021-0/+13
|
* Add Purpose as a searchable field (#8067)Chris Duarte2018-06-261-0/+2
| | | | | | | | | | * Add Purpose as a searchable field * Add New Index and Remove old for Channels * Include Purpose in FullTextSearch Clause * Move removeIndex for Channels into upgrade.go
* Add preparatory upgrade code for 5.1.0 (#8920)Carlos Tadeu Panato Junior2018-06-131-0/+10
|
* Uncomment upgrade for 5.0.0 (#8914)Carlos Tadeu Panato Junior2018-06-051-14/+13
|
* MM-8853: Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS permissions (#8860)Jesús Espino2018-05-291-0/+4
| | | | | | | | | | | | | | | | * MM-8853: Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS permissions * MM-8853: Removing unnecesary emoji enterprise feature * Create emojis migration * Adding MANAGE_EMOJIS and MANAGE_OTHERS_EMOJIS always to system admins * Simplifing permissions checks * Revert "Simplifing permissions checks" This reverts commit e2cafc1905fc9e20125dd9a1552d2d0c7340ae59.
* fmt fix.Martin Kraft2018-05-221-1/+1
|
* Merge branch 'master' into advanced-permissions-phase-2Martin Kraft2018-05-221-1/+2
|\
| * MM-10352: Add locking incoming webhooks to a single channel. (#8835)George Goldberg2018-05-221-0/+2
| |
* | Reinstate upgrade code that mysteriously vanished during some merge.George Goldberg2018-05-181-1/+14
|/
* prep code for 5.0 (#8743)Derrick Anderson2018-05-081-0/+9
|
* Uncomment upgrade for 4.10 (#8727)Derrick Anderson2018-05-041-8/+7
| | | | | | | | * uncomment upgrade code * ping jenkins * add 4.10.0 to version.go
* MM-10319: Use normalized email for Saml (migration) (#8711)Jesús Espino2018-05-041-0/+1
|
* Structured logging (#8673)Christopher Speller2018-04-271-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* MM-10020: avoid duplicating unique indexes (#8587)Jesse Hallam2018-04-161-1/+5
| | | | | | | | | | | | | | * unit test TestGet(Search)Replica This adds partial, testing-focused support for SQLite, as well as removing some translated log messages that required initializing i18n just for testing. * avoid returning master twice when no replicas are configured * remove duplicate indexes * unit test GetAllConns
* uncomment 4.9 upgrade code (#8582)Derrick Anderson2018-04-051-10/+19
| | | | | | | | * set db to 4.9 * add prepatory code for 4.10 * bug from old example
* Remove the index on Channels.DisplayName. (#8530)Jesse Hallam2018-03-281-2/+21
| | | | | | | As outlined in [this discussion](https://pre-release.mattermost.com/core/pl/uw5bwmkb6irkbkn6pk9rkzpytr), this index causes issues with MySQL's query planner, leading to full table scans in a case where it would have made more sense to leverage a filesort.
* Merge branch 'master' into advanced-permissions-phase-1Martin Kraft2018-03-231-0/+7
|\
| * Timezone feature (#8185)Chris Duarte2018-03-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add supported timezones into config Remove Timezone list creation in favor of timezone from configs Add Timezone field to Users table Clean up format of SupportedTimezones in config * Remove unwanted change * Add test for updating user timezone * Add empty map[string]string if Timezone is null * Add EnableTimezoneSelection config * Revert back to map[string]string for ClientConfig * Refactor SupportedTimezones into timezones.json * Include timezones.json in TestConfigFlag * Add timezone api endpoint * Bump varchar size to 256 and setMaxSize in user_store * Refactor LoadConfig to LoadConfig and LoadTimezoneConfig * Remove unnecessary argument in LoadConfig, mail_test * Add test for timezone endpoint * Add license header * Refactor timezones endpoint to system.go * Add system base route to timezone endpoint * db timezone upgrade in db v4.9 * Avoid saving SupportedTimezones to config.json * Add timezonePath support in config * Remove EnableTimezoneSelection from config * Use return statement without return parameter * Refactor test for SupportedTimezones * Check for supportedTimezone != nil instead of using len * Decouple SupportedTimezones out of Config * Fix failing test * Add LastTeamIconUpdate back in upgrade.go * Write timezone config in config_flag_test * Add code fallback for default timezone support
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-131-3/+11
|\|
| * Moved team icon upgrade code to 4.9 since it didn't make it in for 4.8 (#8410)Joram Wilander2018-03-081-1/+1
| |
| * Add preparatory upgrade code for 4.9 (#8408)Joram Wilander2018-03-051-4/+11
| |
* | Merge branch 'master' into advanced-permissions-phase-1George Goldberg2018-03-021-0/+13
|\|
| * PLT-7567: Integration of Team Icons (#8284)Christian Hoff2018-03-011-0/+2
| | | | | | | | | | | | | | | | | | | | * PLT-7567: Integration of Team Icons * PLT-7567: Read replica workaround, upgrade logic moved, more concrete i18n key * PLT-7567: Read replica workaround, corrections * PLT-7567: upgrade correction
| * merge 4.7.1 to masterSaturnino Abril2018-02-191-0/+12
| |\
| | * Add upgrade code from 4.7.0 to 4.7.1JoramWilander2018-02-161-0/+12
| | |
| | * Merge branch 'release-4.7' into XYZ-110Jonathan Fritz2018-02-131-9/+0
| | |\
| | | * revert master changesDerrick Anderson2018-02-121-9/+0
| | | |
| | * | Removed unused fields from ChannelMemberHistory table, introduced new ↵Jonathan Fritz2018-02-121-0/+2
| | |/ | | | | | | | | | model.ChannelMemberHistoryResult object that includes those fields that are selected from a join on other tables
* | | Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-1Martin Kraft2018-02-141-0/+2
|\| |
| * | XYZ-110: Cherrypicking changes from release-4.7 to master (#8254)Jonathan2018-02-131-0/+2
| |/ | | | | | | | | | | | | | | * Cherry-picking 7b2861de3a09cf00d00b0872cc537d54302c4bfa to master because enterprise/master has code in it that enterprise/release-4.7 does not, and I don't want enterprise/master to break the next time somebody merges enterprise/release-4.7 to enterprise/master * Renamed file to match existing scheme (cherry picked from commit 8c22c5c6c6f835a6e73faf19036bad2a51bb9127)
* / XYZ-78: Add note to upgrade code about advanced permissions migration. (#8267)George Goldberg2018-02-131-0/+4
|/
* Merge branch 'release-4.7'Derrick Anderson2018-02-091-0/+1
|\
| * Increase OAuth2 state parameter limitJoramWilander2018-02-071-0/+1
| |
* | Add prepatory code for 4.8.0 (#8226)Derrick Anderson2018-02-081-0/+9
|/ | | | | | | | * Add prepatory code for 4.8.0 * formatting issue * build bug
* Uncomment upgrade code for 4.7 (#8201)Joram Wilander2018-02-051-4/+4
|
* XYZ-32: Increases size of position to 128 characters. (#8148)Martin Kraft2018-01-261-5/+13
| | | | | | | | | | * 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.
* Uncomment upgrade for 4.6 (#8045)Derrick Anderson2018-01-051-11/+5
| | | | | | * Uncomment upgrade for 4.6 * add 4.6 version
* [PLT-8173] Strip the post_ prefix on incoming webhook overrides. (#8019)Jesse Hallam2018-01-031-2/+6
|
* [PLT-8173] Add username and profile picture to webhook set up pages (#8002)Jesse Hallam2018-01-021-0/+3
|
* Add upgrade code for 4.6Christopher Speller2017-12-081-0/+10
|
* Uncomment upgrae for 4.5Christopher Speller2017-12-081-8/+2
|
* Hash key for plugin store and limit id length (#7933)Joram Wilander2017-12-051-0/+4
|
* Revert "Hash key for plugin store table and limit plugin ID length (#7915)" ↵Christopher Speller2017-12-011-4/+0
| | | | | (#7931) This reverts commit c3af8785734803b6199a28249537ef3e47fe4caa.
* Hash key for plugin store table and limit plugin ID length (#7915)Joram Wilander2017-12-011-0/+4
| | | | | | | | * Hash plugin store keys and update column limits * Limit plugin ID length on install * Add note to manifest id and allow zero length keys
* Adding 4.5 upgrade code (#7815)Christopher Speller2017-11-111-0/+10
|
* Uncomment upgrae for 4.4 (#7796)Christopher Speller2017-11-061-7/+5
|
* [PLT-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-191-4/+8
| | | | | | | | | | | | * 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