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
AgeCommit message (Collapse)Author
2019-03-05Add SyntaxHighlightFilter to markup pipelineMartin Wortschack
2019-02-22Only allow 30 RPCs per test case to GitalyZeger-Jan van de Weg
Prior to this change, 35 Gitaly RPCs were allowed. But recently there's been a renewed interest in performance. By lowering the number of calls new N + 1's will pop up. Later commits will add blocks to ignore the raised errors, followed by an issue for each to be fixed.
2019-02-13Properly handle multiple refs to same footnoteBrett Walker
2019-02-05Merge branch 'jprovazn-remove-redcarpet' into 'master'Grzegorz Bizon
Remove Redcarpet markdown engine Closes #51374 See merge request gitlab-org/gitlab-ce!24819
2019-02-05Catch possible Addressable::URI::InvalidURIErrorBrett Walker
2019-02-04Remove Redcarpet markdown engineJan Provaznik
This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
2019-01-31Show tooltip for malicious looking linksBrett Walker
Such as those with IDN homographs or embedded right-to-left (RTLO) characters. Autolinked hrefs should be escaped
2019-01-28Merge branch 'bw-enable-sourcepos' into 'master'Robert Speicher
Enable CommonMark source line position information See merge request gitlab-org/gitlab-ce!23971
2019-01-25Allow suggestions to be copied and pasted as GFMDouwe Maan
Supports both suggestions transformed from GFM to HTML and from GFM to HTML to Vue component.
2019-01-25Merge branch 'db-copy-as-gfm-prosemirror' into 'master'Phil Hughes
Reimplement Copy-as-GFM using the prosemirror document model See merge request gitlab-org/gitlab-ce!22797
2019-01-24Use nodes and marks to power Copy-as-GFMDouwe Maan
The spec needed to be updated because in some cases the resulting Markdown is slightly different, though equally valid.
2019-01-23Fix 404s for snippet uploads when relative URL root usedStan Hu
Personal snippet uploads have neither a group nor a project. If a GitLab instance were configured with a relative URL root (e.g. `/gitlab`), then the Markdown filter would not include this root in the generated path. We fix this by adding this root if there is no group or project. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56280
2019-01-22Fix review commentsBrett Walker
including refactoring, disabling sourcepos for pipelines that don't need it, and minimizing spec changes by disabling sourcepos when not testing for it explicitly.
2019-01-21Enable CommonMark source line position informationBrett Walker
This adds 'data-sourcepos' to tags, indicating which line of markdown it came from. Sets the stage for intelligently manipulating specific lines of markdown.
2019-01-17Merge branch '26375-markdown-footnotes-not-working' into 'master'Lin Jen-Shin
Markdown footnotes not working Closes #26375 See merge request gitlab-org/gitlab-ce!24168
2019-01-17Refactoring and addressing review commentsBrett Walker
and additional spec
2019-01-11Fix MilestonesFinder to pass relations to scopeHeinrich Lee Yu
Instead of querying relations into ids we just pass them to the model scope because the scope supports it now. Also changes other calls to `Milestone.for_projects_and_groups`
2019-01-11Updates based on review commentsBrett Walker
2019-01-09Properly process footnotes in markdownBrett Walker
All the ids and classes were stripped. Add them back in and make ids unique
2019-01-02Merge branch 'security-label-xss' into 'master'John Jarvis
[master] Escape html entities when no label found See merge request gitlab/gitlabhq!2706
2019-01-02Merge branch 'security-master-url-rel' into 'master'John Jarvis
[master] Set URL rel attribute for broken URLs See merge request gitlab/gitlabhq!2695
2018-12-18Remove feature flag for suggest changes featureOswaldo Ferreira
2018-12-13Allow suggesting single line changes in diffsOswaldo Ferreira
2018-12-12Escape html entities when no label foundJarka Košanová
2018-12-11Set URL rel attribute for broken URLsJan Provaznik
It's possible that URI fails to parse a link, but browsers still recognize given URL as a link, we should make sure that 'rel' attribute is set also in this case.
2018-12-08Resolve "Extended user centric tooltips"Tim Zallmann
2018-12-08Changed frontmatter filtering to support YAML, JSON, TOML, and arbitrary ↵Travis Miller
languages
2018-12-07[CE] - Add milestones autocomplete for epicsFelipe Artur
CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8632
2018-11-29Merge branch 'security-xss-in-markdown-following-unrecognized-html-element' ↵Cindy Pallares
into 'master' [master] XSS in markdown following unrecognized HTML element Closes #2732 See merge request gitlab/gitlabhq!2599
2018-11-10Make sure there's only one slash as path separatorStan Hu
In Ruby 2.4, `URI.join("http://test//", "a").to_s` will remove the double slash, however it's not the case in Ruby 2.5. Using chomp should work better for the intention, as we're not trying to allow things like ../ or / paths resolution. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
2018-10-31Prepare Banzai to work with group issuablesJarka Košanová
2018-10-07Enable more frozen string in lib/**/*.rbgfyoung
Enables frozen for the following: * lib/*.rb * lib/banzai/**/*.rb * lib/bitbucket/**/*.rb * lib/constraints/**/*.rb * lib/container_registry/**/*.rb * lib/declarative_policy/**/*.rb Partially addresses #47424.
2018-10-05Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqBob Van Landuyt
2018-10-05Merge branch 'security-fix-leaking-private-project-namespace' into 'master'Bob Van Landuyt
[master] Fix leaking private project namespace Closes #2708 See merge request gitlab/gitlabhq!2529
2018-10-05Merge branch 'load_project_features' into 'master'Sean McGivern
Preload project features in reference parser Closes #43094 See merge request gitlab-org/gitlab-ce!22008
2018-10-05Merge branch 'mao/48221-issues_show_sql_count' into 'master'Sean McGivern
Banzai label ref finder - minimize SQL calls by sharing context more aggresively Closes #48221 See merge request gitlab-org/gitlab-ce!22070
2018-10-04Banzai project ref- share context more aggresivelyMario de la Ossa
Changes `Banzai::CrossProjectReference#parent_from_ref` to return the project in the context if the project's `full_path` matches the ref we're looking for, as it makes no sense to go to the database to find a Project we already have loaded.
2018-10-04Support short reference to group entities from project entitiesJarka Košanová
- add a direct project parent (group) to Banzai context - if an epic is referenced from a direct descendant -> change epic to_reference to use short reference
2018-10-03Filter system notes with public and private cross referencesBrett Walker
2018-09-30Preload project features in reference parserJan Provaznik
Preloading of project_features mitigates N+1 queries when checking references in other projects. When loading projects for resources referenced in comments it makes sense to include also associated project_features because in the following step (`can_read_reference?(user, projects[node], node)`) project features is used for checking permissions for the given project.
2018-09-29Prevent Error 500s with invalid relative linksStan Hu
https://gitlab.com/gitlab-org/gitlab-ce/issues/52009
2018-09-24Use `Gitlab::SafeRequestStore` in more placesMichael Kozono
Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`.
2018-09-24Simplify by using Gitlab::SafeRequestStoreMichael Kozono
These are clear wins.
2018-09-12'code_block' closer to original implementationBrett Walker
- utilize the 'out' method to output the 'fence_info', which converts to utf8 - output 'sourcepos' again
2018-09-08Resolve "Process urls with spaces in all markdown processing"Brett Walker
2018-09-07Resolve "Wiki page attachments not rendered properly"Brett Walker
2018-09-07Use ResourceLabelEvent for tracking label changesJan Provaznik
2018-09-04Uploads to wiki stored inside the wiki git repositoryFrancisco Javier López
2018-08-23Merge branch ↵Nick Thomas
'43096-controller-projects-issuescontroller-referenced_merge_requests-json-executes-more-than-100-sql-queries' into 'master' Resolve "Controller Projects::IssuesController#referenced_merge_requests.json executes more than 100 SQL queries" Closes #43096 See merge request gitlab-org/gitlab-ce!21237
2018-08-21Fix routes N+1 in Issues::ReferencedMergeRequestsService#executeSean McGivern
Sorting here needs the project routes to be loaded, including the namespace routes.