summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'no-spritesheet' into 'master' Jacob Schatz2016-06-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spritesheet should only load when an award emoji picker is opened. This makes sure that the emoji spritesheet is loaded **only** when the emoji picker is opened. This saves 250-650KB on every page load. Prevents !3785 from reverting the fix from !3449. cc: @jschatz1 @zj @fatihacet See merge request !4469
| * | | The spritesheet should only load when an award emoji picker is opened.Connor Shea2016-06-031-1/+1
|/ / /
* | | Merge branch 'remove-unnecessary-prefixes' into 'master' Jacob Schatz2016-06-033-16/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary vendor prefixes for browsers we no longer support. Pretty simple, just removes a few prefixed properties for browsers we don't support. See merge request !4368
| * | | Remove unnecessary vendor prefixes for browsers we no longer support.Connor Shea2016-05-303-16/+1
| | | |
* | | | Merge branch '2fa-no-autocomplete' into 'master' Jacob Schatz2016-06-031-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable 2FA field autocomplete, resolves #18021. Self-explanatory. Fixes #18021. cc: @jschatz1 @jacobvosmaer-gitlab See merge request !4385
| * | | | Disable 2FA field autocomplete, resolves #18021.Connor Shea2016-06-011-1/+1
| | | | |
* | | | | Merge branch 'remove-colorize' into 'master' Rémy Coutable2016-06-0322-222/+223
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace colorize gem with rainbow. ## What does this MR do? It replaces the [colorize](https://github.com/fazibear/colorize) gem with [rainbow](https://github.com/sickill/rainbow). ## Are there points in the code the reviewer needs to double check? Make sure all relevant modified rake tasks still work. I checked repeatedly using `git grep 'color'` that all uses of any `.color` method were replaced by their Rainbow equivalent, you'll want to double check. We (should have, at least) [only used ANSI colors](https://github.com/sickill/rainbow#ansi-colors), so black, red, green, yellow, blue, magenta, cyan, and white. Note that colorize will still be required by Spinach, but since we only use Spinach in the test/dev environments, this isn't a problem. To ensure 100% that tasks run without requiring colorize, you may wish to try removing all spinach-related gems, running `bundle install`, and then `gem uninstall colorize` before running them. I tested all tasks that could be run in dev with Spinach enabled, and then a handful after removing Spinach and uninstalling colorize, and saw no failures or errors in either case. ## Why was this MR needed? Colorize is a GPLv2 gem, which means that we cannot use it without ourselves being GPL'd, which we are not. This is the last gem we use that was breaking the terms of the GPL, so I took it upon myself to remove it. Some argue that libraries can be used without GPL'ing the product itself, but the [GNU Project](http://www.gnu.org/licenses/gpl-faq.html#IfLibraryIsGPL), as well as [the Open Source Initiative](https://opensource.org/faq#linking-proprietary-code) disagrees. Out of an abundance of caution, having researched various software licenses extensively, and in the interest of covering ourselves legally, I'm going to go with that interpretation of the license. An attempt at relicensing Colorize was made, but didn’t succeed as the library owner hasn't responded more than four weeks after attempting contact. ## What are the relevant issue numbers? !3775, gitlab-com/operations#164 cc: @sytses, @rspeicher, @rabbitfang, @rymai See merge request !4425
| * | | | Add CHANGELOG entry.Connor Shea2016-06-031-0/+1
| | | | |
| * | | | Replace colorize gem with rainbow.Connor Shea2016-06-0321-222/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize. The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance. The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product. An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded. Rainbow library: https://github.com/sickill/rainbow Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775
* | | | | CHANGELOG itemsearch-arrow-keysPhil Hughes2016-06-031-0/+1
| | | | |
* | | | | Fixed issue with search autocomplete not allow arrow key navigationPhil Hughes2016-06-032-11/+19
|/ / / / | | | | | | | | | | | | Closes #15649
* | | | Merge branch 'rubocop/enable-empty-lines-around-access-modifier-cop' into ↵Robert Speicher2016-06-033-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Enable Style/EmptyLinesAroundAccessModifier rubocop cop Keep blank lines around access modifiers. See #17478 See merge request !4452
| * | | | Enable Style/EmptyLinesAroundAccessModifier rubocop coprubocop/enable-empty-lines-around-access-modifier-copGrzegorz Bizon2016-06-033-1/+3
| | | | | | | | | | | | | | | | | | | | See #17478
* | | | | Merge branch 'awardables' into 'master' Jacob Schatz2016-06-0363-508/+856
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Awardables TODO: - [x] Fix specs - [x] Write new specs - [X] Check if the migrations can stay offline migrations -- (seems not to make 8.8) - [X] API expose Awards -> Next merge window See merge request !3785
| * | | | | :police_car:Z.J. van de Weg2016-06-031-6/+6
| | | | | |
| * | | | | Merge branch 'master' into awardablesawardablesZ.J. van de Weg2016-06-03269-1214/+3600
| |\ \ \ \ \
| * | | | | | Move awardables too when issue is movedZ.J. van de Weg2016-06-012-0/+14
| | | | | | |
| * | | | | | Incorportate feedbackZ.J. van de Weg2016-06-0121-149/+52
| | | | | | |
| * | | | | | Merge branch 'master' into awardablesZJ van de Weg2016-05-30288-1216/+2348
| |\ \ \ \ \ \
| * | | | | | | Remove tests specific for awards on notesZJ van de Weg2016-05-262-134/+0
| | | | | | | |
| * | | | | | | Remove old tests, and use right factoriesZJ van de Weg2016-05-253-69/+9
| | | | | | | |
| * | | | | | | Remove accidentally duplicated line.Fatih Acet2016-05-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | :facepalm:
| * | | | | | | Merge branch 'awardables' of gitlab.com:gitlab-org/gitlab-ce into awardablesFatih Acet2016-05-25469-1642/+9023
| |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'master' into awardablesZJ van de Weg2016-05-25469-1642/+9023
| | |\ \ \ \ \ \ \
| * | | | | | | | | " :arrow_right: '.Fatih Acet2016-05-251-41/+44
| |/ / / / / / / /
| * | | | | | | | Handle posting emoji only vote +1 and -1 comments.Fatih Acet2016-05-241-24/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And remove mutual votes.
| * | | | | | | | Get award menu url from gl object.Fatih Acet2016-05-243-1/+7
| | | | | | | | |
| * | | | | | | | Fix award tooltip after voting.awardables-mergeFatih Acet2016-05-241-16/+36
| | | | | | | | |
| * | | | | | | | Handle thumbsup and thumbsdown mutuality.Fatih Acet2016-05-241-0/+8
| | | | | | | | |
| * | | | | | | | Fix variable name because of a wrong resolved merge conflict.Fatih Acet2016-05-231-2/+2
| | | | | | | | |
| * | | | | | | | Merge branch 'awardables-merge' of gitlab.com:gitlab-org/gitlab-ce into ↵Fatih Acet2016-05-233-131/+150
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | awardables-merge # Conflicts: # app/assets/javascripts/notes.js.coffee
| | * | | | | | | | minor js fixesZJ van de Weg2016-05-204-132/+151
| | | | | | | | | |
| * | | | | | | | | Fix displaying emoji only comments.Fatih Acet2016-05-232-24/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To render emoji in the emoji bar of an issue or MR we actually need the emoji unicode and unicode info is stored in the emoji menu widget. That widget could only be visible if user clicks the "Add" button and there may not be a widget when posting emoji only comments. So this change will check existence of the widget and create it before posting the emoji if it's not exist to render it correctly.
| * | | | | | | | | Fix emoji counter issue.Fatih Acet2016-05-231-1/+1
| |/ / / / / / / /
| * | | | | | | | Fix backend merge mistakesZJ van de Weg2016-05-193-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | | | | | Add Gitlab namespace AwardEmoji.Fatih Acet2016-05-191-1/+1
| | | | | | | | |
| * | | | | | | | Adds the emoji menu to the body and then re-positions it depending on which ↵Phil Hughes2016-05-196-38/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | button clicked This spots bugs where the menu could be in a div that has overflow hidden on ie. diff comments
| * | | | | | | | Award spec for merge requestsPhil Hughes2016-05-191-0/+140
| | | | | | | | |
| * | | | | | | | Added tests for issuesPhil Hughes2016-05-192-3/+143
| | | | | | | | |
| * | | | | | | | Tooltip placement on award buttonsPhil Hughes2016-05-193-2/+3
| | | | | | | | |
| * | | | | | | | Hides award bar when editing a notePhil Hughes2016-05-191-1/+2
| | | | | | | | |
| * | | | | | | | Changed design of inline award picker to be similar to designsPhil Hughes2016-05-194-33/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/views/votes/_votes_block.html.haml
| * | | | | | | | Removed console logPhil Hughes2016-05-191-1/+0
| | | | | | | | |
| * | | | | | | | Hides the row in notes body when empty of emojisPhil Hughes2016-05-191-0/+5
| | | | | | | | |
| * | | | | | | | Removes buttons in notes bodyPhil Hughes2016-05-191-26/+30
| | | | | | | | |
| * | | | | | | | Shows the bar on notes if a new award is addedPhil Hughes2016-05-193-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correctly adds/removes awards in notes # Conflicts: # app/models/concerns/awardable.rb # app/views/projects/issues/show.html.haml # app/views/projects/merge_requests/_show.html.haml
| * | | | | | | | Uses the same emoji-menu and just moves it around depending where it should ↵Phil Hughes2016-05-197-178/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be viewed # Conflicts: # app/assets/javascripts/awards_handler.coffee # app/assets/stylesheets/pages/notes.scss # app/helpers/issues_helper.rb # app/views/projects/notes/_note.html.haml
| * | | | | | | | Refactored JS slightly to make things easierPhil Hughes2016-05-192-113/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/assets/javascripts/awards_handler.coffee # app/views/emoji_awards/_awards_block.html.haml
| * | | | | | | | Merge branch 'awardables' of gitlab.com:gitlab-org/gitlab-ce into awardablesFatih Acet2016-05-1810-66/+23
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix latests concernsZJ van de Weg2016-05-1810-66/+23
| | | | | | | | | |