1# Cache and Revisions Eraser
2
3**Current Version: 1.6.6**
4
5This admin plug-in allows you to erase the entire cache and/or old wiki revisions.
6Only use this plug-in if you want to clean up your wiki or if the cache gets corrupted.
7I won�t take any resposibility for data lost due to wrong plug-in usage.
8Once old revisions are erased; there�s no way to restore them.
9
10Check for additional information at https://www.dokuwiki.org/plugin:cacherevisionseraser
11
12## What�s new?
13
14v1.6.6
15* Added Ukrainian Language (Thanks Olexiy Zagorskyi)
16* Compatibility with Doodle & Doodle2 plugins (Thanks schplurtz)
17
18v1.6.5
19* Repacked zip correctly again (Only affected v1.6.4, Thanks David for the report)
20* Minor internal improvements
21
22v1.6.4
23* Updated French Language (Thanks Christophe Martin)
24* Updated German Language (Thanks Arno Puschmann)
25
26v1.6.3
27* Added Spanish Language (Thanks Bernab� Garc�a)
28* A few minor changes
29
30v1.6.2
31* Compatibility with Discussion Plugin (Thanks Micha Meyer)
32
33v1.6.1
34* Plugin now report the lastest version date into the Plugins Manager (Thanks Ilya Lebedev)
35* Updated Russian Language (Thanks Alexander Zubkov)
36
37v1.6.0
38* Changes into the design and HTML output (Valid XHTML 1.0 now)
39* Added a workaround for Plugins Manager without UTF-8 support for languages that contains UTF-8 characters.
40* Added report level (Detail on output information: Silent; Files only; All)
41* Added information of how many files & directories were deleted
42* Updated Italian Language (Thanks Diego Pierotto)
43* Updated Russian Language (Thanks Alexander Zubkov)
44* NOTE: This version have a new config file revision, you'll need to re-create config.php if you're upgrading.
45
46v1.5.4
47* Added a hyperlink in the plug-in main page to quickly visit the website (It will open a new window)
48* Display the plug-in version in the Administration tasks lists
49* Updated German Language (Thanks alex)
50
51v1.5.3
52* Bugfixes on writeconfigs function (Thanks Gary for the bug report)
53
54v1.5.2
55* User now can create 'configs.php' from the plug-in instead of accepting the default one (See FAQ)
56* Fixed a bug about some configurations in 'configs.php' (Thanks Robert Riebisch)
57* Updated Russian language (v1.5.1) (Thanks Alexander Zubkov)
58* Changes into some sentences inside the languages files
59* Discarded outdated language versions (they are still available as a patch)
60
61v1.5.1
62* Fixed old locks directory searching
63* Deleting files/directories will now show where they are being processed (cache, locks, meta or old-revis.)
64
65v1.5.0
66* Improved security (Check directories variables & configurations file checking)
67* Added debug list for checking some internal variables (must be enabled in configs)
68* Fixed meta directory variable
69* Improved files searching engine (Thanks Jeff)
70* Many others minor changes...
71
72v1.4.3
73* Fixed French language (v1.4.*) (From Flavien Viollet).
74* Added Brasil (Portuguese) language (v1.4.*).
75
76v1.4.2
77* Added French language (v1.4.*) (Thanks Flavien Viollet).
78* Renamed correctly the russian language filename (Although language isn't yet updated to v1.4.*).
79* Using $conf['savedir'] when $conf['datadir'] isn't available.
80* Converting files to UNIX format (line-break: 0x10).
81
82v1.4.1
83* Updated German language (v1.4.*) (Thanks konus).
84* Added Italian language (v1.4.*) (Thanks EndelWar).
85* Fixed "version" text that i�ve forgot to do multi-language support (Thanks EndelWar).
86* Fixed internal variables for paths (In case they aren�t the default ones) (Thanks Christopher Smith).
87* Added a "readme.txt" into the zip with same information as the wiki.
88
89v1.4
90* Added German language (v1.3.*) (Thanks konus).
91* Added Meta files & old lost page locks delection (suggestion from Kibi).
92* �Old lost page locks (*.lock)� will delete expired locks that aren�t deleted by DokuWiki due of creating a page and cancel it (generating a orphan .lock file).
93
94v1.3.1
95* Updated Russian language (v1.3.*) (Thanks Kibi).
96
97v1.3
98* Added configurations file �<dokuwiki directory>/lib/plugins/cacherevisionserase/configs.php� (request from Hoberion), you should edit it after the install:
99  * Position in admin menu (Default 67).
100  * Enable/Disable cache erase command (Default ON).
101  * Enable/Disable all old revisions erase command (Default OFF).
102  * Ask/Enable/Disable delection of cache of extensions:
103    * .i files (Backlinks and more???) (Default ASK).
104    * .xhtml files (HTML form of a page) (Default ASK).
105    * .js files (Cached Javascript) (Default ASK).
106    * .css files (Cached CSS-Sheet) (Default ASK).
107    * .media.* files (Cached media files) (Default ASK).
108    * All other unknown formats (Default ASK).
109    * Indexed-search files (Default ASK).
110* Thanks Hoberion for all issues.
111
112v1.2
113* Added Russian language (Thanks Kibi).
114* Fixed bug that didn�t delete cache file / revision page with �_dummy� text on it.
115* Fixed �data� path with accordance of security tips (Thanks Kibi).
116* Removed auth mechanism (Doku Wiki don�t allow non-admin users to access admins plug-ins anyway), no longer �Invalid auth mechanism� error is returned.
117
118v1.1
119* Joined the two plug-ins into a single one.
120* Added a basic GUI.
121* Plug-in will now ask the admin if he want to execute the command.
122* Absolute path of files are now hidden.
123
124v1.0
125* First release.
126
127## Available languages:
128* English
129  * Always updated
130* Portuguese
131  * Always updated
132* Brasil
133  * Always updated
134* Spanish
135  * Bernab� Garc�a, 2009-06-27 v1.6.*
136* Ukrainian
137  * Olexiy Zagorskyi, 2010-11-10 v.1.6.*
138* German
139  * Arno Puschmann, 2009-09-25 v1.6.*
140  * 2008-03-23 v1.6.0
141  * Alex, 2006-07-29 v1.5.4
142  * konus, 2006-07-09 v1.4.*
143* Italian
144  * Diego Pierotto, 2008-03-23 v1.6.*
145  * EndelWar, 2006-07-09 v1.4.*
146* Russian
147  * Alexander Zubkov, 2008-03-24 v1.6.*
148  * Kibi, 2006-07-03 v1.3.*
149* French
150  * Christophe Martin, 2009-09-13 v1.6.*
151  * Flavien Viollet, 2006-10-18 v1.4.*
152
153More translations are welcome.
154
155## Download & Installation
156
157Method 1:
158* Go to �Admin� and select �Manage Plugins�
159* In the URL Textbox, type one of the mirrors available in https://www.dokuwiki.org/plugin:cacherevisionseraser
160* Press �Download� and it will be automatically installed!
161* If you want to modify default configuration:
162  * Modify �<dokuwiki directory>/lib/plugins/cacherevisionserase/configs.php� configurations file with a text editor.
163* You can update in the future by pressing �Update� over the �cacherevisionserase� plug-in.
164
165Method 2:
166* Download the zip package
167* Unzip into �<dokuwiki directory>/lib/plugins/� directory (you should end up with a �<dokuwiki directory>/lib/plugins/cacherevisionserase� folder).
168* Modify �<dokuwiki directory>/lib/plugins/cacherevisionserase/configs.php� configurations file with a text editor.
169* That�s it! Plug-in is now installed and working!
170
171Please visit the website for more mirrors.
172
173## FAQ (Frequently Asked Questions)
174
175Check the official website for the FAQ at https://www.dokuwiki.org/plugin:cacherevisionseraser
176
177## Contact
178
179Plug-in coder:
180* JustBurn (Email: justburner [a@t] sapo [d.o.t] pt)
181
182Peoples who helped to make this project better:
183    Hoberion, Kibi, konus, EndelWar, Chris. Smith,
184    Flavien Viollet, Jeff, Alexander Zubkov,
185    Robert Riebisch, Gary, Alex (platinum4friends?),
186    Diego Pierotto, Micha Meyer, Bernab� Garc�a,
187    Christophe Martin, Arno Puschmann, David,
188    Olexiy Zagorskyi, schplurtz
189
190Any problems, bugs or improvements should be posted:
191* wiki @ https://www.dokuwiki.org/plugin:cacherevisionseraser
192* Git @ https://github.com/JustBurn/DokuWiki_CacheRevisionsEraser
193* Directly emailed to me.
194