- 09 Aug, 2016 1 commit
-
-
James Lopez authored
-
- 08 Aug, 2016 1 commit
-
-
James Lopez authored
-
- 05 Aug, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 04 Aug, 2016 4 commits
-
-
winniehell authored
-
tiagonbotelho authored
-
Jacob Vosmaer authored
-
Paco Guzman authored
Signed-off-by: Paco Guzman <pacoguzmanp@gmail.com>
-
- 03 Aug, 2016 5 commits
-
-
James Lopez authored
-
Grzegorz Bizon authored
-
Paco Guzman authored
So we have raw_diffs too
-
Paco Guzman authored
This object will manage Gitlab::Git::Compare instances
-
Paco Guzman authored
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
-
- 02 Aug, 2016 2 commits
-
-
tiagonbotelho authored
developer cannot push to protected branch when project is empty or he has not been granted permission to do so
-
winniehell authored
-
- 01 Aug, 2016 3 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Stan Hu authored
Closes #20440
-
James Lopez authored
squashed - fixed label and milestone association problems, updated specs and refactored reader class a bit
-
- 29 Jul, 2016 6 commits
-
-
Grzegorz Bizon authored
-
Yorick Peterse authored
The method Ability.issues_readable_by_user takes a list of users and an optional user and returns an Array of issues readable by said user. This method in turn is used by Banzai::ReferenceParser::IssueParser#nodes_visible_to_user so this method no longer needs to get all the available abilities just to check if a user has the "read_issue" ability. To test this I benchmarked an issue with 222 comments on my development environment. Using these changes the time spent in nodes_visible_to_user was reduced from around 120 ms to around 40 ms.
-
Timothy Andrew authored
- Likely introduced during an improper conflict resolution.
-
Timothy Andrew authored
1. In the context of protected branches. 2. Test this behaviour.
-
Timothy Andrew authored
1. Remove `Project#developers_can_push_to_protected_branch?` since it isn't used anymore. 2. Remove `Project#developers_can_merge_to_protected_branch?` since it isn't used anymore.
-
Timothy Andrew authored
1. The crux of this change is in `UserAccess`, which looks through all the access levels, asking each if the user has access to push/merge for the current project. 2. Update the `protected_branches` factory to create access levels as necessary. 3. Fix and augment `user_access` and `git_access` specs.
-
- 28 Jul, 2016 1 commit
-
-
Yorick Peterse authored
This reduces the overhead of the method instrumentation code primarily by reducing the number of method calls. There are also some other small optimisations such as not casting timing values to Floats (there's no particular need for this), using Symbols for method call metric names, and reducing the number of Hash lookups for instrumented methods. The exact impact depends on the code being executed. For example, for a method that's only called once the difference won't be very noticeable. However, for methods that are called many times the difference can be more significant. For example, the loading time of a large commit (nrclark/dummy_project@81ebdea5df2fb42e59257cb3eaad671a5c53ca36) was reduced from around 19 seconds to around 15 seconds using these changes.
-
- 26 Jul, 2016 2 commits
-
-
Patricio Cano authored
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 25 Jul, 2016 1 commit
-
-
Stan Hu authored
We have a number of bugs caused by cache keys not being flushed properly during deletion of a project. Add the project ID to ensure this never happens. Closes #20027
-
- 24 Jul, 2016 1 commit
-
-
winniehell authored
-
- 20 Jul, 2016 6 commits
-
-
Douwe Maan authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
Yorick Peterse authored
These new checks can be used to check if migrations require downtime or not (as tagged by their authors). In CI this compares the current branch with master so migrations added by merge requests are automatically verified. To check the migrations added since a Git reference simply run: bundle exec rake gitlab:db:downtime_check[GIT_REF]
-
Sean McGivern authored
-
Rémy Coutable authored
Handle videos in: - MD preview in notes: commit, issue/MR, MR diff - New notes in: commit, issue/MR, MR diff - Persisted notes in: commit, issue/MR, MR diff Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 19 Jul, 2016 6 commits
-
-
Rémy Coutable authored
Also, always add a link to download videos since video playback is tricky. Also, it solves the issue with email client not supporting videos. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Eric Hayes authored
* Registered video MIME types * Currently supporting browser-supported formats with extensions that match the mime type
-
Kamil Trzcinski authored
-
James Lopez authored
-
Grzegorz Bizon authored
-