diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-01-04 03:50:07 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-01-04 03:50:07 +0200 |
commit | c3a2fa00261a54653d39d4b8951c6ec2aa7ab61f (patch) | |
tree | 7452a992ee3e0ac5f75b843ccadf3ecf04e7531e | |
parent | 38e3b193a6cfb21ab1d0a6a23e571cd4026d851e (diff) |
2012 copyrights
--HG--
branch : beta
69 files changed, 152 insertions, 70 deletions
diff --git a/rhodecode/__init__.py b/rhodecode/__init__.py index e550a0d1..0ccf27e6 100644 --- a/rhodecode/__init__.py +++ b/rhodecode/__init__.py @@ -8,7 +8,7 @@ :created_on: Apr 9, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/admin.py b/rhodecode/controllers/admin/admin.py index f0eb1274..3e14e761 100644 --- a/rhodecode/controllers/admin/admin.py +++ b/rhodecode/controllers/admin/admin.py @@ -7,7 +7,7 @@ :created_on: Apr 7, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/ldap_settings.py b/rhodecode/controllers/admin/ldap_settings.py index 97816521..aef7667d 100644 --- a/rhodecode/controllers/admin/ldap_settings.py +++ b/rhodecode/controllers/admin/ldap_settings.py @@ -7,7 +7,7 @@ :created_on: Nov 26, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/notifications.py b/rhodecode/controllers/admin/notifications.py index 522d6f36..f7c5b348 100644 --- a/rhodecode/controllers/admin/notifications.py +++ b/rhodecode/controllers/admin/notifications.py @@ -1,3 +1,28 @@ +# -*- coding: utf-8 -*- +""" + rhodecode.controllers.admin.notifications + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + notifications controller for RhodeCode + + :created_on: Nov 23, 2010 + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> + :license: GPLv3, see COPYING for more details. +""" +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import logging import traceback diff --git a/rhodecode/controllers/admin/permissions.py b/rhodecode/controllers/admin/permissions.py index a3d90dc2..490d0ea1 100644 --- a/rhodecode/controllers/admin/permissions.py +++ b/rhodecode/controllers/admin/permissions.py @@ -7,7 +7,7 @@ :created_on: Apr 27, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/repos.py b/rhodecode/controllers/admin/repos.py index c8d688fe..b71ed2ea 100644 --- a/rhodecode/controllers/admin/repos.py +++ b/rhodecode/controllers/admin/repos.py @@ -7,7 +7,7 @@ :created_on: Apr 7, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/repos_groups.py b/rhodecode/controllers/admin/repos_groups.py index ac6c2b5b..e6fd786b 100644 --- a/rhodecode/controllers/admin/repos_groups.py +++ b/rhodecode/controllers/admin/repos_groups.py @@ -1,9 +1,33 @@ +# -*- coding: utf-8 -*- +""" + rhodecode.controllers.admin.repos_groups + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + repos groups controller for RhodeCode + + :created_on: Mar 23, 2010 + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> + :license: GPLv3, see COPYING for more details. +""" +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import logging import traceback import formencode from formencode import htmlfill -from operator import itemgetter from pylons import request, response, session, tmpl_context as c, url from pylons.controllers.util import abort, redirect diff --git a/rhodecode/controllers/admin/settings.py b/rhodecode/controllers/admin/settings.py index cc026d09..11f843a5 100644 --- a/rhodecode/controllers/admin/settings.py +++ b/rhodecode/controllers/admin/settings.py @@ -7,7 +7,7 @@ :created_on: Jul 14, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/admin/users.py b/rhodecode/controllers/admin/users.py index 581c4782..90236b76 100644 --- a/rhodecode/controllers/admin/users.py +++ b/rhodecode/controllers/admin/users.py @@ -7,7 +7,7 @@ :created_on: Apr 4, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify @@ -29,7 +29,7 @@ import formencode from formencode import htmlfill from pylons import request, session, tmpl_context as c, url, config -from pylons.controllers.util import abort, redirect +from pylons.controllers.util import redirect from pylons.i18n.translation import _ from rhodecode.lib.exceptions import DefaultUserException, \ @@ -38,7 +38,7 @@ from rhodecode.lib import helpers as h from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator from rhodecode.lib.base import BaseController, render -from rhodecode.model.db import User, UserRepoToPerm, UserToPerm, Permission +from rhodecode.model.db import User, Permission from rhodecode.model.forms import UserForm from rhodecode.model.user import UserModel from rhodecode.model.meta import Session diff --git a/rhodecode/controllers/admin/users_groups.py b/rhodecode/controllers/admin/users_groups.py index eec9fa48..b51745a4 100644 --- a/rhodecode/controllers/admin/users_groups.py +++ b/rhodecode/controllers/admin/users_groups.py @@ -7,7 +7,7 @@ :created_on: Jan 25, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/api/__init__.py b/rhodecode/controllers/api/__init__.py index 013ff40c..0f317f18 100644 --- a/rhodecode/controllers/api/__init__.py +++ b/rhodecode/controllers/api/__init__.py @@ -7,7 +7,7 @@ :created_on: Aug 20, 2011 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software; you can redistribute it and/or diff --git a/rhodecode/controllers/api/api.py b/rhodecode/controllers/api/api.py index 3f964347..2d26bf34 100644 --- a/rhodecode/controllers/api/api.py +++ b/rhodecode/controllers/api/api.py @@ -1,3 +1,30 @@ +# -*- coding: utf-8 -*- +""" + rhodecode.controllers.api + ~~~~~~~~~~~~~~~~~~~~~~~~~ + + API controller for RhodeCode + + :created_on: Aug 20, 2011 + :author: marcink + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> + :license: GPLv3, see COPYING for more details. +""" +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; version 2 +# of the License or (at your opinion) any later version of the license. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. + import traceback import logging diff --git a/rhodecode/controllers/bookmarks.py b/rhodecode/controllers/bookmarks.py index 535e0aa5..368e3e00 100644 --- a/rhodecode/controllers/bookmarks.py +++ b/rhodecode/controllers/bookmarks.py @@ -7,7 +7,7 @@ :created_on: Dec 1, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/branches.py b/rhodecode/controllers/branches.py index efd0a5ba..93a324a8 100644 --- a/rhodecode/controllers/branches.py +++ b/rhodecode/controllers/branches.py @@ -7,7 +7,7 @@ :created_on: Apr 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/changelog.py b/rhodecode/controllers/changelog.py index 2f751b2d..5e1b9b21 100644 --- a/rhodecode/controllers/changelog.py +++ b/rhodecode/controllers/changelog.py @@ -7,7 +7,7 @@ :created_on: Apr 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py index 903ba9cf..a9b39c7c 100644 --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -8,7 +8,7 @@ :created_on: Apr 25, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/error.py b/rhodecode/controllers/error.py index 10ed6471..c269ac67 100644 --- a/rhodecode/controllers/error.py +++ b/rhodecode/controllers/error.py @@ -7,7 +7,7 @@ :created_on: Dec 8, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/feed.py b/rhodecode/controllers/feed.py index 247092d8..ee674874 100644 --- a/rhodecode/controllers/feed.py +++ b/rhodecode/controllers/feed.py @@ -7,7 +7,7 @@ :created_on: Apr 23, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/files.py b/rhodecode/controllers/files.py index da07ac5a..1ca0e6bd 100644 --- a/rhodecode/controllers/files.py +++ b/rhodecode/controllers/files.py @@ -7,7 +7,7 @@ :created_on: Apr 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/followers.py b/rhodecode/controllers/followers.py index 14663bb6..5aae31a9 100644 --- a/rhodecode/controllers/followers.py +++ b/rhodecode/controllers/followers.py @@ -7,7 +7,7 @@ :created_on: Apr 23, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/forks.py b/rhodecode/controllers/forks.py index 3f196d25..7c928cdd 100644 --- a/rhodecode/controllers/forks.py +++ b/rhodecode/controllers/forks.py @@ -7,7 +7,7 @@ :created_on: Apr 23, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/home.py b/rhodecode/controllers/home.py index ad72fc1d..9129a89c 100644 --- a/rhodecode/controllers/home.py +++ b/rhodecode/controllers/home.py @@ -7,7 +7,7 @@ :created_on: Feb 18, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/journal.py b/rhodecode/controllers/journal.py index 7d249ad8..54c55a85 100644 --- a/rhodecode/controllers/journal.py +++ b/rhodecode/controllers/journal.py @@ -7,7 +7,7 @@ :created_on: Nov 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/login.py b/rhodecode/controllers/login.py index b82cabb2..2fb344c9 100644 --- a/rhodecode/controllers/login.py +++ b/rhodecode/controllers/login.py @@ -7,7 +7,7 @@ :created_on: Apr 22, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/search.py b/rhodecode/controllers/search.py index 1a9b9be6..75f232a3 100644 --- a/rhodecode/controllers/search.py +++ b/rhodecode/controllers/search.py @@ -7,7 +7,7 @@ :created_on: Aug 7, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/settings.py b/rhodecode/controllers/settings.py index 78182c46..06bbd927 100644 --- a/rhodecode/controllers/settings.py +++ b/rhodecode/controllers/settings.py @@ -7,7 +7,7 @@ :created_on: Jun 30, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/shortlog.py b/rhodecode/controllers/shortlog.py index fcdf3eb3..78b4f5f6 100644 --- a/rhodecode/controllers/shortlog.py +++ b/rhodecode/controllers/shortlog.py @@ -7,7 +7,7 @@ :created_on: Apr 18, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/summary.py b/rhodecode/controllers/summary.py index 7eb51671..e0f8ac65 100644 --- a/rhodecode/controllers/summary.py +++ b/rhodecode/controllers/summary.py @@ -7,7 +7,7 @@ :created_on: Apr 18, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/controllers/tags.py b/rhodecode/controllers/tags.py index cc9e817f..c078e4e5 100644 --- a/rhodecode/controllers/tags.py +++ b/rhodecode/controllers/tags.py @@ -7,7 +7,7 @@ :created_on: Apr 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/__init__.py b/rhodecode/lib/__init__.py index be3600cb..9a194782 100644 --- a/rhodecode/lib/__init__.py +++ b/rhodecode/lib/__init__.py @@ -7,7 +7,7 @@ :created_on: Jan 5, 2011 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/annotate.py b/rhodecode/lib/annotate.py index fd52a119..e850dd06 100644 --- a/rhodecode/lib/annotate.py +++ b/rhodecode/lib/annotate.py @@ -7,7 +7,7 @@ :created_on: Dec 4, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ diff --git a/rhodecode/lib/auth.py b/rhodecode/lib/auth.py index 524494e7..14028bcc 100644 --- a/rhodecode/lib/auth.py +++ b/rhodecode/lib/auth.py @@ -6,7 +6,8 @@ authentication and permission libraries :created_on: Apr 4, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/auth_ldap.py b/rhodecode/lib/auth_ldap.py index 90eefdb9..3f7773d3 100644 --- a/rhodecode/lib/auth_ldap.py +++ b/rhodecode/lib/auth_ldap.py @@ -7,7 +7,7 @@ :created_on: Created on Nov 17, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/backup_manager.py b/rhodecode/lib/backup_manager.py index b59b8797..65cc8e38 100644 --- a/rhodecode/lib/backup_manager.py +++ b/rhodecode/lib/backup_manager.py @@ -7,7 +7,8 @@ repositories and send it to backup server using RSA key via ssh. :created_on: Feb 28, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/celerylib/__init__.py b/rhodecode/lib/celerylib/__init__.py index cee34025..17077901 100644 --- a/rhodecode/lib/celerylib/__init__.py +++ b/rhodecode/lib/celerylib/__init__.py @@ -7,7 +7,7 @@ :created_on: Nov 27, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/celerylib/tasks.py b/rhodecode/lib/celerylib/tasks.py index a3231b19..a90199a0 100644 --- a/rhodecode/lib/celerylib/tasks.py +++ b/rhodecode/lib/celerylib/tasks.py @@ -8,7 +8,7 @@ :created_on: Oct 6, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/compat.py b/rhodecode/lib/compat.py index b7904083..9c480c0b 100644 --- a/rhodecode/lib/compat.py +++ b/rhodecode/lib/compat.py @@ -8,7 +8,7 @@ :created_on: Oct 7, 2011 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2010 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/db_manage.py b/rhodecode/lib/db_manage.py index b56b86d6..925d5a4c 100644 --- a/rhodecode/lib/db_manage.py +++ b/rhodecode/lib/db_manage.py @@ -8,7 +8,7 @@ :created_on: Apr 10, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/dbmigrate/__init__.py b/rhodecode/lib/dbmigrate/__init__.py index bb3eac98..00f5352f 100644 --- a/rhodecode/lib/dbmigrate/__init__.py +++ b/rhodecode/lib/dbmigrate/__init__.py @@ -7,7 +7,7 @@ :created_on: Dec 11, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/dbmigrate/schema/db_1_2_0.py b/rhodecode/lib/dbmigrate/schema/db_1_2_0.py index e62bf588..0a16f7b3 100755 --- a/rhodecode/lib/dbmigrate/schema/db_1_2_0.py +++ b/rhodecode/lib/dbmigrate/schema/db_1_2_0.py @@ -7,7 +7,7 @@ :created_on: Apr 08, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/dbmigrate/schema/db_1_3_0.py b/rhodecode/lib/dbmigrate/schema/db_1_3_0.py index 0c5e6301..c5e57a41 100644 --- a/rhodecode/lib/dbmigrate/schema/db_1_3_0.py +++ b/rhodecode/lib/dbmigrate/schema/db_1_3_0.py @@ -7,7 +7,7 @@ :created_on: Apr 08, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/dbmigrate/versions/__init__.py b/rhodecode/lib/dbmigrate/versions/__init__.py index bcc4a8d8..3ab0e613 100644 --- a/rhodecode/lib/dbmigrate/versions/__init__.py +++ b/rhodecode/lib/dbmigrate/versions/__init__.py @@ -7,7 +7,7 @@ :created_on: Dec 11, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py index c636f038..6d30790a 100644 --- a/rhodecode/lib/diffs.py +++ b/rhodecode/lib/diffs.py @@ -8,7 +8,7 @@ :created_on: Dec 4, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :original copyright: 2007-2008 by Armin Ronacher :license: GPLv3, see COPYING for more details. """ diff --git a/rhodecode/lib/exceptions.py b/rhodecode/lib/exceptions.py index d1d132ef..3339c14c 100644 --- a/rhodecode/lib/exceptions.py +++ b/rhodecode/lib/exceptions.py @@ -6,7 +6,8 @@ Set of custom exceptions used in RhodeCode :created_on: Nov 17, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify @@ -46,5 +47,6 @@ class DefaultUserException(Exception): class UserOwnsReposException(Exception): pass + class UsersGroupsAssignedException(Exception): pass diff --git a/rhodecode/lib/hooks.py b/rhodecode/lib/hooks.py index ff2ee185..e6b16775 100644 --- a/rhodecode/lib/hooks.py +++ b/rhodecode/lib/hooks.py @@ -7,7 +7,7 @@ :created_on: Aug 6, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/indexers/__init__.py b/rhodecode/lib/indexers/__init__.py index 72a4383f..b6a8ba99 100644 --- a/rhodecode/lib/indexers/__init__.py +++ b/rhodecode/lib/indexers/__init__.py @@ -7,7 +7,7 @@ :created_on: Aug 17, 2010 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/indexers/daemon.py b/rhodecode/lib/indexers/daemon.py index 0cf8634e..27d8504b 100644 --- a/rhodecode/lib/indexers/daemon.py +++ b/rhodecode/lib/indexers/daemon.py @@ -7,7 +7,7 @@ :created_on: Jan 26, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/markup_renderer.py b/rhodecode/lib/markup_renderer.py index 364a9753..ab9dc840 100644 --- a/rhodecode/lib/markup_renderer.py +++ b/rhodecode/lib/markup_renderer.py @@ -8,7 +8,7 @@ :created_on: Oct 27, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/middleware/https_fixup.py b/rhodecode/lib/middleware/https_fixup.py index 235f95e0..4cdb1ed2 100644 --- a/rhodecode/lib/middleware/https_fixup.py +++ b/rhodecode/lib/middleware/https_fixup.py @@ -7,7 +7,7 @@ :created_on: May 23, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/middleware/simplegit.py b/rhodecode/lib/middleware/simplegit.py index 8d6d50b0..677354e9 100644 --- a/rhodecode/lib/middleware/simplegit.py +++ b/rhodecode/lib/middleware/simplegit.py @@ -8,7 +8,7 @@ :created_on: Apr 28, 2010 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/middleware/simplehg.py b/rhodecode/lib/middleware/simplehg.py index 306ce069..352950ee 100644 --- a/rhodecode/lib/middleware/simplehg.py +++ b/rhodecode/lib/middleware/simplehg.py @@ -8,7 +8,7 @@ :created_on: Apr 28, 2010 :author: marcink - :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/lib/rcmail/smtp_mailer.py b/rhodecode/lib/rcmail/smtp_mailer.py index 653b9d84..2807d281 100644 --- a/rhodecode/lib/rcmail/smtp_mailer.py +++ b/rhodecode/lib/rcmail/smtp_mailer.py @@ -6,7 +6,7 @@ Simple smtp mailer used in RhodeCode :created_on: Sep 13, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify @@ -27,6 +27,7 @@ import smtplib from socket import sslerror from rhodecode.lib.rcmail.message import Message + class SmtpMailer(object): """SMTP mailer class @@ -53,7 +54,6 @@ class SmtpMailer(object): self.debug = debug self.auth = smtp_auth - def send(self, recipients=[], subject='', body='', html='', attachment_files=None): diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py index eea50440..7e6b73db 100644 --- a/rhodecode/lib/utils.py +++ b/rhodecode/lib/utils.py @@ -7,7 +7,7 @@ :created_on: Apr 18, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/__init__.py b/rhodecode/model/__init__.py index 9f1a389d..90801673 100644 --- a/rhodecode/model/__init__.py +++ b/rhodecode/model/__init__.py @@ -7,7 +7,7 @@ :created_on: Nov 25, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. diff --git a/rhodecode/model/comment.py b/rhodecode/model/comment.py index e1b4fbef..dc20c1eb 100644 --- a/rhodecode/model/comment.py +++ b/rhodecode/model/comment.py @@ -7,7 +7,7 @@ :created_on: Nov 11, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py index 0ea75385..fa9f9b09 100755 --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -7,7 +7,7 @@ :created_on: Apr 08, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/notification.py b/rhodecode/model/notification.py index f20cacf4..44c82c27 100644 --- a/rhodecode/model/notification.py +++ b/rhodecode/model/notification.py @@ -8,7 +8,7 @@ :created_on: Nov 20, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/permission.py b/rhodecode/model/permission.py index d330e6bf..96f63e70 100644 --- a/rhodecode/model/permission.py +++ b/rhodecode/model/permission.py @@ -7,7 +7,7 @@ :created_on: Aug 20, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/repo.py b/rhodecode/model/repo.py index 55c70c58..da66af56 100644 --- a/rhodecode/model/repo.py +++ b/rhodecode/model/repo.py @@ -7,7 +7,7 @@ :created_on: Jun 5, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/repo_permission.py b/rhodecode/model/repo_permission.py index 4280f588..7a9cc8e2 100644 --- a/rhodecode/model/repo_permission.py +++ b/rhodecode/model/repo_permission.py @@ -8,7 +8,7 @@ :created_on: Oct 1, 2011 :author: nvinot, marcink :copyright: (C) 2011-2011 Nicolas Vinot <aeris@imirhil.fr> - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/repos_group.py b/rhodecode/model/repos_group.py index a081a90c..02882c69 100644 --- a/rhodecode/model/repos_group.py +++ b/rhodecode/model/repos_group.py @@ -7,7 +7,7 @@ :created_on: Jan 25, 2011 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/scm.py b/rhodecode/model/scm.py index ef8dff09..9f3bead5 100644 --- a/rhodecode/model/scm.py +++ b/rhodecode/model/scm.py @@ -7,7 +7,7 @@ :created_on: Apr 9, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py index f9dcf328..7d95e90f 100644 --- a/rhodecode/model/user.py +++ b/rhodecode/model/user.py @@ -7,7 +7,7 @@ :created_on: Apr 9, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/model/users_group.py b/rhodecode/model/users_group.py index 7b2a44fa..d3f43d5f 100644 --- a/rhodecode/model/users_group.py +++ b/rhodecode/model/users_group.py @@ -8,6 +8,7 @@ :created_on: Oct 1, 2011 :author: nvinot :copyright: (C) 2011-2011 Nicolas Vinot <aeris@imirhil.fr> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify @@ -137,7 +138,6 @@ class UsersGroupModel(BaseModel): new.permission = perm self.sa.add(new) - def revoke_perm(self, users_group, perm): if not isinstance(perm, Permission): raise Exception('perm needs to be an instance of Permission class') diff --git a/rhodecode/tests/_test_concurency.py b/rhodecode/tests/_test_concurency.py index 07a7c2fc..dd2686a0 100644 --- a/rhodecode/tests/_test_concurency.py +++ b/rhodecode/tests/_test_concurency.py @@ -6,7 +6,8 @@ Test suite for making push/pull operations :created_on: Dec 30, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/tests/rhodecode_crawler.py b/rhodecode/tests/rhodecode_crawler.py index 95a233ae..0c05f026 100755 --- a/rhodecode/tests/rhodecode_crawler.py +++ b/rhodecode/tests/rhodecode_crawler.py @@ -11,7 +11,7 @@ :created_on: Apr 21, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/tests/test_hg_operations.py b/rhodecode/tests/test_hg_operations.py index 749f6452..4879a3a5 100755 --- a/rhodecode/tests/test_hg_operations.py +++ b/rhodecode/tests/test_hg_operations.py @@ -6,7 +6,8 @@ Test suite for making push/pull operations :created_on: Dec 30, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :author: marcink + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/tests/test_libs.py b/rhodecode/tests/test_libs.py index 5351bfa8..c01fac73 100644 --- a/rhodecode/tests/test_libs.py +++ b/rhodecode/tests/test_libs.py @@ -7,7 +7,7 @@ Package for testing various lib/helper functions in rhodecode :created_on: Jun 9, 2011 - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2011-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify diff --git a/rhodecode/websetup.py b/rhodecode/websetup.py index 9facc175..40d1d295 100644 --- a/rhodecode/websetup.py +++ b/rhodecode/websetup.py @@ -7,7 +7,7 @@ :created_on: Dec 11, 2010 :author: marcink - :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com> + :copyright: (C) 2010-2012 Marcin Kuzminski <marcin@python-works.com> :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify |