summaryrefslogtreecommitdiff
path: root/app/controllers/projects/forks_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use the configured Kaminari "per page" defaultrs-use-kaminari-defaultRobert Speicher2016-03-191-1/+1
|
* ContinueToParams -> ContinueParamsZeger-Jan van de Weg2016-03-131-1/+1
|
* Check redirect path in the continue_paramsZeger-Jan van de Weg2016-03-131-11/+2
| | | | | | Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2649 https://gitlab.com/gitlab-org/gitlab-ce/issues/13956
* Merge branch 'refactor-projects-list' into 'master' Dmitriy Zaporozhets2016-03-031-0/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor projects list 1. Fix double bottom border if pagination 2. Fix broken search on forks page 4. Remove duplicate js logic 4. Remove unused show all link 5. Remove duplicate “no project” message in different views After this merge request you can easily render shared projects template with all necessary html/js included to make searchable list with pagination. All you need to provide is controller that returns projects list with seach nad pagination and render html form with project-filter-form id and text field with filter_projects name. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @jschatz1 @DouweM See merge request !3075
| * Refactor projects listDmitriy Zaporozhets2016-03-031-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Fix double bottom border if pagination 2. Fix broken search on forks page 4. Remove duplicate js logic 4. Remove unused show all link 5. Remove duplicate “no project” message in different views After this merge request you can easily render shared projects template with all necessary html/js included to make searchable list with pagination. All you need to provide is controller that returns projects list with seach nad pagination and render html form with project-filter-form id and text field with filter_projects name. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add specs to ForksController#index.issue_13648Rubén Dávila2016-03-021-6/+1
| | | | | | | | | | * Also refactor query to get projects accessible for current user. ProjectsFinder actually return public projects when no user is passed.
* | Reuse query from ProjectsFinder to get projects accessible to current user.Rubén Dávila2016-03-011-3/+1
|/
* Logged in user should be able to read internal forks.Rubén Dávila2016-02-271-1/+1
|
* Improve implementation to check read access to forks and add pagination.Rubén Dávila2016-02-261-6/+16
|
* Mention project name in fork noticeAchilleas Pipinellis2016-02-191-1/+1
|
* Some CSS and sorting fixes.Rubén Dávila2016-01-201-2/+2
|
* Add ability to sort forks. #2406Rubén Dávila2016-01-201-0/+2
|
* Add fork button and implement ability to distinguish between public and ↵Rubén Dávila2016-01-201-1/+4
| | | | protected forks. #2406
* Use Project creator's avatar in fork listing. #2406Rubén Dávila2016-01-201-1/+2
|
* Setup new fork link in sidebar and routes. #2406Rubén Dávila2016-01-201-0/+3
|
* Add tests for new functionalityDouwe Maan2015-12-211-1/+5
|
* Fix specs and behavior for LFS filesDouwe Maan2015-12-181-4/+7
|
* Automatically fork a project when not allowed to edit a file.Douwe Maan2015-12-181-5/+14
|
* Import forked repositories asynchronously to prevent large repositories from ↵Stan Hu2015-09-111-4/+8
| | | | | | | | | timing out Use import_status to track async import status and give feedback to the user Closes #2388 Closes #2400
* Add a page title to every page.Douwe Maan2015-04-301-1/+0
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-2/+2
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Merge branch 'master' into rails-4.1.9Vinnie Okada2015-02-211-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: app/views/projects/commits/_commit.html.haml app/views/projects/issues/_issue.html.haml app/views/projects/issues/_issue_context.html.haml app/views/projects/merge_requests/_merge_request.html.haml app/views/projects/merge_requests/show/_context.html.haml
| * Move 'require_non_empty_project' filter to front so 'assign_ref_vars' ↵Douwe Maan2015-02-201-1/+1
| | | | | | | | doesn't 404.
* | Upgrade to Rails 4.1.9Vinnie Okada2015-02-141-2/+5
|/ | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* Select namespace where to fork projectDmitriy Zaporozhets2014-11-131-0/+22
Now you can fork project into group or personal namespace. Also I moved fork logic from ProjectsController to own fork resource Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>