gitorious:yousource.git
7 years agoFix 3 committership tests
Tero Hänninen [Wed, 28 Jul 2010 13:07:37 +0000 (16:07 +0300)]
Fix 3 committership tests

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoFix create_with_permissions in committership model
Tero Hänninen [Wed, 28 Jul 2010 13:07:09 +0000 (16:07 +0300)]
Fix create_with_permissions in committership model

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoDashboard: show which items are private in the lists (you're watching, etc)
Tero Hänninen [Tue, 27 Jul 2010 09:21:15 +0000 (12:21 +0300)]
Dashboard: show which items are private in the lists (you're watching, etc)

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoMake editing repos' collaborators' rights more robust
Tero Hänninen [Tue, 27 Jul 2010 08:41:36 +0000 (11:41 +0300)]
Make editing repos' collaborators' rights more robust

View right cannot be removed without removing all other
rights as well.

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd viewers list to repo page
Tero Hänninen [Mon, 26 Jul 2010 14:12:22 +0000 (17:12 +0300)]
Add viewers list to repo page

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd list of viewers to project page
Tero Hänninen [Mon, 26 Jul 2010 13:49:29 +0000 (16:49 +0300)]
Add list of viewers to project page

The added viewers method in project model sucks.

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd projects that user is involved with through teams to the list in sidebar in proje...
Tero Hänninen [Mon, 26 Jul 2010 12:55:29 +0000 (15:55 +0300)]
Add projects that user is involved with through teams to the list in sidebar in projects page

The implementation is horrible. A single database query should
be used to get the list.

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoSet the order of user's own projects to updated at desc in project browser
Tero Hänninen [Mon, 26 Jul 2010 11:28:38 +0000 (14:28 +0300)]
Set the order of user's own projects to updated at desc in project browser

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoNew repo clone gets the same visibility as the original repo
Tero Hänninen [Mon, 26 Jul 2010 10:41:02 +0000 (13:41 +0300)]
New repo clone gets the same visibility as the original repo

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd list of user's own projects to projects page
Tero Hänninen [Mon, 26 Jul 2010 08:58:36 +0000 (11:58 +0300)]
Add list of user's own projects to projects page

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd helper method that returns abbreviated visibility for some object if it's private
Tero Hänninen [Mon, 26 Jul 2010 08:57:50 +0000 (11:57 +0300)]
Add helper method that returns abbreviated visibility for some object if it's private

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoAdd abbreviations for visibility to en.rb
Tero Hänninen [Mon, 26 Jul 2010 08:54:11 +0000 (11:54 +0300)]
Add abbreviations for visibility to en.rb

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoMake sure the user has view right to repo when trying to access it via SSH
Marko Peltola [Thu, 22 Jul 2010 15:00:50 +0000 (18:00 +0300)]
Make sure the user has view right to repo when trying to access it via SSH

Signed-off-by: Marko Peltola <marko.peltola@jyu.fi>
7 years agoAdd a URL query method to check the view right to repo
Marko Peltola [Thu, 22 Jul 2010 09:19:20 +0000 (12:19 +0300)]
Add a URL query method to check the view right to repo

Signed-off-by: Marko Peltola <marko.peltola@jyu.fi>
7 years agoFix prob with find_repository in merge req versions controller
Tero Hänninen [Fri, 16 Jul 2010 06:54:36 +0000 (09:54 +0300)]
Fix prob with find_repository in merge req versions controller

Signed-off-by: Tero Hänninen <tero.j.hanninen@jyu.fi>
7 years agoFix wiki permissions
Marko Peltola [Thu, 17 Jun 2010 09:11:54 +0000 (12:11 +0300)]
Fix wiki permissions

Before filter tried to find view right to project, but it didn't
know yet what that project was.

Signed-off-by: Marko Peltola <marko.peltola@jyu.fi>
7 years agoOnly show public events in system activities
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 13:27:00 +0000 (16:27 +0300)]
Only show public events in system activities

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd named scope visibility_all to event.rb
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 13:26:18 +0000 (16:26 +0300)]
Add named scope visibility_all to event.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix named scopes visibility_all/publics
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 13:25:41 +0000 (16:25 +0300)]
Fix named scopes visibility_all/publics

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoNotify collaborators when new collaborator added
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 11:06:22 +0000 (14:06 +0300)]
Notify collaborators when new collaborator added

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate schema.rb after updating visibilities for projects and repos
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 09:23:36 +0000 (12:23 +0300)]
Update schema.rb after updating visibilities for projects and repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd migrations to update all visibilities for projects and repos
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 09:22:50 +0000 (12:22 +0300)]
Add migrations to update all visibilities for projects and repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoShow visibility in project page and repo page
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 08:56:48 +0000 (11:56 +0300)]
Show visibility in project page and repo page

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate projects helper to use en.rb for visibility strings
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 08:56:13 +0000 (11:56 +0300)]
Update projects helper to use en.rb for visibility strings

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd method visibility_human_name to Project and Repo
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 08:55:08 +0000 (11:55 +0300)]
Add method visibility_human_name to Project and Repo

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd visibility entries to en.rb
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 08:53:47 +0000 (11:53 +0300)]
Add visibility entries to en.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd some copyright notices
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 08:06:24 +0000 (11:06 +0300)]
Add some copyright notices

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoTweak search controller
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 06:47:22 +0000 (09:47 +0300)]
Tweak search controller

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd vis methods with same names as in project.rb
Marko Peltola and Tero Hänninen [Mon, 14 Jun 2010 06:45:16 +0000 (09:45 +0300)]
Add vis methods with same names as in project.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoEvent.rb, create_feed_items: do nothing unless self.visibility_all?
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 10:47:48 +0000 (13:47 +0300)]
Event.rb, create_feed_items: do nothing unless self.visibility_all?

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUsers contoller, method feed: exclude nonpublic events
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 10:46:17 +0000 (13:46 +0300)]
Users contoller, method feed: exclude nonpublic events

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFeedItem: dont create feeds of nonpublic events
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 10:44:46 +0000 (13:44 +0300)]
FeedItem: dont create feeds of nonpublic events

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate method show in users contoller: dont show private stuff
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:48:12 +0000 (12:48 +0300)]
Update method show in users contoller: dont show private stuff

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate Favorite: fix method can_be_viewed_by?, add method visible?
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:47:13 +0000 (12:47 +0300)]
Update Favorite: fix method can_be_viewed_by?, add method visible?

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoRefactor visib methods in Event
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:26:44 +0000 (12:26 +0300)]
Refactor visib methods in Event

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoRefactor visib methods in Favorite
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:25:43 +0000 (12:25 +0300)]
Refactor visib methods in Favorite

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd visibility methods to MergeRequest
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:18:39 +0000 (12:18 +0300)]
Add visibility methods to MergeRequest

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd visibility methods to Favorite
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 09:18:02 +0000 (12:18 +0300)]
Add visibility methods to Favorite

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoDon't show http clone urls for private repos
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 07:36:39 +0000 (10:36 +0300)]
Don't show http clone urls for private repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoForbid http protocol for private repos
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 07:26:17 +0000 (10:26 +0300)]
Forbid http protocol for private repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoForbid git-protocol for private repos
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 07:01:53 +0000 (10:01 +0300)]
Forbid git-protocol for private repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoTeam page: don't show stuff that current user dont have view right to
Marko Peltola and Tero Hänninen [Fri, 11 Jun 2010 06:44:19 +0000 (09:44 +0300)]
Team page: don't show stuff that current user dont have view right to

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix recently_updated_group/user_repository_clones in project.rb
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 12:57:42 +0000 (15:57 +0300)]
Fix recently_updated_group/user_repository_clones in project.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoIn project/repositories page (repository clones), don't show repos that user shouldn...
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 12:56:45 +0000 (15:56 +0300)]
In project/repositories page (repository clones), don't show repos that user shouldn't see

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoVisibility: update projects controller (show, clones)
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 12:54:04 +0000 (15:54 +0300)]
Visibility: update projects controller (show, clones)

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoVisibility: update projects controller to make use of new methods in project.rb
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 12:08:02 +0000 (15:08 +0300)]
Visibility: update projects controller to make use of new methods in project.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd method repositories_viewable_by to Project and make use of it
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 12:06:26 +0000 (15:06 +0300)]
Add method repositories_viewable_by to Project and make use of it

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoVisibility: Move some responsibility from erb to controller (project/show)
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 11:55:58 +0000 (14:55 +0300)]
Visibility: Move some responsibility from erb to controller (project/show)

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoProject-page: only show the events that user should see
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 11:47:36 +0000 (14:47 +0300)]
Project-page: only show the events that user should see

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd method always_visible? to Event and make use of it
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 11:24:02 +0000 (14:24 +0300)]
Add method always_visible? to Event and make use of it

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate show in projects controller: group and user clones visibility
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 11:23:14 +0000 (14:23 +0300)]
Update show in projects controller: group and user clones visibility

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoRemove useless named scope in event.rb
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 10:50:37 +0000 (13:50 +0300)]
Remove useless named scope in event.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoVis-update: latest_in_projects in Event
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 09:32:50 +0000 (12:32 +0300)]
Vis-update: latest_in_projects in Event

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate vis code in Event: add method, make use of it in method latest
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 09:07:13 +0000 (12:07 +0300)]
Update vis code in Event: add method, make use of it in method latest

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix two vis methods in Event
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 09:00:39 +0000 (12:00 +0300)]
Fix two vis methods in Event

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd methods visibility_all? and visibility_publics? to Repository for convenience
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 08:50:46 +0000 (11:50 +0300)]
Add methods visibility_all? and visibility_publics? to Repository for convenience

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoRename method visibility_all_or_logged_in? => visibility_publics? in Project
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 08:49:20 +0000 (11:49 +0300)]
Rename method visibility_all_or_logged_in? => visibility_publics? in Project

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate Event.latest and method call to it in site controller
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 08:13:02 +0000 (11:13 +0300)]
Update Event.latest and method call to it in site controller

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate site controller to use Project.visibility_publics_or_all
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 08:07:16 +0000 (11:07 +0300)]
Update site controller to use Project.visibility_publics_or_all

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd method visibility_publics_or_all to project.rb, use it in controllers
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 07:37:28 +0000 (10:37 +0300)]
Add method visibility_publics_or_all to project.rb, use it in controllers

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoVis-update: most_active_recently in Project and calls to it in controllers
Marko Peltola and Tero Hänninen [Thu, 10 Jun 2010 07:13:50 +0000 (10:13 +0300)]
Vis-update: most_active_recently in Project and calls to it in controllers

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoDon't list pri-projects in projects page's main list
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 14:33:46 +0000 (17:33 +0300)]
Don't list pri-projects in projects page's main list

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoSite controller: don't include pri-projects in latest projects in
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 14:26:06 +0000 (17:26 +0300)]
Site controller: don't include pri-projects in latest projects in
render_site_index or render_public_timeline

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoDon't show pri-repos in project page for those without view right
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 14:15:01 +0000 (17:15 +0300)]
Don't show pri-repos in project page for those without view right

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix named scope visibility_publics in event.rb
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 14:11:12 +0000 (17:11 +0300)]
Fix named scope visibility_publics in event.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd two visib methods to event.rb
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 13:47:56 +0000 (16:47 +0300)]
Add two visib methods to event.rb

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd two named scopes to event.rb: excluding_private_repos, visibility_publics
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 13:47:00 +0000 (16:47 +0300)]
Add two named scopes to event.rb: excluding_private_repos, visibility_publics

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix method call in private_by_project? in repo model
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 09:40:58 +0000 (12:40 +0300)]
Fix method call in private_by_project? in repo model

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoDon't show private repos/projects in search results
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 08:59:07 +0000 (11:59 +0300)]
Don't show private repos/projects in search results

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd view right before_filter to some controllers
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 08:39:14 +0000 (11:39 +0300)]
Add view right before_filter to some controllers

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate visib methods in repo model to take into account project visib
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 07:56:57 +0000 (10:56 +0300)]
Update visib methods in repo model to take into account project visib

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoUpdate visibility named scopes for repos
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 07:37:45 +0000 (10:37 +0300)]
Update visibility named scopes for repos

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoAdd two named scopes for projects
Marko Peltola and Tero Hänninen [Wed, 9 Jun 2010 07:28:04 +0000 (10:28 +0300)]
Add two named scopes for projects

