Commit Graph

6051 Commits

Author SHA1 Message Date
Alex Schroeder
617ea2a22f Makefile: Don't set PERL5LIB if it is already set 2017-11-03 13:05:46 +01:00
Alex Schroeder
56ee668a89 Test: give Mojolious server a sec to start up 2017-11-03 11:03:42 +01:00
Alex Schroeder
efccc95405 Summary: Export PERL5LIB for Alexine
Try again, now using the current directory in the test target of the
Makefile instead of changing run-tests.
2017-11-03 10:48:16 +01:00
Alex Schroeder
2ce18e01f2 Export PERL5LIB for Alexine
Try again, now using ODDMUSE_TEST_LOCATION instead of the current
directory.
2017-11-03 10:45:05 +01:00
Alex Schroeder
09497eb697 Export PERL5LIB for Alexine 2017-11-03 10:15:01 +01:00
Alex Schroeder
13b8bbc744 Set PERL5LIB for Alexine 2017-11-03 10:12:57 +01:00
Alex Schroeder
57fc755fb4 Fixed display of comment pages
There was a bug where showing the non-existing comment page for an
existing page: BrowseResolvedPage used to return BrowsePage($id,
GetParam('raw', 0), undef, '404 NOT FOUND') and we wanted to change
this to a 200 response and so we returned BrowsePage($resolved,
GetParam('raw', 0)); -- but that is wrong because in this situation
$id is defined and $resolved is not! This commit fixes the problem.
2017-11-03 10:03:39 +01:00
Alex Schroeder
69d22e7912 Use lib '.' for Alexine 2017-11-03 10:02:42 +01:00
Alex Schroeder
91dd297675 Allow exclamation mark in page names 2017-11-02 14:06:30 +01:00
Alex Schroeder
1b15bb7ec4 creole: fix left alignment of th 2017-11-01 16:51:23 +01:00
Alex Schroeder
2ac9f753c4 Comment pages and $CommentsPattern, again
If $CommentsPattern is a regular expression that matches without
setting $1, we want to avoid the “Use of uninitialized value $1 in
hash element” warning.
2017-10-30 15:56:06 +01:00
Alex Schroeder
58b56ef6c7 Don't return 404 for empty comment pages 2017-10-30 14:16:12 +01:00
Alex Schroeder
be95b94fe7 Add .gitattributes
GitHub uses Linguist to identify source code and .pl files are
sometimes classified as Prolog files. There are various ways to
override this. Using .gitattributes seems to be the easiest.
https://github.com/github/linguist#overrides

