Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 17, 2015
  1. @randx

    Merge branch 'validate_token_and_url_format_for_gitlab_ci' into 'master'

    randx authored
    Validate format of project_url and token for GitLab CI service.
    
    If `project_url` and `token` for are invalid, [service_hook creation](https://gitlab.com/gitlab-org/gitlab-ce/blob/7-13-stable/app/models/project_services/gitlab_ci_service.rb#L30-34) will silently fail due to validation of URL in `WebHook`.
    
    Given that token is a sequence of numbers and letters for GitLab CI making sure that there are no unexpected characters should be enough to prevent service_hook being nil. 
    
    Fixes #1997 
    
    See merge request !987
  2. @randx

    Merge branch 'even-faster-search' into 'master'

    randx authored
    Avoid copy of strings in memory for parsing git grep result
    
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
    
    See merge request !967
  3. @randx

    Update changelog

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  4. @randx
  5. @randx

    Merge branch 'advanced-cache' into 'master'

    randx authored
    Advanced cache
    
    Fixes #1993
    
    * Build missing cache values in background job after each push
    * Store commit_count in project table. Refresh in background job
    * moved repository size calculation in background job
    
    
    ## Advantages
    
    Every time push is triggered - we build cache for project even without user visiting project page. 
    That means first visit is as fast as others now. This is especially good for active projects where people have some requests fast because of cache and some slow - because cache was build in their request. 
    
    Between cache expired and cache built we we had gap when Linux repo can give 502 error because calculation commits count takes 30 seconds or even more. 
    Using value from database fix this problem. Before cache is updated you see old value from database. After - you see new one. 
    
    Basically this merge request is super win to GitLab. We don't do some heavy operations in user request but instead in background job. 
    
    ## Temporary problem
    
    After this migration all projects will have `0` commits in database. It fill be replaced with real value on next push. I did not add recalculation to migration because it will last forever on big instances.  Can be fixed by adding rake task which will go in background on live instance without downtime
    
    See merge request !986
  6. @randx

    Merge branch 'cache-two-weeks' into 'master'

    randx authored
    Expire Rails cache entries after two weeks
    
    This should help prevent endless Redis growth.
    
    See merge request !1903
  7. @randx

    Avoid cache building for super-weird case when repository root_ref is…

    randx authored
    … nil
    
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  8. @randx

    Store commit count in project table

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  9. @randx

    Build missing cache items in background job after each push

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  10. @randx

    Add more seed projects. Control amount with SIZE env variable

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  11. @randx
Commits on Jul 16, 2015
  1. @randx
Commits on Jul 15, 2015
  1. @randx

    Merge branch 'time_ago_fix' into 'master'

    randx authored
    Time ago fix for branch compare page
    
    https://dev.gitlab.org/gitlab/gitlabhq/issues/2508
    
    See merge request !1904
Commits on Jul 14, 2015
  1. @randx

    Merge branch 'fix-ed' into 'master'

    randx authored
    Fix path to move_drop_indexes.ed
    
    Small documentation fix.
    
    See merge request !1900
  2. @randx
  3. @randx

    Merge branch 'nice-scroll-sidebar' into 'master'

    randx authored
    Add nice scroll for sidebar
    
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
    
    See merge request !978
  4. @randx

    Merge branch 'scrollbar-issue' into 'master'

    randx authored
    Hide scrollbar from sidebar when external mouse is connected to OSX
    
    See merge request !977
  5. @randx

    Add nice scroll for sidebar

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  6. @randx
  7. @randx

    Merge branch 'rs-fix-coverage' into 'master'

    randx authored
    Move coverage-related setup back to spec_helper
    
    These tools must be loaded before our regular Rails environment.
    
    Partially reverts 5783020
    
    See merge request !976
  8. @randx
  9. @randx

    Merge branch 'mysql-to-postgres-ed' into 'master'

    randx authored
    Add 'ed' step to mysql-to-postgres procedure
    
    This change brings the documentation in this repo up to date with that in https://github.com/gitlabhq/mysql-postgresql-converter .
    
    See merge request !1896
  10. @randx

    Merge branch 'rs-issue-1773' into 'master'

    randx authored
    Fix mentions not being created upon issue/merge request update
    
    New cross-references weren't being added when they were made in an issue or merge request update.
    
    This happened because the relevant `UpdateService`s were making the `notice_added_references` call
    after the model had already been updated and saved, so the `changes` attribute was empty and no
    cross-references were made at all.
    
    This fixes the bug and adds a bit of testing and a bit of refactoring.
    
    Closes #1773
    
    See merge request !974
  11. @randx

    Merge branch 'project-default-view' into 'master'

    randx authored
    Allow user to specify content he wants to see on project page
    
    Improvement to !938. Since a lot of people complain on fact they don't like to see README.
    Especially since we already have a switcher for dashboard - it kind of acceptable to select behaviour.
    
    User can specify which content he/she wants to see:
    
    ![Screenshot_2015-07-13_18.24.31](https://gitlab.com/gitlab-org/gitlab-ce/uploads/d237474e8f52df4a62ba7e951fa28bd8/Screenshot_2015-07-13_18.24.31.png)
    
    ![Screenshot_2015-07-13_18.24.36](https://gitlab.com/gitlab-org/gitlab-ce/uploads/473b0e2a94b3de16d048b8332b539816/Screenshot_2015-07-13_18.24.36.png)
    
    cc @JobV @jacobvosmaer @marin @sytses
    
    See merge request !970
Commits on Jul 13, 2015
  1. @randx

    Merge branch 'project-plus-icon' into 'master'

    randx authored
    Replaced icon for project page dropdown button
    
    Improve for !971
    
    ![Screenshot_2015-07-13_23.37.01](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2b168c6f8a07f33cab4ca8f735646f8a/Screenshot_2015-07-13_23.37.01.png)
    
    See merge request !973
  2. @randx

    Improve project new item dropdown

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  3. @randx

    Merge branch 'use_password_field_defaults_for_services' into 'master'

    randx authored
    Use password field defaults for services
    
    Previously we masked the password field manually. After the refactor that services page received we can use `password_field` default masking.
    
    Fixes internal https://dev.gitlab.org/gitlab/gitlab-ee/issues/314
    
    See merge request !969
  4. @randx

    Merge branch 'project-dropdown' into 'master'

    randx authored
    Add dropdown to quickly create issue or branch from project page
    
    because just 'new issue' link is not valid for all users. A lot of people use external issue tracker. So I grouped several links under one button
    
    ![Screenshot_2015-07-13_18.40.43](https://gitlab.com/gitlab-org/gitlab-ce/uploads/9db7394c16d1a8718c8a6a15fd2c98cc/Screenshot_2015-07-13_18.40.43.png)
    
    ![Screenshot_2015-07-13_18.40.41](https://gitlab.com/gitlab-org/gitlab-ce/uploads/d880532bb15370bb3f8e76bd06b411ad/Screenshot_2015-07-13_18.40.41.png)
    
    cc @JobV @marin @jacobvosmaer @sytses
    
    See merge request !971
  5. @randx

    Merge branch 'scroll-sidebar' into 'master'

    randx authored
    Scroll sidebar
    
    On small screens content of sidebar does not fit. This merge request makes sidebar scrollable which makes it usable for tablets and small laptops.
    
    This merge request has no screenshot because it brings no visual change. Its about action.
    
    cc @darby @JobV
    
    See merge request !972
  6. @randx

    Increase padding between menu items a bit

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  7. @randx

    Make sidebar scrollable. It prevents content overflow for small screens

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  8. @randx

    Better wording for project dropdown

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  9. @randx

    Add dropdown to quickly create issue or branch from project page

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  10. @randx

    Allow user to specify content he wants to see on project page

    randx authored
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  11. @randx

    Merge branch 'no-icon-for-back' into 'master'

    randx authored
    Hide icon for bact-to-location menu in sidebar
    
    cc @JobV
    
    ![Screenshot_2015-07-13_11.37.39](https://gitlab.com/gitlab-org/gitlab-ce/uploads/39d871b6a0e0e555cb497aee865a2f45/Screenshot_2015-07-13_11.37.39.png)
    
    See merge request !968
Something went wrong with that request. Please try again.