- Feb 16, 2018
-
-
ABaldwinHunter authored
It seems like this value is already nil
-
Dylan Griffith authored
-
- Feb 15, 2018
-
-
Francisco Javier López authored
-
-
James Edwards-Jones authored
-
- Feb 14, 2018
-
-
Turo Soisenniemi authored
Without setting outfilesuffix Asciidoctor defaults to .html. When .html is used, inter-document cross references do not work in Gitlab's repository / file renderer. See more information from http://asciidoctor.org/docs/user-manual/#navigating-between-source-files and http://asciidoctor.org/docs/user-manual/#inter-document-cross-references
-
Michael Kozono authored
And use :migration tag to use deletion strategy, and to avoid caching tables, and to lock into a particular schema. Attempting to fix intermittent spec errors `PG::UndefinedTable: ERROR: relation "public.untracked_files_for_uploads" does not exist`.
-
George Tsiolis authored
-
Jarka Kadlecova authored
-
- Feb 13, 2018
-
-
Yorick Peterse authored
Using Sentry, while useful, poses two problems you have to choose from: 1. All errors are reported separately, making it easy to create issues but also making it next to impossible to see other errors (due to the sheer volume of threshold errors). 2. Errors can be grouped or merged together, reducing the noise. This however also means it's (as far as I can tell) much harder to automatically create GitLab issues from Sentry for the offending controllers. Since both solutions are terrible I decided to go with a third option: not using Sentry for this at all. Instead we'll investigate using Prometheus alerts and Grafana dashboards for this, which has the added benefit of being able to more accurately measure the behaviour over time. Note that throwing errors in test environments is still enabled, and whitelisting is still necessary to prevent that from happening (and that in turn still requires that developers create issues).
-
Drew Blessing authored
Constructors shouldn't throw exceptions. We also learned that different LDAP servers behave a bit unexpectedly sometimes - returning attributes we didn't ask for, or returned attributes with language subtypes.
-
Dylan Griffith authored
-
- Feb 12, 2018
-
-
Stan Hu authored
-
Michael Kozono authored
-
Michael Kozono authored
-
Rubén Dávila authored
This reverts commit a58f8c32, reversing changes made to cd5d75c3.
-
Alessio Caiazza authored
In the attempt to unify file uploading at workhorse level gitlab-org/gitlab-workhorse!230 we moved to a prefix-based tempfile creation in order to avoid upload collisions. Artifacts and LFS uploads already set original_filename to workhorse provided filename This commit add the same feature to `Gitlab::Middleware::Multipart`
-
-
- Feb 09, 2018
-
-
Ahmad Sherif authored
Fixes gitlab-development-kit#321
-
- Feb 08, 2018
-
-
Ahmad Sherif authored
-
Bob Van Landuyt authored
Since the migration might be queued already and be rescheduled when it fails on a uniqueness error, this should help clearing the background migration queue faster.
-
- Feb 07, 2018
-
-
Ahmad Sherif authored
Closes gitaly#985
-
Francisco Javier López authored
-
Ahmad Sherif authored
-
Zeger-Jan van de Weg authored
The refs hash is used to determine what branches and tags have a commit as head in the network graph. The previous implementation depended on Rugged#references. The problem with this implementation was that it depended on rugged, but also that it iterated over all references and thus loading more data than needed if for example the project uses CI/CD environments, Pipelines, or Merge Requests. Given only refs are checked the network cares about the GraphHelper#refs method has no need to reject those, simplifying the method. Closes gitlab-org/gitaly#880
-
Rubén Dávila authored
-
Pawel Chojnacki authored
-
Pawel Chojnacki authored
-
- Feb 06, 2018
-
-
Dylan Griffith authored
- Move the exception handling as close to the source as possible to avoid leaking Psych ahstraction - Also remove unnecessary rescue all statement from LintsController. This should not be necessary anymore since any YAML errors should all be caught by the #validation_message method.
-
Tiago Botelho authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Douwe Maan authored
-
Jarka Kadlecova authored
-
Tiago Botelho authored
-
Bastian Blank authored
Signed-off-by:
Bastian Blank <waldi@debian.org>
-
James Edwards-Jones authored
Uses Lfs::FileModificationHandler to coordinate LFS detection, creation of LfsObject, etc Caveats: 1. This isn't used by the multi-file editor / Web IDE 2. This isn't used on rename. We'd need to be able to download LFS files and add them to the commit if they no longer match so not as simple. 3. We only check the root .gitattributes file, so this should be improved to correctly check for nested .gitattributes files in subfolders.
-
-
Kamil Trzcińśki authored
-
Tiago Botelho authored
-