Similar issue:
https://github.com/github/linguist/issues/3230
2017-10-23 07:45:20 +02:00
Alex Schroeder
6de31f7d9c ignore TAGS 2017-09-07 22:50:08 +02:00
Alex Schroeder
bc68c534e3 ditaa and mermaid modules added 2017-09-07 22:27:47 +02:00
Alex Schroeder
ab12aed968 wiki.css: only p > a.definition looks like h2 2017-08-29 16:49:54 +02:00
Alex Schroeder
94ae1e9c0a permanent-anchors: fix dirty block return 2017-08-29 16:44:08 +02:00
Alex Schroeder
8c7b43cbaf namespaces: sort the result of the namespace action 2017-08-29 15:39:08 +02:00
Alex Schroeder
21cb1349e5 markdown-rule fixes for _foo_, *foo* and /foo/ 2017-08-28 11:42:02 +02:00
Alex Schroeder
21723acb8a bbcode must come after markdown 2017-08-16 09:31:51 +02:00
Alex Schroeder
66be0e12c7 Fixed small bug in release file 2017-08-11 20:47:16 +02:00
Alex Schroeder
d2cd0af5b9 static-copy: suppress extra output when saving pages 2017-07-24 10:35:18 +02:00
Alex Schroeder
273e29297c paste-image: new action includes javascript 2017-07-14 13:42:12 +02:00
Alex Schroeder
3026895fc3 Markdown: fixed number of tests 2017-07-07 23:19:31 +02:00
Alex Schroeder
e5a20272da Markdown: one more test 2017-07-07 20:52:35 +02:00
Alex Schroeder
c6eb80217e markdown-rule: support nested lists by indenting 2017-07-07 17:11:04 +02:00
Alex Schroeder
c12bbff6ef paste-image: step from 0.8 to 0.5
As it turns out, when I tried to paste an 1.5MB image, the old
settings didn't work. We need to shrink more agressively.
2017-06-16 20:01:11 +02:00
Alex Schroeder
a9af1bb4d7 paste-image: fix name of option 2017-06-13 22:43:36 +02:00
Alex Schroeder
35cefb5973 paste-image: delete trailing whitespace 2017-06-13 22:32:30 +02:00
Alex Schroeder
62a6f5b9d7 paste-image: handle $QuestionaskerSecretKey 2017-06-13 22:18:11 +02:00
Alex Schroeder
099956216c Merge branch 'master' of github.com:kensanata/oddmuse 2017-06-13 22:11:46 +02:00
Alex Schroeder
05c72c0042 paste-image: automatic resizing via Javascript 2017-06-13 22:06:39 +02:00
Alex Schroeder
e9fbc214e5 Add separate alt text for uploaded images 2017-06-13 12:55:52 +02:00
Alex Schroeder
d8dc9d792e Fix how image names are determined 2017-06-12 23:22:31 +02:00
Alex Schroeder
7794bb6fd6 markdown-rule: merge with latest from server 2017-06-11 23:42:51 +02:00
Alex Schroeder
53b995bb6f paste-image.pl is new 2017-06-11 23:27:16 +02:00
Alex Schroeder
f53a00de64 Markdown rule fix for markup in table cells 2017-05-22 18:20:53 +02:00
Alex Schroeder
15cbe00eb9 Markdown rule: added tests for // and / 2017-05-22 18:00:59 +02:00
Alex Schroeder
9ef84922d4 Markdown rule: fix rules for __ and _ 2017-05-22 17:59:34 +02:00
Alex Schroeder
0872647101 webdav: new tests using cadaver, when installed 2017-05-22 12:23:15 +02:00
Alex Schroeder
7a0dc0a18e Qualify OddMuse::Modified in a different package 2017-05-22 12:23:15 +02:00
Alex Schroeder
340478ffd8 For PUT and POST, CGI will read STDIN
You can get the content via the parameters POSTDATA and PUTDATA. For
other methods, however, this doesn't work and you still need to read
STDIN. One such method is PROPFIND.
2017-05-22 12:23:15 +02:00
Alex Schroeder
3d7727714d README: how to use server.pl 2017-05-22 12:23:15 +02:00
Alex Schroeder
6a78308720 git.pl: failing to delete a file is not an error 2017-05-22 12:23:15 +02:00
Alex Schroeder
39516fa2fd markdown-rule.pl: improving the regexps 2017-05-22 12:23:15 +02:00
Alex Schroeder
ed1bf8ac32 Tiny indentation changes 2017-04-21 02:03:15 +03:00
Alex Schroeder
7fdc318ff0 refactored into single outer if-branch (#7)
* refactored into one outer if branch, simplified output of div classes

(squashed to avoid the weird GPL version change)
2017-04-21 01:57:49 +03:00
Alex Schroeder
e78e0c5d9c Merge pull request #6 from greenfive/titlelist
added support for <titlelist regexp> to search page titles only
2017-04-20 17:47:05 +02:00
Alex Schroeder
6c64b3a3b2 added support for <titlelist regexp> to search page titles only 2017-04-20 13:19:59 +02:00
Alex Schroeder
d0e6f8c724 Variable %RuleOrder is not needed of course
Oops.
2017-04-15 03:56:48 +03:00