##// END OF EJS Templates
merged bugfixes for rhodecode 1.1.2 release
marcink -
r939:c165349f default
parent child Browse files
Show More
@@ -22,6 +22,21 b' fixes'
22 - fixed large tooltips problems on main page
22 - fixed large tooltips problems on main page
23 - fixed #92 whoosh indexer is more error proof
23 - fixed #92 whoosh indexer is more error proof
24
24
25 1.1.2 (**2011-01-12**)
26 ======================
27
28 news
29 ----
30
31
32 fixes
33 -----
34
35 - fixes #98 protection against float division of percentage stats
36 - fixed graph bug
37 - forced webhelpers version since it was making troubles during installation
38
39
25 1.1.0 (**2010-12-18**)
40 1.1.0 (**2010-12-18**)
26 ======================
41 ======================
27
42
@@ -29,7 +29,7 b' Or::'
29 pip install rhodecode
29 pip install rhodecode
30
30
31 If you prefer to install manually simply grab latest release from
31 If you prefer to install manually simply grab latest release from
32 http://pypi.python.org/pypi/rhodecode, decompres archive and run::
32 http://pypi.python.org/pypi/RhodeCode, decompres archive and run::
33
33
34 python setup.py install
34 python setup.py install
35
35
@@ -154,9 +154,13 b' so for example setting `BROKER_HOST` in '
154 the config file.
154 the config file.
155
155
156 In order to make start using celery run::
156 In order to make start using celery run::
157
157 paster celeryd <configfile.ini>
158 paster celeryd <configfile.ini>
158
159
159
160 .. note::
161 Make sure You run this command from same virtualenv, and with the same user
162 that rhodecode runs.
163
160 HTTPS support
164 HTTPS support
161 -------------
165 -------------
162
166
@@ -182,7 +186,7 b' Sample config for nginx using proxy::'
182 if (!-f $request_filename){
186 if (!-f $request_filename){
183 proxy_pass http://127.0.0.1:5000;
187 proxy_pass http://127.0.0.1:5000;
184 }
188 }
185 #this is important for https !!!
189 #this is important if You want to use https !!!
186 proxy_set_header X-Url-Scheme $scheme;
190 proxy_set_header X-Url-Scheme $scheme;
187 include /etc/nginx/proxy.conf;
191 include /etc/nginx/proxy.conf;
188 }
192 }
@@ -261,11 +265,10 b' TODO !'
261 Other configuration files
265 Other configuration files
262 -------------------------
266 -------------------------
263
267
264 Some extra configuration files and examples can be found here:
268 Some example init.d script can be found here, for debian and gentoo:
265 http://hg.python-works.com/rhodecode/files/tip/init.d
266
269
267 and also an celeryconfig file can be use from here:
270 https://rhodeocode.org/rhodecode/files/tip/init.d
268 http://hg.python-works.com/rhodecode/files/tip/celeryconfig.py
271
269
272
270 Troubleshooting
273 Troubleshooting
271 ---------------
274 ---------------
@@ -7,7 +7,7 b''
7
7
8 :created_on: Apr 7, 2010
8 :created_on: Apr 7, 2010
9 :author: marcink
9 :author: marcink
10 :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
11 :license: GPLv3, see COPYING for more details.
11 :license: GPLv3, see COPYING for more details.
12 """
12 """
13 # This program is free software; you can redistribute it and/or
13 # This program is free software; you can redistribute it and/or
@@ -285,7 +285,7 b' class ReposController(BaseController):'
285
285
286 c.repo_last_rev = r.revisions[-1] if r.revisions else 0
286 c.repo_last_rev = r.revisions[-1] if r.revisions else 0
287
287
288 if last_rev == 0:
288 if last_rev == 0 or c.repo_last_rev == 0:
289 c.stats_percentage = 0
289 c.stats_percentage = 0
290 else:
290 else:
291 c.stats_percentage = '%.2f' % ((float((last_rev)) /
291 c.stats_percentage = '%.2f' % ((float((last_rev)) /
@@ -7,7 +7,7 b''
7
7
8 :created_on: Apr 18, 2010
8 :created_on: Apr 18, 2010
9 :author: marcink
9 :author: marcink
10 :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
10 :copyright: (C) 2009-2011 Marcin Kuzminski <marcin@python-works.com>
11 :license: GPLv3, see COPYING for more details.
11 :license: GPLv3, see COPYING for more details.
12 """
12 """
13 # This program is free software; you can redistribute it and/or
13 # This program is free software; you can redistribute it and/or
@@ -28,7 +28,7 b''
28 import calendar
28 import calendar
29 import logging
29 import logging
30 from time import mktime
30 from time import mktime
31 from datetime import datetime, timedelta
31 from datetime import datetime, timedelta, date
32
32
33 from vcs.exceptions import ChangesetError
33 from vcs.exceptions import ChangesetError
34
34
@@ -102,15 +102,14 b' class SummaryController(BaseController):'
102 except ChangesetError:
102 except ChangesetError:
103 c.repo_branches[name] = EmptyChangeset(hash)
103 c.repo_branches[name] = EmptyChangeset(hash)
104
104
105 td = datetime.today() + timedelta(days=1)
105 td = date.today() + timedelta(days=1)
106 y, m, d = td.year, td.month, td.day
106 td_1m = td - timedelta(days=calendar.mdays[td.month])
107 td_1y = td - timedelta(days=365)
107
108
108 ts_min_y = mktime((y - 1, (td - timedelta(days=calendar.mdays[m])).month,
109 ts_min_m = mktime(td_1m.timetuple())
109 d, 0, 0, 0, 0, 0, 0,))
110 ts_min_y = mktime(td_1y.timetuple())
110 ts_min_m = mktime((y, (td - timedelta(days=calendar.mdays[m])).month,
111 ts_max_y = mktime(td.timetuple())
111 d, 0, 0, 0, 0, 0, 0,))
112
112
113 ts_max_y = mktime((y, m, d, 0, 0, 0, 0, 0, 0,))
114 if c.repo_info.dbrepo.enable_statistics:
113 if c.repo_info.dbrepo.enable_statistics:
115 c.no_data_msg = _('No data loaded yet')
114 c.no_data_msg = _('No data loaded yet')
116 run_task(get_commits_stats, c.repo_info.name, ts_min_y, ts_max_y)
115 run_task(get_commits_stats, c.repo_info.name, ts_min_y, ts_max_y)
@@ -5,6 +5,7 b' from rhodecode import get_version'
5
5
6 requirements = [
6 requirements = [
7 "Pylons==1.0.0",
7 "Pylons==1.0.0",
8 "WebHelpers>=1.2",
8 "SQLAlchemy==0.6.5",
9 "SQLAlchemy==0.6.5",
9 "Mako==0.3.6",
10 "Mako==0.3.6",
10 "vcs==0.1.10",
11 "vcs==0.1.10",
General Comments 0
You need to be logged in to leave comments. Login now