Commit Graph

161 Commits

Author SHA1 Message Date
Toshi MARUYAMA 5d535f8996 cleanup syntax of Relation#all at app/views/wiki/edit.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@12587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 04:45:46 +00:00
Jean-Philippe Lang 71b43ea1c7 Wiki Pages REST API with version returns wrong comments (#15235).
Patch by Yukinari TOYOTA.

git-svn-id: http://svn.redmine.org/redmine/trunk@12245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-09 07:42:54 +00:00
Jean-Philippe Lang 699317e12e Adds some links for wiki history navigation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-10-14 16:58:39 +00:00
Toshi MARUYAMA eb8770899c use li tags for issue links in the wiki sidebar (#13242)
Contributed by Filou Centrinov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 08:09:26 +00:00
Jean-Philippe Lang 8b205052a9 Don't wrap watcher link with span.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 20:13:15 +00:00
Jean-Philippe Lang fe690dcf20 Use page parameter instead of p for pagination.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 20:27:50 +00:00
Jean-Philippe Lang a679d19709 Adds last edit comments on the wiki page (#7082).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 21:17:46 +00:00
Jean-Philippe Lang 03062394fc Adds ?include=attachments option when retrieving a wiki page with the REST API (#7082).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 20:44:37 +00:00
Jean-Philippe Lang 9e31308720 REST API for retrieving wiki pages (#7082).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 19:44:04 +00:00
Jean-Philippe Lang 6cccdce06e Ability to delete a version from a wiki page history (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-23 18:45:14 +00:00
Jean-Philippe Lang d66b3452db Wiki page versions routes cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-21 18:46:26 +00:00
Jean-Philippe Lang 61d8e8f1f4 Don't show watch, lock/unlock, delete links on previous wiki page versions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-21 04:56:58 +00:00
Jean-Philippe Lang 9796d18609 Handle deleted wiki page versions (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-21 04:43:15 +00:00
Jean-Philippe Lang 93a65c3c82 Moved syntax highlight styles to application.css.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 15:54:23 +00:00
Jean-Philippe Lang 6a2ca5e034 JQuery in, Prototype/Scriptaculous out (#11445).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
Jean-Philippe Lang ff68fff80e Adds a helper for preview links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-18 17:47:19 +00:00
Jean-Philippe Lang 7b40767428 Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 14:36:49 +00:00
Toshi MARUYAMA 2ed78d95f6 code layout cleanup app/views/wiki/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-09 14:18:53 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Toshi MARUYAMA d360ca4e14 code layout cleanup app/views/wiki/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 23:51:03 +00:00
Toshi MARUYAMA 297d4f8bab replace tabs to spaces at app/views/wiki/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 23:50:36 +00:00
Jean-Philippe Lang 001b255b08 Ability to edit a wiki page's parent on the edit page (#6449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 14:35:27 +00:00
Toshi MARUYAMA bcef0de43b replace tabs to spaces at app/views/wiki/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-31 03:53:37 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang a03c585a84 Check parent wiki page by default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:19:29 +00:00
Toshi MARUYAMA 3d562490d8 code layout clean up app/views/wiki/rename.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:09:34 +00:00
Toshi MARUYAMA 27828590d1 Rails3: view: use explicit post method at wiki/rename.html.erb
On Rails3, form_for generates hidden "put" input tag.
So, 'No route matches "/projects/id/wiki/wikiname/rename"' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 12:08:54 +00:00
Toshi MARUYAMA 4cc2731996 code layout clean up app/views/wiki/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-03 06:24:43 +00:00
Jean-Philippe Lang 8364f86af1 Give explicit url option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 20:25:33 +00:00
Toshi MARUYAMA 56ca36ede1 Rails3: view: html_safe for wiki/show.html.erb
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-01 11:44:32 +00:00
Jean-Philippe Lang dcce70095b Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang 17d08a939f Changed style of the wiki edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:11:13 +00:00
Jean-Philippe Lang 9636882c1e Use #labelled_form_for instead of #labelled_tabular_form_for.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Jean-Philippe Lang b8a924e4e1 Adds #current_version? method to wiki content.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:12:03 +00:00
Jean-Philippe Lang 744e4357a0 Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:04:38 +00:00
Etienne Massip 548e27c343 Fixed wiki page version in annotated page (#9597).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 22:24:50 +00:00
Jean-Philippe Lang 2770e28535 Do not show section edit links for wiki page history (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:31:17 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA 00faf35e05 pdf: add a new feature to export wiki pdf (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:49:09 +00:00
Toshi MARUYAMA 7fab60cdd2 [#9489] corrected labels and translations for reassign forms
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:24:11 +00:00
Toshi MARUYAMA 52f2879559 [#9489] added invisible labels for reassign select-tag on destroy views
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:18:10 +00:00
Etienne Massip 4ecd65c465 Remove unecessary page title HTML escaping from views (#9252).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 18:45:17 +00:00
Toshi MARUYAMA a6c708eaed replace tabs to spaces at app/views/wiki/destroy.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:13:04 +00:00
Toshi MARUYAMA fe5221146d replace tabs to spaces at app/views/wiki/index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:04:40 +00:00
Toshi MARUYAMA c58df5eab5 replace tabs to spaces at app/views/wiki/show.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-18 02:04:07 +00:00
Toshi MARUYAMA 2a279e29a6 replace tabs to spaces at app/views/wiki/date_index.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 23:03:11 +00:00
Toshi MARUYAMA 19bfed994b remove trailing white-spaces from app/views/wiki/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-14 08:37:43 +00:00
Toshi MARUYAMA 890807eacc rename .rhtml to .html.erb of app/views/wiki/diff.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 03:57:12 +00:00
Toshi MARUYAMA 50171e3e37 rename .rhtml to .html.erb of app/views/wiki/annotate.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 03:56:51 +00:00
Toshi MARUYAMA 98af784c4d rename .rhtml to .html.erb of app/views/wiki/_content.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 03:56:28 +00:00