Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Re-allow `name` attribute on user-provided anchor HTML | Robert Speicher | 2017-09-22 | 1 | -1/+2 |
| | |||||
* | Eliminate N+1 queries referencing issuessh-project-feature-eager-load | Stan Hu | 2017-09-18 | 1 | -1/+2 |
| | | | | | | | | To load issue 1, we see that in #38033 that about 835 ms of the SQL queries were due to loading ProjectFeature. We should be able to cut this down by eagerly loading this information. Closes #38033 | ||||
* | Remove ImageLazyLoadFilter from EmailPipeline37629-lazy-image-loading-breaks-notification-mails-for-an-added-screenshot | Robert Speicher | 2017-09-12 | 2 | -1/+8 |
| | |||||
* | Merge branch 'rs-issue-36104' into 'security-9-5' | Douwe Maan | 2017-09-07 | 1 | -0/+3 |
| | | | | | [9.5] Disallow the `name` attribute on all user-provided markup See merge request gitlab/gitlabhq!2166 | ||||
* | Merge branch 'rs-issue-36098' into 'security-9-5' | Robert Speicher | 2017-09-07 | 1 | -1/+21 |
| | | | | | [9.5] Limit `style` attribute on `th` and `td` elements to specific properties See merge request gitlab/gitlabhq!2155 | ||||
* | Merge branch 'anakashima/gitlab-ce-fix_wiki_toc_indent' into 'master' | Sean McGivern | 2017-09-06 | 1 | -18/+72 |
|\ | | | | | | | | | Wiki table of contents are now properly nested to reflect header level See merge request !13909 | ||||
| * | Refactor table of contents building | Robert Speicher | 2017-09-06 | 1 | -19/+11 |
| | | |||||
| * | Refactor `HeaderNode#find_parent` | Robert Speicher | 2017-09-06 | 1 | -6/+7 |
| | | | | | | | | | | Now the instance variable assignment is all contained within `#initialize`, and the `children.push` behavior is more explicit. | ||||
| * | Refactor TableOfContentsFilter's nested table of contents | Robert Speicher | 2017-09-06 | 1 | -42/+64 |
| | | | | | | | | Most of the logic is now self-contained within the `HeaderNode` class. | ||||
| * | Fix indentation level in Wiki's TOC items to regard header level | Akihiro Nakashima | 2017-09-06 | 1 | -4/+43 |
| | | |||||
* | | Adds cacheless render to Banzai object render34509-improves-markdown-rendering-performance-for-commits-list | Tiago Botelho | 2017-09-06 | 4 | -8/+16 |
| | | |||||
* | | Adds CommitDescriptionRenderer | Tiago Botelho | 2017-09-06 | 1 | -0/+7 |
|/ | |||||
* | Merge branch 'rs-more-public-send-whitelists' into 'master' | Rémy Coutable | 2017-08-16 | 4 | -6/+6 |
|\ | | | | | | | | | Whitelist or fix additional `Gitlab/PublicSend` cop violations See merge request !13467 | ||||
| * | Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelists | Robert Speicher | 2017-08-14 | 4 | -6/+6 |
| | | | | | | | | | | An upcoming update to rubocop-gitlab-security added additional violations. | ||||
* | | Enable Layout/TrailingWhitespace cop and auto-correct offenses | Robert Speicher | 2017-08-15 | 1 | -2/+2 |
|/ | |||||
* | DRY up caching in AbstractReferenceFilter | Sean McGivern | 2017-08-07 | 1 | -40/+20 |
| | | | | | We had a lot of copied and pasted code, when the different elements were very small and easy to get wrong. | ||||
* | Support references to group milestones | Sean McGivern | 2017-08-07 | 2 | -11/+64 |
| | | | | | Group milestones can only be referred to by name, not IID. They also do not support cross-project references. | ||||
* | Don't bother going through an entire Banzai pipeline for empty textrs-minor-banzai-perf | Robert Speicher | 2017-08-03 | 1 | -0/+2 |
| | | | | | | | | | | This bails out of `cacheless_render` immediately unless the provided text is present, since there's no point. This is a slight improvement in our test performance. Across the creation of 1,000 `Namespace` records, which caches the `description` field and which is blank by default in its factory, this saves about four seconds, which... sure. Why not. | ||||
* | Rename more path_with_namespace -> full_path or disk_path | Gabriel Mazetto | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Rename many path_with_namespace -> full_path | Gabriel Mazetto | 2017-08-01 | 2 | -3/+3 |
| | |||||
* | Resolve "Lazy load images on the Frontend" | Tim Zallmann | 2017-07-24 | 5 | -2/+20 |
| | |||||
* | Support both internal and external issue trackers | Jarka Kadlecova | 2017-07-24 | 2 | -4/+8 |
| | |||||
* | Merge branch 'acet-fix-tooltip-placement' into 'master' | Jacob Schatz | 2017-07-06 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | Fix markdown preview tooltip cut off issue Closes #31748 See merge request !12367 | ||||
| * | Banzai: Add tooltip attributes to reference filter.acet-fix-tooltip-placement | Fatih Acet | 2017-07-03 | 1 | -0/+2 |
| | | |||||
* | | Create and use project path helpers that only need a project, no namespace | Douwe Maan | 2017-07-05 | 7 | -8/+7 |
|/ | |||||
* | Improve support for external issue referencesadam-external-issue-references-spike | Adam Niedzielski | 2017-06-30 | 4 | -49/+5 |
| | |||||
* | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 3 | -6/+6 |
| | |||||
* | Don't return nil for missing objects from parser cachedm-fix-parser-cache | Douwe Maan | 2017-06-14 | 1 | -1/+1 |
| | |||||
* | Merge branch '25934-project-snippet-vis' into 'security-9-2' | DJ Mountney | 2017-06-08 | 9 | -10/+14 |
| | | | | | | Fix visibility when referencing snippets See merge request !2101 | ||||
* | Fix /unsubscribe slash command creating extra todos33032-invalid-you-directly-addressed-yourself-todo-when-using-unsubscribe | Sean McGivern | 2017-05-30 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | The /unsubscribe slash command means that we check if the current user is subscribed to the issuable without having an explicit subscription. That means that we use the UserParser to find references to them in the notes. The UserParser (and all parsers inheriting from BaseParser) use RequestStore to cache ActiveRecord objects, so that we don't need to load the User object each time, if we're parsing references a bunch of times in the same request. However, it was always returning _all_ of the previously cached items, not just the ones matching the IDs passed. This would mean that we did two runs through with UserParser if you were mentioned in a comment, and then mentioned someone else in your comment while using /unsubscribe: 1. Because /unsubscribe was used, we see if you were mentioned in any comments. 2. Because you mentioned someone, we find them - but we would also get back your user, even if you didn't mention yourself. This would have the effect of creating a mention or directly addressed todo for yourself incorrectly. The fix is simple: only return values from the cache matching the IDs passed. | ||||
* | Merge branch '29852-latex-formatting' into 'master' | Robert Speicher | 2017-05-24 | 3 | -0/+31 |
|\ | | | | | | | | | | | | | Fix LaTeX formatting for AsciiDoc wiki Closes #29852 See merge request !11212 | ||||
| * | Fix LaTeX formatting for AsciiDoc wiki | Jarka Kadlecova | 2017-05-24 | 3 | -0/+31 |
| | | |||||
* | | Catch all URI errors in ExternalLinkFilterdm-catch-uri-errors | Douwe Maan | 2017-05-18 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'bvl-security-9-1-validate-urls-in-markdown-using-uri' | Robert Speicher | 2017-05-10 | 1 | -18/+18 |
| | | | | | | (security-9-1) Add correct `rel` attributes to external links when rendering markdown See merge request !2097 | ||||
* | Merge branch 'bvl-security-9-1-markup-pipeline' | Robert Speicher | 2017-05-10 | 1 | -0/+13 |
| | | | | | | (security-9-1) Render asciidoc & other markup using banzai in a pipeline See merge request !2098 | ||||
* | Backport of multiple_assignees_feature [ci skip] | Valery Sizov | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | Remove N+1 queries when checking nodes visible to userfix-n-plus-one-project-features | Sean McGivern | 2017-05-02 | 1 | -1/+2 |
| | | | | | | | N in this case is low, as it's the number of distinct projects referenced from MRs, rather than the number of MRs referenced (issues use their own optimization). Still, on issues or MRs which are often referenced from MRs, it will save a few queries. | ||||
* | Merge branch 'blackst0ne/gitlab-ce-fix_emoji_parser' | Sean McGivern | 2017-04-27 | 1 | -1/+4 |
|\ | |||||
| * | Fix rendering emoji inside a string | blackst0ne | 2017-04-25 | 1 | -1/+4 |
| | | |||||
* | | issues_for_nodes => issuables_for_nodes31280-skip-issueables-without-project | Lin Jen-Shin | 2017-04-26 | 1 | -3/+3 |
| | | |||||
* | | Follow feedback on the review | Lin Jen-Shin | 2017-04-26 | 1 | -4/+4 |
| | | |||||
* | | Skip issuable without a project in IssuableExtractor#extract | Lin Jen-Shin | 2017-04-25 | 1 | -1/+5 |
| | | | | | | | | Closes #31280 | ||||
* | | Start versioning cached markdown fields | Nick Thomas | 2017-04-21 | 1 | -14/+7 |
| | | |||||
* | | Remove a use of module_function | Nick Thomas | 2017-04-21 | 1 | -12/+10 |
| | | |||||
* | | Merge branch 'issuable-state-custom-links' into 'master' | Sean McGivern | 2017-04-20 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | Do not append issuable state to links with custom anchor Closes #30916 See merge request !10782 | ||||
| * | | Do not append issuable state to links with custom anchorissuable-state-custom-links | Adam Niedzielski | 2017-04-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Closes #30916 Change the presentation from [closed] to (closed) | ||||
* | | | Merge branch 'plantuml-filter-after-highlight' into 'master' | Sean McGivern | 2017-04-20 | 1 | -4/+4 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | Fix PlantUML integration in GFM Closes #30557 See merge request !10651 | ||||
| * | | Fix PlantUML integration in GFMplantuml-filter-after-highlight | Adam Niedzielski | 2017-04-19 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | Fixes #30557 Use "lang" attribute instead of "class" in PlantumlFilter. | ||||
* | | | Display issuable state only in notes and issuable description | Adam Niedzielski | 2017-04-19 | 1 | -0/+2 |
|/ / | | | | | | | Closes #30964 | ||||
* | | Fix regression in rendering Markdown references that do not existsh-fix-base-parser | Stan Hu | 2017-04-15 | 1 | -1/+2 |
| | | | | | | | | Closes #30972 |