summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Use Atom update times of the first eventevents-performanceYorick Peterse2016-01-276-13/+5
| | | | | | | | | By simply loading the first event from the already sorted set we save ourselves extra (slow) queries just to get the latest update timestamp. This removes the need for Event.latest_update_time and significantly reduces the time needed to build an Atom feed. Fixes gitlab-org/gitlab-ce#12415
* Don't pluck project IDs for eventsYorick Peterse2016-01-265-10/+12
| | | | | By instead using a sub-query we save ourselves the overhead of loading any data into memory only to pass it on to another query.
* Merge branch 'fix-import-redirect-loop' into 'master' Robert Speicher2016-01-261-5/+15
|\ | | | | | | | | | | | | Fix import redirect loop Fixes #11864 See merge request !2606
| * Fixi import redirect loopDouglas Barbosa Alexandre2016-01-251-5/+15
| |
* | Merge branch 'note-highlighting' into 'master' Robert Speicher2016-01-2516-64/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2516-64/+34
| | |
* | | Merge branch 'prioritize-previewable-over-plain-readmes' into 'master' Robert Speicher2016-01-251-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Prioritize previewable over plain README files Fixes #12441 See merge request !2521
| * | | Prioritize previewable over plain README filesprioritize-previewable-over-plain-readmesDouglas Barbosa Alexandre2016-01-251-4/+12
| |/ /
* | | Substituted deprecated forum link with project issues link. [ci skip]Jose Torres2016-01-251-3/+3
| |/ |/|
* | Merge branch 'top-search-colors-and-element-position-is-not-like-in-design' ↵Jacob Schatz2016-01-257-19/+49
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into 'master' Adds base64 background search icon. 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`. A text and icon placeholder in the center of the input that disappears when typed is only possible with javascript. If you just want the icon or just the text it can be done with css alone. If you want the icon/text justified left, then the search magnifier does not have to disappear. Fixes #11870 cc @skyruler @creamzy ![searchinput](/uploads/136ab91d4ff9ce717979d0ce1a23ab03/searchinput.gif) See merge request !2546
| * Border radius to vars.top-search-colors-and-element-position-is-not-like-in-designJacob Schatz2016-01-242-6/+10
| | | | | | | | Only top search is gray.
| * Distinguishes between search inputs.Jacob Schatz2016-01-242-7/+7
| | | | | | | | Main search input has different styles than secondary search inputs.
| * Removes extra spacesJacob Schatz2016-01-241-2/+0
| |
| * Make base64 image smaller by 5000 characters.Jacob Schatz2016-01-241-2/+1
| |
| * Adds base64 background search icon.Jacob Schatz2016-01-246-14/+43
| | | | | | | | | | | | | | | | | | 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 'update-gitlab-git' into 'master' Douwe Maan2016-01-251-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | Update gitlab_git & use new method for counting branches Corresponding gitlab_git merge request detailing some of the rationale behind this: https://gitlab.com/gitlab-org/gitlab_git/merge_requests/62 Fixes #12418 See merge request !2535
| * Use branch_count in Repository#has_visible_content?Yorick Peterse2016-01-211-1/+1
| | | | | | | | | | Gitlab::Git::Repository#branch_count is a tad faster than the previous setup. See gitlab-org/gitlab_git!62 for more information.
* | 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 'ignore-binary-files-in-git-grep' into 'master' Dmitriy Zaporozhets2016-01-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore binary files in code search to prevent Error 500 Leaving out the -I option in "git grep" would cause an Error 500 because the resulting line would include "Binary file X matches", which would cause the project search results to crash with the following error: ``` ActionView::Template::Error (wrong argument type nil (expected Regexp)): 1: - blob = @project.repository.parse_search_result(blob) 2: .blob-result 3: .file-holder 4: .file-title app/models/repository.rb:742:in `sub' app/models/repository.rb:742:in `block in parse_search_result_from_grep' app/models/repository.rb:741:in `each_line' app/models/repository.rb:741:in `parse_search_result_from_grep' app/models/repository.rb:682:in `parse_search_result' app/views/search/results/_blob.html.haml:1:in `_app_views_search_results__blob_html_haml__1959871337755590783_162450160' app/views/search/_results.html.haml:20:in `_app_views_search__results_html_haml__2198486911700532411_58329920' app/views/search/show.html.haml:7:in `_app_views_search_show_html_haml___1698304427272645201_62235300' ``` See merge request !2565
| * | | Ignore binary files in code search to prevent Error 500Stan Hu2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | Leaving out the -I option in "git grep" would cause an Error 500 because the resulting line would include "Binary file X matches"
* | | | Merge branch 'issuable-white-bg' into 'master' Jacob Schatz2016-01-236-14/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove gray background from issue/mr/milestone background Fixes #6062 Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @skyruler @creamzy See merge request !2573
| * | | | Remove gray background from issue/mr/milestone backgroundissuable-white-bgDmitriy Zaporozhets2016-01-226-14/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | Fix UI for pages with panelsfix-ui-paddingDmitriy Zaporozhets2016-01-2211-31/+16
|/ / / / | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Merge branch 'issue_2239' into 'master' Dmitriy Zaporozhets2016-01-221-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a link for fetching merge requests from command line instructions Closes #2239 See merge request !2540
| * | | | Add link for checkout MRs info.issue_2239Rubén Dávila2016-01-211-0/+4
| | | | |
* | | | | Merge branch 'solarized-dark-old-lines' into 'master' Robert Speicher2016-01-221-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make deleted line background color for Solarized Dark a little darker The difference is very slight, and I don't even _use_ Solarized Dark, but this annoyed me. See merge request !2563
| * | | | | Make old line background color for Solarized Dark a little more clearsolarized-dark-old-linesDouwe Maan2016-01-221-1/+1
| | |/ / / | |/| | |
* | | | | Merge branch 'es_backport' into 'master' Dmitriy Zaporozhets2016-01-224-0/+81
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport some changes from EE See merge request !2548
| * | | | | Backport some changes from EEes_backportValery Sizov2016-01-224-0/+81
| |/ / / /
* | | | | Merge branch 'fix-comment-on-diff-ajax-loading'Dmitriy Zaporozhets2016-01-226-52/+69
|\ \ \ \ \
| * | | | | 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-2025-34/+126
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | fix-comment-on-diff-ajax-loading
| * | | | | Address some JS coding-style and HTML semantic issuesRémy Coutable2016-01-205-32/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-192-37/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge branch 'fix-error-500-mr-search' into 'master' Dmitriy Zaporozhets2016-01-221-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Error 500 when doing a search for merge requests Potential fix for #11547 See merge request !2525
| * | | | | Fix Error 500 when doing a search for merge requestsStan Hu2016-01-201-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Potential fix for #11547
* | | | | Merge branch 'fix-mr-diff-edit-button' into 'master' Robert Speicher2016-01-224-29/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix MR diff 'Edit' button It now works and has the right size. See merge request !2542
| * | | | | Fix MR diff 'Edit' buttonfix-mr-diff-edit-buttonDouwe Maan2016-01-214-29/+27
| | | | | |
* | | | | | Merge branch 'fix-diff-comments' into 'master' Robert Speicher2016-01-221-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | More highlighted diff fixes See merge request !2545
| * | | | | | Restore diff commentsDouwe Maan2016-01-221-1/+2
| |/ / / / /
* | | | | | Merge branch 'unescaped-diffs' into 'master' Robert Speicher2016-01-222-3/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure non-highlighted diffs are still escaped Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12521 See merge request !2544
| * | | | | | Make sure non-highlighted diffs are still escapedunescaped-diffsDouwe Maan2016-01-222-3/+9
| |/ / / / /
* | | | | | Merge branch 'ci/recursive-artifacts-entries' into 'master' Robert Speicher2016-01-212-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add method to calculate total size of artifacts in subpath See merge request !2500
| * | | | | | Add method that calculates total size for artifacts subfolderci/recursive-artifacts-entriesKamil Trzcinski2016-01-202-5/+5
| | | | | | |
* | | | | | | Merge branch 'diff-highlight-themes' into 'master' Robert Speicher2016-01-2121-268/+237
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Diff highlight themes Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12484 See merge request !2530