Commit Graph

5656 Commits

Author SHA1 Message Date
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
a8137a6ad3 meta.t: 404handler.pl is not a real module 2015-07-28 21:52:41 +02:00
Alex Schroeder
ee6f20712f meta.t: test for AddModuleDescription 2015-07-28 11:15:28 +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
fc4e2a393a oddmuse-curl.el: help users see reload command 2015-07-28 10:44:04 +02:00
Alex Schroeder
cafc801e95 meta.t: nice suggestion in "perl -c" test 2015-07-28 06:20:54 +03:00
Alex Schroeder
35457b1519 Tests for our Refactoring efforts (some tests are failing)
Some tests are failing because of the actual problems.
We should fix those.
2015-07-28 06:10:38 +03: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
abdf4e2a9e referrer-tracking.t switching to HTTPS 2015-07-21 12:31:13 +02:00
Alex Schroeder
60eaef5d72 static-copy.pl use HTTPS to access oddmuse.org 2015-07-21 12:22:39 +02:00
Alex Schroeder
5d99f3f159 referrer-tracking.t with new copyright year 2015-07-21 12:17:12 +02:00
Alex Schroeder
2feecd20ee referrer-tracking.t skips test without HTTPS
As oddmuse.org now uses HTTPS, this test requires LWP::Protocol::https
to be installed.
2015-07-21 12:16:17 +02:00
Alex Schroeder
5e5a2b715e near-links.t fix test for empty page 2015-07-21 11:32:55 +02:00
Alex Schroeder
4aa119cf6b Summary: Fix bug in NewText
If $CommentsPrefix was not set, all the pages were being treated like
comment pages.
2015-07-21 10:15:55 +02:00
Alex Schroeder
bbf0f7d477 Fix bug in NewText
If $CommentsPrefix was not set, all the pages were being treated like
comment pages.
2015-07-21 10:14:34 +02:00
Alex Schroeder
a32e85f4a2 fcgi.pl deleted
As part of the big cleanup, files that haven't been used have been
deleted. The necessary info can still be found on the Oddmuse site:
https://oddmuse.org/wiki/Using_mod_fastcgi
2015-07-21 09:44:35 +02:00
Alex Schroeder
17ce6dc238 README.creole typo fixed 2015-07-21 09:41:18 +02:00
Alex Schroeder
8c6b18286b Moved 404handler.pl to modules 2015-07-21 09:34:17 +02:00
Alex Schroeder
2fbece3d67 Deleted some more cruft
debian-packages, test.mime and test.png have been deleted.
2015-07-21 09:29:24 +02:00
Alex Schroeder
0837e5fd13 localnames-server.pl moved to contrib 2015-07-21 09:28:15 +02:00
Alex Schroeder
8e12028515 mimedecode.pl moved to scripts 2015-07-21 09:25:49 +02:00
Alex Schroeder
43179b9915 templates subdirectory now with README 2015-07-21 09:25:06 +02:00
Alex Schroeder
2f5d35b686 Moved rc2mail.pl into contrib 2015-07-21 09:23:51 +02:00
Alex Schroeder
222f7e6ee6 Makefile stripped of untested junk
The Mac subdirectory and all the instructions of how to build and
install Oddmuse on a Mac using the OSX tools have been deleted.

The Slack subdirectory and all the instructions of how to build and
install Oddmuse on Slackware have been deleted.

The contrib/simple-install subdirectory and all the instructions on how
to quickly and easily install Oddmuse using Creole have been deleted.
2015-07-21 09:21:13 +02:00
Alex Schroeder
dbe9d5f555 plink.js: moved into contrib directory 2015-07-21 09:19:48 +02:00
Alex Schroeder
965c967c77 README.creole: fix dependencies 2015-07-20 09:04:32 +02:00
Alex Schroeder
1dc9d8b9ab Default message for empty comment pages. 2015-07-20 08:12:46 +02:00
Alex Schroeder
0386b27f5b No need to wait 10 mins if you waited for hours
Previously it was possible to see "The lock was created 1000 hours ago.
After ten minutes, you could try to unlock the wiki".
While technially that's true, it does not sound nice to humans.

Also, now the button to unlock the wiki is not displayed until 10 minutes
pass. This is probably a good idea to prevent unconscious unlocks.

T('Unlock Wiki') string is reused (the same string is displayed on the
Administration page)
2015-07-20 04:43:21 +03:00
Alex Schroeder
bf55621299 README.creole improvement
Move data dir from /var/www to /var/local.
2015-07-19 22:42:38 +02:00
Alex Schroeder
8b348e50c6 README.creole use root at first 2015-07-19 22:38:21 +02:00
Alex Schroeder
87e3433806 README.creole improve installation instructions 2015-07-19 22:37:09 +02:00
Alex Schroeder
9a70528ad0 Moved README to README.creole
The new file now contains much more detailed instructions for a Debian
system.
2015-07-19 22:10:39 +02:00
Alex Schroeder
bbf777e849 $PrintedHeader renamed to $HeaderIsPrinted
I also added some comments explaining why we need it. When calling
ReportError, we don't know whether HTTP headers have already been
printed. If not, we need to print them or the error message will be an
invalid HTTP response. If we did, we must not reprint them or the HTML
page will contain HTTP headers as part of its response body.
$HeaderIsPrinted makes sure the HTTP headers are printed just once.
2015-07-17 15:21:16 +02:00
Alex Schroeder
0afba6d0a9 $ValidatorLink removed 2015-07-17 15:11:37 +02:00
Alex Schroeder
ce77bf87f1 pygmentize.t: make test for the error more robust 2015-07-17 14:20:39 +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
e33e1461e1 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-07-14 23:12:28 +03:00
Alex Schroeder
81b06a46a2 Comments about perlcritic 2015-07-14 23:11:07 +03:00
Alex Schroeder
7eed5e4ccd Fixed incorrect usage of map 2015-07-14 23:10:25 +03:00
Alex Schroeder
45f50f94ba Declaring variables correctly 2015-07-14 23:07:02 +03:00
Alex Schroeder
f60433b549 major.t: delete some tests that make no sense
The recent changes in commit 62d6dc4b—fixing the summary for last major
revisions—resulted in some changes in the output. These changes seem to
be OK so I removed the tests for the old output.

Basically, the tests created a new page using a minor change. What
should the output be when browsing the page with diff=1? "No diff
available" is correct. There is no need to mention the last major change
because there is none.

The next tests edited the same page using minor changes. What should the
output be when browsing the page with diff=1? "No diff available" is
still correct. There is still no need to mention the last major change
because there is none.
2015-07-14 17:30:05 +02: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