summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Move repository when project is removedDmitriy Zaporozhets2015-06-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets2015-06-023-39/+31
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
| * | | | | | | Fix typo.Douwe Maan2015-06-021-1/+1
| | | | | | | |
| * | | | | | | Ignore references in blockquotes.Douwe Maan2015-06-022-5/+12
| | | | | | | |
| * | | | | | | Actually ignore references in code blocks etc.Douwe Maan2015-06-022-34/+19
| | | | | | | |
* | | | | | | | Further limit the limited whitelist for project/group descriptionsrs-more-nofollowRobert Speicher2015-06-021-0/+1
| | | | | | | |
* | | | | | | | Add a `pipeline` context option for SanitizationFilterRobert Speicher2015-06-022-21/+40
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields.
* | | | | | | Merge pull request #8730 from drunkard/masterMarin Jankovski2015-06-022-1/+7
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Specify shell while run me as git user
| * | | | | | Improve comments for shell_pathDrunkard Zhang2015-05-041-3/+2
| | | | | | |
| * | | | | | Specify shell while run me as git userDrunkard Zhang2015-02-042-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users disabled "git" user's shell after finished installation, this will lead to "This account is currently not available" and could not run /etc/init.d/gitlab, this dirty trick fix it. Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
* | | | | | | Remove unnecessary satellite files and add CHANGELOG itemDmitriy Zaporozhets2015-06-022-67/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | | Remove now unnecessary satelittes logic for creating and editing file with ↵web-editor-ruggedDmitriy Zaporozhets2015-06-023-143/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | web editor Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | | Disable changing of the source branch in merge request update APIStan Hu2015-05-291-2/+6
| | | | | | |
* | | | | | | Update jasmine:ci task to use teaspoonRobert Speicher2015-05-281-1/+1
| | | | | | |
* | | | | | | Merge branch 'user-destroy-wo-groups' into 'master'Dmitriy Zaporozhets2015-05-281-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | You can not remove user if he/she is an only owner of groupDmitriy Zaporozhets2015-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Add ExternalLinkFilter to Markdown pipeliners-dont-follow-meRobert Speicher2015-05-272-0/+35
|/ / / / / / | | | | | | | | | | | | | | | | | | Forces a `rel="nofollow"` attribute on all external links.
* | | | | | Make use of to_reference in more specsRobert Speicher2015-05-266-8/+11
| | | | | |
* | | | | | Support only double quotes for multi-word label referencesRobert Speicher2015-05-261-2/+1
| | | | | |
* | | | | | Add `reference_pattern` to Referable modelsRobert Speicher2015-05-269-65/+16
| | | | | |
* | | | | | Correct the ReferenceFilter html/pipeline/filter requireRobert Speicher2015-05-261-1/+1
| | | | | |
* | | | | | Merge branch 'rs-issue-1690' into 'master'Dmitriy Zaporozhets2015-05-261-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better handle label references that aren't actually references Fixes #1690 See merge request !705
| * | | | | | Better handle label references that aren't actually referencesrs-issue-1690Robert Speicher2015-05-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1690
* | | | | | | Merge branch 'get-monkey-off-my-rack-attack' into 'master'Douwe Maan2015-05-262-32/+0
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Remove Rack Attack monkey patches and bump to version 4.3.0Stan Hu2015-05-222-32/+0
| | |/ / / / | |/| | | |
* | | | | | Add support for Webhook note eventsStan Hu2015-05-211-2/+4
|/ / / / / | | | | | | | | | | | | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/6745
* | | | | Customize the sanitization whitelist only oncers-issue-1651Robert Speicher2015-05-201-13/+22
| | | | | | | | | | | | | | | | | | | | Fixes #1651
* | | | | Subclass TaskList::Filter to fix a bugrs-issue-1645Robert Speicher2015-05-202-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge branch 'shell-secret-path' of https://github.com/jirutka/gitlabhq into ↵Marin Jankovski2015-05-191-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | jirutka-shell-secret-path
| * | | | | Allow to configure gitlab_shell_secret locationJakub Jirutka2015-05-161-1/+1
| | | | | |
* | | | | | Simplify and unify helpers for rendering markupJakub Jirutka2015-05-181-3/+5
| | | | | |
* | | | | | Rename MarkdownHelper to MarkupHelperJakub Jirutka2015-05-181-1/+1
| | | | | |
* | | | | | Handle AsciiDoc better, reuse HTML pipeline filters (fixes #9263)Jakub Jirutka2015-05-182-1/+70
| | | | | |
* | | | | | Add search issues/MR by numberNikita Verkhovin2015-05-181-2/+14
|/ / / / /
* | | | | Ensure that the first added admin performs repository importsFotis Gimian2015-05-151-1/+1
| | | | |
* | | | | Merge branch 'dashboard-references' into 'master'Dmitriy Zaporozhets2015-05-152-8/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Fix reference links in dashboard activity and ATOM feeds.dashboard-referencesDouwe Maan2015-05-142-8/+13
| | | | | |
* | | | | | Merge branch 'project_api_order' into 'master'Dmitriy Zaporozhets2015-05-141-1/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add order option for projects API https://dev.gitlab.org/gitlab/gitlab-ci/issues/222 See merge request !656
| * | | | | | Add order option for projects APIValery Sizov2015-05-141-1/+6
| |/ / / / /
* | | | | | Merge branch 'rs-relative-link-filter' into 'master'Dmitriy Zaporozhets2015-05-142-17/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor RelativeLinkFilter cleanup See merge request !649
| * | | | | | Minor RelativeLinkFilter cleanuprs-relative-link-filterRobert Speicher2015-05-132-17/+31
| | | | | | |
* | | | | | | Merge branch 'omniauth-csrf' into 'master'Dmitriy Zaporozhets2015-05-141-0/+66
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protect OmniAuth request phase against CSRF. Addresses #2268. See merge request !1793
| * | | | | | Add reset_session for the :reset_session strategy.Douwe Maan2015-04-241-1/+5
| | | | | | |
| * | | | | | Protect OmniAuth request phase against CSRF.Douwe Maan2015-04-241-0/+62
| | | | | | |
* | | | | | | Use SIGKILL by default in Sidekiq::MemoryKillerJacob Vosmaer2015-05-131-1/+1
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge branch 'text-batch-1' into 'master'Dmitriy Zaporozhets2015-05-135-50/+50
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Fix GitAccess.text-batch-1Douwe Maan2015-05-131-2/+3
| | | | | | |
| * | | | | | Improve OAuth signup error message.Douwe Maan2015-05-131-2/+2
| | | | | | |
| * | | | | | Improve description of branch protection levels.Douwe Maan2015-05-131-3/+3
| | | | | | |
| * | | | | | Improve Git access error messages.Douwe Maan2015-05-133-45/+44
| | | | | | |