Alex Schroeder
1d978a45f1
Fix static export of HTML pages
...
Apparently the html=1 parameter got lost so that you could not force an
export of all the pages.
2014-03-18 09:26:04 +01:00
Alex Schroeder
0b11ef5c62
Revert "Homepage URL fixing works recognizes https."
...
I must have been hallucinating. Instead of committing the change I
wanted to commit, I added a file that wasn't ready.
This reverts commit 670b69c118 .
2014-03-17 09:51:11 +01:00
Alex Schroeder
3f7f455bc7
Homepage URL fixing works recognizes https.
...
When leaving a comment, users are given the option of providing a
homepage to link their name to. A common error is to just provide a
domain like "oddmuse.org" instead of a real URL. The resulting markup
used to be [oddmuse.org YourName] which doesn't do what the user
expected. That's why a piece of code used to check whether the homepage
starts with "http://" and if it doesn't, it prefixes it, resulting in
"[http://oddmuse.org YourName]". If the homepage started with
"https://", however, the code did the wrong thing. That's why we're now
checking whether the homepage starts with any known URL-protocol and a
colon.
2014-03-16 08:48:36 +01:00
Alex Schroeder
178953f77e
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
...
Conflicts:
modules/translations/chinese_cn-utf8.pl
2014-03-07 09:02:41 +01:00
Alex Schroeder
f72e16bf9e
chinese_cn-utf8.pl: Updated translation
...
Simplified Chinese, fixed.
2014-03-07 08:38:15 +01:00
Alex Schroeder
511a1e9814
Updated with new texts.
2014-03-06 17:15:35 +01:00
Alex Schroeder
437fcecf48
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2014-03-06 16:28:27 +01:00
Alex Schroeder
482453a67f
Changing 回復 to 回滾 after feedback from Andy Stewart.
2014-03-06 16:23:04 +01:00
Alex Schroeder
2b33fbdfd6
DoDuckDuckGoSearch uses UrlEncode on the argument.
...
Drew Adams reported that clicking on the title of a page with a + in
its name had the + replaced by a space. This commit fixes this issue.
2014-03-03 08:30:21 +01:00
Alex Schroeder
150e820500
New module.
2014-01-24 23:19:58 +01:00
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