GitLab Bot
925235378f
Add latest changes from gitlab-org/gitlab@master
2024-01-31 18:10:59 +00:00
GitLab Bot
3828d19ab2
Add latest changes from gitlab-org/gitlab@master
2023-03-14 18:08:55 +00:00
GitLab Bot
2000704b7a
Add latest changes from gitlab-org/gitlab@master
2021-08-11 06:10:02 +00:00
GitLab Bot
e512af1d82
Add latest changes from gitlab-org/gitlab@master
2021-03-16 00:09:44 +00:00
GitLab Bot
b17f0b91a6
Add latest changes from gitlab-org/gitlab@master
2020-10-12 15:08:32 +00:00
GitLab Bot
1ca6880aac
Add latest changes from gitlab-org/gitlab@master
2020-10-06 18:08:49 +00:00
GitLab Bot
85f7fa54f4
Add latest changes from gitlab-org/gitlab@master
2020-08-18 18:10:10 +00:00
GitLab Bot
0bc6d00165
Add latest changes from gitlab-org/gitlab@master
2020-07-10 18:09:45 +00:00
GitLab Bot
10fd79745d
Add latest changes from gitlab-org/gitlab@master
2020-06-16 15:08:32 +00:00
GitLab Bot
7e5f8d0881
Add latest changes from gitlab-org/gitlab@master
2020-05-18 06:08:14 +00:00
GitLab Bot
a5650b86b5
Add latest changes from gitlab-org/gitlab@master
2020-05-13 21:08:55 +00:00
GitLab Bot
43b4b3e2d2
Add latest changes from gitlab-org/gitlab@master
2020-03-20 12:10:03 +00:00
GitLab Bot
1fa79760ad
Add latest changes from gitlab-org/gitlab@master
2020-03-10 12:08:16 +00:00
GitLab Bot
ac1dca43ba
Add latest changes from gitlab-org/gitlab@master
2020-03-09 12:07:45 +00:00
GitLab Bot
b98fa9ef3d
Add latest changes from gitlab-org/gitlab@master
2020-02-25 09:09:10 +00:00
GitLab Bot
5ad0cf2655
Add latest changes from gitlab-org/gitlab@master
2020-01-23 12:08:38 +00:00
GitLab Bot
efb0c7f501
Add latest changes from gitlab-org/gitlab@master
2020-01-17 00:09:00 +00:00
GitLab Bot
839c080dd0
Add latest changes from gitlab-org/gitlab@master
2019-11-29 21:06:13 +00:00
Markus Koller
f1926b321d
Add controller concern for paginated collections
...
We had similar code in a few places to redirect to the last page if
the given page number is out of range. This unifies the handling in a
new controller concern and adds usage of it in all snippet listings.
2019-09-10 15:24:29 +02:00
Markus Koller
60755fbc40
Optimize queries for snippet listings
...
- Avoid N+1 queries for authors and comment counts
- Avoid an additional snippet existence query
2019-09-10 15:24:28 +02:00
George Thomas
a9707e8cf7
Rewrite `if:` argument in before_action and alike when `only:` is also used
...
Closes #55564
This is first discovered in #54739 (comment 122609857) that if both if: and only:
are used in a before_action or after_action or alike, if: is completely ignored.
2019-07-18 10:04:06 +05:30
Oswaldo Ferreira
44e1915d4f
Persist tmp snippet uploads
...
It persist temporary personal snippets under
user/:id namespaces temporarily while creating
a upload record to track it. If an user gets removed
while it's still a tmp upload, it also gets removed.
If the tmp upload is sent, the upload gets moved to
personal_snippets/:id as before. The upload record
also gets updated to the new model type as well.
2019-06-17 11:25:40 -03:00
Mark Chao
ed0d691e0d
Block private snippets from being embeddable
2018-12-20 14:32:51 +08:00
William George
1b153d497b
Make getting a user by the username case insensitive
2018-10-18 09:06:44 +00:00
gfyoung
73322a0e55
Enable frozen string in app/controllers/**/*.rb
...
Enables frozen string for the following:
* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb
Partially addresses #47424 .
2018-09-18 21:22:45 -07:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Bob Van Landuyt
f1d3ea63cf
Show the status of a user in interactions
...
The status is shown for
- The author of a commit when viewing a commit
- Notes on a commit (regular/diff)
- The user that triggered a pipeline when viewing a pipeline
- The author of a merge request when viewing a merge request
- The author of notes on a merge request (regular/diff)
- The author of an issue when viewing an issue
- The author of notes on an issue
- The author of a snippet when viewing a snippet
- The author of notes on a snippet
- A user's profile page
- The list of members of a group/user
2018-07-30 15:01:26 +02:00
Lin Jen-Shin
4ee08b77bc
Updates from `rubocop -a`
2018-07-09 21:13:08 +08:00
haseeb
27e8d38cea
embedded snippets support
2018-02-28 18:48:26 +05:30
Vitaliy @blackst0ne Klachkov
64bb19069d
Add support for markdown preview to group milestones
2017-10-11 20:03:19 +11:00
micael.bergeron
966b1128d8
WIP: refactor the first-contributor to Issuable
...
this will remove the need make N queries (per-note) at the
cost of having to mark notes with an attribute
this opens up the possibility for other special roles for notes
2017-09-06 09:00:57 -04:00
Douwe Maan
fe13f11041
Create and use project path helpers that only need a project, no namespace
2017-07-05 11:11:59 -05:00
Phil Hughes
563ea34692
Merge branch '12910-snippets-description' into 'master'
...
Support descriptions for snippets
Closes #31894
See merge request !11071
2017-06-07 09:26:48 +00:00
Jarka Kadlecova
2e311d9d1a
Support uploads for newly created personal snippets
2017-06-07 07:52:41 +02:00
blackst0ne
a544e46bb0
Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers
2017-06-07 09:45:16 +11:00
Jarka Kadlecova
4464c22d6d
Support descriptions for snippets
2017-05-31 07:17:03 +02:00
Douwe Maan
aed0387f97
Consistent diff and blob size limit names
2017-05-29 17:02:02 -05:00
Douwe Maan
ad309f5d11
Merge branch 'snippets-finder-visibility' into 'security'
...
Refactor snippets finder & dont return internal snippets for external users
See merge request !2094
2017-05-10 16:48:18 +02:00
Sean McGivern
d9ec830a83
Merge branch 'snippets_visibility' into 'security'
...
Fix snippets visibility for show action - external users can not see internal snippets
See merge request !2087
2017-05-10 16:44:20 +02:00
Jarka Kadlecova
e4f7b87ddb
Support comments for personal snippets
2017-05-05 15:45:49 +02:00
Rares Sfirlogea
45e4c66565
Display slash commands outcome when previewing Markdown
...
Remove slash commands from Markdown preview and display their outcome next to
the text field.
Introduce new "explanation" block to our slash commands DSL.
Introduce optional "parse_params" block to slash commands DSL that allows to
process a parameter before it is passed to "explanation" or "command" blocks.
Pass path for previewing Markdown as "data" attribute instead of setting
a variable on "window".
2017-05-04 17:02:25 +02:00
Sean McGivern
c5dee301f8
Merge branch 'dm-snippet-download-button' into 'master'
...
Add download button to project snippets
See merge request !11004
2017-05-02 15:25:26 +00:00
Jarka Kadlecova
8c3a03c1b9
Display comments for personal snippets
2017-05-02 13:07:53 +02:00
Douwe Maan
2b3fc5e624
Add download button to project snippets
2017-04-30 17:52:49 -05:00
Douwe Maan
60ebd101d0
Use blob viewers for snippets
2017-04-30 11:21:20 -05:00
Jarka Kadlecova
87327c5845
Support preview_markdown action for personal_snippets
2017-04-26 12:51:06 +02:00
Douwe Maan
1fe7501b49
Revert "Prefer leading style for Style/DotPosition"
...
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
2017-02-23 09:33:05 -06:00
Douwe Maan
eacae00516
Enable Style/MultilineHashBraceLayout
2017-02-23 09:32:22 -06:00
Douwe Maan
206953a430
Prefer leading style for Style/DotPosition
2017-02-23 09:32:22 -06:00
Sean McGivern
7e8a6a63af
Merge branch '28093-snippet-and-issue-spam-check-on-edit' into 'master'
...
Spam check and reCAPTCHA improvements
Closes #28093
See merge request !9248
2017-02-22 10:13:20 +00:00