summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Allow manual resize of js-autosize textareasrs-relax-autosizeRobert Speicher2016-02-011-1/+19
| | | | | | | | | | | | | | First, the autosize library was being too controlling and removed the `resize` property from any elements to which it was attached, removing the drag handle. Second, we detect when the user manually resizes an autosize textarea, and then remove the autosize behavior from it and increase its max-height. This should allow for the best of both worlds. Closes #12832
* Auto-focus emoji award search fieldPhil Hughes2016-01-291-0/+1
| | | | Closes #12621
* Merge branch 'issue_2406' into 'master' Dmitriy Zaporozhets2016-01-281-1/+3
|\ | | | | | | | | | | | | Show list of forks for a given Project Closes #2406 See merge request !2376
| * Add ability to filter by namespace. #2406Rubén Dávila2016-01-201-1/+3
| |
* | Merge branch 'feature/jschatz1/instant-issuable-history' into 'master' Dmitriy Zaporozhets2016-01-282-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | Adds feature: Ajax Close/Open updates discussion automatically Triggers jQuery event <br/> Fixes #5544 See merge request !2610
| * | Adds comment about event listenerfeature/jschatz1/instant-issuable-historyJacob Schatz2016-01-261-0/+1
| | |
| * | Adds feature: Ajax Close/Open updates discussion automaticallyJacob Schatz2016-01-262-0/+3
| | | | | | | | | | | | | | | Triggers jQuery event Fixes #5544
* | | Merge branch 'rs-require-jquery-ui' into 'master' Dmitriy Zaporozhets2016-01-271-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Limit jquery-ui requires to what we actually use See merge request !2274
| * | | Limit jquery-ui requires to what we actually users-require-jquery-uiRobert Speicher2016-01-251-1/+4
| |/ / | | | | | | | | | | | | This commit is a smoke test to run CI and see if we get back any JS errors.
* | | Clicks the edit button instead of opening the dropdownusing-a-or-m-hotkeys-on-issuable-tabJacob Schatz2016-01-251-2/+2
|/ / | | | | | | Fixes #2307
* | Merge branch 'note-highlighting' into 'master' Robert Speicher2016-01-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Highlight note code and edit preview More highlighting fixes! Highlighting wasn't applied all the way for code in notes, diff notes diffs and diff preview (on the file edit page). The CSS changes further unify the styling for file-content highlighting, diff highlighting and note code highlighting. See merge request !2594
| * | Highlight note code and edit previewnote-highlightingDouwe Maan2016-01-251-0/+1
| | |
* | | Adds base64 background search icon.Jacob Schatz2016-01-241-0/+9
|/ / | | | | | | | | | | | | | | | | All inputs of type `search` will have the gray background and search icon centered. Because the search magnifier is a bg image, I had to hide it with `[value=""]`. I added a little javascript to make sure each input always has it's own value.
* | Merge branch 'rs-no-minified-js'Robert Speicher2016-01-231-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | Don't vendor minified JS Fixes #4031 See merge request !2494
| * | Don't vendor minified fuzzaldrin-plusDouglas Barbosa Alexandre2016-01-201-1/+1
| | | | | | | | | | | | | | | | | | This version was compiled to use in the browser through Browserify. More info or how to compile a new version: https://gitlab.com/dbalexandre/fuzzaldrin-plus-browserify
| * | Don't vendor minified jQuery.nicescrollDouglas Barbosa Alexandre2016-01-201-1/+1
| | |
| * | Don't vendor minified g.bar.jsDouglas Barbosa Alexandre2016-01-201-1/+1
| | |
| * | Don't vendor minified g.raphael.jsDouglas Barbosa Alexandre2016-01-201-1/+1
| | |
| * | Don't vendor minified Chart.jsRobert Speicher2016-01-201-1/+1
| |/ | | | | | | | | The filename is titlecased because that's how it came from the vendor, and we're not touching it.
* | Merge branch 'fix-comment-on-diff-ajax-loading'Dmitriy Zaporozhets2016-01-221-33/+54
|\ \
| * | Fix indentation of methods chaining in CoffeeRémy Coutable2016-01-201-8/+8
| | | | | | | | | | | | [ci skip]
| * | Merge remote-tracking branch 'origin/master' into ↵Rémy Coutable2016-01-205-17/+10
| |\ \ | | | | | | | | | | | | fix-comment-on-diff-ajax-loading
| * | | Address some JS coding-style and HTML semantic issuesRémy Coutable2016-01-201-25/+28
| | | | | | | | | | | | | | | | | | | | | | | | - Replace 'rel' attributes with 'data' or 'id' attributes - Style jQuery methods chaining according to Jacob's guidelines - Rename a method
| * | | Fix diff comments loaded by AJAX to load comment with diff in discussion tabRémy Coutable2016-01-191-25/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits also fixes two minor issues: - Ensure notes that the current user is not allowed to see are not returned in the AJAX notes loading - Ensure the notes counter badge is decremented of 1 instead of 2
* | | | Move build artifacts javascripts into separate filefix/artifacts-download-progress-barGrzegorz Bizon2016-01-212-0/+16
| |/ / |/| |
* | | Merge branch 'awardemoji-tooltip-shows-people-multiple-times' into 'master' Dmitriy Zaporozhets2016-01-201-10/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes tooltip doesn't duplicate the "me" name. Checks that "me" is not in the array of names in tooltip ![emojilist](/uploads/20b1a39cda194358f9730ec3c6b86acb/emojilist.gif) Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/7978 See merge request !2454
| * | | Fixes issue where other emoji (not thumbup/thumbdown) were not removedawardemoji-tooltip-shows-people-multiple-timesJacob Schatz2016-01-191-1/+1
| | | |
| * | | Fix the situation where the user has named themselves "me"Jacob Schatz2016-01-181-4/+2
| | | | | | | | | | | | | | | | Stopped looking for existing user since remove functionality is fixed.
| * | | Fix underlying issue with emoji reactionsJacob Schatz2016-01-181-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue was: blank space was rendering as a element in an array of authors. Element was being used by `join`. Original fix !2450 was trying to remove the space after it happened. This checks properly for it and only moves forward if it does not exist. Also removes "me" upon unchecking emoji.
| * | | Removing initial `,`.Jacob Schatz2016-01-181-1/+2
| | | |
| * | | Fixes tooltip doesn't duplicate the "me" name.Jacob Schatz2016-01-181-8/+4
| |/ / | | | | | | | | | Checks that "me" is not in the array of names in tooltip
* | | Merge branch 'secret-shortcut-feature' into 'master' Dmitriy Zaporozhets2016-01-203-5/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Adds "t" as a shortcut for find file anywhere See merge request !2507
| * | Adds `t` as a shortcut for find file anywhereJacob Schatz2016-01-193-5/+1
| |/
* | when starring a project it correctly increase the star countPhil Hughes2016-01-191-2/+2
|/ | | | | | This is instead of increasing star & fork count Fixed #11396
* Merge branch 'remove-leading-comma-award-emoji' into 'master' Robert Speicher2016-01-181-4/+9
|\ | | | | | | | | | | | | Remove leading comma when user is the only one to award that emoji Fixes #9073 See merge request !2450
| * Remove leading comma when user is the only one to award that emojiZeger-Jan van de Weg2016-01-171-4/+9
| | | | | | | | Fixes #9073
* | Merge branch 'comment-text-remains-in-text-box-after-submitting-it' into ↵Dmitriy Zaporozhets2016-01-181-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 'master' Fixes issue where firefox does not delete message after comment submit Issue was **not** in the way comment was being submitted. `app/assets/javascripts/awards_handler.coffee` was throwing an error. This error was preventing any js from running after it. Fixes #1473 See merge request !2452
| * Fixes issue where firefox does not delete message after comment submitcomment-text-remains-in-text-box-after-submitting-itJacob Schatz2016-01-151-1/+1
| | | | | | | | | | | | | | Issue was **not** in the way comment was being submitted. `app/assets/javascripts/awards_handler.coffee` was throwing an error. This error was preventing any js from running after it. Fixes #1473
* | Merge branch 'issue-page-keeps-jumping-up' into 'master' Dmitriy Zaporozhets2016-01-172-1/+31
|\ \ | | | | | | | | | | | | | | | | | | Issue page keeps jumping up This happens when the discussion side is smaller than the sidebar and the sidebar will need to scroll. When this happens I calculate the height of the two and see if the discussion panel is smaller and make them the same height and add a class `no-affix` which makes the sidebar relative positioning so it won't stick to the top. See merge request !2417
| * | fixes scrollbar jump by making discussion the same size as the sidebar when ↵issue-page-keeps-jumping-upJacob Schatz2016-01-133-12/+35
| | | | | | | | | | | | sidebar is bigger, and not allowing affix to do fixed position on the sidebar
| * | initial fixJacob Schatz2016-01-133-5/+12
| | |
* | | Autosize the textarea in showEditFormRobert Speicher2016-01-161-0/+1
| |/ |/| | | | | [ci skip]
* | Fix javascript error with deleting messages in issue or merge requestdeleting-a-note-after-editing-another-results-in-a-javascript-errorJacob Schatz2016-01-141-4/+5
| | | | | | | | | | | | Elements searched for by jQuery no longer existed in the DOM. Javascript was also unnecessarily complex, for using jQuery Fixes #8109
* | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets2016-01-141-12/+13
|\ \
| * | Move js function to removing accents to vendor/assets/javascriptsDouglas Barbosa Alexandre2016-01-141-7/+3
| | |
| * | Relax constraints for wiki slugDouglas Barbosa Alexandre2016-01-141-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since GitHub doesn’t apply these constraints to theirs wiki slug allowing characters like `,`, `:`, `*`, etc, we need to relax our constraints or some wiki pages will not be available after they were imported. For an example the Devise project have a wiki page with the following slug: “How To: Add sign_in, sign_out, and sign_up links to your layout template”
* | | Merge remote-tracking branch 'origin/rs-autosize'Dmitriy Zaporozhets2016-01-142-0/+6
|\ \ \ | |/ / |/| |
| * | Fix missing autosize requirers-autosizeRobert Speicher2016-01-131-0/+1
| | |
| * | Autosize textareasRobert Speicher2016-01-132-0/+5
| |/
* | Merge branch 'closing-mr-bug-fix' into 'master' Dmitriy Zaporozhets2016-01-142-6/+11
|\ \ | | | | | | | | | | | | | | | | | | fixes bug with commenting on merge requests See merge request !2415