summaryrefslogtreecommitdiff
path: root/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Introduce deploy command that allows to start deployment from one ↵chatops-deploy-commandKamil Trzcinski2016-11-212-5/+16
| | | | environment to second one
* Add deploy chat command [ci skip]Kamil Trzcinski2016-11-212-0/+39
|
* Merge branch 'fix/require-build-script-configuration-entry' into 'master' issues-copyKamil Trzciński2016-11-193-24/+51
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make job script a required configuration entry ## What does this MR do? This MR makes a job script a required configuration entry. ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - Tests - [x] Added for this feature/bug - [x] All builds are passing ## What are the relevant issue numbers? Closes #24575 See merge request !7566
| * Remove CI config helper with same name as an entryGrzegorz Bizon2016-11-182-8/+35
| |
| * Make CI job script a required configuration entryGrzegorz Bizon2016-11-181-16/+16
| |
* | Merge branch 'feature/precalculate-authorized-projects' into 'master' Douwe Maan2016-11-181-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Precalculate authorized projects in database ## What does this MR do? It caches user's authorized projects in database instead of using multiple unions, which should simplify and speed-up things since this operation (getting authorized projects) is used a lot. ## Are there points in the code the reviewer needs to double check? Did we miss a scenario where we need to refresh the list of projects? ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~ - [ ] ~~API support added~~ - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? #23150 See merge request !6839
| * | Precalculate user's authorized projects in databaseAhmad Sherif2016-11-181-0/+7
| | | | | | | | | | | | Closes #23150
* | | Merge branch 'zj-slash-commands-mattermost' into 'master' Kamil Trzciński2016-11-185-0/+168
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Slash command for mattermost Closes #22540 ## Does this MR meet the acceptance criteria? - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) See merge request !7438
| * | | Improve style, add more testsZ.J. van de Weg2016-11-181-3/+3
| | | |
| * | | Merge remote-tracking branch 'origin/master' into zj-slash-commands-mattermostZ.J. van de Weg2016-11-172-1/+2
| |\ \ \
| * | | | More refactoring, push present to base commandZ.J. van de Weg2016-11-174-25/+31
| | | | |
| * | | | Add tests for increased converageZ.J. van de Weg2016-11-174-15/+17
| | | | |
| * | | | Remove some commands for nowZ.J. van de Weg2016-11-176-73/+5
| | | | |
| * | | | Incorporate feedback, improve presenter classZ.J. van de Weg2016-11-176-15/+21
| | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | Rename from service, and move to lib/gitlabZ.J. van de Weg2016-11-179-0/+222
| | | | |
| * | | | Add most of specs for chat namesKamil Trzcinski2016-11-171-1/+1
| | | | |
| * | | | Create relation between chat user and GitLab user and allow to authorize ↵Kamil Trzcinski2016-11-171-0/+45
| | | | | | | | | | | | | | | | | | | | them [ci skip]
* | | | | Merge branch 'bugfix/html-only-mail' into 'master' Douwe Maan2016-11-182-6/+47
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add parsing support for incoming html email ## What does this MR do? Fixes #18388 by adding support for parsing HTML email ## Are there points in the code the reviewer needs to double check? The new class, Gitlab::Email::HTMLParser, which needs to translate the HTML content to text and also delete replies, as they are not necessarily in the correct format to be caught by EmailReplyParser. The solution I found that should work for any HTML-formatted email is to remove all `<table>` and `<blockquote>` tags. Actual `<table>` elements (to be interpreted by markdown) should already be encoded with e.g. `&lt;table&gt;` - the only failure mode is if there is an *actual* HTML table in the content itself, which we wouldn't be able to support easily anyways. The gem `html2text` traverses the HTML tree and outputs text - and markdown in the case of HTML links or images. See merge request !7397
| * | | | | fix indentation for rubocophttp://jneen.net/2016-11-171-3/+3
| | | | | |
| * | | | | rename `part` variable and guard against nil content_typehttp://jneen.net/2016-11-171-7/+5
| | | | | |
| * | | | | completely remove blockquote and table tagshttp://jneen.net/2016-11-171-2/+2
| | | | | |
| * | | | | use Nokogiri::HTML.parse instead of capitalized methodhttp://jneen.net/2016-11-171-1/+1
| | | | | |
| * | | | | fix rubocop failureshttp://jneen.net/2016-11-171-1/+4
| | | | | |
| * | | | | add parsing support for incoming html emailhttp://jneen.net/2016-11-172-5/+45
| |/ / / /
* | | | | Merge branch 'feature/cycle-analytics-events' into 'master' Douwe Maan2016-11-1816-12/+487
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cycle Analytics: Events per stage Adds list of events to each stage: - Issue: list of issues created in the last XX days, that have been labeled or added to a milestone. - Plan: list of commits that reference for the fist time an issue from the last stage. - Code: list of MR created in this stage - Test: List of unique builds triggered by the commits. - Review: List of MR merged - Staging: List of deployed builds - Production: list of issues with the time from idea to production Fixes #23449 - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !6859
| * | | | refactored updater and updated specsJames Lopez2016-11-185-27/+9
| | | | |
| * | | | added new build updater, specs and refactored allowed_idsJames Lopez2016-11-1810-40/+75
| | | | |
| * | | | refactor eventsJames Lopez2016-11-181-17/+3
| | | | |
| * | | | fix blank state errorJames Lopez2016-11-171-1/+3
| | | | |
| * | | | preload ids or objects for users, merge request and issuesJames Lopez2016-11-176-19/+56
| | | | |
| * | | | more refactoring and added some auth checksJames Lopez2016-11-1711-124/+161
| | | | |
| * | | | fix typo in error messageJames Lopez2016-11-171-1/+1
| | | | |
| * | | | remove class no longer requiredJames Lopez2016-11-171-13/+0
| | | | |
| * | | | fix integration specJames Lopez2016-11-171-1/+1
| | | | |
| * | | | fix specsJames Lopez2016-11-174-5/+5
| | | | |
| * | | | refactor events facade so it uses separate classes and refactor query stuffJames Lopez2016-11-1716-136/+196
| | | | |
| * | | | fix date issue with mySQL onlyJames Lopez2016-11-171-1/+1
| | | | |
| * | | | small refactor - removing includes no longer neededJames Lopez2016-11-171-2/+0
| | | | |
| * | | | Refactor all query config stuff into separate classes and added specsJames Lopez2016-11-1711-121/+136
| | | | |
| * | | | fix issue with commits and also updated routesJames Lopez2016-11-172-6/+15
| | | | |
| * | | | get rid of light url builder and fix wrong specJames Lopez2016-11-171-67/+0
| | | | |
| * | | | Renamed pipeline column and fixed permissions for builds in events controllerJames Lopez2016-11-171-1/+1
| | | | |
| * | | | serialize all the things!James Lopez2016-11-171-20/+11
| | | | |
| * | | | get all stages to use serlalizers - apart from plan - WIPJames Lopez2016-11-172-3/+3
| | | | |
| * | | | fix issue events and related spec - now using generic serializer for a hashJames Lopez2016-11-171-4/+4
| | | | |
| * | | | use request to pass extra parametersJames Lopez2016-11-171-2/+2
| | | | |
| * | | | WIP - refactor events to use a generic build entity for some of the hybrid ↵James Lopez2016-11-173-32/+8
| | | | | | | | | | | | | | | | | | | | events
| * | | | WIP - refactored events to use build serializer, related spec passingJames Lopez2016-11-171-3/+3
| | | | |
| * | | | WIP - refactoring URL builder and events presenter into serializersJames Lopez2016-11-172-10/+3
| | | | |
| * | | | fix iid issue making spec to fail - MySQL onlyJames Lopez2016-11-171-1/+1
| | | | |