Signed-off-by: Marko Peltola and Tero Hänninen <yousource-dev.group@korppi.jyu.fi>
7 years agoFix type of visibility attr of projects in database
Marko Peltola [Wed, 9 Jun 2010 06:51:08 +0000 (09:51 +0300)]
Fix type of visibility attr of projects in database

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd visibility selector to project form
Marko Peltola [Tue, 8 Jun 2010 14:06:04 +0000 (17:06 +0300)]
Add visibility selector to project form

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd private repo chkbox to new and edit pages for repos
Marko Peltola [Tue, 8 Jun 2010 13:13:31 +0000 (16:13 +0300)]
Add private repo chkbox to new and edit pages for repos

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd a few copyright notices
Marko Peltola [Tue, 8 Jun 2010 12:41:33 +0000 (15:41 +0300)]
Add a few copyright notices

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd methods for requiring view right in app controller
Marko Peltola [Tue, 8 Jun 2010 12:29:45 +0000 (15:29 +0300)]
Add methods for requiring view right in app controller

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd constants and some methods for visibility in project.rb
Marko Peltola [Tue, 8 Jun 2010 12:21:02 +0000 (15:21 +0300)]
Add constants and some methods for visibility in project.rb

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd visibility attribute to projects in database
Marko Peltola [Tue, 8 Jun 2010 11:57:42 +0000 (14:57 +0300)]
Add visibility attribute to projects in database

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd collaborator? method to repo model
Marko Peltola [Tue, 8 Jun 2010 11:40:12 +0000 (14:40 +0300)]
Add collaborator? method to repo model

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoImplement method private_by_attribute? in repo model
Marko Peltola [Tue, 8 Jun 2010 10:56:50 +0000 (13:56 +0300)]
Implement method private_by_attribute? in repo model

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd private_repo column to repositories in database
Tero Hanninen [Tue, 8 Jun 2010 09:44:28 +0000 (12:44 +0300)]
Add private_repo column to repositories in database

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd named scope visible_to_world in repo model
Marko Peltola [Tue, 8 Jun 2010 09:22:21 +0000 (12:22 +0300)]
Add named scope visible_to_world in repo model

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd before_filter for visibility in repo controller
Marko Peltola [Tue, 8 Jun 2010 08:45:11 +0000 (11:45 +0300)]
Add before_filter for visibility in repo controller

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd methods and fix clone_url for visibility in repo model
Marko Peltola [Tue, 8 Jun 2010 08:44:28 +0000 (11:44 +0300)]
Add methods and fix clone_url for visibility in repo model

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd entry for view right in committerships new page
Marko Peltola [Tue, 8 Jun 2010 08:20:45 +0000 (11:20 +0300)]
Add entry for view right in committerships new page

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd chkbox for view in committerships edit page
Marko Peltola [Tue, 8 Jun 2010 08:16:16 +0000 (11:16 +0300)]
Add chkbox for view in committerships edit page

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd explanation for viewers
Marko Peltola [Tue, 8 Jun 2010 07:47:40 +0000 (10:47 +0300)]
Add explanation for viewers

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoAdd code for viewer to committership.rb
Tero Hanninen [Tue, 8 Jun 2010 07:41:11 +0000 (10:41 +0300)]
Add code for viewer to committership.rb

