Adds wiki functionality to each Site. Created on demand on first use - synchronously...
authorThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Thu, 26 Jan 2012 20:34:06 +0000 (21:34 +0100)
committerThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Wed, 8 Feb 2012 19:36:30 +0000 (20:36 +0100)
commit6172d48e33fa3fcb885d4935035e1194ae6929b3
tree8091a5dc7080ade1aa3054843fcbba6e3032426b
parent86251982e3a4ece30c8d6f653d8ae82489f4b47a
Adds wiki functionality to each Site. Created on demand on first use - synchronously for now (one-time operation on each site). Wiki repo name/path derived from Site title.
29 files changed:
app/controllers/pages_controller.rb
app/controllers/site_wiki_pages_controller.rb [new file with mode: 0644]
app/helpers/breadcrumbs_helper.rb
app/helpers/pages_helper.rb
app/helpers/site_wiki_pages_helper.rb [new file with mode: 0644]
app/models/repository.rb
app/models/site.rb
app/views/commits/_log.html.erb
app/views/pages/preview.js.erb
app/views/site_wiki_pages/_actions.html.erb [new file with mode: 0644]
app/views/site_wiki_pages/edit.html.erb [new file with mode: 0644]
app/views/site_wiki_pages/git_access.html.erb [new file with mode: 0644]
app/views/site_wiki_pages/history.html.erb [new file with mode: 0644]
app/views/site_wiki_pages/index.atom.builder [new file with mode: 0644]
app/views/site_wiki_pages/index.html.erb [new file with mode: 0644]
app/views/site_wiki_pages/no_page.html [new file with mode: 0644]
app/views/site_wiki_pages/preview.js.erb [new file with mode: 0644]
app/views/site_wiki_pages/show.html.erb [new file with mode: 0644]
config/routes.rb
lib/breadcrumb.rb
lib/gitorious/reservations.rb
lib/gitorious/wiki/content.rb [new file with mode: 0644]
test/functional/site_wiki_pages_controller_test.rb [new file with mode: 0644]
test/unit/helpers/pages_helper_test.rb
test/unit/helpers/site_wiki_pages_helper_test.rb [new file with mode: 0644]
test/unit/lib/breadcrumb_test.rb
test/unit/lib/wiki_content_test.rb [new file with mode: 0644]
test/unit/repository_test.rb
test/unit/site_test.rb