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
path: root/lib
AgeCommit message (Collapse)Author
2016-07-06Consider that a GH exists only if both `ref`, and `sha` existDouglas Barbosa Alexandre
2016-07-06Doesn't trigger Git hooks when cleaning up restored branches from GitHubDouglas Barbosa Alexandre
2016-07-06Merge branch 'gh-labels' into 'master' Robert Speicher
Allow `?`, or `&` for label names Closes #18727 See merge request !4724
2016-07-06Merge branch 'fix/import-url-validator' into 'master' Robert Speicher
Fixing URL validation for import_url on projects Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17536 This MR fixes problems related to bypassing `import_url` validation on projects. This makes sure the URL is properly validated so we don't enter crap and fail while running workers that handle this URL. It also adds a migration to fix current invalid `import_url`s See merge request !4753
2016-07-06Merge branch 'fix/project-export-error' into 'master' Rémy Coutable
Add more debug info to import/export and memory killer This should help debug https://gitlab.com/gitlab-org/gitlab-ce/issues/19124 further See merge request !5108
2016-07-06fix typoJames Lopez
2016-07-06even more debugJames Lopez
2016-07-06Use CGI.unescapeHTML rather than doing the gsub with a mapDouglas Barbosa Alexandre
2016-07-06Move `unescape_html_entities` from LabelsHelper to Label modelDouglas Barbosa Alexandre
2016-07-06Render references for labels that name contains ?, or &Douglas Barbosa Alexandre
2016-07-06Revert back to not defining a default Git access protocol.Patricio Cano
2016-07-06Default Git access protocol to `web`Patricio Cano
2016-07-06Rename `enabled_git_access_protocols` to singular.Patricio Cano
2016-07-06Don't allow empty strings in the `protocol` check.Patricio Cano
2016-07-06Correct access control flow for Git HTTP requests.Patricio Cano
2016-07-06Clarify protocol access check, and make Git HTTP access call more specific.Patricio Cano
2016-07-06Raise an error if no protocol is passed to the GitAccess check.Patricio Cano
2016-07-06Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell ↵Patricio Cano
expects and make the `protocol` param in `GitAccess` mandatory.
2016-07-06Only allow Git Access on the allowed protocolPatricio Cano
2016-07-05Merge branch 'update-gemoji' into 'master' Robert Speicher
Add lib/gitlab/emoji.rb instead of gitlab_emoji gem and upgrade Gemojione - No reason to split it into a separate gem when the gem barely did anything. We can use gemojione directly, making updating gemojione that much easier. Unless there's a particularly good reason we were using the gem? - Fixes the Rake task since it broke after all the AwardEmoji changes. - Update gemojione to 2.6.1. Spring Update changes! http://emojione.com/releases/#2.2.0 See merge request !4919
2016-07-05RailsCache metrics now includes fetch_hit/fetch_miss and read_hit/read_miss ↵Paco Guzman
info.
2016-07-05Instrument cache fetch hit and cache fetch missesPaco Guzman
2016-07-05Merge branch 'refactor/ci-config-move-global-entries' into 'master' Rémy Coutable
Move global ci entries handling from legacy to new config ## What does this MR do? This MR moves responsibility of handling global CI config entries (like `image`, `services`), from legacy `GitlabCiYamlProcessor` to new CI Config ## Why was this MR needed? This is the next iteration of CI configuration refactoring ## What are the relevant issue numbers? #15060 ## Does this MR meet the acceptance criteria? - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) See merge request !4820
2016-07-04Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqDmitriy Zaporozhets
2016-07-04Merge branch 'more_descriptive_git_shell_messages' into 'master' Dmitriy Zaporozhets
Handle custom Git hook result in GitLab UI ## What does this MR do? This MR fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19190 It allows to show messages from git custom hooks ## Screenshots (if relevant) ![joxi_screenshot_1467651998090](/uploads/7f814523c96712c07b4f4b52c843aab3/joxi_screenshot_1467651998090.png) See merge request !5073
2016-07-04Handle custom Git hook result in GitLab UIValery Sizov
2016-07-04Add minor improvements in readability in CI configGrzegorz Bizon
2016-07-04Merge branch 'save-artifacts_sizes' into 'master' Rémy Coutable
Save artifacts sizes ## What does this MR do? Introduce ci_builds.artifacts_size as an integer, so that it's easier to access than reading from the file again. ## What are the relevant issue numbers? Closes #18869 See merge request !4964
2016-07-04Better message for git hooks and file locksValery Sizov
2016-07-04Merge remote-tracking branch 'upstream/master' into save-artifacts_sizesLin Jen-Shin
* upstream/master: (175 commits) Document Repository#keep_around Don't garbage collect commits that have related DB records like comments Update CHANGELOG Update RedCloth to 4.3.2 for CVE-2012-6684 Fix typo in Merge Requests API documentation Downgrade to Redis 3.2.2 due to massive memory leak with Sidekiq Enable Style/EmptyLines cop, remove redundant ones Update CHANGELOG Cache results from jQuery selectors to retrieve namespace name Fix import button when import fail due the namespace already been taken Fix snippets comments not displayed Fix emoji paths in relative root configurations Exclude requesters from Project#members, Group#members and User#members Upgrade Thin from 1.6.1 to 1.7.0. Many squashed commits Cache autocomplete results Upgrade Sidekiq from 4.1.2 to 4.1.4. Upgrade seed-fu from 2.3.5 to 2.3.6 use has_many relationship with events Support creating a todo on issuables via API ...
2016-07-04Extract CI configuration entry node factory methodGrzegorz Bizon
2016-07-02Merge branch 'master' into dev-masterTomasz Maczukin
* master: (98 commits) Enable Style/EmptyLines cop, remove redundant ones Update CHANGELOG Cache results from jQuery selectors to retrieve namespace name Fix import button when import fail due the namespace already been taken Fix snippets comments not displayed Fix emoji paths in relative root configurations Exclude requesters from Project#members, Group#members and User#members Upgrade Thin from 1.6.1 to 1.7.0. Many squashed commits Cache autocomplete results Upgrade Sidekiq from 4.1.2 to 4.1.4. Upgrade seed-fu from 2.3.5 to 2.3.6 use has_many relationship with events Support creating a todo on issuables via API Expose target, filter by state as string Add todos API documentation and changelog Improve the request / withdraw access button Metrics for Rouge::Plugins::Redcarpet and Rouge::Formatters::HTMLGitlab Groundwork for Kerberos SPNEGO (EE feature) Update CHANGELOG 8.9.5 for runners related fixes ...
2016-07-01Enable Style/EmptyLines cop, remove redundant onesGrzegorz Bizon
2016-07-01Merge branch 'fix-relative-root-emoji-support' into 'master' Stan Hu
Fix emoji paths in relative root configurations ## What does this MR do? If a site specifies a relative URL root, emoji files would omit the path from the URL, leading to lots of 404s. ## Are there points in the code the reviewer needs to double check? At first, I tried to use `ActionView::Helpers::AssetUrlHelper.asset_url` since this is what it's intended to do. But this helper function is extremely slow, and it took minutes to generate the URLs for the hundreds of links needed for each emoji. ## Why was this MR needed? Because emojis were broken in relative URL installations ## What are the relevant issue numbers? #15642 ## Does this MR meet the acceptance criteria? - [X] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [X] Added for this feature/bug - [x] All builds are passing - [X] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [X] Branch has no merge conflicts with `master` (if you do - rebase it please) - [X] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5027
2016-07-01Fix emoji paths in relative root configurationsStan Hu
If a site specifies a relative URL root, emoji files would omit the path from the URL, leading to lots of 404s. Closes #15642
2016-07-01Merge branch 'todos-api' into 'master' Rémy Coutable
Add Todos API * Closes #14068 * Closes #14675 - [x] Implementation - [x] Tests - [x] Documentation - [x] Changelog See merge request !3188
2016-07-01Merge branch 'fix/import-export-events' into 'master' Rémy Coutable
Fixing problems with events for import/export Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19202 A couple of issues related to target being missing in exported `Events` (as being polymorphic and not have `ActiveRecord` relationships is a bit more tricky than normal models) plus as the export was in JSON, the import retrieves hashed fields as stringified hashes and not symbolized - so fixed that as well, which was the cause of https://gitlab.com/gitlab-org/gitlab-ce/issues/19202 Also fixed / refactored tests :simpl Import/Export Version has been bumped to 0.1.1 as theses changes to events won't work very well with old exports - forcing users to generate a new export in the new version. See merge request !4987
2016-07-01Merge branch 'refactor-tags-branches-api' into 'master' Rémy Coutable
Ensure that branch and tag names are given in API ## What does this MR do? It ensures that the tag or branch name is given. @rymai We talked in an earlier MR about this. See merge request !5012
2016-07-01use has_many relationship with eventsJames Lopez
2016-07-01Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez
fix/import-export-events
2016-07-01Support creating a todo on issuables via APIRobert Schilling
2016-07-01Expose target, filter by state as stringRobert Schilling
2016-07-01Add todos API documentation and changelogRobert Schilling
2016-07-01Metrics for Rouge::Plugins::Redcarpet and Rouge::Formatters::HTMLGitlabPaco Guzman
2016-07-01pass paginated array when deleting notesRobert Schilling
2016-07-01Expose action_nameRobert Schilling
2016-07-01Add user to project to see todosRobert Schilling
2016-07-01Move to helper, no instance variablesRobert Schilling
2016-07-01Fix rebaseRobert Schilling
2016-07-01Add Todos APIDouglas Barbosa Alexandre