- Apr 17, 2018
-
-
Brett Walker authored
-
- Apr 12, 2018
-
-
Jan Provaznik authored
Since !18150 abstract reference filter supports also `group` as a resource parent (not only `project`). Some reference filters, which inherit from abstract filter, depend on parent being `project` when checking a reference. This patch adds explicit check of parent class to the given filters.
-
- Apr 11, 2018
-
-
Yorick Peterse authored
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
-
- Apr 06, 2018
-
-
Oswaldo Ferreir authored
-
- Apr 05, 2018
-
-
Jan Provaznik authored
Updates notes-related services and rendering so this code can be easily used for group-scoped resources (specifically Epics). Related to gitlab-ee!5205
-
- Apr 04, 2018
-
-
Felipe Artur authored
-
-
Oswaldo Ferreir authored
-
- Apr 02, 2018
-
-
blackst0ne authored
-
- Mar 28, 2018
-
-
Sean McGivern authored
We displayed the correct text as the link text (without double-encoding), but didn't do the same for the actual link target, so any link containing an ampersand would break when auto-linked.
-
- Mar 23, 2018
-
-
Sean McGivern authored
-
Jan Provaznik authored
Now the issuable reference check works only in project scope, if we reference an issuable from a non-project resource (e.g. epics), then project is not set, and there is mismatch in generated issue references. This patch enables issuable reference state check also from group scope. Closes gitlab-ee#4683 Related to #30916
-
- Mar 20, 2018
-
-
Mike Greiling authored
-
- Mar 11, 2018
-
-
Jan authored
-
- Mar 07, 2018
-
-
blackst0ne authored
-
- Mar 05, 2018
-
-
Alejandro Rodríguez authored
-
- Mar 02, 2018
-
-
Sean McGivern authored
Rinku 2.0.0 (the version we use) will remove the last character of a link if it's a closing part of a punctuation pair (different types of parentheses and quotes), unless both of the below are true: 1. The matching pair has different start and end characters. 2. There are equal numbers of both in the matched string (they don't have to be balanced).
-
- Feb 27, 2018
-
-
Oswaldo Ferreir authored
-
- Feb 22, 2018
-
-
Bob Van Landuyt authored
Since the redactor can be run on multiple documents at once and query results are stored in the request store.
-
Bob Van Landuyt authored
-
- Feb 21, 2018
-
-
Jarka Kadlecova authored
-
- Feb 15, 2018
-
-
Douwe Maan authored
-
- Feb 09, 2018
-
-
Douwe Maan authored
[10.4] Fix stored XSS in code blocks
-
- Feb 02, 2018
-
-
Douwe Maan authored
-
- Feb 01, 2018
-
-
Tony Rom authored
-
- Jan 31, 2018
-
-
Takuya Noguchi authored
-
- Jan 29, 2018
-
-
Tony Rom authored
-
- Jan 18, 2018
-
-
Nick Thomas authored
-
- Jan 16, 2018
-
-
Nick Thomas authored
-
- Jan 11, 2018
-
-
Nick Thomas authored
-
- Jan 05, 2018
-
-
Douwe Maan authored
-
- Dec 23, 2017
-
-
Stan Hu authored
There are certain inputs that look like valid URIs that are accepted by URI but not Addressable::URI. Handle the case where the latter fails. Closes #41442
-
- Dec 22, 2017
-
-
Nick Thomas authored
-
- Dec 08, 2017
-
-
Jan Provaznik authored
TableOfContents filter generates hrefs for each header in markdown, if the header text consists from digits and redacted symbols only, e.g. "123" or "1.0 then the auto-generated href has the same format as issue references. If the generated id contains only digits, then 'anchor-' prefix is prepended to the id. Closes #38473
-
- Dec 07, 2017
-
-
micael.bergeron authored
-
micael.bergeron authored
-
micael.bergeron authored
-
micael.bergeron authored
-
Jarka Kadlecova authored
-
- Dec 06, 2017
-
-
Jarka Kadlecova authored
-