summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make email handler clearerRiccardo Padovani2018-04-091-0/+24
|
* Use proper auth_scope for deploy tokenKamil Trzciński2018-04-071-2/+2
|
* Handle limit for datetime attributes on MySQLMayra Cabrera2018-04-061-0/+21
| | | | | | | | | | | The TIMESTAMP data type is used for values that contain both date and time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC. A Forever lib class was included to handle future dates for PostgreSQL and MySQL, also changes were made to DeployToken to enforce Forever.date Also removes extra conditional from JwtController
* Increase test suite around deploy tokens behaviorMayra Cabrera2018-04-063-46/+97
| | | | Also, fixes broken specs
* Fixes broken schema and minor changesMayra Cabrera2018-04-061-1/+1
|
* Include ProjectDeployTokensMayra Cabrera2018-04-062-21/+6
| | | | | | Also: - Changes scopes from serializer to use boolean columns - Fixes broken specs
* Support Deploy Tokens properly without hacking abilitiesKamil Trzciński2018-04-061-3/+3
|
* Addreses backend review suggestionsMayra Cabrera2018-04-061-5/+5
| | | | | | - Remove extra method for authorize_admin_project - Ensure project presence - Rename 'read_repo' to 'read_repository' to be more verbose
* Removes logic from Jwt and handle different scenarios on Gitlab::AuthMayra Cabrera2018-04-061-52/+99
| | | | | | | - When using 'read_repo' password and project are sent, so we used both of them to fetch for the token - When using 'read_registry' only the password is sent, so we only use that for fetching the token
* Implement read_registry for DeployTokensMayra Cabrera2018-04-061-8/+29
|
* Implement 'read_repo' for DeployTokensMayra Cabrera2018-04-062-3/+81
| | | | This will allow to download a repo using the token from the DeployToken
* Create barebones for DeploytokenMayra Cabrera2018-04-061-0/+1
| | | | | | | | | | Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
* Merge branch '42568-pipeline-empty-state' into 'master'Kamil Trzciński2018-04-0611-9/+257
|\ | | | | | | | | | | | | Resolve "Wrong empty state for cancelled build, hides existing logs!" Closes #42568 See merge request gitlab-org/gitlab-ce!17646
| * Merge branch 'master' into '42568-pipeline-empty-state'Kamil Trzciński2018-04-0630-79/+1141
| |\ | | | | | | | | | | | | # Conflicts: # app/views/projects/jobs/show.html.haml # lib/gitlab/ci/status/core.rb
| * | Rename success to erased empty state specMatija Čupić2018-04-052-19/+28
| | |
| * | Fix job setup in success empty state specsMatija Čupić2018-04-042-6/+8
| | |
| * | Add success CI Build empty state statusMatija Čupić2018-04-042-0/+49
| | |
| * | [ci skip] Merge branch 'master' into 42568-pipeline-empty-stateFilipa Lacerda2018-04-0438-169/+741
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (293 commits) Revert changelog entry for removed feature Revert "Allow CI/CD Jobs being grouped on version strings" Resolve "Protected branches count is wrong when a wildcard includes several protected branches" Use standard codequality job Resolve "Allow the configuration of a project's merge method via the API" [Rails5] Rename `sort` methods to `sort_by_attribute` Add better LDAP connection handling Updated components to PascalCase Handle invalid params when trying update_username Move network related app settings to expandable blocks [Rails5] Update Gemfile.rails5.lock [ci skip] Update Security Products examples documentation Backport Gitlab::Git::Checksum to CE Add changelog Refactor discussions/notes code Remove unnecessary section looking in admin settings qa Explicitly use page context for qa/factory/settings/hashed_storage.rb Use gitlab_environment because we need: Allow feature gate removal through the API Use shard name in Git::GitlabProjects instead of shard path ...
| * | | Add specs for empty states .matches? methodsMatija Čupić2018-03-295-1/+110
| | | |
| * | | Move action button titles to respective statusesMatija Čupić2018-03-295-1/+17
| | | |
| * | | Merge branch 'master' into 42568-pipeline-empty-stateMatija Čupić2018-03-2842-800/+1556
| |\ \ \
| * | | | Move the empty state extended status to be the beginningMatija Čupić2018-03-281-8/+10
| | | | |
| * | | | Fix tests for build empty state statusesMatija Čupić2018-03-2810-20/+57
| | | | |
| * | | | Extend Gitlab::Ci::Status#illustration to include metadataMatija Čupić2018-03-266-9/+9
| | | | |
| * | | | Add illustrations to build statusesMatija Čupić2018-03-246-0/+24
| | | | |
* | | | | Merge branch 'da-gitaly-calculate-repository-checksum' into 'master'Stan Hu2018-04-063-38/+60
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Repository checksum calculation is handled by Gitaly when feature is enabled See merge request gitlab-org/gitlab-ce!18210
| * | | | | Move checksum calculation to Gitlab::Git::Repositoryda-gitaly-calculate-repository-checksumDouglas Barbosa Alexandre2018-04-062-49/+49
| | | | | |
| * | | | | Checksum calculation is handled by Gitaly when feature is enabledDouglas Barbosa Alexandre2018-04-061-20/+31
| | | | | |
| * | | | | Add calculate_checksum method to the Gitaly repository clientDouglas Barbosa Alexandre2018-04-061-0/+11
| | | | | |
* | | | | | Merge branch '17939-osw-patch-support-gfm' into 'master'Sean McGivern2018-04-061-0/+31
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for patch link extension for commit links on GFM Closes #17939 See merge request gitlab-org/gitlab-ce!18229
| * | | | | Add support for patch link extension for commit links on GFMOswaldo Ferreira2018-04-061-0/+31
| | | | | |
* | | | | | Merge branch 'sh-add-cleanup-rpc-gitaly' into 'master'Sean McGivern2018-04-063-0/+57
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically cleanup stale worktrees and lock files upon a push Closes #44115 See merge request gitlab-org/gitlab-ce!18095
| * | | | | | Automatically cleanup stale worktrees and lock files upon a pushStan Hu2018-04-063-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git 2.16 will fail badly if there are stale worktrees. Closes #44115
* | | | | | | Extend API for importing a project export with overwrite supportFrancisco Javier López2018-04-061-1/+41
|/ / / / / /
* | | | | | Merge branch 'jramsay-38830-tarball' into 'master'Douwe Maan2018-04-062-8/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add alternative archive route Closes #38830 See merge request gitlab-org/gitlab-ce!17225
| * | | | | | Add new repository archive routeJames Ramsay2018-04-062-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add `<project>/-/archive/<ref>/<filename>.<format>` route using the `-` separator to prevent namespace collisions. If the filename is `<project>-<ref>` or the ref is a sha, the sha will be omitted, otherwise the default filename will be used. - deprecate previous archive route `repository/<ref>/archive`
| * | | | | | Add option to suppress archive commit shaJames Ramsay2018-04-041-2/+8
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repository archives are always named `<project>-<ref>-<sha>` even if the ref is a commit. A consequence of always including the sha even for tags is that packaging a release is more difficult because both the ref and sha must be known by the packager. - add append_sha option (defaults true) to provide a method for toggling this feature. Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
* | | | | | [Rails5] Update `type_cast_*_database` methodsblackst0ne2018-04-061-4/+4
| |_|_|_|/ |/| | | |
* | | | | Resolve "Show `failure_reason` and upgrade tooltips of jobs"Mayra Cabrera2018-04-0510-4/+292
| | | | |
* | | | | Merge branch 'direct-upload-of-artifacts' into 'master'Grzegorz Bizon2018-04-052-60/+116
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Direct upload of artifacts See merge request gitlab-org/gitlab-ce!18160
| * | | | | Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-0/+116
| | | | | |
| * | | | | Remove artifacts_file/metadata from project exportKamil Trzciński2018-04-051-60/+0
| |/ / / /
* | | | | Merge branch '44389-always-allow-http-for-ci-git-operations' into 'master'Kamil Trzciński2018-04-051-1/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Allow HTTPS cloning by Runners if it is disabled for users" Closes #44389 See merge request gitlab-org/gitlab-ce!18021
| * | | | | Allow HTTP(s) when git request is made by GitLab CITomasz Maczukin2018-04-051-1/+23
| | | | | |
* | | | | | Merge branch ↵Douwe Maan2018-04-052-4/+49
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '43098-controller-projects-issuescontroller-show-executes-more-than-100-sql-queries' into 'master' Resolve "Controller Projects::IssuesController#show executes more than 100 SQL queries" Closes #43098 See merge request gitlab-org/gitlab-ce!17986
| * | | | | | Fix N+1 in MergeRequestParserSean McGivern2018-04-052-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | read_project can be prevented by a very expensive condition, which we want to avoid, while still not writing manual SQL queries. read_project_for_iids is used by read_issue_iid and read_merge_request_iid to satisfy both of those constraints, and allow the declarative policy runner to use its normal caching strategy.
* | | | | | | Merge branch 'bvl-override-import-params' into 'master'Douwe Maan2018-04-053-10/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow passing params to import API to override project attributes Closes gitlab-ee#4788 See merge request gitlab-org/gitlab-ce!18086
| * | | | | | | Don't export `Project#description_html`Bob Van Landuyt2018-04-053-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we can regenerate `description_html` from the `description`, we should not export it. This avoids some complexity when overriding the description during an import/export where we would need to invalidate this cached field. Now we refresh the markdown cache after the import
| * | | | | | | Override values from JSON with import dataBob Van Landuyt2018-04-052-2/+21
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This overrides values defined in the project JSON with the values provided in project.import_data.data['override_params']. These could be passed from the API.
* | | | | | | Merge branch 'jprovazn-comment-refs' into 'master'Sean McGivern2018-04-052-0/+32
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better group support in notes-related code See merge request gitlab-org/gitlab-ce!18150