summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Minor code cleanupnotification-levelsDouwe Maan2015-09-201-2/+3
|
* Use the `find_by_user_id` magic finder instead of `where`.Patricio Cano2015-09-161-1/+1
|
* Merge branch 'master' into notification-levelsPatricio Cano2015-09-161-1/+5
|\
| * Use new routing helperDouwe Maan2015-09-081-1/+1
| |
| * Move partial to right place and fix tests.Douwe Maan2015-09-081-1/+1
| |
| * Clean up overlap between dashboard and explore.Douwe Maan2015-09-081-0/+4
| | | | | | | | | | - Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
* | Notification dropdown now shows currently active level, and also shows what ↵Patricio Cano2015-09-141-1/+3
| | | | | | | | the actual value of `global` is, if the project has the notification level set to global.
* | Notification level can now be saved from within the project view.Patricio Cano2015-09-141-1/+1
| |
* | PAtrially working notification buttonDarby2015-09-141-0/+1
|/
* Mention group and project name in flash messages upon create, update and delete.Achilleas Pipinellis2015-07-301-4/+4
|
* Public project activity page asks for sign-inactivity_publicly_accessibleValery Sizov2015-07-201-1/+1
|
* Fix transferring of project to another group using the API.Douwe Maan2015-07-111-4/+5
|
* Show last push widget on several project pagesDmitriy Zaporozhets2015-07-081-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor star and fork buttonsDmitriy Zaporozhets2015-07-081-3/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Move project activity to separate tab. Add more features to project home pageDmitriy Zaporozhets2015-07-071-7/+12
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Show warning when a comment will add 10 or more people to the discussion.Douwe Maan2015-06-051-1/+11
|
* Move repository when project is removedDmitriy Zaporozhets2015-06-031-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ths commit does next: * When we remove project we move repository to path+deleted.git * Then we schedule removal of path+deleted with sidekiq * If repository move failed we abort project removal This should help us with NFS issue when project get removed but repository stayed. The full explanation of problem is below: * rm -rf project.git * rm -rf removes project.git/objects/foo * NFS server renames foo to foo.nfsXXXX because some NFS client (think * Unicorn) still has the file open * rm -rf exits, but project.git/objects/foo.nfsXXX still exists * Unicorn closes the file, the NFS client closes the file (foo), and the * NFS server removes foo.nfsXXX * the directory project.git/objects/ still exists => problem So now we move repository and even if repository removal failed Repository directory is moved so no bugs with project removed but repository directory taken. User still able to create new project with same name. From administrator perspective you can easily find stalled repositories by searching `*+deleted.git` Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add helpers for header title and sidebar, and move setting those from ↵Douwe Maan2015-05-011-5/+0
| | | | controllers to layouts.
* Add a page title to every page.Douwe Maan2015-04-301-8/+14
|
* Add atom feed for project activity.Douwe Maan2015-04-231-5/+13
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-6/+6
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Update html-pipeline and emojiDmitriy Zaporozhets2015-03-111-4/+4
|
* Fix tests for project removingDmitriy Zaporozhets2015-03-101-1/+1
|
* Render go-import meta tag for private repos.Douwe Maan2015-03-031-0/+11
|
* Introduce shortcuts for routing helpersDmitriy Zaporozhets2015-02-251-4/+4
|
* Merge branch 'master' into extend_markdown_uploadDouwe Maan2015-02-251-1/+1
|\ | | | | | | | | # Conflicts: # app/controllers/files_controller.rb
| * Fix 404 when deleting a projectDJ Mountney2015-02-231-1/+1
| | | | | | | | The deletion from the admin section was redirecting to the wrong address.
* | Merge branch 'master' into extend_markdown_uploadDouwe Maan2015-02-241-7/+16
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/issues/_form.html.haml # app/views/projects/merge_requests/_form.html.haml # app/views/projects/merge_requests/_new_submit.html.haml # app/views/projects/milestones/_form.html.haml # app/views/projects/notes/_form.html.haml # app/views/projects/wikis/_form.html.haml # config/routes.rb # spec/controllers/projects_controller_spec.rb
| * Merge branch 'master' into rails-4.1.9Vinnie Okada2015-02-191-5/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/views/dashboard/_project.html.haml app/views/events/event/_common.html.haml app/views/explore/projects/_project.html.haml app/views/groups/_projects.html.haml app/views/projects/_home_panel.html.haml app/views/projects/_issues_nav.html.haml app/views/projects/issues/_discussion.html.haml app/views/projects/issues/_issues.html.haml app/views/projects/issues/show.html.haml app/views/projects/merge_requests/_discussion.html.haml app/views/projects/merge_requests/_show.html.haml app/views/projects/milestones/index.html.haml app/views/projects/notes/_edit_form.html.haml app/views/shared/_issuable_filter.html.haml
| * | Upgrade to Rails 4.1.9Vinnie Okada2015-02-141-7/+16
| | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'extend_markdown_upload' into generic-uploadsDouwe Maan2015-02-201-21/+0
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | # Conflicts: # app/controllers/files_controller.rb # app/controllers/projects/uploads_controller.rb # app/uploaders/attachment_uploader.rb
| * | Refactor.Douwe Maan2015-02-171-17/+0
| | |
| * | Generalize the image upload in markdownHannes Rosenögger2015-02-171-11/+7
| |/ | | | | | | | | This commit generalizes the image upload via drag and drop so it supports all files. It also adds access control for these files.
* | Fix event loading with associationsDmitriy Zaporozhets2015-02-181-1/+1
| |
* | DB performance improvements to GitLabDmitriy Zaporozhets2015-02-181-5/+8
|/
* Allow groups to be mentioned.Douwe Maan2015-02-051-1/+1
| | | | Resolves #1673.
* Fix tests, merge conflicts, some minor issues and make the project avatar ↵Hannes Rosenögger2015-01-241-10/+10
| | | | feature mergable
* Cache autocomplete or emojisDmitriy Zaporozhets2015-01-231-8/+12
|
* Faster autocomplete without unused descriptionDmitriy Zaporozhets2015-01-231-1/+1
|
* Faster autocomplete for users/issues/emojiisDmitriy Zaporozhets2015-01-221-3/+12
| | | | | Instead of loading all issues and merge requests we load only open one. This will reduce time load for autocomplete resources significantly
* transfer error handlerskv-headless2014-12-151-0/+3
|
* Merge branch 'upstream-master' into markdown-previewVinnie Okada2014-12-071-56/+20
|\ | | | | | | | | Conflicts: spec/routing/project_routing_spec.rb
| * Move projects import to separate resource. Add bare repo creation to ↵Dmitriy Zaporozhets2014-11-301-28/+11
| | | | | | | | | | | | repository controller Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Dont allow project creation without repositoryDmitriy Zaporozhets2014-11-291-3/+4
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Select namespace where to fork projectDmitriy Zaporozhets2014-11-131-16/+0
| | | | | | | | | | | | | | 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>
| * Merge branch 'auth_duplication' into 'master'Dmitriy Zaporozhets2014-11-051-1/+0
| |\ | | | | | | | | | | | | | | | | | | | | | Remove unnecessary authorisations Because we already check read_project ability in `before_filter :project` See merge request !1240
| | * remove auth duplicationValery Sizov2014-11-051-1/+0
| | |
| * | Merge pull request #8094 from cirosantilli/rm-unused-authenticate_userValeriy Sizov2014-11-051-2/+0
| |\ \ | | |/ | |/| Remove unused authenticate_user from project#show
| | * Remove unused authenticate_user from project#showCiro Santilli2014-10-191-2/+0
| | | | | | | | | | | | Redundant with the authorize_read_project! filter
| * | Merge pull request #8029 from cirosantilli/rm-projects-controller-filterDmitriy Zaporozhets2014-10-211-1/+0
| |\ \ | | | | | | | | Remove unused filter from ProjectsController