summaryrefslogtreecommitdiff
path: root/app/controllers/projects/tree_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated name_with_namespace with full_name in app and specDmitriy Zaporozhets2018-03-051-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* moved lfs_blob_ids method into ExtractsPath modulelfs-badgePhil Hughes2017-12-141-3/+1
|
* moved lfs blob fetch from extractspath filePhil Hughes2017-12-141-0/+3
|
* fixed project homepage not having correct variablePhil Hughes2017-12-111-1/+0
|
* Added LFS badge to indicate LFS tracked filesPhil Hughes2017-12-111-0/+1
| | | | Closes #15567
* added feature specPhil Hughes2017-10-231-1/+0
|
* Fixed bug when clicking file link causing user to navigate awayPhil Hughes2017-10-171-1/+1
| | | | | | Adds a test for flattenedFiles Changes the data method to not be an arrow method Various other review fixes
* Refactored multi-file data structurePhil Hughes2017-10-161-0/+1
| | | | | | | | | | | | | | | | | | | This moves away from storing in a single array just to render the table. It now stores in a multi-dimensional array/object type where each entry in the array can have its own tree. This makes storing the data for future feature a little easier as there is only one way to store the data. Previously to insert a directory the code had to insert the directory & then the file at the right point in the array. Now the directory can be inserted anywhere & then a file can be quickly added into this directory. The rendering is still done with a single array, but this is handled through underscore. Underscore takes the array & then goes through each item to flatten it into one. It is done this way to save changing the markup away from table, keeping it as a table keeps it semantically correct.
* Add Page-Title header to tree and blob JSON endpointsDouwe Maan2017-09-261-0/+2
|
* Workaround for n+1 in Projects::TreeController#show38171-workaroundAndrew Newdigate2017-09-221-1/+4
| | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/38261
* Merge remote-tracking branch 'origin/master' into ideLuke "Jared" Bennett2017-07-201-3/+3
|\
| * Create and use project path helpers that only need a project, no namespaceDouwe Maan2017-07-051-3/+3
| |
* | Add experimental JSON format for tree controllerDouwe Maan2017-06-131-5/+12
|/
* Revert 'New file from interface on existing branch'dm-revert-mr-8427Douwe Maan2017-06-091-1/+0
|
* Show last commit for current tree on tree pageDouwe Maan2017-05-171-0/+2
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Refactor changing files in web UIDouwe Maan2017-04-201-3/+3
|
* New directory from interface on existing branchJacopo2017-03-211-0/+1
| | | | | The user can create a new directory on a different branch than the source branch when the branch already exists.
* No more and/orDouwe Maan2017-02-211-2/+2
|
* Fix specs and behavior for LFS filesDouwe Maan2015-12-181-1/+1
|
* Automatically fork a project when not allowed to edit a file.Douwe Maan2015-12-181-31/+7
|
* Add "Start a new merge request" option to every commit formDouwe Maan2015-11-171-1/+12
|
* Only render 404 page from /publicinified_404_errorValery Sizov2015-10-131-3/+3
|
* Add directory feature buttonStan Hu2015-10-071-0/+37
| | | | | | | | | | | | | | | | | | Change "+" icon under "Files" section to have three options: * Create file * Upload file * New directory Upload file is no longer accessible from the "Create file" page. Users can now select a target branch in upload file as well. Closes #2799: Fixes a bug where file modes were overwritten after a commit Closes https://github.com/gitlabhq/gitlabhq/issues/8253: Existing files can no longer be overwritten in the "Create file" section. Closes #2557
* Fix 404 error in files view after deleting the last file in a repositoryStan Hu2015-07-211-1/+3
| | | | Closes #1362
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-3/+3
| | | | 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-1/+4
|/ | | | | | 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.
* Explicitly set before_filter for ref-related controllersDmitriy Zaporozhets2015-01-261-2/+7
|
* Check if blob or tree and redirect to the correct one.Marin Jankovski2014-07-071-1/+8
|
* Refactoring for EditTree and NewTree controllers and contextsDmitriy Zaporozhets2013-11-051-8/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update code to work with gitlab_git 3Dmitriy Zaporozhets2013-10-011-0/+2
|
* Move projects controllers/views in Projects moduleDmitriy Zaporozhets2013-06-231-0/+17