- Feb 14, 2018
-
-
Sean McGivern authored
Before, this would: 1. Not use the correct reference for non-JIRA external trackers. 2. Append 'Closes ' if an external tracker was enabled, but no issue matched the branch name.
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
George Tsiolis authored
-
🙈 jacopo beschi 🙉 authored
-
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`.
-
Robert Schilling authored
-
Jarka Kadlecova authored
-
Jarka Kadlecova authored
-
- Feb 13, 2018
-
-
Andreas Brandl authored
This essentially allows to pass both user and email, so that we can either prefer the user to retrieve the avatar or (if user is not present) fall back to the email lookup.
-
Andreas Brandl authored
-
Andreas Brandl authored
We want to drop the generic #avatar_icon helper that supports both an email and a user object being passed in. Instead, we want to explicitly use the #avatar_icon_for_user and #avatar_icon_for_email helpers depending on what we have at hand. This allows us to avoid unnecessary database queries (e.g. call User.find_by_any_email if we already have the user). In situations like here, this makes it less convenient to use.
-
Andreas Brandl authored
Whenever we already deal with a User object, let's use the more specific method avatar_icon_for_user.
-
Andreas Brandl authored
When we don't use the original `ApplicationHelper#avatar_icon` anymore, we can just remove it (and its specs). Closes #42800.
-
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.
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Jeff Stubler authored
Closes #26466.
-
Stan Hu authored
When JIRA or Redmine were enabled and the branch name did not match the matching regular expression, the `issue_iid` would be `nil`, preventing users from creating merge requests. Closes #43193
-
- Feb 12, 2018
-
-
Stan Hu authored
-
Michael Kozono authored
-
Michael Kozono authored
-
Michael Kozono authored
-
Rubén Dávila authored
This reverts commit a58f8c32, reversing changes made to cd5d75c3.
-
Filipa Lacerda authored
Add loading button for better UX
-
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`
-
Rémy Coutable authored
We do that because it's using factories and it's not worth it to get rid of them. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
This is useful for migration tests that relies on factories and that are very old and/or tedious to modify to not use factories. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Stan Hu authored
This is to fix job failures, such as https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/51409392.
-
-
Winnie Hellmann authored
-
George Tsiolis authored
-
- Feb 09, 2018
-
-
Ahmad Sherif authored
Fixes gitlab-development-kit#321
-
Winnie Hellmann authored
-
Robert Speicher authored
-
Filipa Lacerda authored
-
Kamil Trzcińśki authored
Fix using wildcards in protected tags to expose protected variables
-