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-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.
2018-08-21Resolve "Wiki: links with spaces in the url render incorrectly with CommonMark"Brett Walker
2018-08-10Add frozen_string_literal to recently-added files from the communitySean McGivern
2018-08-10Merge branch '28930-add-project-reference-filter' into 'master'Sean McGivern
Resolve "GFM : provide 'project' reference in comment" Closes #28930 See merge request gitlab-org/gitlab-ce!20285
2018-07-30Use a hash to memoize readable_project_ids with user objects as keysReuben Pereira
2018-07-30Allow users to set a statusBob Van Landuyt
This can be done trough the API for the current user, or on the profile page.
2018-07-24Fix slow Markdown renderingStan Hu
The sanitize transformers were being duplicated each time the Markdown renderer was called, leading to expontential growth in rendering times. The problem was that although HTML::Pipeline::SanitizationFilter.WHITELIST is a frozen hash, the `:transformers` array can be modified. We need to do deep copy of this to avoid adding duplicates. Closes #49409
2018-07-23Merge branch 'sh-enable-frozen-literals-banzi-filters' into 'master'Rémy Coutable
Enable frozen strings in remaining lib/banzai/filter/*.rb files See merge request gitlab-org/gitlab-ce!20777
2018-07-23Enable frozen strings in remaining lib/banzai/filter/*.rb filesStan Hu
This also fixes a bug with the ImageLazyLoadFilter not doing the right thing when an existing class attribute is present. Part of #47424
2018-07-23Enable frozen strings in lib/banzai/filter/*.rbStan Hu
Excludes a few filters that require more work: * lib/banzai/filter/image_lazy_load_filter_spec.rb * lib/banzai/filter/syntax_highlight_filter_spec.rb * lib/banzai/filter/table_of_contents_filter_spec.rb Part of #47424
2018-07-17Merge branch 'extract-ee-specific-banzai-filters' into 'master'Robert Speicher
Extract EE-specific lines from Banzai pipelines See merge request gitlab-org/gitlab-ce!20636
2018-07-17Merge branch 'satishperala/gitlab-ce-20720_webhooks_full_image_url' into ↵Douwe Maan
'master' Include full image URL in webhooks for uploaded images Closes #20720 See merge request gitlab-org/gitlab-ce!18109
2018-07-15Remove nodes_visible_to_user from ProjectParser and memoize readable_project_idsReuben Pereira
2018-07-13Extract EE-specific lines from Banzai pipelinesSean McGivern
2018-07-09Updates from `rubocop -a`Lin Jen-Shin