Commit Graph

1918 Commits

Author SHA1 Message Date
Aleks-Daniel Jakimenko
10fbf17254 Removed debugging code
This key was used instead of using the password
2015-04-22 23:50:58 +03:00
Aleks-Daniel Jakimenko
2089fa60ea Regenerated russian translation 2015-04-21 23:05:15 +03:00
Aleks-Daniel Jakimenko
b08a017a80 New module: private-wiki.pl (encrypt all data on the server) 2015-04-19 23:54:46 +03:00
Aleks-Daniel Jakimenko
5b731a61df No more trailing whitespace (I can do it, I can do it!) 2015-04-17 01:45:11 +03:00
Aleks-Daniel Jakimenko
7112f1c170 No more trailing whitespace (this time for sure) 2015-04-17 01:43:19 +03:00
Aleks-Daniel Jakimenko
c7bd5617ff No more trailing whitespace 2015-04-17 01:39:47 +03:00
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
Alex Schroeder
d8129c16dd Merge commit '6f8d281d7984e05edee03b0a04bf7b2be98555ac' 2015-04-10 17:24:24 +02:00
Alex Schroeder
472e8c5e73 cal3.pl deleted 2015-04-10 17:10:43 +02:00
Aleks-Daniel Jakimenko
6f8d281d79 No more "use vars"! 2015-04-10 13:31:28 +03:00
Alex Schroeder
994de81c41 edit-paragraphs.pl: Fix bad filename in module description 2015-04-10 08:36:26 +02:00
Alex Schroeder
21d8ab6089 Move strip.pl to the right directory
It belongs with other near-links oriented files.
2015-04-06 20:57:35 +02:00
Alex Schroeder
238aa0778b Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-06 20:52:07 +02:00
Alex Schroeder
55c17249bd Moved the near site search proxies into directory
moin-search.pl, phpwiki-search.pl and usemod-search.pl were moved into a
new directory, modules/near-links, because they help support search of
near sites. They act as proxies, parsing the HTML and returning a file
format Oddmuse can understand.

See http://oddmuse.org/wiki/Near_Links#Searching_Near_Sites for more
information.
2015-04-06 20:49:39 +02:00
Aleks-Daniel Jakimenko
5d86d9aace pygmentize.pl: @KnownLocks and @MyInitVariables added to our 2015-04-06 04:08:29 +03:00
Aleks-Daniel Jakimenko
a305782062 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-04 23:13:23 +03:00
Aleks-Daniel Jakimenko
655f6bc6e3 Missing wiki links 2015-04-04 23:12:55 +03:00
Alex Schroeder
50f4901cac Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-03 09:15:15 +02:00
Alex Schroeder
4156e34c1f pygmentize.pl: register lock 2015-04-03 09:14:04 +02:00
Aleks-Daniel Jakimenko
0c5ca9d432 headers.pl: no whitespace in $RuleOrder{...} for consistency and easier parsing 2015-04-03 01:35:46 +03:00
Alex Schroeder
fb1507b6da pygmentize.pl: add our $TempDir 2015-04-02 10:46:54 +02:00
Aleks-Daniel Jakimenko
fd026eda27 pygmentize.pl: @PygmentizeArgs option 2015-04-02 04:59:35 +03:00
Aleks-Daniel Jakimenko
32568bc3d0 module-updater.pl: fixed a problem with unicode 2015-04-01 17:55:48 +03:00
Aleks-Daniel Jakimenko
8edf8e0c4e Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-01 01:07:02 +03:00
Aleks-Daniel Jakimenko
be44cc74c7 New module: pygmentize.pl (syntax highlighting) 2015-04-01 01:05:55 +03:00
Alex Schroeder
88f472b4a3 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-30 22:11:05 +02:00
Alex Schroeder
1d1ab00fb8 anchors.pl supports redirection 2015-03-30 22:09:45 +02:00
Aleks-Daniel Jakimenko
88aac79df3 It is not that weird anymore! *Sub = *NewSub changed to *Sub = \&NewSub
We have just read-TFM and figured out that we can use \&Sub. This way it
passes "use strict" but produces a warning with "use warnings" (the
warning is "Subroutine package::Sub redefined at ...").