Signed-off-by: Tero Hanninen <tero.j.hanninen@jyu.fi>
7 years agoDon't attempt to show "Clone of" link if there's no parent
Johan Sørensen [Mon, 7 Jun 2010 10:28:12 +0000 (12:28 +0200)]
Don't attempt to show "Clone of" link if there's no parent

7 years agoFaster and cached projects#show events pagination
Johan Sørensen [Mon, 7 Jun 2010 08:09:54 +0000 (10:09 +0200)]
Faster and cached projects#show events pagination

7 years agofixed failing test
Johan Sørensen [Mon, 7 Jun 2010 08:09:39 +0000 (10:09 +0200)]
fixed failing test

7 years agoRemove deprecation warning from will_paginate
Johan Sørensen [Mon, 7 Jun 2010 07:25:27 +0000 (09:25 +0200)]
Remove deprecation warning from will_paginate

7 years ago@page_title is set in the view
Johan Sørensen [Mon, 7 Jun 2010 07:24:20 +0000 (09:24 +0200)]
@page_title is set in the view

7 years agoCache User#paginated_events_in_watchlist
Johan Sørensen [Mon, 7 Jun 2010 06:58:59 +0000 (08:58 +0200)]
Cache User#paginated_events_in_watchlist

7 years agoMerge branch 'master' of git.shortcut.no:gitorious/gitorious
Ole Martin Kristiansen [Wed, 2 Jun 2010 08:13:29 +0000 (10:13 +0200)]
Merge branch 'master' of git.shortcut.no:gitorious/gitorious

7 years agoFixed a bug with the repository button "Clone of", added it below the Branches list.
Ole Martin Kristiansen [Wed, 2 Jun 2010 08:12:22 +0000 (10:12 +0200)]
Fixed a bug with the repository button "Clone of", added it below the Branches list.

Fixed error feedback on register page.

7 years agoMade the toggling of favorites change the text properly on success
Johan Sørensen [Tue, 1 Jun 2010 14:03:27 +0000 (16:03 +0200)]
Made the toggling of favorites change the text properly on success

7 years agosubmodule ref bump
Johan Sørensen [Tue, 1 Jun 2010 11:43:09 +0000 (13:43 +0200)]
submodule ref bump