Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate the warnings for database | Lin Jen-Shin | 2018-01-26 | 1 | -11/+9 |
| | |||||
* | Rework indexes on redirect_routes to be more effective and enforce a case ↵fix-redirect-routes-schema | Greg Stark | 2018-01-18 | 1 | -0/+2 |
| | | | | insensitive unique path | ||||
* | Adds Rubocop rule for line break around conditionals | 🙈 jacopo beschi 🙉 | 2018-01-11 | 1 | -0/+3 |
| | |||||
* | Add index on namespaces lower(name) for UsersController#existsindex-namespaces-lower-name | Greg Stark | 2017-12-21 | 1 | -0/+2 |
| | |||||
* | Add lower path index to redirect_routesmk-add-lower-path-index-to-redirect-routes | Michael Kozono | 2017-07-25 | 1 | -0/+2 |
| | |||||
* | Add table for files in merge request diffs | Sean McGivern | 2017-06-16 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | This adds an ID-less table containing one row per file, per merge request diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised currently, with the advantage that we can easily query the attributes of this new table. It does not migrate existing data, so we have fallback code when the legacy st_diffs column is present instead. For a merge request diff to be valid, it should have at most one of: * Rows in this new table, with the correct merge_request_diff_id. * A non-NULL st_diffs column. It may have neither, if the diff is empty. | ||||
* | Add index_redirect_routes_path_for_link migration to setup_postgresql.rake | Luke "Jared" Bennett | 2017-05-08 | 1 | -0/+1 |
| | |||||
* | Index redirect_routes path for LIKE | Michael Kozono | 2017-05-05 | 1 | -0/+1 |
| | |||||
* | Fix caching large snippet HTML content on MySQL databases | Nick Thomas | 2017-05-03 | 1 | -0/+2 |
| | |||||
* | Add LIKE index for routes.path | Yorick Peterse | 2017-03-21 | 1 | -0/+2 |
| | | | | | | | | Nested groups support uses queries along the lines of `path LIKE 'X/%'`. For these queries to use an index on PostgreSQL we need to use either the varchar_pattern_ops or text_pattern_ops operator class. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/29554 | ||||
* | Don’t exclude some file in lib from rubocop | Douwe Maan | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | Add AddLowerPathIndexToRoutes to setup_postgresql.rake | Dmitriy Zaporozhets | 2016-12-13 | 1 | -0/+4 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Replace colorize gem with rainbow. | Connor Shea | 2016-06-03 | 1 | -3/+3 |
| | | | | | | | | | | | | | Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize. The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance. The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product. An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded. Rainbow library: https://github.com/sickill/rainbow Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775 | ||||
* | Improve performance of User.by_loginuser-by-login-performance | Yorick Peterse | 2015-10-15 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | Performance is improved in two steps: 1. On PostgreSQL an expression index is used for checking lower(email) and lower(username). 2. The check to determine if we're searching for a username or Email is moved to Ruby. Thanks to @haynes for suggesting and writing the initial implementation of this. Moving the check to Ruby makes this method an additional 1.5 times faster compared to doing the check in the SQL query. With performance being improved I've now also tweaked the amount of iterations required by the User.by_login benchmark. This method now runs between 900 and 1000 iterations per second. | ||||
* | Added dedicated Rake task for setting up Postgres | Yorick Peterse | 2015-10-08 | 1 | -0/+6 |
| | | | | | This ensures any PostgreSQL specific schema changes (e.g. expression indexes) are created when setting up the database. | ||||
* | Replace GITLAB with GitLab in rake task descriptions | Dmitriy Zaporozhets | 2015-06-23 | 2 | -2/+2 |
| | |||||
* | Adjust MySQL limits for existing installations | Jacob Vosmaer | 2014-04-23 | 1 | -9/+2 |
| | |||||
* | Add mysql limits to db during setup | Dmitriy Zaporozhets | 2014-03-13 | 1 | -0/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Changed limits to a higher order | Jeroen van Baarsen | 2014-03-12 | 1 | -3/+3 |
| | |||||
* | Added rake task to add limits back in mysql | Jeroen van Baarsen | 2014-03-11 | 1 | -0/+13 |
| | |||||
* | Remove old migration tasks | Dmitriy Zaporozhets | 2013-08-26 | 7 | -110/+0 |
| | | | | | | You should update to 6.0 before proceed with update to higher version. So its no reason to keep old tasks any more. It should be still available in 6-0-stable but not in master | ||||
* | Add iids to milestones. Moved iids logic to separate concern | Dmitriy Zaporozhets | 2013-08-21 | 1 | -0/+15 |
| | |||||
* | Fix migrate_iids for issues | Dmitriy Zaporozhets | 2013-08-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'feature/internal_ids' of /home/git/repositories/gitlab/gitlabhq | Dmitriy Zaporozhets | 2013-08-20 | 1 | -0/+33 |
|\ | |||||
| * | Iid improvemets | Dmitriy Zaporozhets | 2013-08-19 | 1 | -2/+4 |
| | | | | | | | | | | | | * call set_iid before validation * make rake task pass event if objects are invalid * show iid in comment event at dashboard | ||||
| * | Create task to create iid for existing issues/mr | Dmitriy Zaporozhets | 2013-08-19 | 1 | -0/+31 |
| | | |||||
* | | Better message for migrating global projects | Dmitriy Zaporozhets | 2013-08-20 | 1 | -2/+9 |
|/ | |||||
* | Move diff parsing to own class. Correctly identify note diff line | Dmitriy Zaporozhets | 2013-08-04 | 1 | -1/+1 |
| | |||||
* | Store diff with line note. It makes possible to see inline notes with proper ↵ | Dmitriy Zaporozhets | 2013-08-04 | 1 | -0/+16 |
| | | | | diff even if MR diff changed | ||||
* | Delete duplicate keys in migrate_keys task | Jacob Vosmaer | 2013-08-02 | 1 | -0/+5 |
| | |||||
* | Fix typos | Johannes Schleifenbaum | 2013-07-29 | 1 | -1/+1 |
| | |||||
* | store and display public key fingerprint | Dmitriy Zaporozhets | 2013-06-24 | 1 | -0/+15 |
| | |||||
* | You should not be able to remove a Group owner | Dmitriy Zaporozhets | 2013-06-22 | 1 | -0/+16 |
| | |||||
* | Migrate global project taks. Removed more teams related functionality | Dmitriy Zaporozhets | 2013-06-19 | 1 | -3/+7 |
| | |||||
* | Remove Global namespace from options. Prepared file for migration of global ↵ | Dmitriy Zaporozhets | 2013-06-19 | 1 | -0/+12 |
| | | | | projects | ||||
* | Migrate notes.line_code format. | baba | 2013-05-11 | 1 | -0/+13 |
| | | | | | | | | | Since version 4.1, notes.line_code means: {SHA1 hash of file path}_{old line}_{new line} but the older version means: {file index of the commit}_{old line}_{new line} This rake task migrate the above differences. | ||||
* | migrate milestones with nil state | Dmitriy Zaporozhets | 2013-04-16 | 1 | -0/+4 |
| | |||||
* | Warn user about losing merge request diff | Dmitriy Zaporozhets | 2013-04-15 | 1 | -0/+7 |
| | |||||
* | Remove wiki migrator. We dont need it any more. Users should migrate to 5.0 ↵ | Dmitriy Zaporozhets | 2013-04-10 | 1 | -42/+0 |
| | | | | first | ||||
* | separate rake task for migration and persistent one | Dmitriy Zaporozhets | 2013-04-05 | 2 | -0/+53 |