Revision history for App::WRT
v6.0.0 2019-05-06
- App::WRT::Date
- Move month_name() in here from App::WRT, add tests.
- App::WRT::EntryStore:
- Hash file types for entries (directory or flatfile)
- Use keys of file type hash for complete list of entries.
- has_prop($entry, $property)
- is_dir($entry), is_file($entry), is_extant($entry)
- parent_of($entry)
- has_index($entry)
- Make EntryStore cache whether a file is a flatfile or a directory, as
well as its existence, in a single hash.
- Include index flatfiles in @source_files for use by has_index()
- Various tests.
- App::WRT::FileIO
- Still duplicates a bunch of shit from Util, so that needs sorted.
- App::WRT::Renderer
- Convert to a proper class.
- Add experimental FileIO class to use in Renderer (imperfect,
tricky, still thinking about this). The idea is to separate out the
concerns of reading and writing the filesystem.
- App::WRT
- Refactor display() and improve tests
- Use "@entries" instead of "@options" for clarity
- Handle entry names that might evaluate as false
- Test running display() without any params
- Rename expand_option() -> expand_alias(), refactor
- Use EntryStore::has_prop() to detect wrt-noexpand.prop
- year(), month(), entry() partially rewritten to use EntryStore
- year() should handle months which are a flatfile
- Refactor icon_markup() to use is_file() / is_dir() / is_extant(),
add tests.
- Add subtitle to feeds
- bin/wrt-ls is now a "modulino" with tests
- bin/display errors on non-existent entries
v5.0.0 2019-04-14
- Add bin/wrt-ls for listing entries in current archive
- Add bin/wrt-config for displaying configuration info
- Allow header tags with attributes
- Minor documentation cleanup
- Bump XML::Atom::SimpleFeed to 0.900; remove wrt-fcgi
- Concatenation instead of variable interpolation in HTML::tag()
- Remove hardcoded "public" from renderer directory path copying
- Remove unused feed_url param from wrt-init and example dir
- Remove an extraneous JSON->convert_blessed(1) call
- WRT::entry(): fix glitch with contents list for binfile_expr matches
- Correctly encode feed output - see https://p1k3.com/2018/5/28/
- Add App::WRT::Util::file_get_contents();
- Optionally cache included files in-memory
- Add EntryStore, a class for wrapping various methods for finding entry lists
- Refactor display()
- Use Carp for errors
- Remove old LaTeX markup stuff
- Add this Changes file
v5.0.0-alpha 2018-04-19
- Use 5 most recent entries for home page instead of latest month
- Remove accessor methods for instance variables / configuration
- Give absolute paths to imgsize() so it chills out on Cwd::getcwd() calls
- Remove local_path(), recent_month(), month_before, and feed_print_latest()
- Stop using a() in entry_markup()
- Cache get_date_entries_by_depth() results
- Swap out state vars for stashing things on $self in get_all_source_files()
- Add get_date_entries_by_depth()
- Tweak link_bar() behavior to retain link for current page
v4.3.0 2018-04-06
- Render feed for last feed_length day entries instead of for latest month
- Switch example config from p1k3.com to example.com urls
- feed_print() now takes a list of entries instead of a month
v4.2.2 2018-02-10
- Fix --config option to wrt-display & wrt-render-all
- Remove year list from linkbar
v4.2.1 2017-11-18
- Change url_root default to /
- Add url_root to topic link generator
v4.2.0 2017-11-18
- Improved documentation in shell utilities
- Make a copy of %default before blessing
- Document MethodSpit
- Document the overlay option, add an accessor method for it
- Use a logging callback to WRT::Renderer::render()
- Miscellaneous test cleanup
- Add publish_dir to example wrt.json
- Improve documentation
- Add $wrt->feed_alias and a .xml copy of same
v4.1.0 2017-11-15
- Add wrt-init for creating a skeleton project directory
- Die on missing template file
v4.0.1 2017-11-14
- Fix App::WRT::Markup require of WRT::Image
- Remove an unused dependency on Imager
v4.0.0 2017-11-14
- Rename WRT to App::WRT
- Add a license info
- Strip unused image size code from WRT::Image
- Add publish_dir config value, ensure that dir exists when rendering
- Add rendering tests
v3.5.0 2017-11-13
- wrt-render-all now handles /, /all, and /feed
- Migrate wrt wrapper utilities to posix shell
v3.4.2 2017-06-21
- Add [0-9] to acceptable sub-entry characters
v3.3.1 2017-06-19
- Die on attempting to include a directory
- Include datestamps in feed
v3.3.0 2017-04-03
- Add topic list to entries
- List topics in datestamp
- Clean up addprop output
- Allow `-` in entry names, use .prop for properties
- Simplify datestamps
- Add wrt-noexpand property
- Remove a sorta-extraneous trailing slash on contents
v3.0.0 2016-10-12
- Split wrt utility into git-style subcommands
- Support for includes, change root_dir semantics, add entry_dir
- addprop and findprop subcommands for dealing with entry properties
v2.0.0 2016-08-09
- Now called "wrt" instead of "display"
- Extract http_header stuff from WRT module
- Switch to wrt.json for configuration
- Add XML::Feed and CGI::Fast to dependencies
- Make wrt.fcgi work, more or less
- Escape braces in variable interpolation regexp
- Add --stdin flag