- Apr 17, 2018
-
-
Bob Van Landuyt authored
This adds a method to track errors that can be recovered from in sentry. It is useful when debugging performance issues, or exceptions that are hard to reproduce.
-
George Tsiolis authored
-
- Apr 16, 2018
-
-
Filipa Lacerda authored
-
Phil Hughes authored
Closes #45412
-
Andreas Brandl authored
This is useful for a transition period to migrate away from `NoninternalAtomicId`. In a situation where both the old and new code to generate a iid value is run at the same time (for example, during a deploy different nodes may serve both versions), this will lead to problems regarding the correct `last_value`. That is, what we track in `InternalId` may get out of sync with the maximum iid present for issues. With this change, we double-check that and correct the `last_value` with the maximum iid found in issues if necessary. This is subject to be removed with the 10.8 release and tracked over here: https://gitlab.com/gitlab-org/gitlab-ce/issues/45389 Closes #45269.
-
Simon Knox authored
-
blackst0ne authored
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Apr 15, 2018
-
-
Luke Bennett authored
-
- Apr 14, 2018
-
-
Filipa Lacerda authored
-
- Apr 13, 2018
-
-
Dmitriy Zaporozhets authored
There are 2 problems with this spec: 1. It checks for default visiblity level however there is not code in controller to handle such default. Same check can be performed on model directly. 2. It passes empty application_setting hash while controller requires application_setting not to be empty by using `require` with `permit` Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
-
Filipa Lacerda authored
[ci skip] Adds specs Adds specs
-
Oswaldo Ferreir authored
-
Jose Ivan Vargas Lopez authored
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Mike Greiling authored
-
Mike Greiling authored
-
Andreas Brandl authored
Closes #45247.
-
-
Dmitriy Zaporozhets authored
If form does not have import sources checkboxes we should not reset import sources to empty. This fixes issue when import sources got reset after user modifies unrelated settings section like GitLab pages Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Phil Hughes authored
-
Phil Hughes authored
Closes #45326
-
-
Mike Greiling authored
-
Mike Greiling authored
-
- Apr 12, 2018
-
-
-
Bob Van Landuyt authored
-
Mike Greiling authored
-
Jan Provaznik authored
Since !18150 abstract reference filter supports also `group` as a resource parent (not only `project`). Some reference filters, which inherit from abstract filter, depend on parent being `project` when checking a reference. This patch adds explicit check of parent class to the given filters.
-
Ash McKenzie authored
-
Rubén Dávila authored
-
- Apr 11, 2018
-
-
Michael Kozono authored
-
Takuya Noguchi authored
-
Ahmad Sherif authored
Fixes gitaly#1126
-
Lin Jen-Shin authored
-
Filipa Lacerda authored
-
Zeger-Jan van de Weg authored
Clients can now request the attributes from `$GIT_DIR/info/attributes` through Gitaly. The Gitaly migration is described in gitlab-org/gitaly#1082. The parser algorithm was implemented in a way it could handle both file contents or a File handle, and both were already tested. Other than that, using the boy scout rule, I've removed a class, InfoAttributes, as it was delegating everything to the parser and therefor wasn't really needed in my opinion.
-
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.
-
blackst0ne authored
-