summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed outdated comment from migration helpersfix-migration-helper-commentYorick Peterse2016-05-191-1/+1
|
* Merge branch 'patch-1' into 'master' Rémy Coutable2016-05-191-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed advice on invalid permissions on upload path When running the checks, my upload path has wrong permissions, the advice could not fix it because it does not change the permission of this directory (only sub-directories). ``` Uploads directory setup correctly? ... no Try fixing it: sudo find /home/git/gitlab/public/uploads -type d -not -path /home/git/gitlab/public/uploads -exec chmod 0700 {} \; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. ``` Executing this instead fixed the error : ``` sudo chmod 700 /home/git/gitlab/public/uploads ``` See merge request !2948
| * Fixed advice on invalid permissions on upload pathJazz2016-05-191-1/+1
| |
* | Merge branch 'migration-helpers' into 'master' Robert Speicher2016-05-193-0/+224
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Added helper methods for database migrations These helpers can ultimately be used to write migrations that don't require downtime. See #15464 for more information. See merge request !3860
| * | Fixed typos in migration templatesmigration-helpersYorick Peterse2016-05-192-2/+2
| | |
| * | Remove left-over use of strip_heredocYorick Peterse2016-05-191-1/+1
| | |
| * | Removed stray strip_heredoc from migration helpersYorick Peterse2016-05-131-1/+1
| | |
| * | Fixed styling per Rubocop pedanticsYorick Peterse2016-05-121-1/+3
| | |
| * | Link to migration guide in migration templatesYorick Peterse2016-05-122-0/+6
| | |
| * | Added custom migration generator templatesYorick Peterse2016-05-122-0/+84
| | | | | | | | | | | | | | | This allows us to automatically include Gitlab::Database::MigrationHelpers into newly generated migrations.
| * | Added helper methods for database migrationsYorick Peterse2016-05-121-0/+132
| | | | | | | | | | | | | | | | | | | | | | | | These helpers can be used to perform migrations without taking down the entire application. For example, the method "add_column_with_default" can be used to add a new column with a default value without locking the entire table.
* | | Fix warning messages with SVG ALLOWED_ELEMENTSStan Hu2016-05-192-89/+89
| |/ |/| | | | | Eliminates "warning: already initialized constant Gitlab::Sanitizers::SVG::ALLOWED_ELEMENTS"
* | Merge branch 'issue_17560' into 'master' Robert Speicher2016-05-191-2/+15
|\ \ | | | | | | | | | | | | | | | | | | Mask credentials from URL when the import of project has failed. REF: #17560 See merge request !4185
| * | Mask credentials from URL when import of project has failed.Rubén Dávila2016-05-181-2/+15
| | |
* | | Merge branch 'docker-registry-view' into 'master' Kamil Trzciński2016-05-1810-1/+310
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add container registry support Tasks: - [x] Merge docker/distribution authentication service: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3787 - [x] Implement Docker Registry API - [x] Show a list of docker images in GitLab - [x] Remove registry repository on project deletion - [x] Support project rename, move and namespace rename - [x] Use token when connecting the registry - [x] Allow to delete images from GitLab - [x] Support pushing from GitLab CI (gitlab-ci-token / $CI_BUILD_TOKEN) - [x] Support GitLab Runner pulling for public repositories - [ ] Support GitLab Runner pulling for private repositories - [x] Add tests for Docker Registry API - [x] Add tests for a views - [x] Make texts nicer - [x] Implement a backup support - [ ] Create administration documentation https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4141 - [ ] Create user documentation See merge request !4040
| * | | Provide full test coverage to lib/container_registry API implementationKamil Trzcinski2016-05-175-54/+14
| | | |
| * | | Add .gitkeepKamil Trzcinski2016-05-174-2/+20
| | | |
| * | | Improve test coverageKamil Trzcinski2016-05-161-1/+1
| | | |
| * | | Added backup of container registryKamil Trzcinski2016-05-163-1/+35
| | | |
| * | | Merge remote-tracking branch 'origin/master' into docker-registry-viewKamil Trzcinski2016-05-167-66/+110
| |\ \ \ | | |/ /
| * | | Fix path to tagKamil Trzcinski2016-05-161-1/+1
| | | |
| * | | Merge branch 'docker-registry' into docker-registry-viewKamil Trzcinski2016-05-142-6/+10
| |\ \ \
| * \ \ \ Merge branch 'docker-registry' into docker-registry-viewKamil Trzcinski2016-05-1328-344/+362
| |\ \ \ \
| * \ \ \ \ Merge branch 'docker-registry' into docker-registry-viewKamil Trzcinski2016-05-131-4/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/controllers/jwt_controller.rb # app/services/jwt/container_registry_authentication_service.rb
| * | | | | | Fix CI testsKamil Trzcinski2016-05-122-2/+4
| | | | | | |
| * | | | | | Merge branch 'docker-registry' into docker-registry-viewKamil Trzcinski2016-05-122-3/+3
| |\ \ \ \ \ \
| * | | | | | | Added Docker Registry View testsKamil Trzcinski2016-05-091-2/+2
| | | | | | | |
| * | | | | | | Fix review commentsKamil Trzcinski2016-05-092-15/+19
| | | | | | | |
| * | | | | | | Simplify Container Registry view implementationKamil Trzcinski2016-05-094-1/+14
| | | | | | | |
| * | | | | | | Rename ImageRegistry to ContainerRegistryKamil Trzcinski2016-05-096-13/+13
| | | | | | | |
| * | | | | | | Merge branch 'docker-registry' into docker-registry-viewKamil Trzcinski2016-05-0920-375/+406
| |\ \ \ \ \ \ \
| * | | | | | | | WIPKamil Trzcinski2016-05-081-1/+1
| | | | | | | | |
| * | | | | | | | Fix bearer token supportKamil Trzcinski2016-05-042-2/+2
| | | | | | | | |
| * | | | | | | | Allow to copy all manifests from one container repository to anotherKamil Trzcinski2016-05-044-5/+38
| | | | | | | | |
| * | | | | | | | Remove container registry on project removalKamil Trzcinski2016-05-041-1/+2
| | | | | | | | |
| * | | | | | | | Implement Container Registry API clientKamil Trzcinski2016-05-047-38/+240
| | | | | | | | |
| * | | | | | | | Added docker registry viewKamil Trzcinski2016-05-042-0/+42
| | | | | | | | |
* | | | | | | | | Merge branch 'fix/import-data-issue' into 'master' Rémy Coutable2016-05-183-17/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create import data in service and fix timing issues when scheduling job Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17401 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17376 See merge request !4106
| * \ \ \ \ \ \ \ \ Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez2016-05-122-5/+8
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix/import-data-issue
| * \ \ \ \ \ \ \ \ \ Merge branches 'fix/import-data-issue' and 'master' of ↵James Lopez2016-05-1114-231/+192
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gitlab.com:gitlab-org/gitlab-ce into fix/import-data-issue
| * | | | | | | | | | | create import data in serviceJames Lopez2016-05-103-17/+8
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Merge branch 'issue_17302' into 'master' Rémy Coutable2016-05-181-18/+29
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix api leaking notes when user is not authorized to read noteable fixes #17302 See merge request !4102
| * | | | | | | | | | | Move note helper method to notes entity fileissue_17302Felipe Artur2016-05-172-6/+8
| | | | | | | | | | | |
| * | | | | | | | | | | Fix single note api requestFelipe Artur2016-05-162-5/+9
| | | | | | | | | | | |
| * | | | | | | | | | | Fix notes API calls symbol convertionsFelipe Artur2016-05-101-3/+3
| | | | | | | | | | | |
| * | | | | | | | | | | Fix api leaking notes when user is not authorized to read noteableFelipe Artur2016-05-091-13/+18
| | | | | | | | | | | |
* | | | | | | | | | | | fix typo from bad refactoringJames Lopez2016-05-171-1/+1
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | Merge branch 'wiki-fix-reloaded' into 'master' Rémy Coutable2016-05-161-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the relative url prefix for links in Wiki Retry of gitlab-org/gitlab-ce!4026 @rymai !4050 solved all other problems how it looks like. I [tested](https://gitlab.com/artem-forks/gitlab-ce/commit/ff01eca7b559efa7cacf3412aa01cd8ae8a6db7e/builds) this with ruby22 Fixes #17071 See merge request !4131
| * | | | | | | | | | | Use the relative url prefix for links in WikiArtem Sidorenko2016-05-131-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'docker-registry' into 'master' Douwe Maan2016-05-164-1/+95
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added authentication service for docker registry This adds a simple authentication service for docker which uses current user credentials to authenticate pulls and pushes. I have only one concern. Since the `.docker/config` is unencrypted, thus the password for user stored there is unencrypted, maybe we should from the start implement function to generate/provide a separate password just for the purposes of accessing docker registry? What do you think @jacobvosmaer @sytses @marin? cc @marin See merge request !3787