- Apr 17, 2018
-
-
Brett Walker authored
-
- Apr 13, 2018
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Apr 12, 2018
-
-
Mike Greiling authored
-
- Apr 11, 2018
-
-
Lin Jen-Shin authored
-
Yorick Peterse authored
This refactors the Markdown pipeline so it supports the rendering of multiple documents that may belong to different projects. An example of where this happens is when displaying the event feed of a group. In this case we retrieve events for all projects in the group. Previously we would group events per project and render these chunks separately, but this would result in many SQL queries being executed. By extending the Markdown pipeline to support this out of the box we can drastically reduce the number of SQL queries. To achieve this we introduce a new object to the pipeline: Banzai::RenderContext. This object simply wraps two other objects: an optional Project instance, and an optional User instance. On its own this wouldn't be very helpful, but a RenderContext can also be used to associate HTML documents with specific Project instances. This work is done in Banzai::ObjectRenderer and allows us to reuse as many queries (and results) as possible.
-
Bob Van Landuyt authored
When a user is not logged in, we want to show the `New Issue` link so he gets directed to the login flow first. When a project is archived, we never want to show the link.
-
Bob Van Landuyt authored
This prevents performing the requests, and disables all emoji reaction buttons
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
So we can distinguish between the permissions on the source and the target project. - `create_merge_request_from` indicates a user can create a merge request with the project as a source_project - `create_merge_request_in` indicates a user can create a merge request with the project as a target_project
-
Bob Van Landuyt authored
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
-
- Apr 10, 2018
-
-
Douwe Maan authored
-
- Apr 08, 2018
-
-
- Apr 07, 2018
-
-
Mayra Cabrera authored
The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
-
Mayra Cabrera authored
-
Mayra Cabrera authored
- Adds a default on expires_at datetime - Modifies deploy tokens views to handle default expires at value - Use datetime_with_timezone where possible - Remove unused scopes
-
Mayra Cabrera authored
Also, fixes broken specs
-
We use controller actions to pass a newly created token and errors
-
Mayra Cabrera authored
- Keep 'Deploy Section' open upon save, otherwise the token might get lost - When an error appears, display the error inside the form and also keep the Deploy Section open - Changue copy of revoke modal
-
- Apr 06, 2018
-
-
- Apr 05, 2018
-
-
Douwe Maan authored
[10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
-
- Apr 04, 2018
-
-
James Ramsay authored
Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
-
Felipe Artur authored
-
Douwe Maan authored
-
- Apr 03, 2018
-
-
When listing issues and merge requests on dasboard page, make sure that at least one filter is enabled. User's id is used in search autocomplete widget instead of username, which allows presetting user in filter dropdowns. Related to #43246
-
Jan Provaznik authored
-
- Apr 02, 2018
-
-
- Mar 28, 2018
-
-
Mark Fletcher authored
- NamespacesHelper#namespace_icon should return a URL instead of an image_tag for groups
-
- Mar 27, 2018
-
-
Eric Eastwood authored
-
-
- Mar 23, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
- Mar 22, 2018
-
-
Toon Claes authored
When the database is in a read-only state, display a banner on each page informing the user they cannot write to that GitLab instance. Closes gitlab-org/gitlab-ce#43937.
-
Rob Watson authored
Closes #28857
-
- Mar 21, 2018
-
-
Jacob Vosmaer (GitLab) authored
-
Lukas Eipert authored
-
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337
-
- Mar 20, 2018
-
-
Phil Hughes authored
-
Phil Hughes authored
-
Phil Hughes authored
This also makes the IDE generally available
-