summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/blob
Commit message (Collapse)AuthorAgeFilesLines
* Restore inexplicably removed code from requestFileSuccess.desplacturingBryce Johnson2016-10-051-2/+9
| | | | (also clean up a few global refs)
* Simplify TemplateSelector keyup/blur handler.Bryce Johnson2016-10-051-5/+1
|
* Delete leftover usertabs and template_selector es5 files.Bryce Johnson2016-10-051-108/+0
|
* Refactor TemplateSelector and fix for tests.Bryce Johnson2016-10-054-4/+108
|
* Make fixes to get tests passing.Bryce Johnson2016-10-052-2/+2
|
* Remove super passthrough.Bryce Johnson2016-10-052-5/+1
|
* Convert BlobLicenseSelctors to ES6.Bryce Johnson2016-10-052-25/+21
|
* Set defaults in constructor, in case opts are undefined.Bryce Johnson2016-10-051-2/+2
|
* Make use of destructuring options, clean up based on feedback.Bryce Johnson2016-10-051-6/+6
|
* Properly scope BlobCiYamlSelector and BlobCiYamlSelectors.Bryce Johnson2016-10-051-24/+31
|
* Refactor BlobCiYamlSelector and BlobCiYamlSelectors to ES6.Bryce Johnson2016-10-052-46/+32
| | | | (Removes opts destructuring and inheritance boilerplate)
* Combine requestFileSuccess arguments into `opts`Joseph Frazier2016-10-031-3/+6
| | | | See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6149#note_14830172
* Append issue template to existing descriptionJoseph Frazier2016-10-031-2/+7
| | | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/21733 Add two newlines before the template if the existing description isn't empty. This makes it easier to see where the template begins. Don't append the template when "Reset template" is selected, of course. Don't append template if it equals the existing description. This makes it so that selecting a template twice doesn't duplicate it.
* Merge branch 'issue-description-scroll-fix' into 'master' Fatih Acet2016-09-151-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trigger autosize update after template selection ## What does this MR do? Triggers an autosize update after selecting an issue template. The autosize plugin doesn't react to value changes and therefore doesn't automatically update when the user selects the template. This merge request adds it so that it detects if the editor the template selector is a jQuery object (not Ace editor) & then triggers the autosize event to allow the user to scroll the textarea. ## Screenshots (if relevant) ![resize](/uploads/1ab04b4202309b13f1178e04c0953112/resize.gif) ## What are the relevant issue numbers? Closes #21982 See merge request !6282
| * Trigger autosize update after template selectionissue-description-scroll-fixPhil Hughes2016-09-091-0/+7
| | | | | | | | Closes #21982
* | Restore comments lost when converting CoffeeScript to JavaScriptJared Deckard2016-09-082-0/+6
|/
* Only load Ace on Snippets and file edit pages.Connor Shea2016-08-181-66/+0
|
* Load issues and merge requests templates from repositoryFelipe Artur2016-08-161-3/+19
|
* ES6ify all the things!Fatih Acet2016-07-2416-230/+349
|
* Apply selected value as labelAlfredo Sumaran2016-06-231-0/+4
|
* Incorporate reviewZ.J. van de Weg2016-06-201-1/+1
|
* Add GitLab CI Yml dropdown selectorAlfredo Sumaran2016-06-202-0/+24
|
* Implements TemplateDropdown class to create custom template dropdownstemplate_dropdownAlfredo Sumaran2016-06-166-87/+104
| | | | | Also License dropdown has been ported to use our GL dropdown instead of Select2. Fixes tests to make it work with current implementation
* Dropdown implementationzj-gitignore-dropdownAlfredo Sumaran2016-05-202-29/+24
|
* Dropdown implementationAlfredo Sumaran2016-05-201-1/+2
|
* First import of gitignoresZeger-Jan van de Weg2016-05-202-0/+63
| | | | | | Add .gitignore dropdown when creating a new .gitignore file Signed-off-by: Alfredo Sumaran <alfredo@gitlab.com>
* Continue implementation of the license template selector and /licenses API ↵Rémy Coutable2016-04-183-71/+52
| | | | | | endpoint Signed-off-by: Rémy Coutable <remy@rymai.me>
* Initial implementation if license template selector and /licenses/:key API ↵Anton Davydov2016-04-181-0/+24
| | | | endpoint
* Highlight note code and edit previewnote-highlightingDouwe Maan2016-01-251-0/+1
|
* Automatically fork a project when not allowed to edit a file.Douwe Maan2015-12-181-1/+1
|
* Add "Start a new merge request" option to every commit formDouwe Maan2015-11-173-28/+3
|
* Merge branch 'master' into dirceu/gitlab-ce-new-merge-request-from-file-editDouwe Maan2015-11-172-8/+8
|\
| * Persist blob editor's value on submit, not on clickrs-editor-submitRobert Speicher2015-10-312-8/+8
| | | | | | | | | | | | | | | | Prior, the value of the Ace editor was only being persisted if the user physically clicked the submit button, which the "quick submit" behavior doesn't do. Now the value will be properly transferred before any form is submitted.
* | Add option to create merge request when editing/creating a fileDirceu Pereira Tiegs2015-10-192-0/+14
|/
* Add directory feature buttonStan Hu2015-10-071-0/+1
| | | | | | | | | | | | | | | | | | Change "+" icon under "Files" section to have three options: * Create file * Upload file * New directory Upload file is no longer accessible from the "Create file" page. Users can now select a target branch in upload file as well. Closes #2799: Fixes a bug where file modes were overwritten after a commit Closes https://github.com/gitlabhq/gitlabhq/issues/8253: Existing files can no longer be overwritten in the "Create file" section. Closes #2557
* Change the replace placeholder to use the filenamefix-upload-uiStan Hu2015-09-151-16/+31
| | | | | | | | | | | | | | Dynamically adjust placedholder for uploads and fix Dropzone event handlers Override error handler to prevent error messages from being inserted underneath image preview Fix tests Use regexp instead of startsWith for better browser compatibility Remove duplicate code in _replace.html.haml and use one template Remove files upon error and retain alert messages until user adds a new file
* Add "Replace" and "Upload" featuresliyakun2015-09-151-0/+52
| | | | | | | | | | | | | | | | Refactor upload and replace functionality Rename file and move CSS Fix typo Make dropzone a div Remove unnecessary file Change color of "upload existing one" Add missing changes
* Remove disableButtonIf[Any]EmptyField calls from formsRobert Speicher2015-06-262-2/+0
| | | | These have been replaced by the "requiresInput" behavior.
* Rename BlobView to LineHighlighterRobert Speicher2015-06-191-160/+0
|
* Use `pushState` instead of the temporary div hackRobert Speicher2015-06-191-36/+10
|
* Refactor and spec BlobView JSRobert Speicher2015-06-191-72/+185
|
* Fix line highlight being hidden by headerDmitriy Zaporozhets2015-03-101-1/+1
|
* Bugfix #1096unknown2015-03-042-2/+2
|
* Fixed few tests and improved css styleDmitriy Zaporozhets2015-01-262-0/+8
|
* Refactor web editorDmitriy Zaporozhets2015-01-263-0/+130