==================================================
Changes from 2013-06-07 00:00:00 +0000 to present.
==================================================
------------------------------------------
version 0.010 at 2014-06-07 09:27:42 +0000
------------------------------------------
Change: 16abfada34306b37e5d3ddecc5b77ee8de9be394
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-07 04:27:29 +0000
release v0.010
Change: 4efb0c92c473e362cacd707df923af8f7e5c6a05
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-07 04:26:14 +0000
add a setup guide until we get a create command
Fixes #50
Change: 411107fb09695af6614634781244510278b0235c
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-07 03:55:53 +0000
add named navs, so we can add more nav lists later
This makes sense with the apps having names, and will allow us to
have more nav lists in the future.
Change: 2d5c39ebd86d16cdaf4ce276e383abcd6865a71a
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-07 03:53:52 +0000
add next/prev to list page render()
This needing to update render() is becoming impossible, but it
wouldn't have been a problem if `git format-patch` didn't miss one of
my patches...
Change: 1fcbf943e797da472cf0e7b3c2370054dcfaf61a
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-07 00:54:22 +0000
mark html templates as such; use .ep like Mojo
This is setup for supporting RSS and Atom feeds, so we have something
to call the templates.
Change: 1fdac9cda6d7b4614a96135c0fce0a686c8e7dd3
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 23:53:03 +0000
fix the pagination links in the default blog theme
Change: 615ca4fd116995303b0f96df7dfb93fd874b1cee
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 23:53:03 +0000
add pagination to the blog
The index page and the tag pages are paginated. The index page is now
the first page returned from index() (though this may need to be
changed, we are generating pages repetitively).
Fixes #9
Change: 7ccf26b512964b9d52f8884a22d53c8bf16f9099
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 23:53:03 +0000
enforce an order on the paginated pages
We need to know which comes first in order to set our site index
page.
Change: a2d6073c0151e21b0fe5f45c6286556335adcad8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 23:50:13 +0000
add optional index path to pagination
This makes building the blog paginations a lot easier. Instead of
having to fix the URLs after they've been made, they get made
correctly in the first place.
Change: c46caafec07eb140b8f26fe114ad58c9b5231a15
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 23:47:53 +0000
add paginate() constructor for paginated lists
The paginate constructor returns multiple Statocles::Page::List
objects based on an input set of pages.
Change: 74d8d94fee3aeb85159a5aa6b3a5a849eb2d4f09
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 21:02:56 +0000
do not build posts whose day has not yet come
Now we should be able to make a nightly job to run "statocles deploy"
and blog posts will show up correctly.
Fixes #8
Change: d8d4fb0fe3e7b6e769ac3886aaf1d8f9d7f566e1
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 20:19:30 +0000
allow setting the date when creating a new post
This is the start of being able to pre-date blog posts.
------------------------------------------
version 0.009 at 2014-06-06 20:15:15 +0000
------------------------------------------
Change: 4cbc0bb5ae54d96e12ea57eca7c46132da928d67
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-06 15:15:15 +0000
release v0.009
Got the readmes and everything in another commit. Damn! Gotta figure
out a Dist::Zilla way of fixing this.
Change: be6663337d6974f42d8414e8f0a41e5f23f31529
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-05 20:41:05 +0000
add the published date to the blog pages
Fixes #25
Change: ae82473bf82aa986d9f3cac46b4cae433048f116
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-05 20:38:57 +0000
add published date to pages
Adding each attribute explicitly to the render() sub is annoying, but
if they're lazy, they have to be generated... Something has to be
done...
Change: ad6dcaf6e2741f38d8855ff657c74eb75f38c44c
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-05 20:05:46 +0000
add last_modified and tags to default blog post
The "blog post" now includes tags and last_modified.
Change: a8211b56c767d96181a61e0cfde43c47a299fec9
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-05 19:46:46 +0000
add last_modified to documents
The last_modified field is a Time::Piece object serialized into
'YYYY-MM-DD HH:MM:SS'.
The _freeze_document and _thaw_document methods will probably need to
be improved to be more robust and DWIMmy.
Change: af0e9bad0db6d19c95f6ebf5526e376ad7a9d46d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-05 18:40:40 +0000
make the default templates more semantic
<main> should encapsulate the main content of the page. <article>
should fully encapsulate the given article when there are more than
one.
------------------------------------------
version 0.008 at 2014-06-05 04:35:12 +0000
------------------------------------------
Change: 93c6c2ae3689cb1654e719f2a56ab9017242638f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 23:35:12 +0000
release v0.008
Change: 9861071352a4af5663d6ab46091225d66266965f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 23:01:28 +0000
add tag navigation to the blog
Applications are now attached to the pages that create them so we can
get application-level data like which tags are in this app.
This finishes #10
Change: 22114ce39ae33db1ae95fab9d1dd5c2da3905b43
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 23:00:47 +0000
add tag pages to the blog
These pages list the posts matching the given tag.
This partly fixes #10
Change: adc4d7e3d95b4c479b544e57adbb5277c6f70ebf
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 23:00:28 +0000
avoid swp files when scanning for documents
Change: 23214c0d00128a265c9a192f3f591746c5ebf0f4
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 20:54:47 +0000
bump Path::Tiny version to 0.054
We rely on a few features of 0.054:
1) FREEZE/THAW/TO_JSON - YAML serialization in t/command.t 2)
basename( SUFFIX ) - Statocles::Theme
Fixes #55
Change: f4184479e0884d39f3c657d6bfae996a5ed80c65
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 20:14:16 +0000
remove the site/ directory from the release
This directory is built by the example site.yml in the git repo, and
is only desirable for the git repo.
Fixes #53
Change: 329fc41eb49ea3dfce5ca1878f4874c4f4d7c2dd
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 20:08:40 +0000
handle older versions of git better
Fixes #54
Change: 7109e59fd1bd6f6cd64006fd03fe4402d9827713
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-04 20:08:30 +0000
Git::Repository requires git 1.5 or higher
Fixes #54
------------------------------------------
version 0.007 at 2014-06-02 05:07:23 +0000
------------------------------------------
Change: c7e0f947d10423d7587c21a9e977ad199ec18f1d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-02 00:07:23 +0000
Release v0.007
Change: 0c52f61716eeb5b8d6e4ece041f8b414b3bebe48
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 20:24:26 +0000
add tags attr to document
Tags are used to categorize documents. Tags may be specified as an
array in the YAML or as a comma-seperated string.
This does not actually add any additional display or special handling
of tags.
Change: 5deb06f4b2e67e89ad7fe4f87c13d54301367f1b
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 20:23:35 +0000
remove hard-coded document paths in test
This will let us add new documents to the test blog without having to
explicitly specify them here.
Change: 45daeb858af40b20c06d1679a879e39b5551d441
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 19:42:30 +0000
remove unused attribute
The git site uses the deploy store, not a simple dir as I first
imagined.
Change: 87603007c4a57fbbf582182772fa890a3da91a8f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 19:41:10 +0000
add/update links in documentation
Fixed a couple wrong docs as well. I imagine a bunch of these are
broken links, but we won't know until metacpan renders them...
Fixes #44
Change: 3db523e6d2b0d7ecf7bea3c8049fba51caa3e623
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 18:46:07 +0000
migrate to Path::Tiny
This makes a bunch of nicer code
Fixes #45
Change: 634cc795870d78dbceb525aabbfa0b6f532f1528
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-06-01 15:23:16 +0000
Set a real git config user name/email
Just setting the environment variables does not seem to prevent the
problem of no user config. Hopefully this works...
Fixes #47
Change: 418ef5bb4da0d0562fa3fbde22486498e55d9de7
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-30 01:05:34 +0000
switch to Type::Tiny. thanks mst!
Change: 83a5142e0581a6d4303f6a18f1bcfd70298e9fdf
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-29 01:26:30 +0000
fix link to Jekyll. Thanks buu!
------------------------------------------
version 0.006 at 2014-05-29 06:01:50 +0000
------------------------------------------
Change: 8519cbbb196f627774bc2e11b05def5553421e37
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-29 01:01:50 +0000
Release v0.006
Change: f89609be562591bb1f9a475b3b1dabb5c6588598
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-29 00:58:54 +0000
sort blog index page by post date
Technically they're sorted by path, but it's functionally the same
until someone wants to make two posts in one day...
Fixes #41
Change: a85c74aef1ee521ee5b8ae3eadd8f075b5392fb9
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 23:47:42 +0000
use frontmatter format in addition to pure YAML
Frontmatter is the same format that Github's Jekyll uses. Luckily,
both are easy to support.
Fixes #43
Change: ec134854f5e8b8572b2c5d8be671ef112eee8880
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 21:43:54 +0000
open $EDITOR for the user creating a blog post
I do not know how to properly test this. On UNIX I can use cat(1), on
Windows I could use `type`, but when am I on which and what about
Cygwin?
Change: 79befdd898d6d4b470bab988b9ff8a3466e16318
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 21:28:31 +0000
add 'blog post' command to add new posts to a blog
The blog post document gets initialized with some boilerplate and the
user gets told where it is.
Fixes #7
Change: 5f243ca8dcc7e041d1395677e7e8ebbbf4e27e39
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 21:16:55 +0000
return the full path to the document
This is so we can notify the user where this document is in case they
want to know.
Change: 344aa39a2b71f0affdc57e6d6edc772e29bb0652
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 21:10:39 +0000
add write_document method to Store
Now applications can edit their own documents
Change: 5f0942211b031a62f4a2c9a446f0351b7cd41eb7
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 20:17:45 +0000
add application command delegation
Test it by creating a blog command help document. I don't like
leaving it inline like that, I'd prefer it be part of the POD, but
this will work for now.
Change: 42f0fce743ae3f8498a5d52bad6c7ea02f26f16f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-28 20:15:09 +0000
add 'apps' command to list the apps in a site
It also shows the URL root and the application class. This might be
subject to change in the future.
------------------------------------------
version 0.005 at 2014-05-26 06:29:14 +0000
------------------------------------------
Change: a6550d1cf8a4badf2a6b92c95ca015e95968a085
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 01:29:14 +0000
Release v0.005
Change: b9f491caf86e7c36cce8f2b3c86e34d9d979a40a
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 01:27:41 +0000
docs and pages do not need to be in any order
So compare using Test::Deep bag().
Fixes #38
Change: fc0e570b2ddb5a596d9238f3b31618b81e449a9e
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 01:24:34 +0000
use canon dirsep in template path
File::Find appears to use / even on Windows. This makes the output of
File::Spec->catfile() different from $File::Find::name.
Fixes #37
Change: 4e2367e9f68555718eb3d32bb831bdcb00106d59
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 01:23:21 +0000
doc paths are files; page paths are URLs
Also, organize the test a bit better to prevent having to filter out
//.
Fixes #37
Change: 519c2831ceaee1e241aa660423856cff92f6edea
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 00:35:30 +0000
remove warning if source_dir is undefined
Change: 0e6b998443bebdf8750c05c7c2e8b8f31965c792
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 00:29:26 +0000
Moo only allows subrefs as default
This fixes a "Invalid default '' for ... - not a coderef or
code-convertible object" in some versions of
Method::Generate::Accessor.
Fixes #36
Change: 8774956c6bdd891619acfcf3c52df0c022931d88
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-26 00:26:52 +0000
preset git name/email
This fixes a problem where the current git doesn't have a user.name
or user.email configuration during the tests.
Fixes #35
------------------------------------------
version 0.004 at 2014-05-25 06:28:44 +0000
------------------------------------------
Change: 46e4b1d8a7e7180a2d07fb3ab3bd274c76538243
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-25 01:28:44 +0000
Release v0.004
Change: be7223bffc0cdee5307e63cacdac45f1ed8c356a
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-25 00:53:32 +0000
get themes from Statocles share dir
This makes it a lot easier to use the default themes.
In the future, we may include a way to get any dist's share dir, so
that other CPAN dists can bundle Statocles themes.
Fixes #33
Change: 1f4b7485609f4522fbf9a59b9c3cb60f59f5a41f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-25 00:21:54 +0000
add another caller to ignore finding template path
We're trying to find the place where the template is being
instantiated, so we need to ignore all the Moo-y stuff in the middle.
Change: 15cb9fa5b3d0f7aac931347e3dad6ce52a74d139
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-25 00:18:10 +0000
move the pager controls to the blog index
It was erroneously in the site layout
Change: b656dd96ac1e27957986b323b24a9647623140d4
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-25 00:12:49 +0000
add the page path to the template
The page path should override the document path, since the document
path does not really apply once all the content is rendered.
Fixes #29
Change: b74c407a7334cda8237ae28e1879d12d8c450274
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-24 22:41:43 +0000
add missing ABSTRACT
------------------------------------------
version 0.003 at 2014-05-25 03:26:39 +0000
------------------------------------------
Change: d20c95d8641c11b342557bbadab702b5f3301ab7
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-24 22:26:39 +0000
release v0.003
Change: 802d6ec79fff5f84ea5bf6899685372f0598f72f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-24 22:25:51 +0000
fix git commands writing to stdout
Fixes #30
Change: 104afaefcd0c1160dfca9411eb2d2015e4bec7c4
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-24 21:49:12 +0000
always specify a template path
This prevents uninitialized warnings when Mojo::Template tries to set
the current line with #line.
Fixes #31
Change: 52ddf1d3bb83930fc557c0f5ba5c8856dbd4fa8a
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-24 21:46:30 +0000
allow regex-unsafe characters in file path
This should fix #32 on windows, though there is no exact test for
it...
Should we do platform-specific tests?
------------------------------------------
version 0.002 at 2014-05-21 04:17:39 +0000
------------------------------------------
Change: 1cb5ccbefd8f8a10e60d5229cdebf71ad0f62082
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-20 23:17:39 +0000
release v0.002
Change: 2fb229f8c8ca6b39e1506bae921bb2ade8e6dde3
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-20 23:14:28 +0000
fix one of the dir seperator problems on Win32
URLs are always /, so we need to switch the \ on Win32 to /.
Change: d66c25d78f1b3d122c695057154ea712906d0574
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-20 22:28:15 +0000
check for git earlier in the test
We could then make Git::Repository an optional prereq, but I'm not
sure if I want to do that... More likely I'll move
Statocles::Site::Git and other git-related modules to their own dist
and indicate what to install in the statocles command script.
Change: 066f012afb40a6ec6ac501739388c430fb9d9351
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-20 22:25:36 +0000
add missing prereqs
Thanks CPANTS!
------------------------------------------
version 0.001 at 2014-05-20 04:41:29 +0000
------------------------------------------
Change: 3b5ad67e993cc08cc240c39a8c4cafdf3fabfb79
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-19 23:41:29 +0000
make sure only built files get committed
If we left any random dirty file in the git deploy dir, we would
commit it along with the deployed site, which is bad. Now we only
commit the files we moved from the build directory.
Change: 18ab115c2953b1d7dee8d446e872007190f605df
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-19 23:31:27 +0000
add a basic git-based site
This is the very basic stuff to be added to in time.
Fixes #27
Change: 1708388c9b36edb0a563f9f4ffa22dc3bdef9566
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-19 19:34:29 +0000
document Statocles::Template and everything else
Fixes #24
Change: 99fbdb81bd6c6f34e1abe53cf3621354b0e593c2
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-19 02:36:04 +0000
better default theme with more example content
Change: 3ad7fd44a0adc18d47c1a2f8c715b826db343ca7
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-18 03:46:08 +0000
basic site navigation array
I do not think this is going to be good enough for our needs. Perhaps
a set of named navigation lists (akin to the set of named
applications)?
Fixes #18 for now.
Change: c5c4264dc59f89671bb4d5ea2effdc6a91dfc2bb
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-18 03:22:47 +0000
reduce duplication in site test
Change: 140cfdd8d9c0af16b2dca82d40ff0b4e27f1bc90
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-18 02:40:47 +0000
fix default site theme for Statocles::Template
Pass the file path to Mojo::Template to improve debugging
Change: cb953076a606186621ff58afbfd2306aec025d33
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-18 02:40:10 +0000
add --version command-line script option
Fixes #20
Change: 692dd0095235f81c0c2798189c71bc5228739bcd
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-18 02:12:13 +0000
switch to Mojo::Template
A much better template for our purposes, even if the incantation to
render them is a bit obtuse.
See Mojolicious::Plugin::EPRenderer and
Mojolicious::Plugin::EPLRenderer for details on how to render
Mojo::Template, for when we need to add new things in the future...
Fixes #17
Change: ef383801de072a7752a17b2eb8787bf42f8f31c8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 23:51:07 +0000
attribute -> attr
Change: 854e60dcb09478154b9d1041a98cc07e946615db
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 23:50:29 +0000
add some missing documentation to Page classes
Change: 36e431c9e3eeb5b60f8a1b0522b2f3ff384f4579
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 23:43:56 +0000
change Page to a role
This reduces some of the duplication between the two Page classes.
Fixes #5
Change: 9dc1f24947f0d3ccf871cfaded10a8109c514bd8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 23:24:12 +0000
add a base Role class
Change: 762c06733dca0916b6d5958a65c5bf4237e04ddf
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 02:02:42 +0000
refactor test to remove some duplication
Change: 046cb62a6fe8fa8afdb03e3d8bd90c2be129c9b9
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 01:44:14 +0000
add missing layout template
Our gitignore was a bit over-zealous
Change: fc94a4d9fe21a235f821a866eb08aeeaa84512fb
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 01:36:20 +0000
add site title
Text::Template does not seem to like blessed objects, another reason
why it is not the right template system for this thing...
We also need to make sure to test that the correct content is
present, and not just compare pages against each other. If the
template has an error, testing page renders against each other will
not reveal the problem, since they'll still be equal.
Fixes #19
Change: b1894e954e388ba670c422ac2a94110880019834
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 01:20:40 +0000
pull the render() call out of the store
This way, Store does not need to know about Page objects, just plain
strings. This also prevents us from having to pass the extra template
arguments to write_page(), which is just awkward...
They still need to know about Document objects though, but those are
proper data structures, not just a string of content.
Change: 286bfa4b2158c6046b375d9f013d1893abb1a90c
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 01:17:41 +0000
add additional template arguments to pages
This lets us add things after the Application gives us the Page
Change: 570102312773fed9efa4ace883a9fe244eea8dc6
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-12 00:25:53 +0000
add error checking to template fill_in()
Change: 05f8172298acf3d318713739b617ce909628253f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-11 01:21:57 +0000
site index should not duplicate an app page
So we move the app page to the right place. This may come back to
bite us when something assumes that the app page will be there...
Fixes #14
Change: f732d3b7f3bae1b841462c7d8de3945c2d961909
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-11 01:10:00 +0000
remove the link because POD->Markdown does bad things
Change: 1a32722c04bae3c945d31955d69cb108a2b940e8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-11 01:01:22 +0000
add some introduction documentation
Fixes #3
Change: a7fbc2986244796a2f107340295704023771d989
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-11 00:19:33 +0000
add initial default theme and an example site.yml
This more than anything proves that Text::Template is not the right
engine for this application
Change: 44a2a8340d9687b5c8183e9e4592119be9e0842c
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 23:39:02 +0000
fix loading theme from a relative directory
Change: ca4acc7044e5c5a4566be115bf9b0f142fe79997
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 23:23:50 +0000
fix read documents from a relative directory
find() does chdir, so we should always use $_ to read the file, but
we should use $File::Find::name to set the full path.
Change: e5ef120c63113848ca9231ea88d0c88e2d10e735
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 23:17:20 +0000
set the execute bit
Change: 015bc9508df4bd5d69afaa0836c986e634453e48
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 22:41:27 +0000
add initial command-line interface
Fixes #4
Change: c89d0b28dcd781291f615e09c8a4fcad671f9510
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 21:31:35 +0000
break up build and deploy stores
build is step one. deploy is step two. We should be able to build to
any store we want, including a remote site, for validation, before we
finally call deploy.
Deploy is the finality. Except that a git repo is not a store...
Change: eeb6794a5995104efa1e81bcabb5831cbba5296d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 21:10:44 +0000
remove destination from apps to reduce duplication
Having to set the same destination on all the apps is horrible,
especially when the apps are already supposed to add their url_root
to the page's URL.
Change: 10a5759d6e867751c4828e4aae15479715b3f4d4
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-10 21:06:32 +0000
add missing index page to theme test
Change: 49860c815e64e0649c472c1011c21585cca50d58
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-04 02:31:36 +0000
add an index page to the entire site
Site indexes are just copies of a specific app index. This may come
back to bite me when the event stuff starts happening...
Change: 54a742345ace3c3a7a7a216df7f62ace426a67bc
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 23:14:35 +0000
add index page to the blog
Change: 66fcd3dff6ee7e569e061f1f6d7476eca38b1054
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 22:59:26 +0000
all pages need paths
Change: 3ff9e9b9143d7281def5bc82672a2268f266d6aa
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 22:17:02 +0000
add initial List page, for indexes
Change: 391ae2c1a780be526960c622c8eec5f51820ea3f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 21:23:15 +0000
test multiple blog posts in preparation for lists
Change: 437c2142ce035d1cefe23f87c0f6eebb7d875e9f
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 19:48:31 +0000
better description of what the method returns
Change: 14f920bbc0fe13e788f37d795167c94dc9dc92fb
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 19:38:55 +0000
File -> Store to get all docs from a dir path
The store will help with making an event-driven, responsive
application during preview time. It also makes it a lot easier to
implement different methods of storing documents and pages.
Change: 22492f665c7a47c36877b0065e487753e10cd791
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 01:52:38 +0000
add site class
The Site class encapsulates a set of applications and handles the
deploy process.
Configuring a Site can be easily done using a DI container like
Beam::Wire.
Change: 34b64f931e72adb2524460af9a2fffd9b6dad7ec
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 01:50:34 +0000
provide a single pages() method in applications
The pages() method returns all pages currently active in the
application.
Change: d0b3ebf63b52a9279a87a27e8563f500c81216c0
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 01:33:14 +0000
fix template not being stored with the right group
The "dirs" from splitpath ends with a /, so the last item from
splitdir( dirs ) is the empty string.
Change: 5698c7c159ea59124c83d1b9d779d679bf71e4e8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 01:14:50 +0000
throw a better error when the template is undef
Previously, it would throw Text::Template's usage message, which
doesn't quite explain what the problem is.
Change: 0baf9fecf75077fc0fb2129e7f41e82425919c5e
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 01:03:23 +0000
fix broken tests
Removing the unneeded imports from the tests revealed that the
classes were not importing the other classes they needed. There
should be some kind of module to scan for this...
read_file returns a list of lines in list context, which doesn't work
for eq_or_diff
Change: 6b70869b9bcb6a4da17aeeba47e39da33b80a7b6
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-05-03 00:25:28 +0000
allow loading of theme templates from a directory
Change: ffc15eb30fc61485c729c4d72047e322bb7d3c0d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-30 01:55:44 +0000
we don't need these imports
The app encapsulates the model and view, as it rightly should.
Change: 594944a261791771ced382dea7ee3da9b19a97a3
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-30 01:18:56 +0000
add layouts to blog application
Change: 6a36ace21159d17f87ddd64cdc8c71d134da1968
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-30 01:17:37 +0000
add layout to page
A layout wraps the page's content and is shared throughout the site.
Change: 570db15a491d7e657dfdaf06f014a7db2a89a6e8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-30 00:01:37 +0000
blog app can now read source files from directory
Change: 7f5f801489d04b463d17f43ac8d6fc3c94b2751e
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 23:36:47 +0000
add write() method to blog app
The blog app is now capable of taking documents and writing pages.
Change: bc6abc54b6a04746cca8c877fc4f8af560b1a758
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 23:35:49 +0000
make sure to create full paths when writing pages
Change: 9fd07e98da6570a20d8737ce7f988930f69d7c49
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 23:25:50 +0000
add theme to the blog app
Change: 7a1021dd7d647a76a2b89c4b6de3f334bc52694b
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 23:12:20 +0000
add themes - bundles of templates
Change: 88832da01659e23e150b194f4e963bf471931b99
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 01:34:20 +0000
initial build artifacts
We're going public on GitHub, but we are nowhere near ready for
actual site generation yet.
Change: de0d315a1d7e3c2a01933da54c7bb0b88e8a9cc4
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-29 01:31:31 +0000
initial work on a blog application
We can change Documents into Pages via an API call. Lot more work to
be done...
Change: c3b737189fa35b206302dbfc4f48869c21be85c8
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-28 01:12:00 +0000
add documentation
Change: e27c2bd22362beb563035a9abf959b7cee5c1d73
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-28 01:07:08 +0000
rename project to Statocles
Then we can have Dynamocles, adding dynamically-generated site
features like users and sessions and what-not.
Change: 91a125aafbeed25a1c11c036279d94e5a67964fe
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-28 00:56:29 +0000
add some documentation
Change: e6e418256d100419483dd09d4274feebab6c806d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-27 18:16:57 +0000
add ref to File that Document is read from/writ to
This way, Pages can get access to the path the Document was loaded
from, to help build a URL.
Change: cb9e5cff7fb166ea53e8f351e55a628c21846c75
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-27 17:33:52 +0000
write pages to disk
Apps will be responsible for giving paths to Page objects. These
paths will probably correspond to the Document's source path, but
they are not required to (links in documents will probably fail if
they are not...)
Change: 07d76c01dc6ae79be73529fa94f91e4f9cbc750e
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-27 17:17:32 +0000
add simple page rendering
Pages take one or more Documents and build HTML which will then be
written to disk (probably). The document's content is run through a
Markdown parser, and the document and rendered content is passed to a
Text::Template template.
Change: 6650017a871bef029d214276a207e4a572966b6d
Author: Doug Bell <madcityzen@gmail.com>
Date : 2014-04-26 19:37:43 +0000
add base File and Document classes
================
End of releases.
================