Commit Graph

132 Commits

Author SHA1 Message Date
5da8840879 ru_RU -> ru 2013-12-18 21:47:08 +00:00
0f66da2c9e Added new translations 2013-12-12 06:16:00 +00:00
f15979627f Testing .py reloading on webserver 2013-12-10 21:43:19 +00:00
50c17e40eb 0.9.9 2013-12-08 21:25:13 +00:00
cbf129951b 0.9.8.1 2013-10-03 10:07:52 +00:00
f045c2c523 dummy change to trigger restart 2013-10-01 12:03:04 +00:00
a081dd1d39 0.9.8 2013-09-30 21:35:22 +00:00
5dd207d29c Added ru_RU and zh_CN translations 2013-09-20 03:58:33 +00:00
fb54baaf77 allow system flask-cache/babel to be used 2013-08-31 23:59:03 +00:00
a805cc541a Removed absolute links to this site 2013-08-31 04:55:09 +00:00
b6eec49511 Set up site-specific settings 2013-08-31 04:48:31 +00:00
564922e651 Define site domain in one place 2013-08-31 04:31:20 +00:00
3e3a438ff9 Define default gettext domain in one place 2013-08-31 04:27:20 +00:00
2790dd1024 disapproval of revision '131c16962ceb9e26f1f792b2866fa405a5105983' 2013-08-30 23:31:41 +00:00
03f910fa20 Temporarily disable translations for testing 2013-08-30 10:35:01 +00:00
f20c5e76f9 Updated canonical domain for testing 2013-08-30 06:32:35 +00:00
97ea744206 Added zh_CN translation 2013-08-23 12:49:49 +00:00
e9e2fcbbc6 Rough migration to working papers page 2013-08-11 13:05:05 +00:00
97a568f3c0 0.9.7.1 2013-08-11 09:01:06 +00:00
e7ffd2b587 New priority translations: Portugese 2013-07-18 04:43:41 +00:00
e1cc1c5939 sv -> sv_SE to match Transifex source 2013-07-18 02:30:45 +00:00
346364747e 0.9.7 2013-07-16 09:53:10 +00:00
d98a792615 Implement mapping of urls to gettext domains
The mapping exists both here and in babel.cfg/*, but this is unavoidable.
2013-07-14 07:02:24 +00:00
1e5a48aad3 Guess request language from supported languages only 2013-07-14 07:01:13 +00:00
02027ffe16 Updated current I2P version to 0.9.6 2013-06-11 14:00:58 +00:00
ba5d1df89f Added HighlightExtension from https://pypi.python.org/pypi/jinja2-highlight/0.4.0 (GPLv3) 2013-04-25 03:49:55 +00:00
dd7a9e64ce 0.9.5 2013-03-17 19:49:50 +00:00
b0ba9ab98c Disable the languages with no translations (for now) 2013-03-01 21:02:19 +00:00
de4e51e0b6 Factor out blog posts per feed as a constant, halve number of blog posts per page 2013-02-03 03:12:31 +00:00
f063149ab3 Migrated other themes: style.css -> desktop.css 2013-01-21 14:38:50 +00:00
c74b8a5947 Moved themes into subdirs 2013-01-21 10:54:24 +00:00
7ee91521c0 Initialized the cache so that caching decorators can be added
The cache is by default a NullCache - a cache that doesn't cache. Server
operators should configure the cache appropriately, as per the guide at
http://packages.python.org/Flask-Cache/#configuring-flask-cache
2013-01-16 11:23:33 +00:00
2acc8bc433 Blog entries -> Blog posts 2013-01-09 00:32:32 +00:00
a6a39fcb36 Add sitemap generation
Initially the rel="alternate" hreflang="xx" links in the sitemap caused the
size of the file to increase exponentially as additional languages were added.
The current implementation has a single sitemap.xml for each language, with a
sitemap_index.xml at the root.
2013-01-04 12:38:49 +00:00
e9e453a506 Temporarily enable loading of an externally-hosted CSS file 2012-12-21 05:15:42 +00:00
8fbf352b64 Rearranged constants and added comments 2012-12-20 04:49:25 +00:00
d7bce01288 Removed unnecessary block at end of __init__.py 2012-12-19 21:32:10 +00:00
d633b4a704 Split off urls 2012-12-19 21:30:06 +00:00
9def101b32 Split of template functions into a separate file 2012-12-19 13:02:16 +00:00
53d9e40303 Split off downloads code 2012-12-19 12:52:05 +00:00
7701835ece Moved root file views into i2p2www.views, and committed this file (which was missed earlier) 2012-12-19 12:39:53 +00:00
c7b8d77da0 Made change_theme() more stable (so 404 pages render properly) 2012-12-19 12:25:19 +00:00
bc57b82753 Added shorthand functions to make language handling more stable 2012-12-19 12:13:51 +00:00
2ce24d59d3 Removed unused imports 2012-12-19 12:00:12 +00:00
91a70314e3 Added regionalization support to LangConverter 2012-12-19 11:55:05 +00:00
66dca619d7 Moved site_url macro into context processor so could use hasattr(g, 'lang') to fix a bug 2012-12-19 11:43:40 +00:00
487e9ae935 Added / to the end of the base legacy url route
This is required because Flask is forcing (via 301) / to be appended to the url
which previously resulted in no rule matching legacy pages. We could disable
strict_slashes to fix this, but it might cause issues elsewhere.
2012-12-19 11:37:11 +00:00
3da2868589 Added LangConverter so that /en/ can be distinguished from legacy urls like /faq
This is required because "site/" was removed from the urls, but a little backend
trickery is usually necessary to get the urls looking right ^_^
2012-12-19 11:29:33 +00:00
7dbf4a35bd Split off legacy support code 2012-12-19 10:30:49 +00:00
5a088b76c7 Split off meetings code 2012-12-19 07:59:22 +00:00