Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
marcink
- Thu, 29 Dec 2011 05:35:51
Show More
rhodecode/controllers/admin/repos_groups.py
0
0
-2
@@
-226,5
+226,3
class ReposGroupsController(BaseControll
226
226
encoding = "UTF-8" ,
227
227
force_defaults = False
228
228
)
229
230
rhodecode/controllers/api/__init__.py
0
0
-1
@@
-259,4
+259,3
class JSONRPCController(WSGIController):
259
259
return func
260
260
else :
261
261
raise AttributeError ( "No such method: %s " % self . _req_method )
262
rhodecode/controllers/changelog.py
0
0
-1
@@
-139,4
+139,3
class ChangelogController(BaseRepoContro
139
139
data . append ([ '' , vtx , edges ])
140
140
141
141
c . jsdata = json . dumps ( data )
142
rhodecode/controllers/files.py
0
0
-1
@@
-490,4
+490,3
class FilesController(BaseRepoController
490
490
_d , _f = ScmModel () . get_nodes ( repo_name , cs . raw_id , f_path ,
491
491
flat = False )
492
492
return _d + _f
493
rhodecode/controllers/home.py
0
0
-1
@@
-66,4
+66,3
class HomeController(BaseController):
66
66
return render ( '/switch_to_list.html' )
67
67
else :
68
68
return HTTPBadRequest ()
69
rhodecode/controllers/summary.py
0
0
-1
rhodecode/lib/auth.py
0
0
-1
@@
-696,4
+696,3
class HasPermissionAnyMiddleware(object)
696
696
return True
697
697
log . debug ( 'permission denied' )
698
698
return False
699
rhodecode/lib/base.py
0
0
-1
@@
-175,4
+175,3
class BaseRepoController(BaseController)
175
175
176
176
c . repository_followers = self . scm_model . get_followers ( c . repo_name )
177
177
c . repository_forks = self . scm_model . get_forks ( c . repo_name )
178
rhodecode/lib/dbmigrate/migrate/__init__.py
0
+1
-1
@@
-8,4
+8,4
8
8
from rhodecode.lib.dbmigrate.migrate.versioning import *
9
9
from rhodecode.lib.dbmigrate.migrate.changeset import *
10
10
11
__version__ = '0.7.3.dev'
No newline at end of file
11
__version__ = '0.7.3.dev'
rhodecode/lib/dbmigrate/migrate/versioning/genmodel.py
0
0
-1
@@
-282,4
+282,3
class ModelGenerator(object):
282
282
except :
283
283
trans . rollback ()
284
284
raise
285
rhodecode/lib/dbmigrate/schema/db_1_1_0.py
0
+1
-1
@@
-91,4
+91,4
class CacheInvalidation(Base, BaseModel)
91
91
self . cache_active = False
92
92
93
93
def __repr__ ( self ):
94
return "<CacheInvalidation(' %s : %s ')>" % ( self . cache_id , self . cache_key )
No newline at end of file
94
return "<CacheInvalidation(' %s : %s ')>" % ( self . cache_id , self . cache_key )
rhodecode/lib/dbmigrate/schema/db_1_2_0.py
0
0
-1
@@
-1095,4
+1095,3
class DbMigrateVersion(Base, BaseModel):
1095
1095
repository_id = Column ( 'repository_id' , String ( 250 ), primary_key = True )
1096
1096
repository_path = Column ( 'repository_path' , Text )
1097
1097
version = Column ( 'version' , Integer )
1098
rhodecode/lib/dbmigrate/schema/db_1_3_0.py
0
+1
-1
@@
-21,4
+21,4
21
21
# GNU General Public License for more details.
22
22
#
23
23
# You should have received a copy of the GNU General Public License
24
# along with this program. If not, see <http://www.gnu.org/licenses/>.
No newline at end of file
24
# along with this program. If not, see <http://www.gnu.org/licenses/>.
rhodecode/lib/markup_renderer.py
0
0
-1
@@
-136,4
+136,3
class MarkupRenderer(object):
136
136
return ' **@ %(uname)s ** ' % { 'uname' : uname }
137
137
mention_hl = mention_pat . sub ( wrapp , source ) . strip ()
138
138
return cls . rst ( mention_hl )
139
rhodecode/lib/middleware/simplehg.py
0
0
-1
@@
-249,4
+249,3
class SimpleHg(BaseVCSController):
249
249
for section in ui_sections :
250
250
for k , v in repoui . configitems ( section ):
251
251
baseui . setconfig ( section , k , v )
252
rhodecode/lib/rcmail/message.py
0
0
-2
rhodecode/lib/utils.py
0
+1
-1
@@
-597,4
+597,4
class BasePasterCommand(Command):
597
597
598
598
path_to_ini_file = os . path . realpath ( conf )
599
599
conf = paste . deploy . appconfig ( 'config:' + path_to_ini_file )
600
pylonsconfig . init_app ( conf . global_conf , conf . local_conf )
No newline at end of file
600
pylonsconfig . init_app ( conf . global_conf , conf . local_conf )
rhodecode/model/db.py
0
0
-1
@@
-1120,4
+1120,3
class DbMigrateVersion(Base, BaseModel):
1120
1120
repository_id = Column ( 'repository_id' , String ( 250 ), primary_key = True )
1121
1121
repository_path = Column ( 'repository_path' , Text )
1122
1122
version = Column ( 'version' , Integer )
1123
rhodecode/model/notification.py
0
0
-2
@@
-217,5
+217,3
class EmailNotificationModel(BaseModel):
217
217
_kwargs . update ( kwargs )
218
218
log . debug ( 'rendering tmpl %s with kwargs %s ' % ( base , _kwargs ))
219
219
return email_template . render ( ** _kwargs )
220
221
rhodecode/model/repo.py
0
0
-1
@@
-427,4
+427,3
class RepoModel(BaseModel):
427
427
% ( datetime . today () \
428
428
. strftime ( '%Y%m %d _%H%M%S_ %f ' ),
429
429
repo . repo_name )))
430
rhodecode/model/repo_permission.py
0
+1
-1
@@
-94,4
+94,4
class RepositoryPermissionModel(BaseMode
94
94
self . update_users_group_permission ( repository , user_group ,
95
95
permission )
96
96
else :
97
self . delete_users_group_permission ( repository , user_group )
No newline at end of file
97
self . delete_users_group_permission ( repository , user_group )
rhodecode/model/users_group.py
0
0
-2
@@
-148,5
+148,3
class UsersGroupModel(BaseModel):
148
148
. filter ( UsersGroupToPerm . users_group == users_group ) \
149
149
. filter ( UsersGroupToPerm . permission == perm ) . one ()
150
150
self . sa . delete ( obj )
151
152
rhodecode/tests/__init__.py
0
0
-1
@@
-107,4
+107,3
class TestController(TestCase):
107
107
def checkSessionFlash ( self , response , msg ):
108
108
self . assertTrue ( 'flash' in response . session )
109
109
self . assertTrue ( msg in response . session [ 'flash' ][ 0 ][ 1 ])
110
rhodecode/tests/functional/test_admin_users_groups.py
0
0
-4
@@
-85,7
+85,3
class TestAdminUsersGroupsController(Tes
85
85
86
86
def test_revoke_members ( self ):
87
87
pass
88
89
90
91
rhodecode/tests/functional/test_branches.py
0
0
-6
@@
-9,9
+9,3
class TestBranchesController(TestControl
9
9
response . mustcontain ( """<a href="/ %s /files/27cd5cce30c96924232dffcd24178a07ffeb5dfc/">default</a>""" % HG_REPO )
10
10
response . mustcontain ( """<a href="/ %s /files/97e8b885c04894463c51898e14387d80c30ed1ee/">git</a>""" % HG_REPO )
11
11
response . mustcontain ( """<a href="/ %s /files/2e6a2bf9356ca56df08807f4ad86d480da72a8f4/">web</a>""" % HG_REPO )
12
13
14
15
16
17
rhodecode/tests/functional/test_changeset_comments.py
0
0
-4
rhodecode/tests/functional/test_files.py
0
0
-3
@@
-321,6
+321,3
removed extra unicode conversion in diff
321
321
extra_environ = { 'HTTP_X_PARTIAL_XHR' : '1' },
322
322
)
323
323
self . assertTrue ( "vcs/web/simplevcs/views/repository.py" in response . body )
324
325
326
rhodecode/tests/functional/test_tags.py
0
0
-1
rhodecode/tests/test_libs.py
0
0
-2
@@
-112,5
+112,3
class TestLibs(unittest.TestCase):
112
112
s = [ '2one_more22' , 'D' , 'MARCIN' , 'first' , 'lukaszb' ,
113
113
'maRCiN' , 'marcink' , 'one' ]
114
114
self . assertEqual ( s , extract_mentioned_users ( sample ))
115
116
rhodecode/tests/test_models.py
0
0
-6
@@
-402,9
+402,3
class TestUsers(unittest.TestCase):
402
402
UserModel () . revoke_perm ( self . u1 , perm )
403
403
Session . commit ()
404
404
self . assertEqual ( UserModel () . has_perm ( self . u1 , perm ), False )
405
406
407
408
409
410
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages