Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
marcink
- Tue, 15 May 2012 23:24:23
Show More
rhodecode/lib/auth.py
0
+1
-1
@@
-64,7
+64,7
b' class PasswordGenerator(object):'
64
64
passwd_gen = PasswordGenerator()
65
65
#print 8-letter password containing only big and small letters
66
66
of alphabet
67
print passwd_gen.gen_password(8, passwd_gen.ALPHABETS_BIG_SMALL)
67
passwd_gen.gen_password(8, passwd_gen.ALPHABETS_BIG_SMALL)
68
68
"""
69
69
ALPHABETS_NUM = r '''1234567890'''
70
70
ALPHABETS_SMALL = r '''qwertyuiopasdfghjklzxcvbnm'''
rhodecode/lib/utils2.py
0
0
-1
@@
-215,7
+215,6
b' def safe_str(unicode_, to_encoding=None)'
215
215
try :
216
216
import chardet
217
217
encoding = chardet . detect ( unicode_ )[ 'encoding' ]
218
print encoding
219
218
if encoding is None :
220
219
raise UnicodeEncodeError ()
221
220
rhodecode/lib/vcs/backends/hg/changeset.py
0
0
-2
@@
-260,10
+260,8
b' class MercurialChangeset(BaseChangeset):'
260
260
elif prefix . strip () == '' :
261
261
raise VCSError ( "Prefix cannot be empty" )
262
262
263
print stream . closed
264
263
archival . archive ( self . repository . _repo , stream , self . raw_id ,
265
264
kind , prefix = prefix , subrepos = subrepos )
266
print stream . closed
267
265
268
266
if stream . closed and hasattr ( stream , 'name' ):
269
267
stream = open ( stream . name , 'rb' )
rhodecode/lib/vcs/utils/__init__.py
0
0
-1
@@
-90,7
+90,6
b' def safe_str(unicode_, to_encoding=None)'
90
90
try :
91
91
import chardet
92
92
encoding = chardet . detect ( unicode_ )[ 'encoding' ]
93
print encoding
94
93
if encoding is None :
95
94
raise UnicodeEncodeError ()
96
95
rhodecode/model/user.py
0
0
-1
@@
-531,7
+531,6
b' class UserModel(BaseModel):'
531
531
532
532
for perm in user_repo_group_perms_from_users_groups :
533
533
g_k = perm . UsersGroupRepoGroupToPerm . group . group_name
534
print perm , g_k
535
534
p = perm . Permission . permission_name
536
535
cur_perm = user . permissions [ GK ][ g_k ]
537
536
# overwrite permission only if it's greater than permission
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