summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mr-merge-base' into 'master'Robert Speicher2016-01-315-21/+22
| | | | | | | | Correctly determine MR diff base when MR has merge conflicts Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12779 See merge request !2632
* Merge branch 'highlight-blame' into 'master' Robert Speicher2016-01-312-29/+5
| | | | | Fix highlighting in blame view. See merge request !2630
* Merge branch 'fix/commit-status-artifacts' into 'master' Kamil Trzciński2016-01-271-1/+1
| | | | | | | Use generic method to checks if artifacts are available Closes #12626 See merge request !2576
* Merge branch 'diff-colors' into 'master' Robert Speicher2016-01-274-8/+8
| | | | | | | | | Increase contrast between highlighted code comments and inline diff marker. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12737. It was especially bad in Monokai, better now. See merge request !2629
* Merge branch 'bug/jschatz1/file-browser-lines' into 'master' Dmitriy Zaporozhets2016-01-263-3/+2
| | | | | | | | | | Bug/jschatz1/file browser lines Fixes #12725 ![Screen_Shot_2016-01-26_at_11.19.39_AM](/uploads/c5f5a143926600e02de4cfc0687ed8dd/Screen_Shot_2016-01-26_at_11.19.39_AM.png) See merge request !2615
* Merge branch 'update-gitlab-git' into 'master'Douwe Maan2016-01-261-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
* Merge branch 'fix-import-redirect-loop' into 'master' Robert Speicher2016-01-251-5/+15
| | | | | | | Fix import redirect loop Fixes #11864 See merge request !2606
* 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
* 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
* Merge branch 'diff-highlight-themes' into 'master' Robert Speicher2016-01-2221-268/+237
| | | | | | | Diff highlight themes Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12484 See merge request !2530
* 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
* Merge branch 'fix-mr-diff-edit-button' into 'master' Robert Speicher2016-01-214-29/+27
| | | | | | | Fix MR diff 'Edit' button It now works and has the right size. See merge request !2542
* Merge branch 'fix-diff-comments' into 'master' Robert Speicher2016-01-211-1/+2
| | | | | More highlighted diff fixes See merge request !2545
* Merge branch 'unescaped-diffs' into 'master' Robert Speicher2016-01-212-3/+9
| | | | | | | Make sure non-highlighted diffs are still escaped Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12521 See merge request !2544
* 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
* Merge branch 'fix/artifacts-download-progress-bar' into 'master' Grzegorz Bizon2016-01-213-10/+17
| | | | | | | Do not use progress bar when downloading build artifacts Closes #12491 See merge request !2531
* Merge branch 'fix-permissions' into 'master' Robert Speicher2016-01-2125-0/+0
| | | | | | | Remove execution permissions from font assets [ci skip] See merge request !2082
* Merge branch 'fix-project-creation' into 'master' Robert Speicher2016-01-202-2/+7
| | | | | | | | | | | Creator should be added as a master of the project on creation Fixes #4222 This also enable a project creator to add themselves as a master of the project for existing repositories that were created in the meanwhile that they don't appear as members. See merge request !2520
* Merge branch 'issue_3945' into 'master'Robert Speicher2016-01-2026-131/+184
| | | | | | | | Add syntax highlighting to diff view Closes #3945 See merge request !2109
* Merge branch 'feature/check-against-rbl-only' into 'master'Robert Speicher2016-01-204-0/+25
| | | | | | | | Split from !2455 References #9092 See merge request !2515
* Merge branch 'sentry-integration' into 'master' Robert Speicher2016-01-204-1/+39
| | | | | | | | | | | Add sentry integration Sentry is an event logging platform primarily focused on capturing and aggregating exceptions. With this MR it will be possible to log and track exceptions from GitLab to Sentry. https://gitlab.com/gitlab-com/operations/issues/39 See merge request !2485
* 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
* Merge branch 'secret-shortcut-feature' into 'master' Dmitriy Zaporozhets2016-01-205-6/+5
| | | | | | | Adds "t" as a shortcut for find file anywhere See merge request !2507
* Merge branch 'ci/artifacts-remove-compressed-size' into 'master' Douwe Maan2016-01-203-4/+0
| | | | | | | Remove `Compressed to` column from build artifacts browser See #10982. See merge request !2509
* Merge branch 'add_email_headers' into 'master' Robert Speicher2016-01-193-7/+27
| | | | | | | | | | | | | | | | | Added X-GitLab-... headers to emails from CI and Email On Push services Fixes #2098 This adds the 'X-GitLab-Project', 'X-GitLab-Project-Id' and 'X-GitLab-Project-Path' headers to emails from CI and Email On Push in a way that it is done currently for merge requests and issues emails. Additionally, CI emails will have 'X-GitLab-Build-Status' header with either 'fail' or 'success'. Emails from Email On Push will include 'X-Gitlab-Author' header containing the username of user who did the push. See merge request !2159
* Merge branch 'star-button-fork-count-increase' into 'master' Dmitriy Zaporozhets2016-01-191-2/+2
| | | | | | | | | | | | | Starring project only increases star count This is instead of increasing star & fork count Fixes #11396 ![star-count](/uploads/9a1d569393bc051d1a019f0340eec957/star-count.gif) cc. @jschatz1 See merge request !2504
* Merge branch 'user-ldap-email' into 'master' Robert Speicher2016-01-192-3/+6
| | | | | | | | Allow LDAP users to change their email if it was not set by the LDAP server Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3054 See merge request !2502
* Merge branch 'fix/artifacts-double-propagation' into 'master' Grzegorz Bizon2016-01-191-1/+5
| | | | | | | Fix double request issue in artifacts browser This fixed problem with double propagation when clicking a link that lies inside tr with clicked event attached. See merge request !2496
* Merge branch 'fix-consider-re-assign-as-a-mention'Douwe Maan2016-01-191-8/+13
|
* Merge branch 'fix-project-creation' into 'master' Douwe Maan2016-01-191-1/+1
| | | | | | | Creator should be added as a master of the project on creation Fixes: #4222 See merge request !2463
* Merge branch 'improve-project-external-issue-trackers' into 'master' Douwe Maan2016-01-195-20/+16
| | | | | | | Greatly improve external_issue_tracker performance See 3d41133d48f6522b8755bb91b804864e8e520871 for all the details. As an aside, this commit contains a set of migrations that will introduce downtime as they add a column with a default value which in turn locks the entire table (at least on PostgreSQL). See merge request !2498
* Merge branch 'browse-issues-incorrect-positioning-in-firefox-on-commit-page' ↵Dmitriy Zaporozhets2016-01-181-0/+4
| | | | | | | | | | | | | | | | | | | into 'master' Fix positioning issues with browse files button Issue is that in Firefox clipboard is blocking the browse files from moving all the way to the right. Move clipboard up 1px into -1px to unblock "browse files" SS from firefox: ![Screen_Shot_2016-01-18_at_4.01.58_PM](/uploads/312a5f1e55ca707081f718e2413416fb/Screen_Shot_2016-01-18_at_4.01.58_PM.png) Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/10849 See merge request !2489
* Merge branch 'sorting-dropdown-does-not-fit-filter-bar' into 'master' Dmitriy Zaporozhets2016-01-181-1/+1
| | | | | | | | | Reduce margin to fit dropdowns ![Screen_Shot_2016-01-18_at_7.51.23_PM](/uploads/03336f86fde25d6d045742297a19751c/Screen_Shot_2016-01-18_at_7.51.23_PM.png) Fixes #10747 See merge request !2492
* Merge branch 'ux/improve-artifacts-browser' into 'master' Grzegorz Bizon2016-01-183-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | Improve UX in build artifacts browser This improves UX in build artifacts browser, and makes it more consistent with repository tree browser we already have. --- Before: ![ux_artifacts_before](/uploads/9869ff74afd5e6636f0df81c7823fb6f/ux_artifacts_before.png) --- After: ![ux_artifacts_after](/uploads/cdb68925f4489bb852fd701870e6d6a0/ux_artifacts_after.png) --- It is easier to click on a file/directory entry now, because we don't need to click on a entry's basename (that can be really short, like `..` parent directory). We also show `Compressed to` size that indicates how much storage does this entry really consume. Row for an entry is also highlighted on hover and we do not have Download button (clicking on a file row / file basename is enough to download a file). Closes #10242 See merge request !2477
* 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
* Merge branch 'comment-text-remains-in-text-box-after-submitting-it' into ↵Dmitriy Zaporozhets2016-01-171-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
* Merge branch 'issue-page-keeps-jumping-up' into 'master' Dmitriy Zaporozhets2016-01-173-1/+36
| | | | | | | 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
* Merge branch 'abuse-autofill-message' into 'master' Robert Speicher2016-01-163-2/+3
| | | | | Autofill abuse message text with user url. Closes #2838 See merge request !2396
* Merge branch 'fix-autocomplete-new-issues' into 'master' Robert Speicher2016-01-153-2/+3
| | | | | | | Fix autocomplete for new issues/MRs/snippets Fixes gitlab-org/gitlab-ce#8067 See merge request !2446
* Merge branch 'fix-alignment-issue' into 'master' Jacob Schatz2016-01-1510-23/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix alignment issues after a fix on titles weight Fixes #8102. Fixes #3956. This fixes an alignment regression introduced by !2422. Sorry about that! :/ ## Commit title alignment fixed ![Screen_Shot_2016-01-14_at_16.10.01](/uploads/8fdc08dca379bc551f5872de910c7149/Screen_Shot_2016-01-14_at_16.10.01.png) **The fact that the first row has a smaller height than the other rows was not introduced by !2422 (I've checked by reverting 818607f0 on `master`).** ## Tags name in list ![Screen_Shot_2016-01-14_at_16.10.09](/uploads/fba3978037677bb8855f374b5f38dde0/Screen_Shot_2016-01-14_at_16.10.09.png) See merge request !2431
| * Replace strong by span for .item-title elementsfix-alignment-issueRémy Coutable2016-01-155-6/+6
| |
| * Remove unnecessary classRémy Coutable2016-01-151-4/+0
| |
| * Streamline item titles to use a single class, and add back strong tagsRémy Coutable2016-01-159-20/+12
| |
| * Fix alignment issues after a fix on titles weightRémy Coutable2016-01-144-7/+6
| |
* | Merge branch 'ci/build_dependencies' into 'master' Douwe Maan2016-01-152-0/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let the CI runner know about builds that this build depends on This allows us to implement artifacts passing: runner will download artifacts from all prior builds. It will happen automatically, and always, as long as artifacts are enabled. ## The changes: This MR exposes list of prior builds in CI::API::Builds. **The API response when asking for builds** ```json { "id": 48584, "ref": "0.1.1", "tag": true, "sha": "d63117656af6ff57d99e50cc270f854691f335ad", "status": "success", "name": "pages", "token": "9dd60b4f1a439d1765357446c1084c", "stage": "test", "project_id": 479, "project_name": "test", "commands": "echo commands", "repo_url": "http://gitlab-ci-token:token@gitlab.example/group/test.git", "before_sha": "0000000000000000000000000000000000000000", "allow_git_fetch": false, "options": { "image": "docker:image", "artifacts": { "paths": [ "public" ] }, "cache": { "paths": [ "vendor" ] } }, "timeout": 3600, "variables": [ { "key": "CI_BUILD_TAG", "value": "0.1.1", "public": true } ], "dependencies": { "builds": [ { "id": 48584, "ref": "0.1.1", "tag": true, "sha": "d63117656af6ff57d99e50cc270f854691f335ad", "status": "success", "name": "build", "token": "9dd60b4f1a439d1765357446c1084c", "stage": "build", "project_id": 479, "project_name": "test", "artifacts_file": { "filename": "artifacts.zip", "size": 0 } } ] } } ``` ## How it will work? **Example:** ``` build: type: build script: - echo TEST > test_file artifacts: untracked: true rspec: type: test script: - test-my-project staging: type: deploy script: - scp test_file root@server.com: ``` **The flow:** 1. We run `build`. The `build` creates a file `test_file`. This file gets archived and send us build artifacts. 2. We run `rspec`. The `rspec` downloads build artifacts from `build`. Uses the `test_file`. 3. We run `staging`. The `staging` downloads build artifacts from `build` and `rspec`, but since the `rspec` doesn't have build artifacts we skip that build. Deploys the `test_file`. This partially implements the https://gitlab.com/gitlab-org/gitlab-ce/issues/3423. In the next release we will introduce option to configure what artifacts are received. /cc @grzesiek @DouweM @sytse @rspeicher See merge request !2437
| * | Let the CI runner know about builds that this build depends onci/build_dependenciesKamil Trzcinski2016-01-142-0/+12
| | | | | | | | | | | | This allows us to implement artifacts passing: runner will download artifacts from all prior builds
* | | Merge branch 'feature/allow-artifacts-for-reporters' into 'master' Douwe Maan2016-01-154-5/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow access to artifacts for users with reporter role This is originally introduced by @ajohnsn in this merge request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2259 I've added and refactored specs, original commit by @ajohnsn has been cherry picked here. See merge request !2448
| * | | Fix nonexistent method in artifacts controllerGrzegorz Bizon2016-01-151-1/+1
| | | |
| * | | Give reporters the ability to download artifacts.Andrew Johnson2016-01-153-4/+4
| | | | | | | | | | | | | | | | Also fix a few places where page_404 should be render_404.
* | | | Merge branch 'issue_7975' into 'master' Drew Blessing2016-01-151-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Consider that URL can end with '/' before redirecting. Closes #7975 See merge request !2416