Holger Just
8e80e65e0a
Format date in user's prefered format by default
2012-08-11 10:27:31 +04:00
Holger Just
5350f4323a
Fix the Strainer patch to enforce a filter array
...
Up until now, the patch used to be a no-op. While the filters class
attribute was set correctly, the methods using it were not actually
overridden as they are only included above the existing methods in
the module chain.
This resulted in an arbitrary load order of filters on Ruby 1.8. As
such, our overridden standard filters might not have actually
overridden anything.
Still, the patch can be completely removed once we either require
Ruby 1.9 (as we have ordered ahshes by default then) or once
https://github.com/Shopify/liquid/pull/87 was merged and released
upstream.
2012-08-11 10:27:31 +04:00
Holger Just
abfc04973e
Define today variable for liquid #1055
2012-08-11 10:27:31 +04:00
Kolan Sh
1e908da66c
Merge branch 'master' into backbone.ws
2012-06-15 00:12:40 +04:00
Holger Just
5c7a3a53c2
Bump version to 3.2.2
2012-06-13 10:26:48 +02:00
Holger Just
c9d141061d
Bump version to v3.2.1
2012-06-10 20:36:34 +02:00
Holger Just
bd132c5607
Bump version to 3.2.0
2012-06-09 17:59:06 +02:00
Justin Geibel
1722e96bb0
Change default branch behaviour for git repos #749
...
If git repository HEAD points to a branch, use that as the default branch.
Otherwise fall back to previous method.
2012-06-05 15:33:04 +02:00
tmaruyama
6a26543887
scm: mercurial: fix unit adapter annotate test fails on Windows Mercurial 1.8.4+29-e597ef52a7c2.
...
git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@6042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-14 10:54:17 +02:00
Felix Schäfer
03dfae0529
ChiliProject on Travis <3 <3 <3
2012-05-14 10:45:50 +02:00
Holger Just
c3fc106355
[ #974 ] Force the issue new link in the sidebar to the new action
2012-04-10 23:35:12 +02:00
Holger Just
b8a29c288b
Add the project_id to board URLs in the menu to generate valid URLs
2012-04-05 20:49:47 +02:00
Kolan Sh
e5de5f43cc
v3.1.0 merged
2012-04-05 13:22:02 +04:00
Holger Just
f681ed8c13
Bump version to 3.1.0
2012-04-04 14:21:43 +02:00
Holger Just
4aed677908
Fix trailing whitespace
2012-04-04 14:21:42 +02:00
Kolan Sh
786e92349b
Automatic character encoding detection in Mercurial repos.
2012-03-24 23:39:33 +04:00
Felix Schäfer
ef5dddf4db
Switch to GitAdapter for quoting #891
...
Fixes problems with paths containing quotes (sic)
2012-03-05 18:21:28 +01:00
Felix Schäfer
4b5271f487
Correct quotation #891
...
The Windows shell doesn't seem to support single quotes…
Contributed by Dies Koper, Luke Carrier
2012-03-01 00:40:23 +01:00
Eric Davis
b9b2c8c0d7
[ #559 ] Group menus and add some dynamic menus
2012-02-26 22:37:34 -08:00
Michaël Rigart
cbcce70400
Fix requiring SCM classes in dev mode #828
...
Change require to require_dependency so SCM classes get loaded on each request in dev mode
2012-02-24 15:44:02 +01:00
Holger Just
3ecace901b
Bump version to 3.0.0
2012-02-06 23:58:16 +01:00
Holger Just
21f70fc86c
Bump version to 3.0.0beta2
2012-01-18 19:48:06 +01:00
Holger Just
19f2ccd496
Update copyright for 2012
2012-01-18 19:25:13 +01:00
Holger Just
a0a2776f95
Make the strainer monkey patch more conservative and compatible
2012-01-18 10:19:04 +01:00
Holger Just
c313ed2d25
Remove unloadable from the monkey patches for Liquid.
...
It turns out in this case or core patches, unloadable actually breaks in
development mode. Did I already mention that I hate the Rails reloader?
2012-01-17 19:38:28 +01:00
Holger Just
31620d0c0a
Override first and last filters to allow simple array slicing
2012-01-17 13:47:13 +01:00
Holger Just
9967b5cdf2
Patch Liquid to include filters in a predictable order
...
This brings us a reliable filter override until
https://github.com/Shopify/liquid/pull/87 is accepted and
released upstream.
2012-01-16 20:49:39 +01:00
Holger Just
e91a1e010f
[ #778 ] Properly cache Liquid markup
...
This commit moves the markup caching into Liquid rendering. As
Liquid allows to return different results depending on the environment
(variables, logged user, ...) we only cache the page if it contains
no active content.
Unfortunetely, active content currently also includes the TOC
in wiki pages.
2012-01-16 17:08:52 +01:00
Holger Just
d9a0ac37eb
Move Redmine::Info to ChiliProject::Info
2012-01-16 13:28:43 +01:00
Holger Just
dbbc0b4919
[ #558 ] Reduce version info in help link
2012-01-16 13:08:25 +01:00
Holger Just
f1324e6af4
[ #790 ] Replace TagList and VariableList tags with variables
2012-01-05 23:36:30 +01:00
Holger Just
446f943968
[ #790 ] Add filter to output an array into an unordered list
2012-01-05 23:36:30 +01:00
Holger Just
3c3eb2f7e7
[ #790 ] Register variables with an API
2012-01-05 23:36:29 +01:00
Holger Just
0c87f611e9
Merge branch 'master' into unstable
...
Conflicts:
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en-GB.yml
config/locales/es.yml
config/locales/eu.yml
config/locales/fa.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hr.yml
config/locales/hu.yml
config/locales/id.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/lv.yml
config/locales/mk.yml
config/locales/mn.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sr-YU.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml
db/migrate/20100217010520_add_custom_filter_to_auth_sources.rb
lib/chili_project/version.rb
2012-01-04 16:41:10 +01:00
Holger Just
939fd0b9fa
Bump version to 2.6.0
2012-01-03 20:46:58 +01:00
Holger Just
e95b4992e4
Update copyright for 2012
...
We programmers have a nice new years tradition: We revisit all of our
projects and add 1 to a small number near a "(c)".
-- Volker Dusch
https://twitter.com/__edorian/status/153801913442373633
2012-01-03 20:36:40 +01:00
Holger Just
0f0e42448a
Overwrite compact on child class of Array to not return an instance of Array
...
This is necessary because in Ruby 1.9.3, the behavior of an internal dup of
the array (rb_ary_dup) was changed to always return an array instance, not
an instance of the actual class which it was working on.
Why can't people just stick to what works but instead try to have special
snowflakes everywhere? </rant>
2012-01-03 19:45:38 +01:00
Eric Davis
15428fc092
[ #806 ] Add Board and Message watcher management
2011-12-28 11:03:24 -08:00
Eric Davis
97fe88f8d9
[ #805 ] Add the Watchers sidebar to Wiki Pages
2011-12-28 10:22:06 -08:00
Eric Davis
3af5544dbc
[LSS#4190] Add watching to documents
2011-12-27 13:16:52 -08:00
Eric Davis
21685caf5f
[ #791 ] Add support for pop3s (SSL) to redmine 📧 receive_pop3
2011-12-26 12:45:30 -08:00
Holger Just
6f17ec6fd0
Bump version to 3.0.0beta1
2011-12-18 21:51:43 +01:00
Holger Just
745f889e92
Enforce UTF-8 source encoding
2011-12-18 21:40:14 +01:00
Holger Just
ba6fcfeca9
Override some filters of Liquid core.
...
These filters change the implemntation of sub and gsub to use the block method.
This prevents the evaluation of backreferences in the replacement text. See
https://gist.github.com/1491437 for examples.
Also, it allows split to be called without arguments to split strings on
whitespace.
2011-12-18 15:54:09 +01:00
Eric Davis
2f0d13149d
Copyright header update
2011-12-17 15:50:52 -08:00
Eric Davis
3a16f3f5b1
Merge remote-tracking branch 'upstream/master' into unstable
2011-12-17 15:20:58 -08:00
Holger Just
04eb115da7
Add identity tag which just returns whatever was entered as input
2011-12-17 23:49:25 +01:00
Holger Just
e2c57fd12d
Make floated TOCs in wikis compatible with the Liquid engine
...
The floated tags (>toc and <toc) are invalid syntax because of the < and >
characters. We transform them to toc_left and toc_right instead.
2011-12-17 22:14:19 +01:00
Holger Just
7458bca34b
Don't create arguments for legacy tags if there aren't any
2011-12-17 22:14:19 +01:00
Holger Just
60deeb5306
Move definiton of liquid legacy tags into the Legacy module.
...
This is required to retaiun the definition in development mode as the module
is stragely reloaded.
2011-12-17 22:01:20 +01:00