Commit Graph

27 Commits

Author SHA1 Message Date
Aleks-Daniel Jakimenko
892d352b9e webdav.pl: Hide 'once' warnings
Without this it throws warnings like 'Name "OddMuse::ScriptName" used only once'.
It is unclear whether these warnings make any sense. We will hide them for now.
2015-04-14 23:36:58 +03:00
Alex Schroeder
39b8439371 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-13 07:59:57 +02:00
Alex Schroeder
e703a3ca89 webdav.pl: Add "if $verbose" to two warnings 2015-04-13 07:59:00 +02:00
Aleks-Daniel Jakimenko
17b2562054 No more "*Sub = *NewSub", \&NewSub used instead. (Completely now!) 2015-04-12 22:50:50 +03:00
Aleks-Daniel Jakimenko
40ec24349a No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress) 2015-04-11 23:41:33 +03:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Alex Schroeder
46a5a32348 webdav.pl replace Perl license with GPL
According to http://dev.perl.org/licenses/ the Perl license is either
the GPL or the Artistic license. We'll pick the GPL so that it matches
the rest of Oddmuse.
2015-03-28 14:36:13 +01:00
Aleks-Daniel Jakimenko
4492ede096 "use strict;" in modules (some modules have problems) 2015-03-27 03:01:01 +02:00
Alex Schroeder
5aba2ae56f Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Jakimenko
ee932dee37 Automatically reformatted modules 2014-08-21 07:29:46 +03: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
fa2e9751d4 (body): Comment warning. 2006-09-12 16:39:58 +00:00
Alex Schroeder
d5a193cddf Make warnings depend on a local variable instead of being commented
out.
2005-09-18 13:49:53 +00:00
Alex Schroeder
6f65ac8097 (lock, unlock): Fake them.
(%implemented): List lock.
(options): Use DAV: 1 header.
2005-09-18 13:12:14 +00:00
Alex Schroeder
7c85dfabaa (propfind): Handle UTF-8 correctly because the displayname is not
URL encoded.
2005-08-30 20:23:34 +00:00
Alex Schroeder
de4cc0d15a (propfind): Removed warning. 2005-08-30 13:38:18 +00:00
Alex Schroeder
21119eb7e2 ($WebDavCache): New option.
(propfind_data): Use cached data if appropriate.
(propfind): Add support for displayname and getetag properties.
Use propfind_data() to cache data.  Add etag to the response even
though the RFC says PROPFIND should not be cached.  No longer use
libraries for decoding and escaping.
(DavNewOpenPage): Add 'created' property to all pages.
2005-08-30 12:58:41 +00:00
Alex Schroeder
d3f0585312 (put): Add support for image/png. 2005-08-29 20:58:17 +00:00
Alex Schroeder
90a5926315 (put): Bugfix 2005-08-29 20:47:28 +00:00
Alex Schroeder
cfb47333e2 (options): Don't send DAV header, since we're
not even a class 1 server.
(put): Handle image/jpeg files using magic bytes.
(no_content): New.
2005-08-29 18:03:05 +00:00
Alex Schroeder
2df9079524 Removed warnings. 2005-08-28 21:04:55 +00:00
Alex Schroeder
4b3b16951e Added $ModulesDescription 2005-08-28 20:19:57 +00:00
Alex Schroeder
de4cfd0ca5 (get): Removed cookie code. 2005-08-28 19:48:56 +00:00
Alex Schroeder
65822f571d Removed some dependencies 2005-08-28 19:21:27 +00:00
Alex Schroeder
d2928e8fb4 Works with cadaver! 2005-08-28 19:09:09 +00:00
Alex Schroeder
dbe9878e9c work in progress 2005-08-26 23:52:20 +00:00