Commit Graph

1948 Commits

Author SHA1 Message Date
Alex Schroeder
5a1a46ba4a Remove README and $ReadMe
I don't think anybody ever relied on this feature.
2015-07-03 11:51:48 +02:00
Alex Schroeder
7caa8cc05a Fix oddtrans again.
Changing all the double quotes to single quotes before processing was a
bad idea.
2015-06-28 00:53:24 +02:00
Alex Schroeder
d6182ce120 Oddtrans now handles split strings.
The issue was raised by a translation of this form:

T('something, something'
  . ' and something')';
2015-06-28 00:10:43 +02:00
Alex Schroeder
2fa10a04cf New google-plus-one.pl and tests.
This adds a Google +1 button to the bottom of a page.
2015-06-27 20:22:55 +02:00
Alex Schroeder
24b9359386 Added like.pl and like.t
Implement a simple "I Like" link.
2015-06-27 11:57:59 +02:00
Alex Schroeder
0e0d8e81f9 login.pl no longer translates HTML tags
The module had <ul>, <li>, and the corresponding closing tags marked
for translation. This was removed.
2015-06-02 14:12:48 +02:00
Alex Schroeder
8bd9db5cdf Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-06-01 23:49:23 +03:00
Alex Schroeder
c8e5789c88 russian-utf8.pl: "Comments" looks better than "Comments on this page" 2015-06-01 23:48:23 +03:00
Alex Schroeder
8c71e99f29 use strict and "our" for all the translation files 2015-06-01 22:39:06 +02:00
Alex Schroeder
ded62f6bba smiles.pl: support upsidedown smiley 2015-05-31 22:53:06 +02:00
Alex Schroeder
7957e0eaf5 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-05-31 22:35:59 +02:00
Alex Schroeder
2e14d1216f smiles.pl: support upsidedown smiley 2015-05-31 22:34:47 +02:00
Alex Schroeder
90017fe9d1 russian-utf8.pl: Some progress 2015-05-30 16:59:28 +03:00
Alex Schroeder
db8fe0a792 div-foo.pl: allow numbers in css classes 2015-05-30 03:47:24 +03:00
Alex Schroeder
43e99156ee UTF-8, again! Also, new ToString sub. 2015-05-17 03:35:35 +03:00
Alex Schroeder
f77ff66bbf static-copy.pl: fix partial change from F to $F
The file writing operations had been only partially changed from F to
$F. Unfortunately, the old code relied on the fact that a file glob like
F was global in scope. To make the change to the file handle variable
more obvious, $F was renamed to $fh and this variable is now passed to
the subroutines StaticFile and StaticHtml.

