Commit Graph

1984 Commits

Author SHA1 Message Date
Alex Schroeder
8f3db6ebfe Changed EN DASH to - in copyright lines
The EN DASH is not really required in year ranges such as 2012–2015 when
we're talking about comments in source code that is probably being
displayed in a fixed font anyway. Changing back to an ordinary hypen
allows us to make a meaningful test for use utf8.
2015-07-28 22:14:37 +02:00
Alex Schroeder
b2cae9a5a3 agree-disagree.pl: fix leading whitespace 2015-07-28 21:59:47 +02:00
Alex Schroeder
c269d0c303 agree-disagree.pl: fix issues 2015-07-28 21:58:15 +02:00
Alex Schroeder
030cbadfed 404handler.pl: use our for variables 2015-07-28 10:55:13 +02:00
Alex Schroeder
895c3d1e56 upload.pl: fix missing my 2015-07-28 10:49:42 +02:00
Alex Schroeder
d539ff813a Remove trailing whitespace
I love those meta tests.
2015-07-28 10:47:21 +02:00
Alex Schroeder
88758978b3 New old module agree-disagree.pl (copied from wiki) 2015-07-28 03:35:33 +03:00
Alex Schroeder
86a01c1505 static-copy.t skips a test without HTTPS support
The static.css file is copied from https://oddmuse.org/ -- so if
LWP::Protocol::https is not installed, this cannot work.
2015-07-21 12:42:06 +02:00
Alex Schroeder
60eaef5d72 static-copy.pl use HTTPS to access oddmuse.org 2015-07-21 12:22:39 +02:00
Alex Schroeder
8c6b18286b Moved 404handler.pl to modules 2015-07-21 09:34:17 +02:00
Alex Schroeder
9f3fc348ee pygmentize.pl: warn if an error occured
There's now a test that checks the error message when no pygmentize tool
can be found on the PATH.
2015-07-16 22:14:32 +02:00
Alex Schroeder
5d867d8306 Revert changes in modules/recaptcha.pl, I did not mean this 2015-07-15 01:07:54 +03:00
Alex Schroeder
1df2559084 File BUGS is deleted.
According to "git blame BUGS" all these bug reports are more than 10 years old.
2015-07-15 01:04:54 +03:00
Alex Schroeder
d2b73985b6 removed package OddMuse declarations 2015-07-14 16:45:18 +02:00
Alex Schroeder
2847a07d2e plainclusterrc.pl: deleted
The author's page describes it as follows: "This module is designed to
be used in conjunction with the ClusterMap Module and the Static Hybrid
Module. It alters the code that generates the RecentChanges page so that
links to a Cluster Page are direct links, not action links. This allows
your RecentChanges page to be more useful and use the pre-cached pages,
rather than calling the Oddmuse script."
http://fletcherpenney.net/2005/10/plain_cluster_rc_module

As nobody seems to be using it, I deleted it.
http://oddmuse.org/wiki/Module_Popularity
2015-07-13 15:46:10 +02:00
Alex Schroeder
9b49abbc7c slideshow.pl: deleted
There was no documentation to be found on the wiki or in the comments of
the module. The module requires various CSS files that aren't part of
the module. That's why I deleted it.

Some more information is here:
http://fletcherpenney.net/2005/08/s5_slide_show

It's based on S5 - the Simple Standards-based Slide Show System.
http://meyerweb.com/eric/tools/s5/

"Basically, it’s a way to create slide shows using nothing more than
XHTML, CSS, and Javascript. In theory, they are compatible across all
compliant browsers, and built from quite small files making the
presentations perfect for web use."

