Alex Schroeder
686f24251b
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
5225bded01
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
670b69c118
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
f4d0f300e6
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
Andy Stewart
53a7a9a80c
chinese_cn-utf8.pl: Updated translation
...
Simplified Chinese, fixed.
2014-03-07 08:38:15 +01:00
Alex Schroeder
dffe5e3053
Updated with new texts.
2014-03-06 17:15:35 +01:00
Alex Schroeder
201970ba0b
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2014-03-06 16:28:27 +01:00
Alex Schroeder
7e9137c6f8
Changing 回復 to 回滾 after feedback from Andy Stewart.
2014-03-06 16:23:04 +01:00
Alex Schroeder
9d81a1e3d2
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
508396d1d1
New module.
2014-01-24 23:19:58 +01:00
Alex Schroeder
56e76a4883
Get rid of special cases for RecentChanges.
2014-01-22 01:43:44 +01:00
Alex Schroeder
ef3bde90ac
Fix documentation URL
2013-12-21 20:01:58 +01:00
Alex Schroeder
fd5b4e84b1
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-11-30 22:51:00 +01:00
Alex Schroeder
9beff3748b
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
1e73ae22d3
Show the menu only when a username is provided.
2013-11-21 14:31:24 +01:00
Alex Schroeder
06881768c3
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-10-25 08:50:51 +02:00
Alex Schroeder
8e1f6c92e3
Static action now takes $StaticAlways into account.
2013-10-25 08:49:13 +02:00
Alex Schroeder
1ebc5192ff
ReCAPTCHA introduced HTML escaping problems.
2013-10-20 20:27:12 +02:00
Alex Schroeder
7c52b7b4c2
Add facility to fix HTML escaping.
2013-10-20 20:00:30 +02:00
Alex Schroeder
4504ef43ac
Avoid the use of $q->hidden() and use $q->input and GetParam() instead.
2013-10-09 23:09:47 +02:00
Alex Schroeder
8bb0475ba2
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-08-31 21:35:16 +02:00
Alex Schroeder
0e66af495b
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
be6752116b
Added support for tt distinct from code.
2013-08-25 00:36:41 +02:00
Alex Schroeder
b0fc1e4cc0
Take minor edits into accounts when proposing list of contributors to ban.
2013-08-21 12:10:18 +02:00
Alex Schroeder
ca9eef8c09
Get rid of undefined behaviour as indicated by Perl 5.18.
2013-08-21 11:55:20 +02:00
Alex Schroeder
f10bbb4f81
Fix test for %Namespaces as suggested by a Perl 5.18 warning.
2013-08-21 10:44:42 +02:00
Alex Schroeder
294e5745e7
Fixed syntax problem as warned by Perl 5.18
2013-08-21 10:19:45 +02:00
Alex Schroeder
59cad086e7
Removed ban-yourself.pl because that was just an idea without any code.
2013-08-16 00:32:27 +02:00
Alex Schroeder
a4bd6383a2
Quote the unquoted string "commenthidden".
2013-08-16 00:30:58 +02:00
Alex Schroeder
df0f470998
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
d61bf19b15
New module: don't allow quick editing by an IP or username.
2013-08-15 23:46:31 +02:00
Alex Schroeder
e0659c4d60
Made regular expression test more robust.
2013-08-05 10:02:06 +02:00
Alex Schroeder
ab3e187354
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
f17a67d817
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
601218c0b1
Added ban-contributors extension and tests.
2013-07-30 17:40:57 +02:00
Alex Schroeder
1630b64fa5
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
1a561c3cb1
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
ca3740ca86
Add RuleOrder to prevent conflict with markup.pl.
2013-05-19 14:43:23 +02:00
Alex Schroeder
7a69437443
Italy: removed Festa della Repubblica, added Liberation Day instead.
2013-05-17 10:38:51 +02:00
Alex Schroeder
671f00701b
Anniversary of the Unification of Italy
2013-05-17 00:42:48 +02:00
Alex Schroeder
28c56373f6
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
bf83cc5ca1
Don't use a global $form.
2013-05-07 10:18:12 +02:00
Alex Schroeder
8602dfb324
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-04-12 23:03:08 +02:00
Alex Schroeder
6647d52e88
Handle markup singles before handling forced pairs.
2013-04-12 22:59:50 +02:00
Alex Schroeder
3dcf08a850
Fixed %s error in one message reported by Juanma MP.
2013-04-03 11:18:20 +02:00
Alex Schroeder
4e790f7847
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
355874edad
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
91cdb9888a
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-02-14 16:25:47 +01:00
Alex Schroeder
004b0c0831
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
0226a82dca
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2013-02-01 15:37:44 +01:00