In addition to that, :encoding(UTF-8) was changed back to :utf8 because
sometimes, this didn't work as intended.
2015-05-15 16:31:47 +02:00
Alex Schroeder
ea26912805 edit-assist.pl: Link to wiki page 2015-05-04 14:08:24 +03:00
Alex Schroeder
50d0c8bd46 latex.pl: correct eval usage 2015-05-02 04:19:09 +03:00
Alex Schroeder
d43112fc97 No more undefined map behaviour in scalar context (now in modules) 2015-05-02 04:11:36 +03:00
Alex Schroeder
d3bbc5a287 No more variables declared in conditional statements (in modules) 2015-05-02 04:03:30 +03:00
Alex Schroeder
6cd5398a88 No more pointless nested subroutines
Fixes the following warning:
"Declaring a named sub inside another named sub does not prevent the
inner sub from being global."
2015-05-02 03:56:04 +03:00
Alex Schroeder
3b3fd64688 No more bareword filehandles in modules 2015-05-02 03:49:07 +03:00
Alex Schroeder
b4f61b8d90 No more masking of earlier declarations 2015-05-02 03:44:07 +03:00
Alex Schroeder
f400f9064a No more two-arg open 2015-05-02 03:19:25 +03:00
Alex Schroeder
e97a88f6eb search-freetext.pl deleted 2015-05-01 19:18:17 +02:00
Alex Schroeder
d7510b16e7 Do not modify $_ in map {} (actual bugs solved, I believe)
$_ is not a copy, it is an alias to the original value.
Therefore modifying it will mess with original list... That's
not what we want most of the time.
Also, using map to s/// two variables does not look right. What
a stupid race to save one line of code.
2015-04-28 02:21:03 +03:00
Alex Schroeder
10c641b6ab Fixed a bunch of stuff 2015-04-28 00:03:11 +03:00
Alex Schroeder
19d8746f10 nosearch.pl: License notice 2015-04-27 18:20:48 +03:00
Alex Schroeder
143068b849 No more redundant 'package OddMuse;' 2015-04-27 17:41:59 +03:00
Alex Schroeder
f6f198fe48 private-wiki.pl: done! Works great now 2015-04-25 06:17:08 +03:00
Alex Schroeder
7bf2e7b0e4 Removed debugging code
This key was used instead of using the password
2015-04-22 23:50:58 +03:00
Alex Schroeder
c25154ce2b Regenerated russian translation 2015-04-21 23:05:15 +03:00
Alex Schroeder
5ffbcca90c New module: private-wiki.pl (encrypt all data on the server) 2015-04-19 23:54:46 +03:00
Alex Schroeder
777c9e756c No more trailing whitespace (I can do it, I can do it!) 2015-04-17 01:45:11 +03:00
Alex Schroeder
b80094482b No more trailing whitespace (this time for sure) 2015-04-17 01:43:19 +03:00
Alex Schroeder
b9dc9bfb70 No more trailing whitespace 2015-04-17 01:39:47 +03:00
Alex Schroeder
9ee69088ab webdav.pl: Hide 'once' warnings
Without this it throws warnings like 'Name "OddMuse::ScriptName" used only once'.
It is unclear whether these warnings make any sense. We will hide them for now.
2015-04-14 23:36:58 +03:00
Alex Schroeder
d77ef1e07d Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-13 07:59:57 +02:00
Alex Schroeder
0225c1e4a2 webdav.pl: Add "if $verbose" to two warnings 2015-04-13 07:59:00 +02:00
Alex Schroeder
238b58ae62 No more "*Sub = *NewSub", \&NewSub used instead. (Completely now!) 2015-04-12 22:50:50 +03:00
Alex Schroeder
482888cfaf No more "*Sub = *NewSub", \&NewSub used instead. (Partial progress) 2015-04-11 23:41:33 +03:00
Alex Schroeder
ca9835369c Merge commit '6f8d281d7984e05edee03b0a04bf7b2be98555ac' 2015-04-10 17:24:24 +02:00
Alex Schroeder
be36b12a60 cal3.pl deleted 2015-04-10 17:10:43 +02:00
Alex Schroeder
5d2db4b547 No more "use vars"! 2015-04-10 13:31:28 +03:00
Alex Schroeder
7744d0039b edit-paragraphs.pl: Fix bad filename in module description 2015-04-10 08:36:26 +02:00
Alex Schroeder
b5a3f2aebd Move strip.pl to the right directory
It belongs with other near-links oriented files.
2015-04-06 20:57:35 +02:00
Alex Schroeder
27d454d192 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-06 20:52:07 +02:00
Alex Schroeder
0bcd1cd590 Moved the near site search proxies into directory
moin-search.pl, phpwiki-search.pl and usemod-search.pl were moved into a
new directory, modules/near-links, because they help support search of
near sites. They act as proxies, parsing the HTML and returning a file
format Oddmuse can understand.

See http://oddmuse.org/wiki/Near_Links#Searching_Near_Sites for more
information.
2015-04-06 20:49:39 +02:00
Alex Schroeder
e4270af170 pygmentize.pl: @KnownLocks and @MyInitVariables added to our 2015-04-06 04:08:29 +03:00
Alex Schroeder
dd3fd66fd3 Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse 2015-04-04 23:13:23 +03:00