Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-07Merge branch 'fix-global-milestones-error-500' into 'master' Douwe Maan
Fix Error 500 when creating global milestones with Unicode characters Two issues: 1. The constraints in the resources were incorrect. Here's what it was before: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` In this case, id is actually the title of the milestone, which can be anything at the moment. After: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[^\/]+/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` 2. `parameterize` would strip all Unicode characters, leaving a blank string. Rails would report something like: ``` ActionView::Template::Error (No route matches {:action=>"show", :controller=>"groups/milestones", :group_id=>#<Group id: 48, name: "ops-dev", path: "ops-dev", owner_id: nil, created_at: "2015-11-15 08:55:30", updated_at: "2015-12-02 06:23:26", type: "Group", description: "", avatar: "sha1.c71e73d51af1865c1bbbf6208e10044d46c9bb93.png", public: false>, :id=>"", :title=>"肯定不是中文的问题"} missing required keys: [:id]): ``` This change uses the babosa library to create a better slug, which surprisingly isn't actually used by the global milestone controllers. Instead, they use the title passed as a query string for some reason. Closes https://github.com/gitlabhq/gitlabhq/issues/9881 See merge request !1983
2015-11-11Merge branch 'flay' into 'master' Dmitriy Zaporozhets
Add flay: tool to find duplicate code Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1789
2015-11-11Merge branch 'flog' into 'master' Dmitriy Zaporozhets
Add method complexity check to CI Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1783
2015-11-11Add flay: tool to find duplicate codeDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-11Merge branch 'artifacts' into 'master' Kamil Trzciński
Implement Build Artifacts This implements #3028 1. It stores artifacts in shared/artifacts, 1. It adds `artifacts` to `.gitlab-ci.yml`, 1. We use GitLab Workhorse to offload artifacts uploading, 1. To download artifacts it uses GitLab Workhorse X-Sendfile extension, 1. There's one "artifact" per-build. The new upload removes previous one and creates a new one, 1. Default max artifact size is set to 100MB - this can be changed in settings. Missing things: 1. Support for `.gitlab-ci.yml`: `artifacts: true or git-ls-files` which will upload all non tracked files, 1. Artifacts passing between builds. GitLab Workhorse changes: https://gitlab.com/gitlab-org/gitlab-workhorse/merge_requests/5 GitLab Runner changes: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/46 Syntax: ``` artifacts: untracked: true # default: false paths: # default: empty - bin/files ``` See merge request !1584
2015-11-10Add method complexity check to CIDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-10Merge branch 'state-machine-to-state-machines-activerecord' into 'master' Dmitriy Zaporozhets
Switch to state_machines-activerecord (Fixes: #3374) state_machine is unmaintained See merge request !1764
2015-11-10Implement Build ArtifactsKamil Trzcinski
- Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
2015-11-09Upgrade gitlab_git to 7.2.20 and rugged to 0.23.3.Stan Hu
Switch back to github-linguist
2015-11-09Added Sherlock, a custom profiling tool for GitLabYorick Peterse
Sherlock will be a new GitLab specific tool for measuring the performance of Rails requests (and SideKiq jobs at some point). Some of the things that are currently tracked: * SQL queries along with their timings, backtraces and query plans (using "EXPLAIN ANALYZE" for PostgreSQL and regular "EXPLAIN" for MySQL) * Timings of application files (including views) on a per line basis * Some meta data such as the request method, path, total duration, etc More tracking (e.g. Rugged or gitlab-shell timings) might be added in the future. Sherlock will replace any existing tools we have used so far (e.g. active_record_query_trace and rack-mini-profiler), hence the corresponding Gems have been removed from the Gemfile. Sherlock can be enabled by starting Rails as following: ENABLE_SHERLOCK=1 bundle exec rails s Recorded transactions can be found at `/sherlock/transactions`.
2015-11-08Switch to state_machines-activerecord (Fixes: #3374)Pirate Praveen
2015-11-04Merge branch 'facebook-auth' into 'master' Robert Speicher
Add Facebook authentication See merge request !1740
2015-11-03Add Facebook authenticationDouwe Maan
2015-11-03Bump stamp to ~> 0.6.0Robert Speicher
Closes #2801
2015-10-28Merge branch 'rs-update-nprogress-rails' into 'master' Dmitriy Zaporozhets
Bump nprogress-rails to 0.1.6.7 Closes #2866 See merge request !1686
2015-10-26Bump jquery-atwho-rails to ~> 1.3.2Robert Speicher
Closes #2858
2015-10-26Bump nprogress-rails to 0.1.6.7Robert Speicher
Closes #2866
2015-10-15Update redcarpet gem. Fixes gem memory leakDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-15Merge branch 'view-issue-performance'Dmitriy Zaporozhets
2015-10-15Merge branch 'git-archive-golang' into 'master' Douwe Maan
Let gitlab-git-http-server handle archive downloads This change relies on changes in gitlab_git and gitlab-git-http-server. fixes #2429 See merge request !1548
2015-10-15Merge branch 'rs-remove-guard' into 'master' Dmitriy Zaporozhets
Remove guard-rspec and its supporting gems See merge request !1551
2015-10-15Added rack-lineprof for developmentYorick Peterse
This can be used to measure the time (roughly) spent on a per line basis. This can also be used to measure timings for views, for example by adding the following to a URL: ?lineprof=app/views/projects/notes/_note rack-lineprof is only enabled when: 1. The application runs in development mode 2. The used Ruby is MRI 3. The environment variable ENABLE_LINEPROF is set to a non-empty value
2015-10-15Added active_record_query_traceYorick Peterse
This can be used to track down where queries originate from, regardless of whether they're caused by N+1 problems or not. This can be enabled by setting the environment variable ENABLE_QUERY_TRACE to a non-empty value (e.g. "true").
2015-10-15Added Bullet to the GemfileYorick Peterse
This can be used to resolve N+1 query problems. Bullet is disabled by default and can be enabled by starting Rails with the environment variable ENABLE_BULLET set to a non empty value (e.g. "true").
2015-10-15Merge branch 'master' into git-archive-golangDouwe Maan
2015-10-15Update gitlab_git to 7.2.19Jacob Vosmaer
2015-10-15Merge branch 'rs-update-uglifier' into 'master' Dmitriy Zaporozhets
Update uglifier to ~> 2.7.2 Fixes a security vulnerability: - https://github.com/lautis/uglifier/pull/86 - https://github.com/mishoo/UglifyJS2/issues/751 - https://zyan.scripts.mit.edu/blog/backdooring-js/ See merge request !1590
2015-10-14Update uglifier to ~> 2.7.2Robert Speicher
2015-10-13Make Reply by email easier to configureDouwe Maan
2015-10-11Enable arbitration in MailRoomDouwe Maan
2015-10-11Merge branch 'rs-remove-slim' into 'master' Dmitriy Zaporozhets
Remove slim Closes #2897 See merge request !1537
2015-10-10Merge branch 'rs-update-whenever' into 'master' Dmitriy Zaporozhets
Remove whenever gem Closes #2879 See merge request !1538
2015-10-09Remove slimRobert Speicher
2015-10-09Remove guard-rspec and its supporting gemsRobert Speicher
2015-10-09Just kidding, we're deleting whenever entirelyRobert Speicher
2015-10-08Merge branch 'rs-update-slack-notifier' into 'master' Dmitriy Zaporozhets
Update slack-notifier to ~> 1.2.0 Closes #2826 See merge request !1533
2015-10-08Merge branch 'rs-update-tinder' into 'master' Dmitriy Zaporozhets
Update tinder to ~> 1.10.0 Closes #2823 See merge request !1534
2015-10-08Merge branch 'rs-update-rack-cors' into 'master' Dmitriy Zaporozhets
Update rack-cors to ~> 0.4.0 Closes #2800 See merge request !1536
2015-10-08Update whenever to ~> 0.9.4Robert Speicher
2015-10-08Update rack-cors to ~> 0.4.0Robert Speicher
2015-10-08Update haml-rails to ~> 0.9.0Robert Speicher
2015-10-08Update tinder to ~> 1.10.0Robert Speicher
2015-10-08Update slack-notifier to ~> 1.2.0Robert Speicher
2015-10-07Merge branch 'rs-update-omniauth-gems' into 'master' Dmitriy Zaporozhets
Update omniauth-* gem dependencies - twitter to `~> 1.2.0` - closes #2763 - kerberos to `~> 0.3.0` - closes #2792 - google-oauth2 to `~> 0.2.0` - shibboleth to `~> 1.2.0` - closes #2791 See merge request !1526
2015-10-07Add directory feature buttonStan Hu
Change "+" icon under "Files" section to have three options: * Create file * Upload file * New directory Upload file is no longer accessible from the "Create file" page. Users can now select a target branch in upload file as well. Closes #2799: Fixes a bug where file modes were overwritten after a commit Closes https://github.com/gitlabhq/gitlabhq/issues/8253: Existing files can no longer be overwritten in the "Create file" section. Closes #2557
2015-10-07Update omniauth-shibboleth to ~> 1.2.0Robert Speicher
2015-10-07Loosen omniauth-google-oauth2 to ~> 0.2.0Robert Speicher
2015-10-07Update omniauth-kerberos to ~> 0.3.0Robert Speicher
2015-10-07Update omniauth-twitter to ~> 1.2.0Robert Speicher
2015-10-02Added benchmark-ips to the GemfileYorick Peterse
This allows me to use this Gem for benchmarking without having to add/remove it every time.