We can "fix" it with "no warnings 'redefine'"
2015-03-30 09:58:33 +03:00
Alex Schroeder
ab91ceece4 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-30 00:52:21 +02:00
Alex Schroeder
7f3e1592fc weblog-3.pl: Move $CategoryInit up 2015-03-30 00:47:19 +02:00
Alex Schroeder
4df99dc798 Banning modules use our instead of my
All the banning modules have a problem. They use code like the
following:

*StrangeOldBannedContent = *BannedContent;
*BannedContent = *StrangeNewBannedContent;

The code above changes both the sub and the variable. $BannedContent now
points to $StrangeNewBannedContent (which is undefined) and the name of
the Banned Content page is only accessible via $StrangeOldBannedContent.
If we copy $StrangeOldBannedContent to $BannedContent, everything else
will keep working.

$BannedContent = $StrangeOldBannedContent;

But now use strict will not work. When we tried this:

my $StrangeOldBannedContent; # use strict

Then BannedContent disappeared from the admin page as shown by the tests
in strange-spam.t; the correct solution uses our instead of my.

I'm not sure why.
2015-03-30 00:29:39 +02:00
Aleks-Daniel Jakimenko
95c8c6b39d Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-03-30 01:23:54 +03:00
Alex Schroeder
a8ea996232 markup.pl: fix issue that caused test to fail
The hashref for the attributes cannot be undefined. Use {} instead of
undef.
2015-03-30 00:20:27 +02:00
Aleks-Daniel Jakimenko
8f7fe86e63 static-hybrid.pl uses strict
It looks like a typo. This line looked like this right from the start.
2015-03-30 01:20:20 +03:00
Alex Schroeder
f23a2451a0 weblog-4.pl uses strict
The reference to %Categories was a copy and paste error from
weblog-3.pl.
2015-03-29 23:53:39 +02:00
Alex Schroeder
0f3c0c2717 weblog-3 uses strict
$CategoryInit prevents CategoryInit from running multiple times in a
mod_perl setup.
2015-03-29 23:46:26 +02:00
Alex Schroeder
432ad81993 sistersites.pl uses strict
Like in index.pl, we need to assign $match from the parameter, first.
2015-03-29 23:44:34 +02:00
Alex Schroeder
074d28aabf weblog-2.pl uses strict
Use GetId to determine $id.
2015-03-29 23:42:09 +02:00
Alex Schroeder
037f1aa009 simple-rules.pl uses strict
Variables which are essentially global and which contain state are
localized before they are set. In order to localize them, they have to
be declared here using vars, first.
2015-03-29 23:31:13 +02:00
Alex Schroeder
c3cb47e040 pdf.pl uses strict
PdfNewGetFooterLinks shows that @NoLinkToPdf is simply a list of pages
that should not offer a PDF link at the bottom. Authors can add their
own exceptions to PdfNewGetFooterLinks, I guess, but in order to do
this from your config file, use vars.

createPDF needs $id as a parameter in order to use it. This code
worked before because the calling context was missing a my $id and
thus $id ended up being a global variable.
2015-03-29 23:27:00 +02:00
Alex Schroeder
19d0a2a2df questionasker.pl ready for use strict
GetEditForm uses the second parameter to indicate that it's an upload.
We need to pass it via to QuestionAddTo if we want to use it there.
2015-03-29 23:21:14 +02:00
Alex Schroeder
1921487999 upgrade.pl uses strict
DoUpgrade is an alias for DoBrowseRequest which doesn't get $id as a
first parameter like many actions do. Therefore determine $id like
DoBrowseRequest does: call GetId.
2015-03-29 23:18:07 +02:00
Alex Schroeder
87a576271d namespaces.pl uses strict
Apparently whatever prevented this from working has been fixed in the
mean time.
2015-03-29 23:15:35 +02:00
Àngel Moreno
3a555f1cff catalan-utf8.pl is new
Downloaded from
http://usuaris.tinet.cat/amoreno/wiki/Wiki
2015-03-29 22:47:41 +02:00
Alex Schroeder
cfc811c2e0 recaptcha.pl uses strict
Same fix as for gd_security_image.pl.
2015-03-29 17:53:08 +02:00
Alex Schroeder
e27222374e strange-spam.pl uses strict 2015-03-29 17:50:51 +02:00