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
2015-06-03Merge branch 'repo-remove' into fix-group-removeDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/projects_spec.rb
2015-06-03Wrap group removal into serviceDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-03Move repository when project is removedDmitriy Zaporozhets
Ths commit does next: * When we remove project we move repository to path+deleted.git * Then we schedule removal of path+deleted with sidekiq * If repository move failed we abort project removal This should help us with NFS issue when project get removed but repository stayed. The full explanation of problem is below: * rm -rf project.git * rm -rf removes project.git/objects/foo * NFS server renames foo to foo.nfsXXXX because some NFS client (think * Unicorn) still has the file open * rm -rf exits, but project.git/objects/foo.nfsXXX still exists * Unicorn closes the file, the NFS client closes the file (foo), and the * NFS server removes foo.nfsXXX * the directory project.git/objects/ still exists => problem So now we move repository and even if repository removal failed Repository directory is moved so no bugs with project removed but repository directory taken. User still able to create new project with same name. From administrator perspective you can easily find stalled repositories by searching `*+deleted.git` Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-02Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets
Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
2015-06-02Further limit the limited whitelist for project/group descriptionsRobert Speicher
2015-06-02Add a `pipeline` context option for SanitizationFilterRobert Speicher
When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields.
2015-06-02Merge pull request #8730 from drunkard/masterMarin Jankovski
Specify shell while run me as git user
2015-06-02Fix typo.Douwe Maan
2015-06-02Ignore references in blockquotes.Douwe Maan
2015-06-02Actually ignore references in code blocks etc.Douwe Maan
2015-06-02Remove unnecessary satellite files and add CHANGELOG itemDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-02Remove now unnecessary satelittes logic for creating and editing file with ↵Dmitriy Zaporozhets
web editor Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-29Disable changing of the source branch in merge request update APIStan Hu
2015-05-29Update jasmine:ci task to use teaspoonRobert Speicher
2015-05-28Merge branch 'user-destroy-wo-groups' into 'master'Dmitriy Zaporozhets
You can not remove user if he/she is an only owner of group To prevent loose of group data you need to transfer or remove group first before you can remove user Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !730
2015-05-28You can not remove user if he/she is an only owner of groupDmitriy Zaporozhets
To prevent loose of group data you need to transfer or remove group first before you can remove user Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-27Add ExternalLinkFilter to Markdown pipelineRobert Speicher
Forces a `rel="nofollow"` attribute on all external links.
2015-05-26Make use of to_reference in more specsRobert Speicher
2015-05-26Support only double quotes for multi-word label referencesRobert Speicher
2015-05-26Add `reference_pattern` to Referable modelsRobert Speicher
2015-05-26Correct the ReferenceFilter html/pipeline/filter requireRobert Speicher
2015-05-26Merge branch 'rs-issue-1690' into 'master'Dmitriy Zaporozhets
Better handle label references that aren't actually references Fixes #1690 See merge request !705
2015-05-26Merge branch 'get-monkey-off-my-rack-attack' into 'master'Douwe Maan
Remove Rack Attack monkey patches and bump to version 4.3.0 I finally got these monkey patches into Rack Attack v4.3.0, so GitLab no longer needs them. Hooray! See: https://github.com/kickstarter/rack-attack/pull/128 See merge request !693
2015-05-25Better handle label references that aren't actually referencesRobert Speicher
Fixes #1690
2015-05-22Remove Rack Attack monkey patches and bump to version 4.3.0Stan Hu
2015-05-22Add support for Webhook note eventsStan Hu
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21Customize the sanitization whitelist only onceRobert Speicher
Fixes #1651
2015-05-20Subclass TaskList::Filter to fix a bugRobert Speicher
Instead of using a fork, we subclass the filter and only apply the `task-list` class to list items that actually are task lists. Closes #1645 See https://github.com/github/task_list/pull/60
2015-05-19Merge branch 'shell-secret-path' of https://github.com/jirutka/gitlabhq into ↵Marin Jankovski
jirutka-shell-secret-path
2015-05-18Simplify and unify helpers for rendering markupJakub Jirutka
2015-05-18Rename MarkdownHelper to MarkupHelperJakub Jirutka
2015-05-18Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka
2015-05-18Add search issues/MR by numberNikita Verkhovin
2015-05-16Allow to configure gitlab_shell_secret locationJakub Jirutka
2015-05-15Ensure that the first added admin performs repository importsFotis Gimian
2015-05-15Merge branch 'dashboard-references' into 'master'Dmitriy Zaporozhets
Fix reference links in dashboard activity and ATOM feeds. References like `@user` were not linked on the dashboard activity feed and in Atom feeds, because the reference parser depends on `@project` which isn't set in those situations. This MR passes the project in question to the reference parsers in an option. cc @rspeicher See merge request !653
2015-05-14Merge branch 'project_api_order' into 'master'Dmitriy Zaporozhets
Add order option for projects API https://dev.gitlab.org/gitlab/gitlab-ci/issues/222 See merge request !656
2015-05-14Merge branch 'rs-relative-link-filter' into 'master'Dmitriy Zaporozhets
Minor RelativeLinkFilter cleanup See merge request !649
2015-05-14Merge branch 'omniauth-csrf' into 'master'Dmitriy Zaporozhets
Protect OmniAuth request phase against CSRF. Addresses #2268. See merge request !1793
2015-05-14Add order option for projects APIValery Sizov
2015-05-14Fix reference links in dashboard activity and ATOM feeds.Douwe Maan
2015-05-13Minor RelativeLinkFilter cleanupRobert Speicher
2015-05-13Use SIGKILL by default in Sidekiq::MemoryKillerJacob Vosmaer
This makes the memory growth-triggered Sidekiq restarts more reliable by reducing the chance that Sidekiq ends up in a state where it is not accepting new jobs but also not shutting down: SIGKILL is more likely to work than SIGTERM.
2015-05-13Merge branch 'text-batch-1' into 'master'Dmitriy Zaporozhets
Batch 1 of text improvements Batch 1 of changes from my effort at !635 to walk through every piece of text in GitLab and see if it can be improved. This batch includes: - Improve text on error pages. - Improve Git access error messages. - Improve description of branch protection levels. - Improve OAuth signup error message. - Improve OAuth application flash messages. cc @rspeicher See merge request !642
2015-05-13Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets
2015-05-13Merge branch 'version-check' into 'master'Dmitriy Zaporozhets
Version check See merge request !1509
2015-05-13Merge pull request #9276 from jirutka/relative_link_filterDmitriy Zaporozhets
Extract handling of relative file links to its own HTML filter
2015-05-13Fix GitAccess.Douwe Maan
2015-05-13Improve OAuth signup error message.Douwe Maan
2015-05-13Improve description of branch protection levels.Douwe Maan