The slide show example is no longer available.
2015-07-13 15:42:32 +02:00
Alex Schroeder
daa13136af image.pl: comment explanining where $Monolithic comes from 2015-07-13 10:07:19 +02:00
Alex Schroeder
8eeecedf92 usemod.pl: fix XSS vulnerability for $HtmlLinks 2015-07-13 08:48:18 +02:00
Alex Schroeder
fe6f8a8f92 div-foo.pl: add rule order
%RuleOrder needs to be declared our.
2015-07-13 06:54:35 +02:00
Alex Schroeder
c42f42a6eb div-foo.pl: add rule order
This moves the rule after usemod.pl
2015-07-13 06:52:55 +02:00
Alex Schroeder
6d165a092a Get rid of last traces of $RecentTop
This variable disappered with commit 5ca75e87, back in 2008.
2015-07-08 15:25:14 +02:00
Alex Schroeder
8c47f928ca Added README showing how to do translation stats 2015-07-08 15:06:21 +02:00
Alex Schroeder
860627b734 Translation system refactoring
All the translation files will call AddModuleDescription only if it is
defined, allowing us to run the translation files by themselves. A
further change to oddtrans got rid of some "Wide character in print"
warnings. Together, these changes now allow us to calculate how many
translation strings are missing for a given set of modules.
2015-07-08 14:53:49 +02:00
Alex Schroeder
f95d471f9d german-utf8.pl: Update 2015-07-07 15:23:52 +02:00
Alex Schroeder
230da5377d $SiteBase removed 2015-07-05 15:55:22 +02:00
Alex Schroeder
e914acf828 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-07-05 08:18:38 +02:00
Alex Schroeder
86b3b6e297 german-utf8.pl: missing translations 2015-07-05 08:17:00 +02:00
Alex Schroeder
8ad238d755 private-wiki.pl: Fixed a serious problem (wikis require reencryption)
Because of the lack of parenthesis CBC mode was not turned on. This was a
serious security problem. If you were using this module, now you have to
reencrypt the whole wiki. Instructions for doing this will be posted
on [[Private Wiki Extension]] eventually.
2015-07-04 16:47:28 +03:00
Alex Schroeder
01cde4d8c9 not-found-handler.pl passes perl -c
ToString needs parenthesis.
2015-07-03 14:33:24 +02:00
Alex Schroeder
1da185a317 html-template.pl passes perl -c
ToString needs parenthesis.
2015-07-03 14:32:33 +02:00
Alex Schroeder
aee4015268 pdf.pl passes perl -c
ToString needs parenthesis.
2015-07-03 14:31:34 +02:00
Alex Schroeder
12eadad642 plainclusterrc.pl passes perl -c
GetRC needs parenthesis.
2015-07-03 14:29:34 +02:00
Alex Schroeder
5b1e9b2357 static-hybrid.pl passes perl -c
ToString needs parenthesis.
2015-07-03 14:28:09 +02:00
Alex Schroeder
2c0b3889ea aggregate.pl passes perl -c
ToString needs parethesis.
2015-07-03 14:26:59 +02:00
Alex Schroeder
56fed65d14 private-wiki.pl: remove debug print to STDERR 2015-07-03 13:01:45 +02:00
Alex Schroeder
c6e490dcb5 Remove $NewText and $NewComment.
$NewText is replaced by a call to NewText() which you can overwrite. Or
you can provide translations for the texts used by NewText(). Basically,
the new text explains that the page in question does not exist and
invites you edit it.
2015-07-03 13:01:32 +02:00
Alex Schroeder
5a1a46ba4a Remove README and $ReadMe
I don't think anybody ever relied on this feature.
2015-07-03 11:51:48 +02:00
Alex Schroeder
7caa8cc05a Fix oddtrans again.
Changing all the double quotes to single quotes before processing was a
bad idea.
2015-06-28 00:53:24 +02:00
Alex Schroeder
d6182ce120 Oddtrans now handles split strings.
The issue was raised by a translation of this form:

T('something, something'
  . ' and something')';
2015-06-28 00:10:43 +02:00
Alex Schroeder
2fa10a04cf New google-plus-one.pl and tests.
This adds a Google +1 button to the bottom of a page.
2015-06-27 20:22:55 +02:00
Alex Schroeder
24b9359386 Added like.pl and like.t
Implement a simple "I Like" link.
2015-06-27 11:57:59 +02:00
Alex Schroeder
0e0d8e81f9 login.pl no longer translates HTML tags
The module had <ul>, <li>, and the corresponding closing tags marked
for translation. This was removed.
2015-06-02 14:12:48 +02:00
Alex Schroeder
8bd9db5cdf Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-06-01 23:49:23 +03:00
Alex Schroeder
c8e5789c88 russian-utf8.pl: "Comments" looks better than "Comments on this page" 2015-06-01 23:48:23 +03:00
Alex Schroeder
8c71e99f29 use strict and "our" for all the translation files 2015-06-01 22:39:06 +02:00
Alex Schroeder
ded62f6bba smiles.pl: support upsidedown smiley 2015-05-31 22:53:06 +02:00
Alex Schroeder
7957e0eaf5 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-05-31 22:35:59 +02:00
Alex Schroeder
2e14d1216f smiles.pl: support upsidedown smiley 2015-05-31 22:34:47 +02:00
Alex Schroeder
90017fe9d1 russian-utf8.pl: Some progress 2015-05-30 16:59:28 +03:00
Alex Schroeder
db8fe0a792 div-foo.pl: allow numbers in css classes 2015-05-30 03:47:24 +03:00