summaryrefslogtreecommitdiff
path: root/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'ignore-references' into 'master'Dmitriy Zaporozhets2015-06-022-39/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't notify users mentioned in code blocks or blockquotes. cc @rspeicher See merge request !753
| * | | Ignore references in blockquotes.Douwe Maan2015-06-022-5/+12
| | | |
| * | | Actually ignore references in code blocks etc.Douwe Maan2015-06-021-34/+17
| |/ /
* | | 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.
* | 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>
* | 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
* | Remove Rack Attack monkey patches and bump to version 4.3.0Stan Hu2015-05-222-32/+0
|/
* 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
* 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
|
* Merge branch 'dashboard-references' into 'master'Dmitriy Zaporozhets2015-05-151-7/+9
|\ | | | | | | | | | | | | | | | | | | | | | | 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-141-7/+9
| |
* | 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
| |
* | 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-134-31/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-26/+37
| |
* | Merge pull request #9276 from jirutka/relative_link_filterDmitriy Zaporozhets2015-05-132-1/+122
|\ \ | |/ |/| Extract handling of relative file links to its own HTML filter
| * RelativeLinkFilter: refactor according to suggestions by @tsigoJakub Jirutka2015-05-112-17/+13
| |
| * Extract handling of relative file links to RelativeLinkFilterJakub Jirutka2015-05-112-1/+126
| |
* | Don't accidentally unblock auto created users from Active Directory.ad-block_auto_created_usersDouwe Maan2015-05-121-1/+1
|/
* Remove class and id attributes from SanitizationFilter whitelistrs-disallow-id-classRobert Speicher2015-05-081-2/+17
|
* Merge branch 'rs-task_list' into 'master'Dmitriy Zaporozhets2015-05-082-30/+8
|\ | | | | | | | | | | | | | | | | | | Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
| * Update Markdown help docs for latest changesRobert Speicher2015-05-061-1/+1
| |
| * Remove all references to `parse_tasks`Robert Speicher2015-05-061-28/+3
| |
| * Add TaskList::Filter to pipelineRobert Speicher2015-05-061-4/+7
| |
* | Add SIDEKIQ_MEMORY_KILLER_SHUTDOWN_SIGNAL env varJacob Vosmaer2015-05-071-5/+6
|/ | | | | | | It looks like SIGTERM may not be enough to shut down a Sidekiq process when its RSS has gotten too big. This change will allow us to experiment with sending SIGKILL instead of SIGTERM to Sidekiq processes on gitlab.com.
* Update authentication.rbquodos2015-05-041-1/+1
| | | correct spelling
* Merge pull request #8756 from zaburt/force_utf8_on_oauth_propertiesDmitriy Zaporozhets2015-05-032-7/+16
|\ | | | | add common method to force utf8 and force oauth properties to be utf8
| * add common method to force utf8 and force oauth properties to be utf8Onur Küçük2015-05-032-7/+16
| |
* | Remove title_for_issue helperRobert Speicher2015-04-301-5/+1
| |
* | Remove special handling for the `&#39;` problemRobert Speicher2015-04-301-1/+0
| | | | | | | | | | | | While `escape_once` will create this HTML entity, Nokogiri always translates it back before it gets to IssueReferenceFilter, so there should be no danger of erroneous issue links.
* | Add Project#get_issueRobert Speicher2015-04-301-7/+6
| |
* | Rename SCHEME_PATTERN to LINK_PATTERNRobert Speicher2015-04-301-5/+5
| |
* | Autolink short URLsRobert Speicher2015-04-301-1/+4
| |
* | Update Autolink SCHEME_PATTERNRobert Speicher2015-04-301-1/+3
| |