Brennen Bearnes
8e553bee4b
t/wrt.t: whitespace
6 years ago
Brennen Bearnes
27991a80c5
fix get_time test - use an existing file, after having zapped `log`
6 years ago
Brennen Bearnes
fa67b44d41
clean up some file modes
6 years ago
Brennen Bearnes
d97ece163b
remove old log file from wala tests
6 years ago
Brennen Bearnes
62a6688c2f
temporarily remove render test from t/wrt.t
6 years ago
Brennen Bearnes
e641a50121
v4.0.0: rename WRT to App::WRT
I went and read:
https://pause.perl.org/pause/authenquery?ACTION=pause_namingmodules
Realized I should probably not name this something with an inscrutable
top-level namespace. WRT is still inscrutable, I guess, but at least
it's now under App.
- Renames all modules, fixes tests (such as they are)
- Zaps old t/validate/ stuff
6 years ago
Brennen Bearnes
eafc285cba
rendering tests
6 years ago
Brennen Bearnes
a069a79628
v3.0.0: support for includes, change root_dir semantics, add entry_dir
- adds include_process() in WRT::Markup
- moves eval_perl() into WRT::Markup. The way object instances are
composed (and instance methods called) here still feels pretty janky,
and this does nothing to help the situation.
- changes all existing $root_dir instances to $entry_dir; adds a $root_dir
which represents the root of the archive (top-level folder containing
the wrt.json file)
I'd be worried about the $root_dir change if I thought this module had a
single other user in the wild, but I strongly doubt that it does. If I
am wrong and you are that user, I apologize sincerely in advance.
The include feature still has fairly unsettled semantics, but it gets the
whole thing much closer to a usable site generator.
7 years ago
Brennen Bearnes
cfa1f5c870
switch to wrt.json for configuration
7 years ago
Brennen Bearnes
41c225eb47
move example stuff into its own dir; tweak tests
7 years ago
Brennen Bearnes
38b4d0dcd9
scrap iso_date() test (also, wtf?)
7 years ago
Brennen Bearnes
c729b1d07f
naw let's go with wrt instead of wrot
It's shorter and the letters are all right there on the keyboard.
7 years ago
Brennen Bearnes
d94e4dbbf4
first pass at renaming display and Display.pm to wrot / WROT.pm
7 years ago
Brennen Bearnes
afc11c3f80
Display::HTML: sort attributes, use HTML::Entities to escape same
8 years ago
Brennen Bearnes
3093aa90ab
delete gallery features
8 years ago
Brennen Bearnes
ab42ca9531
stub icon tests
8 years ago
Brennen Bearnes
a51291f4d9
fix bogus trailing slash in datestamps
8 years ago
Brennen Bearnes
c8bdf458ee
scrap test.pl in favor of ./Build test
8 years ago
Brennen Bearnes
74accc564d
a datestamp that takes entry fragments into account
This whole sub is gross.
9 years ago
Brennen Bearnes
1d99807c65
display_markup.t: now we do <h1>s
10 years ago
Brennen Bearnes
ee4bf309d2
use Text::Markdown::Discount for both display and wala
- strip HTML::Defang
- get rid of old wala markup code
- use Discount for both markup modules (with NOHTML flag in wala)
10 years ago
Brennen Bearnes
6f17e5103a
require Text::Markdown 1.0.31
...also test that it'll render a snippet.
10 years ago
Brennen Bearnes
9e6b4b0ecd
some random, not-passing test
10 years ago
Brennen Bearnes
9f0e3c16f9
test, test
12 years ago
Brennen Bearnes
6add5f25e2
eval_perl() returns string, hides errors
Moar memory, less potential confusion doing it in place.
Also made it send errors to the log instead of displaying them.
12 years ago
Brennen Bearnes
ed4b6f9d09
stripping out XHTML stuff
14 years ago
Brennen Bearnes
f1f4a40570
All kinda stuff.
16 years ago
Brennen Bearnes
c4138dd9c3
A couple of test tweaks, label.js now returns early from a function.
16 years ago
Brennen Bearnes
62d815c153
Split markup tests into a separate file.
16 years ago
Brennen Bearnes
cb7d2f6533
Moving validation stuff into a subdir of t/
16 years ago
Brennen Bearnes
3993ea52eb
Got rid of an unnecessary HTTP header in header_basic.
16 years ago
Brennen Bearnes
382d0ba74a
Shuffling some tests around.
16 years ago
Brennen Bearnes
0c4ca52f9c
Moving to Test::Harness
16 years ago
Brennen Bearnes
5e874e04a1
Added some libraries from the Wala repo, fixed Wala validation
tests.
16 years ago
Brennen Bearnes
7445978ef6
Updating Wala tests.
16 years ago
Brennen Bearnes
f43bf714c0
Merging in newer Wala stuff.
16 years ago