summaryrefslogtreecommitdiffstats
path: root/store/sql_upgrade.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-011-0/+6
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-071-1/+2
| | | | | | | | | | | | | | This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.
* add preparatory upgrade code for 4.1 (#6870)Saturnino Abril2017-07-071-0/+9
|
* Uncomment upgrade for 4.0 (#6844)Saturnino Abril2017-07-061-5/+3
|
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-271-22/+20
|
* Add preparatory upgrade code for 4.0 (#6616)Joram Wilander2017-06-091-0/+10
|
* Uncomment upgrade for 3.10 (#6600)Joram Wilander2017-06-061-5/+3
|
* Add preparatory upgrade code for 3.10 (#6337)Joram Wilander2017-05-061-10/+20
|
* Uncomment upgrade for 3.9 (#6336)Joram Wilander2017-05-041-6/+5
| | | | | | * Uncomment upgrade for 3.9 * Add 3.9.0 to model/version.go
* Creating common token store and moving email invites and verification to it ↵Christopher Speller2017-04-271-0/+1
| | | | (#6213)
* Refactor OAuth 2.0 code into app layer (#6037)Joram Wilander2017-04-121-0/+1
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Prepare database upgrade function for v3.9 (#6004)George Goldberg2017-04-071-0/+10
|
* Uncomment 3.8 database upgrade. (#5992)George Goldberg2017-04-051-7/+5
|
* Add store unit tests and add make target for testing store with postgres (#5925)Joram Wilander2017-04-031-2/+2
| | | | | | | | * Add store unit tests and add make target for testing store with postgres * Remove postgres target form test-server target * Fix audit test
* Upgrade schema for pinned posts. (#5747)George Goldberg2017-03-131-0/+3
|
* Add new database schema version ready for 3.8. (#5697)George Goldberg2017-03-091-0/+10
|
* Merge 3.7 changes into master (#5679)Joram Wilander2017-03-071-0/+2
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* Update schema for version 3.7. (#5674)George Goldberg2017-03-071-6/+5
|
* PLT-135 Showing "(Edited)" indicator if a message has been edited. (#4923)Debanshu Kundu2017-01-121-0/+10
|
* Update schema for version 3.6 (#4972)Harrison Healey2017-01-041-12/+10
| | | | | | * Update schema for version 3.6 * Update version for version 3.6
* PLT-5073 Improve performance of /channels/view endpoint (#4881)Joram Wilander2016-12-231-0/+3
| | | | | | * Improve performance of /channels/view endpoint * Fix store unit test
* PLT-4332 Position field for Users (#4632)George Goldberg2016-12-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add User.Position field to store & model. * GOFMT * Add Position to user settings. * Unit tests. * Add position to profile popup. * i18n * Fix log message for invalid position. * Add Position field attribute to LDAP config. * Add Position field attribute to SAML config. * Reword empty position message. * Change Position Max Length to 35. * Better invalid position error message. * Add new fields to config.json. * Ensure position is never longer than max when displayed. * Hard limit of 64 chars with soft limit still 35 * Put field with other attributes.
* Removed code that would remove sessions when upgrading to 3.6 (#4773)Harrison Healey2016-12-131-5/+1
|
* Add Team Description to the Team Settings (#4652)Carlos Tadeu Panato Junior2016-12-011-0/+3
| | | | | | | | | | | | | | * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash
* PLT-1378 Initial version of emoji reactions (#4520)Harrison Healey2016-11-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactored emoji.json to support multiple aliases and emoji categories * Added custom category to emoji.jsx and stabilized all fields * Removed conflicting aliases for :mattermost: and :ca: * fixup after store changes * Added emoji reactions * Removed reactions for an emoji when that emoji is deleted * Fixed incorrect test case * Renamed ReactionList to ReactionListView * Fixed :+1: and :-1: not showing up as possible reactions * Removed text emoticons from emoji reaction autocomplete * Changed emoji reactions to be sorted by the order that they were first created * Set a maximum number of listeners for the ReactionStore * Removed unused code from Textbox component * Fixed reaction permissions * Changed error code when trying to modify reactions for another user * Fixed merge conflicts * Properly applied theme colours to reactions * Fixed ESLint and gofmt errors * Fixed ReactionListContainer to properly update when its post prop changes * Removed unnecessary escape characters from reaction regexes * Shared reaction message pattern between CreatePost and CreateComment * Removed an unnecessary select query when saving a reaction * Changed reactions route to be under /reactions * Fixed copyright dates on newly added files * Removed debug code that prevented all unit tests from being ran * Cleaned up unnecessary code for reactions * Renamed ReactionStore.List to ReactionStore.GetForPost
* Updated stored database schema number to 3.5Harrison Healey2016-11-071-21/+17
|
* Increase Channel Purpose length to 250, and add channel field length ↵Christopher Speller2016-11-041-0/+5
| | | | | | | | | | | | | | | | handling code to the slack importer (#4458) * Increase Channel Purpose length to 250. This commit increases the maxmimum length of the channel purpose field to 250, including the database migration necessary. It also adds a method to the Slack importer to check the lengths of channel properties before importing, and truncate them if necessary. Fixes #4168 * Fix database migration.
* PLT-3105 Files table migration (#4068)Harrison Healey2016-09-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented initial changes for files table * Removed *_benchmark_test.go files * Re-implemented GetPublicFile and added support for old path * Localization for files table * Moved file system code into utils package * Finished server-side changes and added initial upgrade script * Added getPostFiles api * Re-add Extension and HasPreviewImage fields to FileInfo * Removed unused translation * Fixed merge conflicts left over after permissions changes * Forced FileInfo.extension to be lower case * Changed FileUploadResponse to contain the FileInfos instead of FileIds * Fixed permissions on getFile* calls * Fixed notifications for file uploads * Added initial version of client code for files changes * Permanently added FileIds field to Post object and removed Post.HasFiles * Updated PostStore.Update to be usable in more circumstances * Re-added Filenames field and switched file migration to be entirely lazy-loaded * Increased max listener count for FileStore * Removed unused fileInfoCache * Moved file system code back into api * Removed duplicate test case * Fixed unit test running on ports other than 8065 * Renamed HasPermissionToPostContext to HasPermissionToChannelByPostContext * Refactored handleImages to make it more easily understandable * Renamed getPostFiles to getFileInfosForPost * Re-added pre-FileIds posts to analytics * Changed files to be saved as their ids as opposed to id/filename.ext * Renamed FileInfo.UserId to FileInfo.CreatorId * Fixed detection of language in CodePreview * Fixed switching between threads in the RHS not loading new files * Add serverside protection against a rare bug where the client sends the same file twice for a single post * Refactored the important parts of uploadFile api call into a function that can be called without a web context
* Adding removal of all sessions to upgrade. Commented out untill release. (#4047)Christopher Speller2016-09-211-0/+5
|
* Moved ThemeProps migration to correctly take place in 3.2 -> 3.3 migration ↵Harrison Healey2016-09-211-16/+15
| | | | (#4054)
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-0/+16
|
* Saving schema version for 3.4 (#3982)enahum2016-09-061-2/+1
|
* Do not send push notifications for channels being actively viewed (#3931)Joram Wilander2016-09-021-0/+2
|
* Fix status table upgrade (#3933)Joram Wilander2016-09-011-7/+5
|
* PLT-3695 refactoring to use sql_upgrader (#3788)Corey Hulen2016-08-241-0/+190
* PLT-3695 unitying upgrade support * PLT-3695 refactoring to use sql_upgrader * Fixing unit test * Adding 3.3 to 3.4 * Fixing upgrading * Seperating DB schema from version.go * Fixing upgrade cmd * Moving to const for exit codes * remving old unused code