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
2020-03-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
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-09-29post_process markdown redered by APIBrett Walker
2017-11-06Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López
2016-10-07Add markdown cache columns to the database, but don't use them yetNick Thomas
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
2016-07-12Object renderer read_multi rendered entries from CachePaco Guzman
2016-06-21Move pre_process into render_resultYorick Peterse
The method Banzai::Renderer.pre_process would always be called, regardless of whether the Markdown to render was already cached or not. In cache the document _was_ cached the output of the pre-processing pipeline was ignored resulting in it doing nothing but wasting CPU cycles. This commit moves Banzai::Renderer.pre_process into Banzai::Renderer.render_result so that it's _only_ used when needed.
2016-03-03Add a PreProcessPipelineRobert Speicher
2015-12-15Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan