Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-25 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-08-24 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-08-19 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-06-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-06-10 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-06-07 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-05-04 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2021-03-28 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-12-04 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-08-14 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-05-16 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2020-02-29 | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | |
2019-07-11 | Banzai - avoid redis if attr is in DB cache | Mario de la Ossa | |
When cache_collection_render runs we end up reading and writing things to redis even if we already have the rendered field cached in the DB. This commit avoids using redis at all whenever we have the field already rendered in the DB cache. | |||
2019-06-05 | Use Redis for CacheMarkDownField on non AR models | Patrick Bajao | |
This allows using `CacheMarkdownField` for models that are not backed by ActiveRecord. When the including class inherits `ActiveRecord::Base` we include `Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the markdown fields to be rendered and the generated HTML stored in a `<field>_html` attribute on the record. We also store the version used for generating the markdown. All other classes that include this model will include the `Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html` attributes to that model and will generate the html in them. The generated HTML will be cached in redis under the key `markdown_cache:<class>:<id>`. The class this included in must therefore respond to `id`. | |||
2019-04-24 | Backport EE cache update | Felipe Artur | |
2019-03-26 | Merge branch '54916-extended-tooltip-for-merge-request-links' into 'master' | Phil Hughes | |
Resolve "Extended tooltip for merge request links" Closes #54916 See merge request gitlab-org/gitlab-ce!25221 | |||
2019-03-21 | Add merge request popover with details | Sam Bigelow | |
- Show pipeline status, title, MR Status and project path - Popover attached to gitlab flavored markdown everywhere, including: + MR/Issue Title + MR/Issue description + MR/Issue comments + Rendered markdown files | |||
2019-03-20 | Rename the hidden option to whitelisted | Douglas Barbosa Alexandre | |
2019-03-20 | Add option to not exclude _html fields from attributes | Douglas Barbosa Alexandre | |
2019-02-06 | Add local markdown version | Jan Provaznik | |
Cached markdown version is composed both from global and local markdown version. This allows admins to bump version locally when needed (e.g. when external URL is changed). | |||
2019-02-04 | Remove Redcarpet markdown engine | Jan Provaznik | |
This engine was replaced with CommonMarker in 11.4, it was deprecated since then. | |||
2019-01-31 | Use the sourcepos attribute for finding tasks | Brett Walker | |
2019-01-31 | Don't consider field invalid if updating html also | Brett Walker | |
2019-01-17 | Bumping the CACHE_COMMONMARK_VERSION | Brett Walker | |
Since the rendering of footnotes is changed, the cached html need to be updated | |||
2018-11-29 | Merge 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-08-07 | Enable more frozen string in app/models/**/*.rb | gfyoung | |
Partially addresses #47424. | |||
2018-07-06 | Use proper markdown rendering for previews | Brett Walker | |
2018-06-14 | enable CommonMark as the default | Brett Walker | |
2018-04-17 | for cached markdown fields, select the correct engine | Brett Walker | |
and also make sure that if a field is saved, then the existing cache version is maintained or only upgraded to the version with the same markdown engine. | |||
2017-12-22 | Use relative URLs when linking to uploaded files | Nick Thomas | |
2017-12-12 | Treat empty markdown and html strings as valid cached text, not missing ↵ | Greg Stark | |
cache that needs to be updated | |||
2017-11-02 | CE port of code changed for epics | Jarka Kadlecova | |
2017-10-06 | Create idea of read-only database | Toon Claes | |
In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo secondary node). But in GitLab CE it also might be useful to have the "read-only" idea around. So port it back to GitLab CE. Also having the principle of read-only in GitLab CE would hopefully lead to less errors introduced, doing write operations when there aren't allowed for read-only calls. Closes gitlab-org/gitlab-ce#37534. | |||
2017-08-14 | Whitelist or fix additional `Gitlab/PublicSend` cop violations | Robert Speicher | |
An upcoming update to rubocop-gitlab-security added additional violations. | |||
2017-07-24 | Resolve "Lazy load images on the Frontend" | Tim Zallmann | |
2017-07-05 | Fix stubbing attributes alongside cache_markdown_field | Nick Thomas | |
2017-05-02 | Refresh the markdown cache if it was `nil` | Bob Van Landuyt | |
If the cached html_field for a markdown_field is `nil` while the mfarkdown_field is not, it needs to be refreshed. | |||
2017-04-25 | Swap a before_save call with a before_create/before_update pair to avoid a ↵ | Nick Thomas | |
confict with elasticsearch-model | |||
2017-04-21 | Start versioning cached markdown fields | Nick Thomas | |
2017-04-21 | Remove the ClearDatabaseCacheWorker | Nick Thomas | |
2017-02-23 | ActiveSupport delegation is preferred over Forwardable | Douwe Maan | |
2017-02-23 | Enable Style/MutableConstant | Douwe Maan | |
2017-01-25 | address comments | Jarka Kadlecova | |
2017-01-19 | make mentions working when project not specified | Jarka Kadlecova | |
2016-10-07 | Add markdown cache columns to the database, but don't use them yet | Nick 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. |