summaryrefslogtreecommitdiff
path: root/app/services/projects
Commit message (Collapse)AuthorAgeFilesLines
* Memoize targetAlfredo Sumaran2016-04-161-22/+20
|
* Change variable nameAlfredo Sumaran2016-04-161-3/+3
|
* Fixes failing specAlfredo Sumaran2016-04-161-0/+2
|
* Update method name and remove unneeded paramsAlfredo Sumaran2016-04-161-2/+2
|
* Put owner and participating people firstAlfredo Sumaran2016-04-161-15/+24
|
* Merge branch 'issue_15155' into 'master' Rémy Coutable2016-04-141-2/+3
|\ | | | | | | | | | | | | Setup visibility level for project when transfering for a group fixes #15155 See merge request !3707
| * Change transfer service to use existing methodsFelipe Artur2016-04-141-15/+3
| |
| * Setup visibility level for project when transfering for a groupFelipe Artur2016-04-131-4/+17
| |
* | Instrument the HousekeepingService classinstrument-house-keepingYorick Peterse2016-04-131-4/+10
|/ | | | | This allows us to track how much time is spent in updating the "pushes_since_gc" column as well as the time needed to obtain the lease.
* Flush repository cache before import project datafix-gh-pr-importDouglas Barbosa Alexandre2016-04-041-0/+2
| | | | | GitHub Pull Requests importer handle with the repository while importing data, we need to make sure that the cached values are valid.
* Merge branch 'fix_remove_fork_link' into 'master' Douwe Maan2016-04-041-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove fork link closes all merge requests opened on source project Currently, if you: - create a fork - open a merge request on the source project - remove the fork link The created MR cannot be closed. With this MR, all pending MR is closed when the fork link is removed. See merge request !3189
| * Fix incorrect variable nameBaldinof2016-04-041-1/+1
| |
| * Move unlink fork logic to a serviceBaldinof2016-03-221-0/+19
| |
* | Tweaks, refactoring, and specsDouwe Maan2016-03-202-28/+7
| |
* | Merge branch 'master' into issue_12658Douwe Maan2016-03-202-6/+2
|\ \
| * \ Merge branch 'no-gc-retry' into 'master' Robert Speicher2016-03-181-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not retry "git gc" To prevent 'git gc' timing out on a large repo and then bouncing around in the retry queue. See merge request !3266
| | * | Do not retry "git gc"Jacob Vosmaer2016-03-171-1/+1
| | | |
| * | | Restrict access for confidential issues on autocompleteDouglas Barbosa Alexandre2016-03-171-5/+1
| |/ /
* | | Fix specsFelipe Artur2016-03-181-1/+4
| | |
* | | Improve group visibility level featureZeger-Jan van de Weg2016-03-181-10/+3
| | |
* | | Merge 4009-external-users into issue_12658Felipe Artur2016-03-161-0/+27
|\ \ \ | |/ /
| * | Use an exception to pass messagesJacob Vosmaer2016-03-151-9/+10
| | |
| * | Run 'git gc' every 10 pushesJacob Vosmaer2016-03-141-2/+14
| | |
| * | Allow project housekeeping only once an hourJacob Vosmaer2016-03-141-0/+14
| |/
* | Code improvements and add Create group serviceFelipe Artur2016-03-161-1/+5
| |
* | Prevent projects to have higher visibility than groupsFelipe Artur2016-03-101-2/+2
|/ | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
* Moved cache expiration code to Repository hooksYorick Peterse2016-02-231-4/+2
| | | | | This keeps all the cache expiration code in a single file/class instead of spreading it all across the codebase.
* Flush all repository caches when deleting a repoexpire-fork-import-cachesYorick Peterse2016-02-171-1/+13
| | | | | | | | This ensures that _all_ caches (including any caches normally only flushed under certain conditions) are flushed whenever a project is removed. Because cache keys are based on project namespaces (excluding IDs) not doing so could result in a newly created project re-using old caches (if the project was re-created using the same name).
* First pass at deleting projects in the background.Josh Frye2016-01-291-0/+6
|
* Move Gitlab::BitbucketImport::KeyDeleter to it's own importerDouglas Barbosa Alexandre2016-01-261-4/+0
|
* Extract Projects::ImportService service from RepositoryImportWorkerDouglas Barbosa Alexandre2016-01-251-0/+71
|
* Creator should be added as a master of the project on creationDouglas Barbosa Alexandre2016-01-201-1/+1
| | | | | This also enable a project creator to add themselves as a master of the project.
* Fix creator should be added as a master of the project on creationDouglas Barbosa Alexandre2016-01-191-1/+1
|
* Merge gitlab.com:gitlab-org/gitlab-ceJeroen Nijhof2016-01-112-14/+2
|\
| * DRY up upload and download servicesapi-project-uploadDouwe Maan2016-01-082-24/+2
| |
| * Add API project upload endpointDouwe Maan2016-01-072-2/+12
| |
* | Merge gitlab.com:gitlab-org/gitlab-ceJeroen Nijhof2016-01-064-26/+36
|\ \ | |/
| * Added system hooks messages for renaming and transferring a projectSteve Norman2016-01-041-0/+3
| |
| * Merge branch 'master' into fix/visibility-level-setting-in-forked-projectsTomasz Maczukin2015-12-212-15/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (723 commits) Bump Rack Attack to v4.3.1 for security fix Remove duplicate entry in the changelog Remove extra spaces after branchname Fix merge-request-reopen button title Add branch and tag operation to tree dropdown Use gitlab-shell 2.6.9 Clarify Windows shell executor artifact upload support Fix feature specs: we always show the build status if ci_commit is present Do not display project group/name when issue and MR are in same project Don't create CI status for refs that doesn't have .gitlab-ci.yml, even if the builds are enabled Use gitlab-workhorse 0.5.1 Fix ci_projects migration by using the value only from latest row [ci skip] Revert sidebar position for issue and merge request Add info on using private Docker registries in CI [ci skip] Upgrade Poltergeist to 1.8.1. #4131 Fix ux issue with "This issue will be closed automatically" message Move MR Builds tab next to Commits Api support for requesting starred projects for user Fix Rubocop complain. Fix merge widget JS for buttons ... Conflicts: app/models/project.rb
| | * Merge branch 'ci-project-migrate' into 'master' Kamil Trzciński2015-12-141-13/+2
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci Project migrate - This doesn't migrate: allow_git_fetch, coverage_regex, timeout. Since this are project configuration settings I would propose to migrate them to `.gitlab-ci.yml`. - This requires offline migrations. - It simplifies database models making all CI objects to be attached to: Project. - It removes Ci::Project, but makes /ci/projects working by adding method: Project.find_by_ci_id for backward compatibility (badges, triggers). - We should add default `timeout` to Application Settings. - It misses specs. - It is based on ci-services-migrate for now. - It removes CI events. - It removes administrator CI projects overview. - It removes CI application settings. In 8.4 or 8.5 we can remove redundant tables and columns. See merge request !1987
| | | * Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-13/+2
| | | |
| | * | Provide better diagnostic message upon project creation errorsStan Hu2015-12-091-2/+4
| | |/ | | | | | | | | | | | | | | | Prevents an Error 500 when project fails to create due to invalid parameters. See #3937
| * | Merge branch 'master' into fix/visibility-level-setting-in-forked-projectsTomasz Maczukin2015-11-202-5/+5
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (296 commits) fox tests Don't rescue Exception, but StandardError adressing comments Update gitlab-shell documentation [ci skip] Align hash literals in IssuesFinder spec Fix tests Fix 'Attach a file' link in new tag form Add link to git-lfs client [ci skip] Do not limit workhorse POST/PUT size in NGINX added specs added spinach tests Since GitLab CI is enabled by default, remove enabling it by pushing .gitlab-ci.yml Fix tests Commits without .gitlab-ci.yml are marked as skipped Changelog entry for finding issues performance Use a JOIN in IssuableFinder#by_project Memoize IssuableFinder#projects Removed trailing whitespace from IssuableFinder Added benchmark for IssuesFinder Updated DB schema with new issues/projects indexes ... Conflicts: app/models/project.rb
| | * Tweak code formatting.Douwe Maan2015-11-181-4/+4
| | |
| | * Expose CI enable option in project featuresKamil Trzcinski2015-11-131-1/+1
| | | | | | | | | | | | - Enable CI by default for all new projects
| * | Change update_forks_visibility_level into after_update hook in Project modelTomasz Maczukin2015-11-201-14/+0
| | |
| * | Prevent unnecessary forks iteration at parent updateTomasz Maczukin2015-11-191-3/+5
| | |
| * | Change forks method to has_many relationTomasz Maczukin2015-11-181-2/+1
| | |
| * | Merge branch 'master' into fix/visibility-level-setting-in-forked-projectsTomasz Maczukin2015-11-041-2/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (23 commits) Use single spaces Improvements to profile page UI Replace all usages of `git` command with configurable binary path Update Shell Commands doc for configurable git binary path Minor reformatting for Facebook integration doc Use proper labels for OAuth providers Add Facebook authentication Bump stamp to ~> 0.6.0 Add extra padding between user description and links on profile page Fix tests Fix clipboard button overflow Apply new design for user profile page Improve profile page UI Better name for up-level links Fixed User sorting specs Only sort by IDs by default Added benchmark for User.all Add changelog entry for contacted_at Spread out runner contacted_at updates Only redirect to homepage url when its not the root url ...
| | * Removed extra activity update for new projectscreate-project-performanceYorick Peterse2015-10-291-2/+0
| | | | | | | | | | | | | | | When a project is created the last activity timestamp is already set so there's no need for another update.