summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Skip the most_active_overall on projects#index and move the recently into ↵Johan Sørensen2009-12-141-1/+0
| | | | the sidebar
* Only include groups user is an admin for list of teams a user can transfer a ↵Johan Sørensen2009-12-031-24/+24
| | | | project to
* Order the repository clone shortlist by last_pushed_toJohan Sørensen2009-11-131-3/+2
|
* Tweak the repo searching a bitJohan Sørensen2009-11-121-10/+22
| | | | | - Only list 5 groups and users, not all of them, by default - Tweak the CSS a bit
* Only create an UPDATE_PROJECT action when the project is changedJohan Sørensen2009-08-261-1/+2
| | | | | Otherwise events would be created for things such as adding mergerequest statuses, which can be a bit much in the activity listing
* Be able to easily add/remove merge-request statuses from projects#editJohan Sørensen2009-08-241-1/+1
| | | | | | - add some javascript helpers - Be able to easily add/remove statuses without page refresh - Colorize the status in merge_requests#index
* Adding a custom action for changing the slug for Marius Mathiesen2009-05-181-2/+14
| | | | projects w/link from edit project page
* Adding preview functionality for Projects#edit.Marius Mathiesen2009-05-121-0/+8
|
* The breadcrumb root for "new project" should be the class instance, not the ↵Johan Sørensen2009-04-221-1/+1
| | | | | | | class Added test to verify that the "new" template gets rendered again when user submits invalid data.
* Add breadcrumbs for edit/new project pagesTor Arne Vestbø2009-04-221-0/+5
|
* Updated copyrights-blurb in all application filesJohan Sørensen2009-04-221-0/+5
|
* Introduce a stale_conditional? controller helper for not setting conditional GETJohan Sørensen2009-04-221-2/+2
| | | | | | headers of there's data in the flash When used, it prevents a certain amount of foot shooting related incidents
* Require current EULA version everywhere for logged in users.Marius Mathiesen2009-04-221-1/+0
| | | | Except the LicensesController, of course
* Add some most-active-projects boxes to make the projects make slightly more ↵Johan Sørensen2009-04-221-1/+5
| | | | interesting
* Rename install_site_before_filters to renders_in_site_specific_context andJohan Sørensen2009-04-221-1/+2
| | | | | | | introduce a renders_in_global_context controller class method as well. This lets us control in the Site context in which specific actions or controllers as a whole are rendered in.
* Fixed stray comma in ProjectsControllerJohan Sørensen2009-04-221-1/+1
|
* Don't find all the events twice on the projects#show page, and add ↵Johan Sørensen2009-04-221-8/+10
| | | | conditional GET
* Use a named_scope on events to only retrieve the "top-level" eventsJohan Sørensen2009-04-221-2/+2
| | | | (eg. not including those who references other events)
* Redirect to the main domain if the current_site has no subdomainJohan Sørensen2009-04-221-1/+1
|
* Redirect to the current_site's subdomain, if it has one and it's a GET requestJohan Sørensen2009-04-221-0/+1
|
* [migration] Add a Site model as a container for "site" specific projects and ↵Johan Sørensen2009-04-221-4/+7
| | | | | | | | | | | set layout based on that - The site has a subdomain - The layout will be set to the site subdomain name - if there's either a subdomain that matches a site, or a project with a parent site, the layout is set to that - Otherwise, a default current_site is set, without a subdomain, with the default "application" layout
* Adding before_filter that requires the user to accept the current EULAMarius Mathiesen2009-04-221-0/+1
|
* Allowing Events to have other Events:Marius Mathiesen2009-04-221-1/+1
| | | | | - Used when receiving a push: create child events that belong to the push event - When viewing the project feed, filter out the events that are children of other events from the view
* Create a GitoriousConfig setting that controls whether only site_admins orJohan Sørensen2009-04-221-0/+11
| | | | everyone is allowed to create new projects
* Update to Rails 2.3RC1Johan Sørensen2009-04-221-3/+3
|
* Extract some controller logic into the modelsJohan Sørensen2009-04-221-1/+1
|
* Change the owner the projects wiki repository as wellJohan Sørensen2009-04-221-2/+2
|
* Allow Projects owned by a user to change ownership to a group the owner is anJohan Sørensen2009-04-221-0/+8
| | | | | | | member of. The reason for not allowing the reverse (group => user) is to not allow hostile takeovers
* Allow all project admins to edit the project, not just the initial creatorJohan Sørensen2009-04-221-6/+10
|
* - Allow for projects to be either created as a User or GroupJohan Sørensen2009-04-221-0/+9
| | | | | | | | - Added GitoriousFormBuilder - Display project owner instead of the user who created it The GitoriousFormBuilder (currently) only include a method for creating the myself-or-a-group form markup
* - Make sure /projects/foo/repositories/action type urls are generated correctlyJohan Sørensen2009-04-221-1/+1
| | | | - Redirect to "add new repo" screen on project creation
* Teach RepositoriesController and BreadcrumpsHelper that repositories can beJohan Sørensen2009-04-221-0/+1
| | | | owned by either a Project, Group or User
* - Used named scopes on Repository, instead of multiple *repositories ↵Johan Sørensen2009-04-221-2/+0
| | | | | | | | | | | | | associations on the Project - Group user and group repositories together in the project sidebar with the new named_scope rules in Repository we can do: @project.repositories.by_users #=> all user-level repositories @project.repositories.by_groups #=> all group-level repositories @project.repositories.mainlines #=> all top-level project repositories and everything with be scoped correctly.
* Major refactoring of the whole Gitorious project. I've added both ↵Fabio Akita2009-01-091-2/+2
| | | | localized_date and localied_templates plugin and I've extracted every single string that could be translated. Now you have both locales/en.rb and locales/pt-BR.rb as well as views/pt-BR for localized static pages and email templates. I have not added a locale field in the User model - yet, so you have to change gitorious.yml to change it globally
* when access projects/xx/edit and projects/xx/confirm_delete without login ↵Cairo Noleto2008-12-131-2/+2
| | | | redirect to new sessions
* Add copyright and license headers (AGPL) to code filesTor Arne Vestbø2008-11-281-0/+18
| | | | | The authors in each copyright header was computed by running 'git log --reverse' on that particular file.
* Destroy events if associated project/user is deletedDavid A. Cuadrado2008-05-031-1/+1
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Atom feeds for eventsJohan Sørensen2008-04-281-1/+3
|
* paginate events on projects#showJohan Sørensen2008-04-271-2/+2
|
* Make events display pretty on the project overview pageJohan Sørensen2008-04-261-1/+1
|
* Repository listing in sidebar on projects#showJohan Sørensen2008-04-261-1/+2
|
* Added sidebar, start on repository tree and add a rebuild_events scriptJohan Sørensen2008-04-251-0/+2
|
* Moved events to be primarily pivoting around the project.Johan Sørensen2008-04-211-3/+3
|
* Removed actions from the databaseDavid A. Cuadrado2008-04-161-3/+3
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* refactoring to use polymorphic associations (USER does ACTION on X)David A. Cuadrado2008-04-071-3/+3
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Implemented user event systemDavid A. Cuadrado2008-03-201-0/+4
|
* project index/show optimizationsDavid A. Cuadrado2008-03-201-3/+4
|
* list top tags in projects#index instead of tag countJohan Sørensen2008-03-181-1/+1
|
* Refactored BrowseController into several specific controllersJohan Sørensen2008-03-171-1/+1
| | | | Grouped by responsibility Trees, Blobs, Commits and Logs
* * allow project deletion if there's no clones yetJohan Sørensen2008-02-101-1/+13
| | | | * allow repository deletion if its not the mainline repos
* slight improvements to project lists and user pagesJohan Sørensen2008-02-041-2/+2
|
* Fixed Atom url generationJohan Sørensen2008-01-121-2/+2
|
* atom feed for projects+tags and repository commentsJohan Sørensen2008-01-071-2/+5
|
* redirect to new sshkey screen if attemping to create a repository/projectJohan Sørensen2008-01-051-0/+1
|
* nuke the ability to add additional "main" repositories to a projectJohan Sørensen2008-01-031-1/+1
|
* Group repository clones nicely when viewing a projectJohan Sørensen2008-01-011-1/+1
|
* labels => categoriesJohan Sørensen2007-12-121-1/+1
|
* xml support for ProjectsControllerJohan Sørensen2007-12-121-3/+17
|
* tags (labels) for projectsJohan Sørensen2007-12-121-1/+10
|
* pagination of project listingJohan Sørensen2007-12-101-1/+2
|
* url is /projects/project-slug/ instead of /projects/23/Johan Sørensen2007-12-071-4/+4
|
* test coverageJohan Sørensen2007-11-221-5/+2
|
* more project details to fill outJohan Sørensen2007-11-211-0/+4
|
* added basic Repository model, added slug to projectJohan Sørensen2007-11-181-0/+1
|
* - added show routes taskJohan Sørensen2007-08-191-0/+43
- added basic project controller