Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2016-01-20Merge branch 'feature/check-against-rbl-only' into 'master'Robert Speicher
Split from !2455 References #9092 See merge request !2515
2016-01-20Merge branch 'sentry-integration' into 'master' Robert Speicher
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
2016-01-20Merge branch 'issue_3749' into 'master' Douwe Maan
Update Issues/MRs updated_at field when notes are generated Closes #3749 and #9130 See merge request !2493
2016-01-20Add IP blocking against DNSBL at sign-upTomasz Maczukin
2016-01-20Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jeroen Nijhof
sentry-integration Conflicts: db/schema.rb
2016-01-20Fix broken specs.Rubén Dávila
2016-01-20Merge branch 'add_email_headers' into 'master' Robert Speicher
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
2016-01-19Merge branch 'user-ldap-email' into 'master' Robert Speicher
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
2016-01-19Merge branch 'add-public-param-to-project-api' into 'master' Dmitriy Zaporozhets
Add public params to GET /projects api. Closes #3788 See merge request !2409
2016-01-19Added X-GitLab-... headers to emails from CI and Email On Push servicesAnton Baklanov
Fixes #2098
2016-01-19Merge branch 'master' into user-ldap-emailDouwe Maan
# Conflicts: # db/schema.rb
2016-01-19Allow LDAP users to change their email if it was not set by the LDAP serverDouwe Maan
2016-01-19Fix creator should be added as a master of the project on creationDouglas Barbosa Alexandre
2016-01-19Add specs. Adjust filter.Josh Frye
2016-01-19Merge branch 'fix-consider-re-assign-as-a-mention'Douwe Maan
2016-01-18Update build artifacts metadata fixture to 0.0.2Grzegorz Bizon
2016-01-18Add sentry integrationJeroen Nijhof
2016-01-18Ensure Gravatar host looks like an actual hostRémy Coutable
2016-01-17Use a more sensible message for the AbuseReport uniqueness validationRobert Speicher
Previously it was "user has already been taken", when really we were saying the user has already been reported.
2016-01-15This will ensure previous assignee gets an email even if his notif level is ↵Rémy Coutable
"on mention"
2016-01-15Merge branch 'ci/build_dependencies' into 'master' Douwe Maan
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
2016-01-15Change dependencies.builds to depends_on_buildsKamil Trzcinski
2016-01-15Consider re-assign as a mention from a notification point of viewRémy Coutable
This will ensure new assignee gets an email even if his notif level is "on mention".
2016-01-14Merge branch 'master' into ci/api-triggersTomasz Maczukin
* master: (150 commits) fixes margin and padding Update mailroom/postfix documentation [ci skip] Fix css mess around git clone panel. Align it properly Fix missing padding for user/group pages Fix parse_gollum_tags matcher Update documentation on Banzai::Filter::GollumTagsFilter Add tests for the wiki pipeline Refactoring Banzai::Filter::GollumTagsFilter Make sure the .git is at the end on Gitlab::GithubImport::WikiFormatter Remove GollumTagsPipeline Refactoring Gitlab::GithubImport::Importer Remove unnecessary brackets on WIKI_SLUG_ID route constraints Move js function to removing accents to vendor/assets/javascripts Update CHANGELOG Use the WikiPipeline when rendering the wiki markdown content Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTML Relax constraints for wiki slug Import GitHub wiki into GitLab Move Ci::Build#available_statuses to AVAILABLE_STATUSES constant in CommitStatus Revert changes to how the notes are paginated in the API ... Conflicts: doc/api/README.md lib/api/entities.rb
2016-01-14Let the CI runner know about builds that this build depends onKamil Trzcinski
This allows us to implement artifacts passing: runner will download artifacts from all prior builds
2016-01-14Merge branch 'ci/api-builds' into 'master' Douwe Maan
Add builds API References #4264 See merge request !2207
2016-01-14Merge branch 'add-pagination-headers-to-api' into 'master' Dmitriy Zaporozhets
Add pagination headers to already paginated API resources Following #3045, I've added pagination headers using already available Kaminari methods. ## Pagination headers in action ![Screen_Shot_2016-01-14_at_12.14.53](/uploads/88807f754dd9aafbb24da85f6bdf9521/Screen_Shot_2016-01-14_at_12.14.53.png) --- I've also added a shared example to test paginated API resources. A possible next step would be to paginate all the API resources that return an array. See merge request !2426
2016-01-14Merge branch 'import-gh-wiki' into 'master' Douwe Maan
Import GitHub wiki into GitLab Closes #2834 GitHub doesn’t apply any constraints to theirs wiki slug allowing chars like ,, :, *, etc, we need to remove our constraints or some wiki pages will not be available after they are imported. Some wikis use the Gollum's tags to link its internal/external resources like: images, urls, wiki pages, etc. So, to avoid that wiki links/images displays completely broken after they were imported, we added a new `WikiPipeline`, that for now will parse only simple links, and image tags. ##### Before `WikiPipeline`: ![Screenshot_2016-01-11_20.14.48](/uploads/46fd5dbb5acfc70aa8ecca3050b675e4/Screenshot_2016-01-11_20.14.48.png) ##### After `WikiPipeline`: ![Screenshot_2016-01-11_20.15.56](/uploads/b1d94aa852f385f867a7868c358b4257/Screenshot_2016-01-11_20.15.56.png) See merge request !2324
2016-01-14Merge branch 'unsubscribe-from-thread-from-email-footer' into 'master' Douwe Maan
Unsubscribe from thread through link in email footer Closes #3437 ![Screenshot_from_2015-12-11_15-35-06](/uploads/cfb3d8737d4757f527995411f103d0ce/Screenshot_from_2015-12-11_15-35-06.png) ![Screenshot_from_2015-12-11_15-35-56](/uploads/9b7121be7ce4b05e5995ca6d38c5bea4/Screenshot_from_2015-12-11_15-35-56.png) See merge request !2068
2016-01-14Fix parse_gollum_tags matcherDouglas Barbosa Alexandre
2016-01-14Add tests for the wiki pipelineDouglas Barbosa Alexandre
2016-01-14Refactoring Banzai::Filter::GollumTagsFilterDouglas Barbosa Alexandre
2016-01-14Make sure the .git is at the end on Gitlab::GithubImport::WikiFormatterDouglas Barbosa Alexandre
2016-01-14Use the WikiPipeline when rendering the wiki markdown contentDouglas Barbosa Alexandre
2016-01-14Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTMLDouglas Barbosa Alexandre
2016-01-14Import GitHub wiki into GitLabDouglas Barbosa Alexandre
2016-01-14Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Rémy Coutable
add-pagination-headers-to-api
2016-01-14Merge branch 'ci/view-build-artifacts' into 'master' Grzegorz Bizon
Add browser for build artifacts Discussion in #3426, closes #3426. See merge request !2123
2016-01-14Merge branch 'master' into ci/api-buildsTomasz Maczukin
* master: (51 commits) Fix version Fix specs and rubocop warnings Improve the consistency of commit titles, branch names, tag names, issue/MR titles, on their respective project pages fixed LDAP activation on login to use new ldap_blocked state Fix Admin/Users view to position buttons without spacing magic Update to Go 1.5.3 Fix the undefinded variable error in Project's safe_import_url method Update CHANGELOG [ci skip] Add some cosmetic changes to variables API documentation [ci skip] Fix misaligned edit button in milestone collection partial Update button styles for Milestones#show Modify builds API documentation style [ci skip] Modify :ci_variable factory Ensure the API doesn't return notes that the current user shouldn't see Add 'Build' prefix to Variables entry name in API docs index Fix some typos Add spec for Note#cross_reference_not_visible_for? Remove (invalid) timestamp formatting Move `BroadcastMessage#status` to a helper since it's presentational Update CHANGELOG ... Conflicts: doc/api/README.md lib/api/api.rb lib/api/entities.rb
2016-01-14Merge branch 'master' into ci/api-triggersTomasz Maczukin
* master: Fix version Improve the consistency of commit titles, branch names, tag names, issue/MR titles, on their respective project pages Update CHANGELOG [ci skip] Add some cosmetic changes to variables API documentation [ci skip] Modify builds API documentation style [ci skip] Modify :ci_variable factory Add 'Build' prefix to Variables entry name in API docs index Fix some typos Add some fixes after review Remove blank line Update ./doc/api Change :variable_id to :key as resource ID in API Fix a typo in method description Add create feature to variables API Add missing 'not_found' checks in variables API Add delete feature to variables API Add update feature for variables API Add features for list and show details of variables in API Conflicts: doc/api/README.md lib/api/entities.rb
2016-01-14Use Hash to store paths and entries metadata in artifacts browserGrzegorz Bizon
2016-01-14Improve readability of artifacts `Metadata` related codeGrzegorz Bizon
2016-01-14Improve readability of artifacts browser `Entry` related codeGrzegorz Bizon
2016-01-14Refactor build artifacts upload API endpointGrzegorz Bizon
2016-01-14Update build artifacts APIGrzegorz Bizon
We do not want to allow runners to upload a metadata file. This needs to be generated by Workhorse only.
2016-01-14Modify artifacts upload API endpoint, add artifacts metadataGrzegorz Bizon
2016-01-14Fix specs for artifacts metadata after changing fixture contentGrzegorz Bizon
2016-01-14Support only valid UTF-8 paths in build artifacts browserGrzegorz Bizon
2016-01-14Update build model specsGrzegorz Bizon
2016-01-14Render only valid paths in artifacts metadataGrzegorz Bizon
In this version we will support only relative paths in artifacts metadata. Support for absolute paths will be introduced later.