Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 1514 Bytes
1 | module CacheSweepingHelper |
2 | |
3 | def expire_cached_page(web, page_name) |
4 | expire_action :controller => 'wiki', :web => web.address, |
5 | :action => %w(show published s5 tex print history source), :id => page_name |
6 | expire_action :controller => 'wiki', :web => web.address, |
7 | :action => 'show', :id => page_name, :mode => 'diff' |
8 | end |
9 | |
10 | def expire_cached_summary_pages(web) |
11 | categories = WikiReference.all(:conditions => "link_type = 'C'") |
12 | %w(recently_revised list).each do |action| |
13 | expire_action :controller => 'wiki', :web => web.address, :action => action |
14 | categories.each do |category| |
15 | expire_action :controller => 'wiki', :web => web.address, :action => action, :category => category.referenced_name |
16 | end |
17 | end |
18 | |
19 | %w(authors atom_with_content atom_with_headlines file_list).each do |action| |
20 | expire_action :controller => 'wiki', :web => web.address, :action => action |
21 | end |
22 | |
23 | %w(file_name created_at).each do |sort_order| |
24 | expire_action :controller => 'wiki', :web => web.address, :action => 'file_list', :sort_order => sort_order |
25 | end |
26 | end |
27 | |
28 | def expire_cached_revisions(page) |
29 | page.revisions.count.times do |i| |
30 | revno = i+1 |
31 | expire_action :controller => 'wiki', :web => page.web.address, |
32 | :action => 'revision', :id => page.name, :rev => revno |
33 | expire_action :controller => 'wiki', :web => page.web.address, |
34 | :action => 'revision', :id => page.name, :rev => revno, :mode => 'diff' |
35 | end |
36 | end |
37 | |
38 | end |