- More updates for README.md
- [ci-skip] Updated README.md
- Got rid of branch aliases in Composer, and set minimum stability to stable
- Fixed docblock for
Zepto\FileLoader\MarkdownLoader
- Updated TODO.md
- Updated index.md
- Updated composer.json, trying to make dev-develop show up as unstable
- Merge branch 'feature/move-route-execution-from-router-to-route' into develop
- General cleanup, spit and polish for
Zepto\Router
- Fixed test class for
Zepto\Router
- Added a new method
Zepto\Router::redirect()
, updated test class
- Exception handling almost completely contained within
Zepto\Router
, removed extraneous code fromZepto\Zepto
and updated test classes. - Added new object
Zepto\Route\ErrorRoute
- That's the basic thing done. Now need to change error handlers too.
- Merge branch 'feature/flatten-config-array' into develop
- Fix for plugins as well
- Flattened the settings array pretty much everywhere I can think of, also updated the tests to reflect that
- Merge branch 'master' into develop
- Merge branch 'feature/refactor-console' into develop
- Also realised
zep
's plugin template was out-of-date. - Updated
Zepto\Console
and changed all method signatures to use snake case, fitting in more with my liking - More test fixes for
Zepto\Console
- Some cleanup of
Zepto\Console
and related test class - Lost a lot of code coverage, but that's good because it'll force me to write better tests
- Updated
Zepto\Zepto
version to 0.7. - Updated CHANGELOG.md, composer.json. Brace yourselves, Zepto 0.6 is coming.
- Forgot to update
zep
- Cleaned up
Zepto\Zepto::run_hooks()
- Nothing major, just docblock tag updates
- Added docs and tests for
Zepto\FileLoader::get_folder_contents()
Zepto\Helper::url_for()
andZepto\Helper::link_for()
now both return null if a file is not found. Also updated test class.- Updated CHANGELOG.md and TODO.md
- Changed method signatures for all hooks to include app container
WhoopsPlugin
will now no longer load if Zepto is in dev mode- Removed some silliness from
Zepto\Helper::validate_config()
- Added test class for
Zepto\Extension\Twig
and updated test class forZepto\Zepto
- Updated .travis.yml
- Merge branch 'feature/move-nav-gen-to-plugin' into develop
- Small change to
Zepto\Helper::link_for()
- Initial, somewhat working version of
NavGenPlugin
- Updated all Plugin docblock headers
- Added spacing to link markup in
Zepto\Helper::link_for()
and updated test class - Fucks sakes, mate
- Moved
Zepto\Zepto::run_hook()
calls to the constructor for readability. Zepto\Helper::url_for()
now makes URLs end with a '/'. Also removed some dead code and updated test class.
- I think this should close #8
- Some more progress on issue #8
- Removed constant
ROOT_DIR
fromZepto\Zepto
, and got rid of try-catch around the plugin loader.
- Changed
Zepto\ZeptoTwigExtension
toZepto\Extension\Twig
, updatedZepto\Zepto
accordingly - Merge branch 'develop' into feature/move-nav-gen-to-plugin
- Updated test class for
Zepto\Zepto
- Another change that should've been in 490b695
- Updated test class for
Zepto\Zepto
and added new test class forZepto\Helper
$app['nav']
inZepto\Zepto
is empty unless specifically set. This should probably be changed.- Removed
create_nav_links()
method call fromZepto\Zepto::_construct()
- Major cleanup for
Zepto\Zepto
. Removed methodcreate_nav_links()
, moveddefault_config()
andvalidate_config()
toZepto\Helper
and movedgenerate_nav_html()
toNavGenPlugin
- Changed other references to
$c
or$container
to$app
, following on from 490b695 - Added new class
Zepto\Helper
to hold all helper methods, addedlink_for()
andurl_for()
to it. Removed same methods fromZepto\Zepto
- Added new method
Zepto\Zepto::link_for()
to generate HTML output for a link - Renamed
$container
to$app
insideZepto\Zepto
- Created new
NavGenPlugin
- Added new
Zepto\ZeptoTwigExtension
to handle all the fun Twig functions and stuff. - Merge branch 'develop' into feature/move-nav-gen-to-plugin
- Added new method
Zepto\Zepto::url_for()
. Give it a filename, and it checks to see if it's a valid file in the 'content' directory and returns its' fully-formed URL
- Seems like you were never meant to be,
testLoadContent()
- Got rid of
Zepto\PluginInterface::before_content_load()
andZepto\PluginInterface::after_content_load()
, jiggled around withZepto\Zepto
constructor, so the plugin loading happens before config "load", but it does get validated. Some win? - sigh fuck you, PHP 5.3
- Fix for
Zepto\Zepto
due to another curveball PHP 5.3 sends over. - Updated README.md and docblock for
Zepto\Router
- Merge branch 'feature/rewrite-fileloader-stuff' into develop
- Small changes to
Zepto\Zepto
, updated test class to reflect broken methodZepto\Zepto::create_nav_links()
- So.... this is where we get to lazy-load the files, right in the callbacks. At the minute, it breaks the
<nav>
generation but that's a minor detail. - Small updates for
Zepto\FileLoader\PluginLoader
and test class. - Added
Zepto\FileLoader::get_folder_contents()
in favour ofZepto\FileLoader::get_directory_map()
. Updated test class some. - Rewritten
Zepto\FileLoader\MarkdownLoader
, updated test classes. Marked as deprecated, hopefully can use pages in the future.
- Added test mock-type thingies for testing
Zepto\FileLoader\PluginLoader
- Just renamed a test for
Zepto\FileLoader
- Updated and refactored
Zepto\FileLoader\PluginLoader
. Now throws a crapton of exceptions at you if you fuck anything up. Also fixed a bug to do with checking for a valid plugin name. Lots of other sit too, I can't really remember. Zepto\FileLoader
now throws an exception on initialization if the base path is not a valid directory. Also updated test class.
- I hope this works
- Another small update, nothing massive
- Small updates, nothing massive
- Fixed and updated test class for
Zepto\Zepto
- Added new
Zepto\Zepto::validate_config()
method to validate some parameters from$config
- Adding basic support for environments, first step for issue #4
- Fixes failing Travis tests, put a hard version number for Pimple
- Changed
Zepto\Zepto::default_config()
visibility topublic
- Renamed
Zepto\Zepto::router_setup()
toZepto\Zepto::setup_router()
- Renamed
Zepto\Zepto->container['file_loader']
tocontent_loader
- Small update to
WhoopsPlugin
- Fixed Response header's content-type
- Updated docblocks for
Zepto\Zepto
andZepto\Router
- Updated README.md and TODO.md
- Updated
zep
- Slight changes to
Zepto\Router
andZepto\Route
- Added a new method
Zepto\Zepto::default_config()
- Renamed
Zepto\Zepto::setup_router()
toZepto\Zepto::router_setup()
- Fixed failing test classes
- Merge branch 'feature/plugin-overhaul' into develop
- Renamed hook
*_file_load
to*_content_load
- Fixed all plugins to properly implement
Zepto\PluginInterface
- Added new plugin hooks
before_router_setup
,after_router_setup
,before_response_send
,after_response_send
. Also routed application errors toZepto\Router::error()
- Changed
Zepto\Router::error()
to accept either Closures or Exceptions - Refactored
Zepto\FileLoader\PluginLoader
, now validates plugins to see if they implementZepto\PluginInterface
- Removed all hardcoded Whoops references from
Zepto\Zepto
- Cleaning up
WhoopsPlugin
- Initial implementation of
WhoopsPlugin
- Updated docblock for
Zepto\Zepto::__construct()
- Updated test class for
Zepto\Zepto
, now doesn’t display useless output - Merge branch 'feature/use-symfony-httpfoundation' into develop
- Updated
Zepto\Router
and its’ test class to use more specific exceptions - Added test class for
Zepto\Route
- Updated test class for
Zepto\Router
- Docblock updates in
Zepto\Router
Zepto\Router::route()
now checks to see if method specified is a valid HTTP method before adding to the routing table- Small fixes for error handlers in
Zepto\Router
- Updated test class for
Zepto\Router
- Fixed a problem with
Zepto\Router::run()
where callback functions were being passed an array instead of parameters Zepto\Router
now keeps track of the current route’s HTTP status- Moved
Zepto\Route::route()
method
- Removed
Zepto\Router::execute()
, moved logic toZepto\Router::run()
, now 500 errors are officially handled. Fixed reference inZepto\Zepto
as well. - Added
Zepto\Router::generate_error_template()
to create generic HTML templates for error pages - Switched
Zepto\Router::match
’s parameter order - Renamed and updated accessor methods in
Zepto\Router
- Renamed accessor methods in
Zepto\Route
- Docblock cleanup for
Zepto\Route
Zepto\Zepto
now sends an instance ofSymfony\Component\HttpFoundation\Response
toZepto\Router
Zepto\Router
now uses Response objects to return data to the client, added HTTP methods as class constants, general code restructuring- General fixes to accommodate new and improved
Zepto\Router
- Now with the power of
Symfony\HttpFoundation
- Removed parameters from
Zepto\Route
- Added a new method to
Zepto\Router
to parse parameters from the URL - Fix for
Zepto\Router::match()
- Fixed
Zepto\Router::post()
- Changed
Zepto\Router
to use regex patterns in routing table rather than URLs - Major refactor of
Zepto\Router
- Added typehint to constructor in
Zepto\Route
- Merge branch 'develop' into feature/use-symfony-httpfoundation
- Added new
Zepto\Route
object - Cleaned up some stuff in the constructor of
Zepto\Zepto
- Started working on abstracting Whoops into a plugin
- Added
Symfony\HttpFoundation
to composer.json
- [ci-skip] Added GIF to README.md
- [ci-skip] Updated README.md and TODO.md
- Fleshed out
zep init
some more - Don’t understand why this particular test fails
- ??? Profit?
- Merge branch 'feature/fix-after-config-load' into develop
- Updated
Zepto\Zepto
to reflect new hook sequence. Fixes #5 Zepto\PluginInterface::after_config_load()
is nowbefore_config_load()
, allows for a chance to hook into app settings before they are fully loaded. Updated ExamplePlugin and OtherExamplePlugin to show changes- Adding HHVM support to Travis-CI. Fixes #3
- Merge branch 'feature/fix-the-fucked-up-paths' into develop
- This should fix any project root path conflicts when using Zepto as installed from Composer
- Fix for character-escaping bug in plugin template in
zep
.
Zepto\Console
now uses double-quotes everywhere. Also updated test class accordingly.- [ci-skip] Fixed a bug with
zep
where using fromvendor/bin
was not working. - Not sure if code is shit, or found bug in Travis-CI
- Merge branch 'feature/initial-setup-tools' into develop
- Updated README.md and TODO.md
- Obligatory snarky message added.
- Added some comments, etc. to
zep
tool - Automatically add a space to the end of a confirm message
- Added basic stuff for
zep init
command. - Merge branch 'develop' into feature/initial-setup-tools
- Updated version number and fixed migration to
michelf/php-markdown
- Merge branch 'feature/use-michelf-php-markdown' into develop
- Updated
Zepto\FileLoader\MarkdownLoader
to use dependency injection and related test class
- Updated
Zepto\FileLoader\MarkdownLoader
to usemichelf/php-markdown
- Updated composer.json to use
michelf/php-markdown
- Updated
Zepto\Console
and its test class - Changing all single quotes to double quotes.
zep
now generates content files as well. zep
CLI utility now creates plugins- Automatically add a space to the end of a prompt message
- Updated composer.json to symlink
zep
utility tovendor/bin
- Made
zep
binary again, added more structure to it. - Added a new zep.php file for CLI. Removed
zep
tool - Added new class
Zepto\Console
and related test class.
- Merge branch 'develop' into feature/initial-setup-tools
- [ci-skip] Updated composer.json
- Type-hinting for method signatures and cleanup in
Zepto\Router
- [ci-skip] Updated TODO.md
- [ci-skip] Updated README.md and TODO.md
- [ci-skip] Updated README.md
- Adding more structure to
sep
- Added new
zep
CLI tool to help with initial setup - Updated test class for
Zepto\FileLoader
- Made
Zepto\FileWriter
more error-resilient, and updated related test class - Minor fixes for navigation HTML generation
- Renamed
Zepto\Zepto::get_sitemap()
toZepto\Zepto::generate_nav_html()
. This method now generates pre-formatted HTML, rather than a multidimensional array
- Merge branch 'feature/big-ass-nav-improvement' into develop
- Merge branch 'feature/update-docs-n-tests' into feature/big-ass-nav-improvement
- Merge branch 'develop' into feature/big-ass-nav-improvement
- Added new options to config file
- Added more test cases for
Zepto\Zepto
- Fixed coverage tag for test class of
Zepto\Router
- Fixed constant definition for
ROOT_DIR
in test bootstrap file - Deleted empty constructors in
Zepto\FileLoader\PluginLoader
andZepto\FileWriter
- Fix to get all header tags from content file
- Removed
base_dir
option from Twig templates - Renamed
Zepto\Zepto::map_directory_to_array()
toget_sitemap()
- Added a fix to set response header correctly for a 404 error
- Renamed
routes_original
tooriginal_routes
for consistency - Added coverage for methods called in constructor
- Merge branch 'feature/update-docs-n-tests' into develop
- Merge branch 'feature/file-writer' into develop
- Cleaning up test class for
Zepto\FileWriter
- Disabling plugins now works without killing the whole app. Fixes #2
- Added test case for
Zepto\FileWriter
- Refactored tests to use data providers
- Updated
Zepto\FileWriter\MarkdownWriter
to add description to template - Moved template to constructor
- Merge branch 'feature/update-docs-n-tests' into feature/file-writer
- Updated README.md
- Updated TODO.md
- Renamed method
Zepto::Zepto->load_files()
toZepto::Zepto->load_content()
- [ci-skip] Bloody fix for Composer
- [ci-skip] Updated README.md
- Updated CHANGELOG.md
- How embarrassing. All changelog links were pointing to an incorrect link. Fixed now.
- Updated TODO.md
- Added tests for
Zepto\Zepto
- Added more comments and stuff
- Added test class for
Zepto\Zepto
and fixed it so it didn’t break tests - Removed useless loaders, never gonna look back (hopefully)
- Moved tests under own namespace as per PSR-0
- Updated CHANGELOG.md and README.md
- Added more comments to
Zepto\Zepto
- Merge branch 'feature/add-hooks' into develop
- Added hooks to
Zepto\Zepto
- Changed method signature of
Zepto\PluginInterface::before_file_load()
- Merge branch 'develop' into feature/add-hooks
- Cleaned up TODO.md
- Updated project version. Seriously, why didn’t I update this earlier?
- Added
Zepto\FileLoader\PluginLoader
to main app. Addedafter_file_load
hook - Renamed option
plugin_dir
toplugins_dir
- Changed method signature of
Zepto\PluginInterface::after_file_load()
- Fixed broken directory scanning for plugin files. Cleaned up
Zepto\FileLoader\PluginLoader
and test class - Removed pico_plugin.php. Added OtherExamplePlugin.php
Zepto\FileLoader\PluginLoader
now returns an array of plugin names and instances.
- Added an option to config.php to enable/disable plugins
- Added
Zepto\FileLoader\PluginLoader
and related test class. UpdatedZepto\PluginInterface
, removed unnecessary hook. AddedExamplePlugin
to show how to useZepto\PluginInterface
- Updated Travis configuration to only include master and develop branches Fixes #1, updated README.md and documentation to reflect that. Updated composer.json
- fix #1
- Updated composer.json (again)
- Updated composer.json
- More changes to composer.json in the vain hope that it will somehow work.
- Updated composer.json
- Merge branch 'develop'
- Updated README.md. Updated composer.json to fix issues when installing from Composer
- Updated CHANGELOG.md. Minor cleanup
- Changed
Zepto\Plugin
to be an interface - [ci skip] Updated README.md and TODO.md
- Updated README.md and style.css
- Merge branch 'feature/moar-router-updates' into develop
- Massively refactor
Zepto\Router
and updated tests. RemovedZepto\Router::dispatch()
- Updated
Zepto\Router
and test - Merge branch 'feature/router-update' into develop
- Fixed 404 handling, updated tests
- Removed
default_route()
method - Merge branch 'hotfix/broken-navigation' into develop
- Temporarily fixed navigation URLs to not break. Updated README.md
- Cleaned up
Zepto\Router
- Updated test cases for
Zepto\Router
- [ci skip] Fixed typo in README.md
- Updated README.md
- Fixed project name in composer.json to be Composer-compatible
- Cleaned up test class for
Zepto\Router
- Replaced priorities with request methods in
Zepto\Router
- Added
Zepto\Zepto::create_nav_links()
to create navigation links - Cleaned up config.php, added ‘.’ to
content_ext
. Fixed file extension issue inZepto\FileLoader
- Cleaned up tests for
Zepto\FileLoader\MarkdownLoader
- Added blocks to and updated base.twig
- Updated
Zepto\FileLoader\MarkdownLoader
to not return empty key-values inmeta
and updated template check inZepto\Zepto
- [ci skip] Updated path in Sublime Text project file Updated README.md
- Initial commit, moved from https://github.com/hassankhan/Zepto/tree/develop
- Initial commit to new repo
- Cleaned up
setup_router()
inZepto\Zepto
- Updated text in base template
- Updated TODO.md
- Fixed routing bug in
Zepto\Router
- Removed and renamed some more hooks from
Zepto\Plugin
- Removed unwanted methods/hooks from
Zepto\Plugin
- Removed duplicated ‘$twig_options’ array in
Zepto\Zepto
- Added test case for
Zepto\Router::dispatch()
- Added Travis-CI and Coveralls.io badges to README.md
- Added test cases for
Zepto\Router
- Routes that end with 'index' are now hidden from the URL
- Feel confident enough to remove Pico source completely, the source is all mine (muahahaha)
- Deleted 'themes' folder
- Updated TODO.md
- Integrated Twig for templating purposes, yay!
- Moved CSS and JS into 'assets' folder
- Got rid of empty index.html files
- Imported basic plugin from Pico
- Updated TODO.md
- Updated
Zepto\FileLoader\MarkdownLoader
and related tests
- Updated
Zepto\FileLoader
and related tests in preparation for Twig integration - Updated TODO.md
- Cleaned up
Zepto\FileLoader\MarkdownLoader
- Updated index.php
- Added a
run()
method toZepto\Zepto
- Removed index.old.php
- Updated tests for
Zepto\FileLoader
andZepto\FileLoader\MarkdownLoader
Zepto\FileLoader
andZepto\FileLoader\MarkdownLoader
now use Pimple- Added test class for
Zepto\FileLoader\MarkdownLoader
- Fixed test case for
Zepto\FileLoader
- Updated travis.yml to include PHP 5.3
- Adding Travis-CI and Coveralls.io support
- Removed test class for
Zepto\Zepto
temporarily - Generated test class for
Zepto\Router
- Added tests for
Zepto\FileLoader
- Renamed constant to
ROOT_DIR
in tests/Bootstrap.php - Updated content/sub/index.md and content/sub/page.md to be shorter for testing
- Removed an errant
var_dump()
anddie()
- Added type-hint to constructor of
Zepto\Zepto
- Improved constant
ROOT_DIR
definition - Moved Twig cache config setting
- Renamed phpunit.dist.xml to phpunit.xml.dist
- Updated TODO.md
- Cleaned up index.php
- Integrate
Zepto\FileLoader
with main app
- Fixed
Zepto\FileLoader
to search$file_path
recursively - Added initial template functionality
- Updated .htaccess
- Updated index.php
- Integrated Zepto with Router
- Updated index.php with temporary example code
- Started writing tests
- Updated
Zepto\FileLoader\MarkdownLoader
- Made
Zepto\FileLoader
more reusable - Arrays returned by
Zepto\FileLoader
now only show the path relative toROOT_DIR
- Updated TODO.md
- Added bunch of other loaders, as examples
- Updated index.php and added a more configurable config.php
- Updated
Zepto\FileLoader
, createdZepto\FileLoader
\MarkdownLoader`` - Created a basic file loader
- Added initial implementation of a router
- Updated README.md
- Unfortunately, 'klein/klein' is no longer with us :'(
- Updated composer.json with deadly amounts of dependencies, also added a lot more stuff in it for no real reason other than boredom
- Add some project settings to keep Sublime Text sane (for me at least)
- Generated test class for
Zepto\Zepto
- Added new index.php
- Adding in a 'library' folder, relevant initial classes
- Updated TODO.md
- Replaced michelf/php-markdown with erusev/parsedown
- Added Sublime Text project file
- Added TODO.md
- Updated composer.json to use 'dev-master' branch of Twig
- Moved 'cache' folder to project root
- Updated name to 'Zepto'
- Updated .gitignore
- Removed 'vendor' folder from project