##// END OF EJS Templates
more renames for rhode code !!
marcink -
r549:f9907517 default
parent child Browse files
Show More
@@ -1,6 +1,6 b''
1 -------------------------------------
2 Pylons based replacement for hgwebdir
3 -------------------------------------
1 --------------------------------------------------------------
2 Pylons based repository management for mercurial (and soon git)
3 --------------------------------------------------------------
4 4
5 5 Fully customizable, with authentication, permissions. Based on vcs library.
6 6
@@ -13,7 +13,9 b' Fully customizable, with authentication,'
13 13 - diffs annotations and source code all colored by pygments.
14 14 - mercurial branch graph and yui-flot powered graphs with zooming and statistics
15 15 - admin interface for performing user/permission managements as well as repository
16 management.
16 management.
17 - server side forks, it's possible to fork a project and hack it free without
18 breaking the main.
17 19 - full text search of source codes with indexing daemons using whoosh
18 20 (no external search servers required all in one application)
19 21 - async tasks for speed and performance using celery (works without them too)
@@ -32,8 +34,7 b' Fully customizable, with authentication,'
32 34 - code review based on hg-review (when it's stable)
33 35 - git support (when vcs can handle it - almost there !)
34 36 - commit based wikis
35 - in server forks
36 - clonning from remote repositories into hg-app
37 - clonning from remote repositories into rhodecode (git/mercurial)
37 38 - other cools stuff that i can figure out (or You can help me figure out)
38 39
39 40 .. note::
@@ -45,14 +46,14 b' Fully customizable, with authentication,'
45 46 Installation
46 47 -------------
47 48
48 - I highly recommend to install new virtualenv for hg-app see
49 - I highly recommend to install new virtualenv for rhodecode see
49 50 http://pypi.python.org/pypi/virtualenv
50 - Create new virtualenv using `virtualenv --no-site-packages /var/www/hgapp-venv`
51 this will install new virtual env into /var/www/hgapp-venv.
51 - Create new virtualenv using `virtualenv --no-site-packages /var/www/rhodecode-venv`
52 this will install new virtual env into /var/www/rhodecode-venv.
52 53 Activate the virtualenv by running
53 `source activate /var/www/hgapp-venv/bin/activate`
54 - Make a folder for hg-app somewhere on the filesystem for example /var/www/hgapp
55 - Download and extract http://bitbucket.org/marcinkuzminski/hg-app/get/tip.zip
54 `source activate /var/www/rhodecode-venv/bin/activate`
55 - Make a folder for rhodecode somewhere on the filesystem for example /var/www/rhodecode
56 - Download and extract http://bitbucket.org/marcinkuzminski/rhodecode/get/tip.zip
56 57 into created directory.
57 58 - Run `python setup.py install` in order to install the application and all
58 59 needed dependencies. Make sure that You're using activated virutalenv
@@ -66,14 +67,14 b' Installation'
66 67 - Default permissions on each repository is read, and owner is admin. So remember
67 68 to update these.
68 69 - In order to use full power of async tasks, You must install message broker
69 preferably rabbitmq and start celeryd daemon together with hg-app.
70 preferably rabbitmq and start celeryd daemon together with rhodecode.
70 71 The app should gain a lot of speed and become much more responsible.
71 72 For installation instructions You can visit:
72 73 http://ask.github.com/celery/getting-started/index.html.
73 - All needed configs are inside hg-app ie. celeryconfig.py , production.ini
74 - All needed configs are inside rhodecode ie. celeryconfig.py , production.ini
74 75 You can configure the email, ports, loggers, workers from there.
75 76 - For full text search You can either put crontab entry for
76 `python /var/www/hgapp/rhodecode/lib/indexers/daemon.py incremental <path_to_repos>`
77 `python /var/www/rhodecode/rhodecode/lib/indexers/daemon.py incremental <path_to_repos>`
77 78 or run indexer from admin panel. This will scann the repos given in the
78 79 application setup or given path for daemon.py and each scann in incremental
79 80 mode will scann only changed files,
@@ -1,6 +1,6 b''
1 1 ################################################################################
2 2 ################################################################################
3 # hg-app - Pylons environment configuration #
3 # rhodecode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
@@ -10,11 +10,11 b' debug = true'
10 10 ################################################################################
11 11 ## Uncomment and replace with the address which should receive ##
12 12 ## any error reports after application crash ##
13 ## Additionally those settings will be used by hg-app mailing system ##
13 ## Additionally those settings will be used by rhodecode mailing system ##
14 14 ################################################################################
15 15 #email_to = admin@localhost
16 16 #error_email_from = paste_error@localhost
17 #app_email_from = hg-app-noreply@localhost
17 #app_email_from = rhodecode-noreply@localhost
18 18 #error_message =
19 19
20 20 #smtp_server = mail.server.com
@@ -66,7 +66,7 b' beaker.cache.super_short_term.expire=10'
66 66 ##that is also used by the cache system.
67 67 beaker.session.type = file
68 68
69 beaker.session.key = hg-app
69 beaker.session.key = rhodecode
70 70 beaker.session.secret = g654dcno0-9873jhgfreyu
71 71 beaker.session.timeout = 36000
72 72
1 NO CONTENT: file renamed from init.d/hg_app_daemon to init.d/rhodecode_daemon
@@ -4,13 +4,13 b''
4 4 ########################################
5 5
6 6 ### BEGIN INIT INFO
7 # Provides: hg-app
7 # Provides: rhodecode
8 8 # Required-Start: $all
9 9 # Required-Stop: $all
10 10 # Default-Start: 2 3 4 5
11 11 # Default-Stop: 0 1 6
12 # Short-Description: starts instance of hg-app
13 # Description: starts instance of hg-app using start-stop-daemon
12 # Short-Description: starts instance of rhodecode
13 # Description: starts instance of rhodecode using start-stop-daemon
14 14 ### END INIT INFO
15 15
16 16 APP_NAME="rhodecode"
@@ -1,6 +1,6 b''
1 1 ################################################################################
2 2 ################################################################################
3 # hg-app - Pylons environment configuration #
3 # rhodecode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
@@ -10,11 +10,11 b' debug = true'
10 10 ################################################################################
11 11 ## Uncomment and replace with the address which should receive ##
12 12 ## any error reports after application crash ##
13 ## Additionally those settings will be used by hg-app mailing system ##
13 ## Additionally those settings will be used by rhodecode mailing system ##
14 14 ################################################################################
15 15 #email_to = admin@localhost
16 16 #error_email_from = paste_error@localhost
17 #app_email_from = hg-app-noreply@localhost
17 #app_email_from = rhodecode-noreply@localhost
18 18 #error_message =
19 19
20 20 #smtp_server = mail.server.com
@@ -66,7 +66,7 b' beaker.cache.super_short_term.expire=10'
66 66 ##that is also used by the cache system.
67 67 beaker.session.type = file
68 68
69 beaker.session.key = hg-app
69 beaker.session.key = rhodecode
70 70 beaker.session.secret = g654dcno0-9873jhgfreyu
71 71 beaker.session.timeout = 36000
72 72
@@ -1,6 +1,6 b''
1 1 ################################################################################
2 2 ################################################################################
3 # hg-app - Pylons environment configuration #
3 # rhodecode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
@@ -10,11 +10,11 b' debug = true'
10 10 ################################################################################
11 11 ## Uncomment and replace with the address which should receive ##
12 12 ## any error reports after application crash ##
13 ## Additionally those settings will be used by hg-app mailing system ##
13 ## Additionally those settings will be used by rhodecode mailing system ##
14 14 ################################################################################
15 15 #email_to = admin@localhost
16 16 #error_email_from = paste_error@localhost
17 #app_email_from = hg-app-noreply@localhost
17 #app_email_from = rhodecode-noreply@localhost
18 18 #error_message =
19 19
20 20 #smtp_server = mail.server.com
@@ -67,7 +67,7 b' beaker.cache.super_short_term.expire=10'
67 67 ##that is also used by the cache system.
68 68 beaker.session.type = file
69 69
70 beaker.session.key = hg-app
70 beaker.session.key = rhodecode
71 71 beaker.session.secret = ${app_instance_secret}
72 72 beaker.session.timeout = 36000
73 73
@@ -33,7 +33,7 b' from rhodecode.lib.auth import LoginRequ'
33 33 from rhodecode.lib.base import BaseController, render
34 34 from rhodecode.lib.utils import repo2db_mapper, invalidate_cache, \
35 35 set_rhodecode_config, get_hg_settings, get_hg_ui_settings, make_ui
36 from rhodecode.model.db import User, UserLog, HgAppSettings, HgAppUi
36 from rhodecode.model.db import User, UserLog, RhodeCodeSettings, RhodeCodeUi
37 37 from rhodecode.model.forms import UserForm, ApplicationSettingsForm, \
38 38 ApplicationUiSettingsForm
39 39 from rhodecode.model.hg_model import HgModel
@@ -116,12 +116,12 b' class SettingsController(BaseController)'
116 116 form_result = application_form.to_python(dict(request.POST))
117 117
118 118 try:
119 hgsettings1 = self.sa.query(HgAppSettings)\
120 .filter(HgAppSettings.app_settings_name == 'title').one()
119 hgsettings1 = self.sa.query(RhodeCodeSettings)\
120 .filter(RhodeCodeSettings.app_settings_name == 'title').one()
121 121 hgsettings1.app_settings_value = form_result['rhodecode_title']
122 122
123 hgsettings2 = self.sa.query(HgAppSettings)\
124 .filter(HgAppSettings.app_settings_name == 'realm').one()
123 hgsettings2 = self.sa.query(RhodeCodeSettings)\
124 .filter(RhodeCodeSettings.app_settings_name == 'realm').one()
125 125 hgsettings2.app_settings_value = form_result['rhodecode_realm']
126 126
127 127
@@ -155,22 +155,22 b' class SettingsController(BaseController)'
155 155
156 156 try:
157 157
158 hgsettings1 = self.sa.query(HgAppUi)\
159 .filter(HgAppUi.ui_key == 'push_ssl').one()
158 hgsettings1 = self.sa.query(RhodeCodeUi)\
159 .filter(RhodeCodeUi.ui_key == 'push_ssl').one()
160 160 hgsettings1.ui_value = form_result['web_push_ssl']
161 161
162 hgsettings2 = self.sa.query(HgAppUi)\
163 .filter(HgAppUi.ui_key == '/').one()
162 hgsettings2 = self.sa.query(RhodeCodeUi)\
163 .filter(RhodeCodeUi.ui_key == '/').one()
164 164 hgsettings2.ui_value = form_result['paths_root_path']
165 165
166 166
167 167 #HOOKS
168 hgsettings3 = self.sa.query(HgAppUi)\
169 .filter(HgAppUi.ui_key == 'changegroup.update').one()
168 hgsettings3 = self.sa.query(RhodeCodeUi)\
169 .filter(RhodeCodeUi.ui_key == 'changegroup.update').one()
170 170 hgsettings3.ui_active = bool(form_result['hooks_changegroup_update'])
171 171
172 hgsettings4 = self.sa.query(HgAppUi)\
173 .filter(HgAppUi.ui_key == 'changegroup.repo_size').one()
172 hgsettings4 = self.sa.query(RhodeCodeUi)\
173 .filter(RhodeCodeUi.ui_key == 'changegroup.repo_size').one()
174 174 hgsettings4.ui_active = bool(form_result['hooks_changegroup_repo_size'])
175 175
176 176
@@ -101,7 +101,7 b' class LoginController(BaseController):'
101 101 form_result = register_form.to_python(dict(request.POST))
102 102 form_result['active'] = c.auto_active
103 103 user_model.create_registration(form_result)
104 h.flash(_('You have successfully registered into hg-app'),
104 h.flash(_('You have successfully registered into rhodecode'),
105 105 category='success')
106 106 return redirect(url('login_home'))
107 107
@@ -23,10 +23,10 b' def get_session():'
23 23 return sa
24 24
25 25 def get_hg_settings():
26 from rhodecode.model.db import HgAppSettings
26 from rhodecode.model.db import RhodeCodeSettings
27 27 try:
28 28 sa = get_session()
29 ret = sa.query(HgAppSettings).all()
29 ret = sa.query(RhodeCodeSettings).all()
30 30 finally:
31 31 sa.remove()
32 32
@@ -39,10 +39,10 b' def get_hg_settings():'
39 39 return settings
40 40
41 41 def get_hg_ui_settings():
42 from rhodecode.model.db import HgAppUi
42 from rhodecode.model.db import RhodeCodeUi
43 43 try:
44 44 sa = get_session()
45 ret = sa.query(HgAppUi).all()
45 ret = sa.query(RhodeCodeUi).all()
46 46 finally:
47 47 sa.remove()
48 48
@@ -239,8 +239,8 b' def reset_user_password(user_email):'
239 239 sa.rollback()
240 240
241 241 run_task(send_email, user_email,
242 "Your new hg-app password",
243 'Your new hg-app password:%s' % (new_passwd))
242 "Your new rhodecode password",
243 'Your new rhodecode password:%s' % (new_passwd))
244 244 log.info('send new password mail to %s', user_email)
245 245
246 246
@@ -34,7 +34,7 b' sys.path.append(ROOT)'
34 34 from rhodecode.lib.auth import get_crypt_password
35 35 from rhodecode.lib.utils import ask_ok
36 36 from rhodecode.model import init_model
37 from rhodecode.model.db import User, Permission, HgAppUi, HgAppSettings, \
37 from rhodecode.model.db import User, Permission, RhodeCodeUi, RhodeCodeSettings, \
38 38 UserToPerm
39 39 from rhodecode.model import meta
40 40 from sqlalchemy.engine import create_engine
@@ -107,50 +107,50 b' class DbManage(object):'
107 107 log.error('You entered wrong path: %s', path)
108 108 sys.exit()
109 109
110 hooks1 = HgAppUi()
110 hooks1 = RhodeCodeUi()
111 111 hooks1.ui_section = 'hooks'
112 112 hooks1.ui_key = 'changegroup.update'
113 113 hooks1.ui_value = 'hg update >&2'
114 114
115 hooks2 = HgAppUi()
115 hooks2 = RhodeCodeUi()
116 116 hooks2.ui_section = 'hooks'
117 117 hooks2.ui_key = 'changegroup.repo_size'
118 118 hooks2.ui_value = 'python:rhodecode.lib.hooks.repo_size'
119 119
120 web1 = HgAppUi()
120 web1 = RhodeCodeUi()
121 121 web1.ui_section = 'web'
122 122 web1.ui_key = 'push_ssl'
123 123 web1.ui_value = 'false'
124 124
125 web2 = HgAppUi()
125 web2 = RhodeCodeUi()
126 126 web2.ui_section = 'web'
127 127 web2.ui_key = 'allow_archive'
128 128 web2.ui_value = 'gz zip bz2'
129 129
130 web3 = HgAppUi()
130 web3 = RhodeCodeUi()
131 131 web3.ui_section = 'web'
132 132 web3.ui_key = 'allow_push'
133 133 web3.ui_value = '*'
134 134
135 web4 = HgAppUi()
135 web4 = RhodeCodeUi()
136 136 web4.ui_section = 'web'
137 137 web4.ui_key = 'baseurl'
138 138 web4.ui_value = '/'
139 139
140 paths = HgAppUi()
140 paths = RhodeCodeUi()
141 141 paths.ui_section = 'paths'
142 142 paths.ui_key = '/'
143 143 paths.ui_value = os.path.join(path, '*')
144 144
145 145
146 hgsettings1 = HgAppSettings()
146 hgsettings1 = RhodeCodeSettings()
147 147
148 148 hgsettings1.app_settings_name = 'realm'
149 hgsettings1.app_settings_value = 'hg-app authentication'
149 hgsettings1.app_settings_value = 'rhodecode authentication'
150 150
151 hgsettings2 = HgAppSettings()
151 hgsettings2 = RhodeCodeSettings()
152 152 hgsettings2.app_settings_name = 'title'
153 hgsettings2.app_settings_value = 'hg-app'
153 hgsettings2.app_settings_value = 'rhodecode'
154 154
155 155 try:
156 156 self.sa.add(hooks1)
@@ -215,8 +215,8 b' class DbManage(object):'
215 215 ('hg.create.repository', 'Repository create'),
216 216 ('hg.create.none', 'Repository creation disabled'),
217 217 ('hg.register.none', 'Register disabled'),
218 ('hg.register.manual_activate', 'Register new user with hg-app without manual activation'),
219 ('hg.register.auto_activate', 'Register new user with hg-app without auto activation'),
218 ('hg.register.manual_activate', 'Register new user with rhodecode without manual activation'),
219 ('hg.register.auto_activate', 'Register new user with rhodecode without auto activation'),
220 220 ]
221 221
222 222 for p in perms:
@@ -1,6 +1,6 b''
1 1 #!/usr/bin/env python
2 2 # encoding: utf-8
3 # whoosh indexer daemon for hg-app
3 # whoosh indexer daemon for rhodecode
4 4 # Copyright (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
5 5 #
6 6 # This program is free software; you can redistribute it and/or
@@ -129,7 +129,7 b' class SimpleHg(object):'
129 129 if action == 'push':
130 130 self.__invalidate_cache(repo_name)
131 131 messages = []
132 messages.append('thank you for using hg-app')
132 messages.append('thank you for using rhodecode')
133 133
134 134 return self.msg_wrapper(app, environ, start_response, messages)
135 135 else:
@@ -26,7 +26,7 b' from beaker.cache import cache_region'
26 26 from mercurial import ui, config, hg
27 27 from mercurial.error import RepoError
28 28 from rhodecode.model import meta
29 from rhodecode.model.db import Repository, User, HgAppUi, HgAppSettings, UserLog
29 from rhodecode.model.db import Repository, User, RhodeCodeUi, RhodeCodeSettings, UserLog
30 30 from vcs.backends.base import BaseChangeset
31 31 from vcs.utils.lazy import LazyProperty
32 32 import logging
@@ -127,7 +127,7 b' def ask_ok(prompt, retries=4, complaint='
127 127 def get_hg_ui_cached():
128 128 try:
129 129 sa = meta.Session
130 ret = sa.query(HgAppUi).all()
130 ret = sa.query(RhodeCodeUi).all()
131 131 finally:
132 132 meta.Session.remove()
133 133 return ret
@@ -136,7 +136,7 b' def get_hg_ui_cached():'
136 136 def get_hg_settings():
137 137 try:
138 138 sa = meta.Session
139 ret = sa.query(HgAppSettings).all()
139 ret = sa.query(RhodeCodeSettings).all()
140 140 finally:
141 141 meta.Session.remove()
142 142
@@ -151,7 +151,7 b' def get_hg_settings():'
151 151 def get_hg_ui_settings():
152 152 try:
153 153 sa = meta.Session
154 ret = sa.query(HgAppUi).all()
154 ret = sa.query(RhodeCodeUi).all()
155 155 finally:
156 156 meta.Session.remove()
157 157
@@ -7,14 +7,14 b' import logging'
7 7
8 8 log = logging.getLogger(__name__)
9 9
10 class HgAppSettings(Base):
10 class RhodeCodeSettings(Base):
11 11 __tablename__ = 'rhodecode_settings'
12 12 __table_args__ = (UniqueConstraint('app_settings_name'), {'useexisting':True})
13 13 app_settings_id = Column("app_settings_id", INTEGER(), nullable=False, unique=True, default=None, primary_key=True)
14 14 app_settings_name = Column("app_settings_name", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
15 15 app_settings_value = Column("app_settings_value", TEXT(length=None, convert_unicode=False, assert_unicode=None), nullable=True, unique=None, default=None)
16 16
17 class HgAppUi(Base):
17 class RhodeCodeUi(Base):
18 18 __tablename__ = 'rhodecode_ui'
19 19 __table_args__ = {'useexisting':True}
20 20 ui_id = Column("ui_id", INTEGER(), nullable=False, unique=True, default=None, primary_key=True)
@@ -2,7 +2,7 b''
2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
4 4 <head>
5 <title>${_('Sign In to hg-app')}</title>
5 <title>${_('Sign In to rhodecode')}</title>
6 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 7 <link rel="icon" href="/images/hgicon.png" type="image/png" />
8 8 <meta name="robots" content="index, nofollow"/>
@@ -19,7 +19,7 b''
19 19 <div id="login">
20 20 <!-- login -->
21 21 <div class="title">
22 <h5>${_('Sign In to hg-app')}</h5>
22 <h5>${_('Sign In to rhodecode')}</h5>
23 23 <div class="corner tl"></div>
24 24 <div class="corner tr"></div>
25 25 </div>
@@ -2,7 +2,7 b''
2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
4 4 <head>
5 <title>${_('Reset You password to hg-app')}</title>
5 <title>${_('Reset You password to rhodecode')}</title>
6 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 7 <link rel="icon" href="/images/hgicon.png" type="image/png" />
8 8 <meta name="robots" content="index, nofollow"/>
@@ -19,7 +19,7 b''
19 19 <div id="register">
20 20
21 21 <div class="title">
22 <h5>${_('Reset You password to hg-app')}</h5>
22 <h5>${_('Reset You password to rhodecode')}</h5>
23 23 <div class="corner tl"></div>
24 24 <div class="corner tr"></div>
25 25 </div>
@@ -2,7 +2,7 b''
2 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 3 <html xmlns="http://www.w3.org/1999/xhtml" id="mainhtml">
4 4 <head>
5 <title>${_('Sign Up to hg-app')}</title>
5 <title>${_('Sign Up to rhodecode')}</title>
6 6 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7 7 <link rel="icon" href="/images/hgicon.png" type="image/png" />
8 8 <meta name="robots" content="index, nofollow"/>
@@ -19,7 +19,7 b''
19 19 <div id="register">
20 20
21 21 <div class="title">
22 <h5>${_('Sign Up to hg-app')}</h5>
22 <h5>${_('Sign Up to rhodecode')}</h5>
23 23 <div class="corner tl"></div>
24 24 <div class="corner tr"></div>
25 25 </div>
@@ -62,7 +62,7 b' class TestLoginController(TestController'
62 62
63 63 def test_register(self):
64 64 response = self.app.get(url(controller='login', action='register'))
65 assert 'Sign Up to hg-app' in response.body, 'wrong page for user registration'
65 assert 'Sign Up to rhodecode' in response.body, 'wrong page for user registration'
66 66
67 67 def test_register_err_same_username(self):
68 68 response = self.app.post(url(controller='login', action='register'),
@@ -104,7 +104,7 b' class TestLoginController(TestController'
104 104 'lastname':lastname})
105 105 print response.body
106 106 assert response.status == '302 Found', 'Wrong response from register page got %s' % response.status
107 assert 'You have successfully registered into hg-app' in response.session['flash'][0], 'No flash message about user registration'
107 assert 'You have successfully registered into rhodecode' in response.session['flash'][0], 'No flash message about user registration'
108 108
109 109 ret = self.sa.query(User).filter(User.username == 'test_regular4').one()
110 110 assert ret.username == username , 'field mismatch %s %s' % (ret.username, username)
@@ -140,7 +140,7 b' class TestLoginController(TestController'
140 140 response = self.app.post(url(controller='login', action='password_reset'),
141 141 {'email':email, })
142 142 print response.session['flash']
143 assert 'You have successfully registered into hg-app' in response.session['flash'][0], 'No flash message about user registration'
143 assert 'You have successfully registered into rhodecode' in response.session['flash'][0], 'No flash message about user registration'
144 144 assert 'Your new password was sent' in response.session['flash'][1], 'No flash message about password reset'
145 145
146 146
@@ -7,10 +7,10 b' except ImportError:'
7 7 from setuptools import setup, find_packages
8 8
9 9 setup(
10 name='HgApp-%s' % get_version(),
10 name='RhodeCode-%s' % get_version(),
11 11 version=get_version(),
12 12 description='Mercurial repository serving and browsing app',
13 keywords='mercurial web hgwebdir replacement serving hgweb',
13 keywords='mercurial web hgwebdir replacement serving hgweb rhodecode',
14 14 license='BSD',
15 15 author='marcin kuzminski',
16 16 author_email='marcin@python-works.com',
@@ -1,6 +1,6 b''
1 1 ################################################################################
2 2 ################################################################################
3 # hg-app - Pylons environment configuration #
3 # rhodecode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
@@ -10,11 +10,11 b' debug = true'
10 10 ################################################################################
11 11 ## Uncomment and replace with the address which should receive ##
12 12 ## any error reports after application crash ##
13 ## Additionally those settings will be used by hg-app mailing system ##
13 ## Additionally those settings will be used by rhodecode mailing system ##
14 14 ################################################################################
15 15 #email_to = admin@localhost
16 16 #error_email_from = paste_error@localhost
17 #app_email_from = hg-app-noreply@localhost
17 #app_email_from = rhodecode-noreply@localhost
18 18 #error_message =
19 19
20 20 #smtp_server = mail.server.com
@@ -66,7 +66,7 b' beaker.cache.super_short_term.expire=10'
66 66 ##that is also used by the cache system.
67 67 beaker.session.type = file
68 68
69 beaker.session.key = hg-app
69 beaker.session.key = rhodecode
70 70 beaker.session.secret = g654dcno0-9873jhgfreyu
71 71 beaker.session.timeout = 36000
72 72
General Comments 0
You need to be logged in to leave comments. Login now