Alex Schroeder
700d412a01
More UTF-8 fixes
...
All the source files containing non-ASCII characters needed to have
utf8 added. This will be necessary for user config files as well! The
regular expressions identifying page names had to be changed.
UrlEncode translates the string back to bytes before encoding it.
Cached RSS files are saved with UTF-8 encoding and therefore need
their meta-data changed (using the XML::RSS module to do this
correctly didn't work for some of the test files). The CGI object's
parameters, keywords and info_path are decoded correctly. File access
uses the UTF-8 layer (reading, writing, appending, access to the log
of recent changes, running sub processes with grep and diff).
The mac compatibility extension will also disable the use of grep,
because I could not get it to work (and I don't think there will be
large Oddmuse installations running on Apple's HFS).
2012-05-24 16:58:10 +02:00
Alex Schroeder
cd2b4d624e
Remove $HttpCharset and moved everything to UTF-8
...
This also required some changes to the tests where explicit UTF-8
encoding had been used in the past.
2012-05-22 11:50:23 +02:00
Alex Schroeder
f11e2a8731
getting rid of $Id$ tags in $WikiDescription
...
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
8e9b5f72b5
(NewNamespaceBrowsePage): Allow redirection to namespaces.
...
(NamespacesNewGetId): Allow for the provision of the ns parameter.
2012-03-20 16:41:22 +00:00
Alex Schroeder
63410250fb
Concise notation.
2012-03-18 01:03:56 +00:00
Alex Schroeder
a973495be4
(NamespacesNewGetId): Fix the special case
...
http://example.org/cgi-bin/wiki.pl/Test?rollback-1234=foo where
Test refers to the namespace and not to the page id.
2012-03-17 19:35:19 +00:00
Alex Schroeder
f7aa033939
* gravatar.pl (AddGravatar): UnquoteHtml the comment
...
before adding the gravatar to it.
2012-02-10 10:49:04 +00:00
Alex Schroeder
14062d1b88
Fix quoting issues.
2012-01-31 11:10:40 +00:00
Alex Schroeder
d707ce0e8c
(GetFooterLinksLogout): Add extra space as
...
suggested by wiki user Cayenne.
2012-01-17 18:23:07 +00:00
Alex Schroeder
b700d431e6
(HoneyPotInspection): Allow override using
...
$QuestionaskerSecretKey.
2012-01-02 22:47:01 +00:00
Alex Schroeder
bcc097ef4a
And another attempt at an offline app.
2011-12-31 03:04:35 +00:00
Alex Schroeder
cbe55eee65
(CategoriesNewOpenPage): Instead of setting $Page{text}, set
...
$NewText because that's what BrowsePage uses. Handle $NewPage in
the case of mod_apache or similar environment.
2011-12-31 01:40:26 +00:00
Alex Schroeder
c51ca0a658
(CategoryParse): New. Change parsing
...
slightly to match the description on the wiki.
(CategoryInit, GotoBarInit): Use it.
2011-12-31 00:27:33 +00:00
Alex Schroeder
724a771942
Moved CSS installation to separate module.
2011-12-05 23:59:30 +00:00
Alex Schroeder
b12f0a5329
* honeypot.pl: Add pod.
...
($HoneyPotOk $HoneyPotIdiot, $HoneyPotTimestamp): New.
(HoneyPotNewGetFormStart, HoneyPotInspection): Use them.
2011-11-26 11:30:42 +00:00
Alex Schroeder
277a1cf807
(PrintAllPages): Deleted. (Was it ever required?)
2011-11-20 23:39:17 +00:00
Alex Schroeder
6dd6acee00
Renamed $GitDir to $GitRepo.
2011-11-20 22:52:18 +00:00
Alex Schroeder
8cb8b8a58a
(DoPrintAllPages): PrintAllPages needs an extra parameter.
2011-11-19 15:26:44 +00:00
Alex Schroeder
42bf6bcd2e
*** empty log message ***
2011-11-05 13:19:06 +00:00
Alex Schroeder
bb294db6bb
* git.pl (GitCleanup): Get rid of git add --all and use
...
git commit -a instead.
2011-11-04 22:59:03 +00:00
Alex Schroeder
0a2944d208
*** empty log message ***
2011-11-04 22:42:26 +00:00
Alex Schroeder
cb7f7d4b69
(GitNewSave, GitNewDeletePage, GitCleanup): Use $GitMail.
2011-10-23 19:16:38 +00:00
Alex Schroeder
f40d309a0e
(NewTagDeletePage): Return OldTagDeletePage().
2011-10-23 18:53:40 +00:00
Alex Schroeder
41451bba69
($GitMail): New option.
...
(GitInitRepository): Use it.
2011-10-23 18:11:29 +00:00
Alex Schroeder
bb5f0b2106
New
2011-10-22 23:17:12 +00:00
Alex Schroeder
6cfae55abb
Ignore Preview
2011-10-16 10:16:05 +00:00
Alex Schroeder
f6d4789190
(StaticFileName, StaticWriteFile): Handle
...
encoded files, eg. gzip.
2011-10-13 23:46:21 +00:00
Alex Schroeder
567e94f572
(HoneyPotInspection): Except editors.
2011-10-12 18:52:24 +00:00
Alex Schroeder
02bcc136b9
(HoneyPotInspection): New.
2011-10-12 18:14:54 +00:00
Alex Schroeder
e92d03e1ad
Also provide a goodie parameter.
2011-10-12 16:17:14 +00:00
Alex Schroeder
5f3062c7aa
New
2011-10-12 11:39:50 +00:00
Alex Schroeder
f58bf51b92
(MonitorSend): Change from User to From
...
address.
2011-10-12 11:38:20 +00:00
Alex Schroeder
797d16e616
Sample settings
2011-10-12 09:20:16 +00:00
Alex Schroeder
950c7cffe9
Fixes
2011-10-11 23:10:55 +00:00
Alex Schroeder
f649864b45
Debugging
2011-10-11 22:17:26 +00:00
Alex Schroeder
83a7c00dbd
First revision.
2011-10-11 21:49:07 +00:00
Alex Schroeder
ef407648db
Formatting
2011-07-06 19:18:01 +00:00
Alex Schroeder
16ec011a8f
(SafeId): New.
...
(DynamicCommentsNewGetPageLink): Use it.
2011-07-06 19:02:14 +00:00
Alex Schroeder
17e562aa0d
(DynamicCommentsNewGetPageLink): URL
...
encode the id.
2011-07-06 17:12:38 +00:00
Alex Schroeder
2993f5b5d3
(ImageSupportRule): Don't URL encode
...
$ImageUrlPath – specially bad if it ends up containing "http:" and
the like.
2011-07-06 15:55:13 +00:00
Alex Schroeder
1bedbdec08
Añadir traducción
2011-07-05 00:30:18 +00:00
Alex Schroeder
f6660b64f8
(NewOfflineReBrowsePage): Add redirection support for offline
...
browsing.
2011-06-25 13:54:00 +00:00
Alex Schroeder
7cde52b9eb
(DoOffline): Return 200 code instead of 503.
2011-06-25 13:35:35 +00:00
Alex Schroeder
faa50401da
(InitOffline): Disable surge protection when
...
browsing the offline pages. Add offline path_info to separate the
offline app from the ordinary stuff.
(DoManifest): Add the offline path_info, remove the missing pages
from @UserGotoBarPages because these result in 404 errors.
(DoOffline): Fix text.
2011-06-25 13:19:28 +00:00
Alex Schroeder
6a3cef7da3
(DoManifest): Add missing pages from the goto
...
bar.
2011-06-23 00:35:56 +00:00
Alex Schroeder
13075717e3
(NamespacesInitVariables): URL encode the
...
current namespace for $ScriptName, $FullUrl and $StaticUrl.
2011-06-23 00:31:59 +00:00
Alex Schroeder
731f34fbaf
New
2011-06-23 00:20:00 +00:00
Alex Schroeder
ab104247cd
New missing entries.
2011-05-17 13:24:13 +00:00
Alex Schroeder
c904436961
(GetWantedPages): Try a different fix.
2011-05-11 13:48:08 +00:00
Alex Schroeder
ee26d8c0d3
(NewLocalNamesResolveId): Fix it again.
2011-05-11 13:22:37 +00:00