Commit Graph

22 Commits

Author SHA1 Message Date
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot 074d013e1e Add latest changes from gitlab-org/gitlab@master 2020-03-23 15:09:36 +00:00
GitLab Bot 058c348394 Add latest changes from gitlab-org/gitlab@master 2020-03-22 09:09:23 +00:00
GitLab Bot 194b499aa8 Add latest changes from gitlab-org/gitlab@master 2020-03-20 15:09:17 +00:00
GitLab Bot b8e30b446d Add latest changes from gitlab-org/gitlab@master 2020-01-13 03:07:51 +00:00
GitLab Bot d10a462fed Add latest changes from gitlab-org/gitlab@master 2019-12-16 12:07:43 +00:00
GitLab Bot 18a102a5b9 Add latest changes from gitlab-org/gitlab@master 2019-11-08 03:06:48 +00:00
Rémy Coutable 20f4815ebf Revert "Merge branch..."
This reverts merge request !26183
2019-03-19 09:36:05 +00:00
Rémy Coutable e96b8ef4db
New Repository#insights_config method
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-18 10:43:36 +01:00
James Lopez 71f4ec45c0
Fix spec failure 2018-11-15 15:20:58 +01:00
James Lopez 39451c9554 Fix trailing whitespace 2018-11-15 13:06:00 +00:00
James Lopez 5e6663a21a Update spec to use PLAIN_FILENAMES constant 2018-11-15 13:00:12 +00:00
James Lopez 5cda92b1cf Refactor spec to test all extensions 2018-11-15 12:07:20 +00:00
James Lopez 3cd538c2e9
Fix text rendering of readme/index 2018-11-14 16:07:31 +01:00
Achilleas Pipinellis be0af5e69f
Test type of README file without extension 2018-11-02 12:26:04 +01:00
Jakub Jirutka cb3f851098
Render index.* like README.* when it's present in a directory
Resolves #18933
2018-11-02 12:20:50 +01:00
Stan Hu 656831e173 Remove Koding integration and documentation
This integration no longer works and does not appear to be supported.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
2018-10-12 22:18:51 -07:00
J.D. Bean 643c6f31e5 Recognize 'UNLICENSE' license files 2018-09-06 12:36:19 +00:00
Sean McGivern b7303b65b1 Cache issuable template names
We were looking these up on each request to an issue page, because the form is
pre-filled, as is the template dropdown. That was unnecessary: we could just
treat these as 'special' repository files (like the rendered README) and cache
them in Redis until they change on a push.
2017-10-12 13:26:03 +01:00
Sean McGivern 218e1f0963 Match full file path in FileDetector
The basename appears to have been a holdover from the past - it doesn't look
necessary now. Some of the regexes were unanchored on one side, so explicitly
ensure that they only match the root.

Apart from that, this means that pushing to foo/README.md will no longer
invalidate the main README cache for a project.
2017-10-12 11:13:37 +01:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Yorick Peterse df5548e19e
Unify detecting of special repository files
This moves the logic of detecting special repository files (e.g. a
README or a Koding configuration file) to a single class:
Gitlab::FileDetector. Moving this logic into a single place allows this
to be re-used more easily.

This commit also changes Repository#gitlab_ci_yaml so that its cached
similar to other data (e.g. the Koding configuration file).
2016-11-21 12:51:40 +01:00