Alex Schroeder
d8ecc5c4e5
near.t renamed to near-links.t
...
The filename now matches the module name, near-links.pl.
2015-06-02 13:45:18 +02:00
Alex Schroeder
9546156b59
indexed-search.t deleted
...
It contained tests for search-freetext.pl which has been removed.
It was removed because Search::FreeText is no longer available.
2015-06-02 13:32:29 +02:00
Aleks-Daniel Jakimenko
4abe61ca5f
wiki.css: this font is much wider, lets make the font size a little bit smaller
2015-06-02 12:54:02 +03:00
Aleks-Daniel Jakimenko
655c7eb7d6
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-06-01 23:49:23 +03:00
Aleks-Daniel Jakimenko
66e32c54dd
russian-utf8.pl: "Comments" looks better than "Comments on this page"
2015-06-01 23:48:23 +03:00
Alex Schroeder
588b91e3f7
use strict and "our" for all the translation files
2015-06-01 22:39:06 +02:00
Alex Schroeder
22b43753d9
smiles.pl: support upsidedown smiley
2015-05-31 22:53:06 +02:00
Alex Schroeder
556b33bdd5
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-31 22:35:59 +02:00
Alex Schroeder
e93625680e
smiles.pl: support upsidedown smiley
2015-05-31 22:34:47 +02:00
Aleks-Daniel Jakimenko
60d67a87af
russian-utf8.pl: Some progress
2015-05-30 16:59:28 +03:00
Aleks-Daniel Jakimenko
6ba0176f44
div-foo.pl: allow numbers in css classes
2015-05-30 03:47:24 +03:00
Aleks-Daniel Jakimenko
00e96d8e65
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-29 22:07:03 +03:00
Aleks-Daniel Jakimenko
66be305e41
'journal' class for journal action
...
Otherwise if you click "More..." it will give you a page that cannot be styled
like a journal (there is just no way to tell that it is a journal from css).
2015-05-29 22:04:29 +03:00
Alex Schroeder
8808f16f8e
No longer use URIs as class names
...
Neither the body tag nor the div created by transclusion will use an
URI as their class.
2015-05-27 18:34:26 +02:00
Aleks-Daniel Jakimenko
f782691e7e
UTF-8, again! Also, new ToString sub.
2015-05-17 03:35:35 +03:00
Alex Schroeder
1c0801bd6c
private-wiki.t
...
Added two working tests.
2015-05-15 16:51:37 +02:00
Alex Schroeder
32ab01dae4
:encoding(UTF-8) was changed back to :utf8
...
This didn't work as intended. Subroutines relying on memory strings such
as PageHtml were not returning any HTML leading to all sorts of
failures (no description items in RSS feeds, for example).
2015-05-15 16:36:16 +02:00
Alex Schroeder
615a78f0b7
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
5df789cf51
Silencing malformed UTF-8 character warning
...
Add use utf8.
2015-05-15 16:28:25 +02:00
Alex Schroeder
2902e9a872
Add forgotten $id parameter to history calls
...
DoHistory calls DoRawHistory or DoHtmlHistory and needs to pass $id as
a parameter. This fixes the failing tests in t/history.t and
t/namespaces.t.
2015-05-15 15:10:24 +02:00
Alex Schroeder
4388746064
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-11 16:50:25 +02:00
Alex Schroeder
dc50e5c814
Log Deletes
...
File deletion will now write to a dedicated log file.
2015-05-11 16:49:37 +02:00
Aleks-Daniel Jakimenko
179e64f7c8
No double negation
2015-05-11 17:35:47 +03:00
Alex Schroeder
ad0ef6139c
Typo in the comments
2015-05-11 16:31:16 +02:00
Alex Schroeder
1c950b705c
Improve test in PageMarkedForDeletion
...
If for some reason it would be possible to not read a file and not
crash, then PageMarkedForDeletion could have marked it as marked for
deletion: $Page{text} =~ /^\s*$/ might have returned true even if
$Page{text} was undefined. Now we test for existence of the key in
addition for just whitespace.
2015-05-11 16:27:48 +02:00
Aleks-Daniel Jakimenko
1fbd097422
There is no more need to do recursive grep-ing
...
-r was required earlier because we used separate directories to reduce
the number of files in each directory. That's not the case anymore.
2015-05-08 11:00:03 +03:00
Aleks-Daniel Jakimenko
dd6f2205ec
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-04 14:08:56 +03:00
Aleks-Daniel Jakimenko
8a74f92ebb
edit-assist.pl: Link to wiki page
2015-05-04 14:08:24 +03:00
Alex Schroeder
37aa9e52d4
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/oddmuse
2015-05-02 22:58:17 +02:00
Alex Schroeder
44a31c1e34
light.css: No longer support edit-paragraph.pl
2015-05-02 22:57:49 +02:00
Alex Schroeder
535dead4b4
light.css: Hexmap without border and white background.
2015-05-02 22:56:56 +02:00
Aleks-Daniel Jakimenko
b823d373b0
test.pl: UTF-8 instead of utf8 (attempt to tests - nope)
2015-05-02 05:18:09 +03:00
Aleks-Daniel Jakimenko
2894a4b381
latex.pl: correct eval usage
2015-05-02 04:19:09 +03:00
Aleks-Daniel Jakimenko
3a57912585
No more undefined map behaviour in scalar context (now in modules)
2015-05-02 04:11:36 +03:00
Aleks-Daniel Jakimenko
4b49c1d326
No more variables declared in conditional statements (in modules)
2015-05-02 04:03:30 +03:00
Aleks-Daniel Jakimenko
37da9c4f2c
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
Aleks-Daniel Jakimenko
d83106faa4
No more bareword filehandles in modules
2015-05-02 03:49:07 +03:00
Aleks-Daniel Jakimenko
f3fcf0a176
No more masking of earlier declarations
2015-05-02 03:44:07 +03:00
Aleks-Daniel Jakimenko
26b0853e13
No more two-arg open
2015-05-02 03:19:25 +03:00
Aleks-Daniel Jakimenko
0c0de3b838
Fixed warning about not defined sort behaviour in scalar context
...
Actually, we don't really care about these functions being called in scalar
context, but I fixed it so that the output of perlcritic is clean.
2015-05-02 00:34:07 +03:00
Aleks-Daniel Jakimenko
a57e296531
No more side effects when modifying $_ in map
2015-05-02 00:27:36 +03:00
Aleks-Daniel Jakimenko
a9d764aa94
No more variables declared in conditional statements
2015-05-02 00:22:43 +03:00
Aleks-Daniel Jakimenko
7b681bc1cd
No more bareword filehandles
2015-05-02 00:04:29 +03:00
Aleks-Daniel Jakimenko
5ef2e2f5a9
Merge branch 'master' of git.sv.gnu.org:/srv/git/oddmuse
2015-05-01 23:49:14 +03:00
Aleks-Daniel Jakimenko
cd124f9c3a
UTF-8 instead of utf8. See [[Refactoring]] for explanation.
2015-05-01 23:47:54 +03:00
Alex Schroeder
fa95f57fd0
oddmuse-curl.el: fixing buffer name issues
...
I had code in my init file that added an entry to auto-mode-alist for
oddmuse-mode. This resulted in oddmuse-mode being called twice. I'm
locally binding it to nil, now. I also used to call write-file at the
end of oddmuse-edit. This would change the buffer-name after I had
just changed it in oddmuse-mode. Now I'm using basic-save-buffer and
moved the call to oddmuse-mode to the end of oddmuse-edit.
2015-05-01 19:35:52 +02:00
Alex Schroeder
0949b1556d
Makefile: move test target up
2015-05-01 19:33:14 +02:00
Alex Schroeder
eb94e8a0d6
search-freetext.pl deleted
2015-05-01 19:18:17 +02:00
Aleks-Daniel Jakimenko
636800a42c
Undo the mess and uncry the tears
2015-05-01 13:32:51 +03:00
Alex Schroeder
82e46bc541
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/oddmuse
...
Conflicts:
css/wiki.css
2015-04-30 15:02:34 +02:00