Commit Graph

1646 Commits

Author SHA1 Message Date
Alex Schroeder
1c15c82071 Get rid of special cases for RecentChanges. 2014-01-22 01:43:44 +01:00
Alex Schroeder
d51c6b6bc5 Fix documentation URL 2013-12-21 20:01:58 +01:00
Alex Schroeder
1fc68f2612 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-11-30 22:51:00 +01:00
Alex Schroeder
15263102a2 Set @IndexOptions via @MyInitVariables.
With commit deec99c353 @InitOptions can
no longer be set at load time. Setting it at load time also disables
translations unless they get loaded earlier. Thus, @MyInitVariables.
2013-11-30 22:50:31 +01:00
Alex Schroeder
daaf3b6427 Show the menu only when a username is provided. 2013-11-21 14:31:24 +01:00
Alex Schroeder
158a7536bd Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-10-25 08:50:51 +02:00
Alex Schroeder
bf1991cdc8 Static action now takes $StaticAlways into account. 2013-10-25 08:49:13 +02:00
Alex Schroeder
8385ac5f74 ReCAPTCHA introduced HTML escaping problems. 2013-10-20 20:27:12 +02:00
Alex Schroeder
4e899fed95 Add facility to fix HTML escaping. 2013-10-20 20:00:30 +02:00
Alex Schroeder
dd17419c4d Avoid the use of $q->hidden() and use $q->input and GetParam() instead. 2013-10-09 23:09:47 +02:00
Alex Schroeder
0afe03e75c Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-08-31 21:35:16 +02:00
Alex Schroeder
5888026435 bbCodeRule must come after PortraitSupportRule
If bbCode is interpreted first, it tries to handle [new].
2013-08-31 21:33:42 +02:00
Alex Schroeder
208ec56432 Added support for tt distinct from code. 2013-08-25 00:36:41 +02:00
Alex Schroeder
61b6bee78e Take minor edits into accounts when proposing list of contributors to ban. 2013-08-21 12:10:18 +02:00
Alex Schroeder
9f339c8484 Get rid of undefined behaviour as indicated by Perl 5.18. 2013-08-21 11:55:20 +02:00
Alex Schroeder
978cfc6162 Fix test for %Namespaces as suggested by a Perl 5.18 warning. 2013-08-21 10:44:42 +02:00
Alex Schroeder
385e5e6cde Fixed syntax problem as warned by Perl 5.18 2013-08-21 10:19:45 +02:00
Alex Schroeder
ce87cad4e4 Removed ban-yourself.pl because that was just an idea without any code. 2013-08-16 00:32:27 +02:00
Alex Schroeder
295e4a76b5 Quote the unquoted string "commenthidden". 2013-08-16 00:30:58 +02:00
Alex Schroeder
4240bb51eb Don't delete pages that are "lock on creation".
This is meant to protect BannedContent and BannedHost from deletion.
2013-08-16 00:29:32 +02:00
Alex Schroeder
5b0578bf94 New module: don't allow quick editing by an IP or username. 2013-08-15 23:46:31 +02:00
Alex Schroeder
275c321ac4 Made regular expression test more robust. 2013-08-05 10:02:06 +02:00
Alex Schroeder
d3e1a87763 Bugfix: Banned URLs are added to BannedContent, not BannedHosts.
Added a separate link to add host or IP number to BannedHosts.
2013-08-02 17:13:44 +02:00
Alex Schroeder
36566e4705 Convenience: List URLs rolled back and offer entry of regexp.
If you are an admin and rolled back a single page, this will list the
URLs your rollback removed (assuming that those URLs are part of the
spam) and it will allow you to provide a regular expression that will
be added to BannedHosts.
2013-08-02 16:55:49 +02:00
Alex Schroeder
bd65e7b824 Added ban-contributors extension and tests. 2013-07-30 17:40:57 +02:00
Alex Schroeder
89b41e714a Fix critical bug in private-pages.pl.
Private pages were deleted whenever maintenance ran. This has been
fixed.
2013-05-30 16:15:01 +02:00
Alex Schroeder
5d42195a51 Fix tagcloud bug in tags.pl.
The hash value wasn't being decoded before being split which resultet
in count being 1 in all cases.
2013-05-19 15:32:54 +02:00
Alex Schroeder
a728daf8d1 Add RuleOrder to prevent conflict with markup.pl. 2013-05-19 14:43:23 +02:00
Alex Schroeder
289f123689 Italy: removed Festa della Repubblica, added Liberation Day instead. 2013-05-17 10:38:51 +02:00
Alex Schroeder
657330224d Anniversary of the Unification of Italy 2013-05-17 00:42:48 +02:00
Alex Schroeder
8851637c30 DuckDuckGo module.
duckduckgo-search.pl and duckduckgo-search.t based on google-search.pl
and google-search.t to use DuckDuckGo for the search action via a
redirect.
2013-05-16 23:18:23 +02:00
Alex Schroeder
12906744b9 Don't use a global $form. 2013-05-07 10:18:12 +02:00
Alex Schroeder
7e05d254ef Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-04-12 23:03:08 +02:00
Alex Schroeder
dbcfc02d82 Handle markup singles before handling forced pairs. 2013-04-12 22:59:50 +02:00
Alex Schroeder
2cc00c6d87 Fixed %s error in one message reported by Juanma MP. 2013-04-03 11:18:20 +02:00
Alex Schroeder
a2a87e3053 Fix justification of cells.
The code used to detect whitespace in sibling cells. Thus, if any of
the remaining cells on this line was centered or right justified, this
cell was also getting right justified. If the current cell was both
left and right justified, the result was that it got centered. Added a
test to check for this.
2013-03-05 23:07:23 +01:00
Alex Schroeder
2811de0668 Add git action to call GitCleanup directly. Add more print statements explaining what git is doing. 2013-02-28 10:44:26 +01:00
Alex Schroeder
71db9c9f24 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-14 16:25:47 +01:00
Alex Schroeder
0926b24c73 URL encode keys and values in the tag database.
Depending on your version of the Berkley DB, non-ASCII or non-Latin-1 characters could crash Oddmuse.
2013-02-12 06:00:06 -05:00
Alex Schroeder
dc1782c17f Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-01 15:37:44 +01:00
Alex Schroeder
8648a2b9a4 Avoid a javascript error. 2013-02-01 15:30:31 +01:00
Alex Schroeder
4f1d3f050d Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-01 15:29:42 +01:00
Alex Schroeder
acf96364bf Make sure we don't create an empty TOC element if there aren't enough sections. 2013-02-01 15:26:02 +01:00
Alex Schroeder
48f123dcbf Remove the TOC if we don't have enough sections. 2013-02-01 15:17:52 +01:00
Alex Schroeder
68d1f24b17 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-01 15:16:32 +01:00
Alex Schroeder
a1ad87635e At least two siblings or parent and child nodes required. 2013-02-01 15:12:54 +01:00
Alex Schroeder
7a4de497a7 Only print outline when there is more than one element. 2013-02-01 15:08:54 +01:00
Alex Schroeder
380957786b Find existing TOC from toc.pl using the class attribute. 2013-02-01 15:05:04 +01:00
Alex Schroeder
9db718fa22 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-01 14:21:28 +01:00
Alex Schroeder
88877dac7e Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2013-02-01 14:17:46 +01:00