David Hazel [Fri, 17 Feb 2012 15:51:27 +0000 (07:51 -0800)]
Moved the RouteStack di class definition into the module config.
The definition originally was in Mvc\Bootstrap::setLocator.
It would be better to leave the definition in Bootstrap, and simply set
a "preference" value in the config, but the definition *appears* to
override the preference settings.
Matthew Weier O'Phinney [Tue, 21 Feb 2012 18:32:11 +0000 (12:32 -0600)]
Updated vendor/ZendFramework
- Updated to rev 30a545b of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 21 Feb 2012 16:58:20 +0000 (10:58 -0600)]
Updated vendor/ZendFramework
- Updated to rev 1087833 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 21 Feb 2012 14:59:03 +0000 (08:59 -0600)]
Updated vendor/ZendFramework
- Updated to rev f1a3ddf of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 21 Feb 2012 14:55:57 +0000 (08:55 -0600)]
Updated vendor/ZendFramework
- Updated to rev 3baed8c of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 21 Feb 2012 04:29:09 +0000 (22:29 -0600)]
Updated vendor/ZendFramework
- Updated to rev da0ff71 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 21 Feb 2012 03:46:58 +0000 (21:46 -0600)]
Updated vendor/ZendFramework
- Updated to rev e23c369 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Fri, 17 Feb 2012 18:38:16 +0000 (12:38 -0600)]
Updated vendor/ZendFramework
- Updated to rev 84eea97 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Thu, 16 Feb 2012 22:33:49 +0000 (16:33 -0600)]
Updated vendor/ZendFramework
- Updated to rev 77430c4 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Wed, 15 Feb 2012 17:10:58 +0000 (11:10 -0600)]
Updated vendor/ZendFramework
- Updated to rev df03479 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Wed, 15 Feb 2012 14:43:05 +0000 (08:43 -0600)]
Updated vendor/ZendFramework
- Updated to rev ff26301 of weierophinney/feature/view-layer
Matthew Weier O'Phinney [Tue, 14 Feb 2012 22:55:35 +0000 (16:55 -0600)]
[#1] Added AggregateResolver
- Updated ZF2 to rev db6a6e3
- Modified configuration to use AggregateResolver
Matthew Weier O'Phinney [Tue, 14 Feb 2012 21:39:46 +0000 (15:39 -0600)]
Updated vendor/ZendFramework
- Updated to rev 878cb78
Matthew Weier O'Phinney [Tue, 14 Feb 2012 21:17:39 +0000 (15:17 -0600)]
Updated vendor/ZendFramework
- Updated to rev
34bc3d739
Matthew Weier O'Phinney [Tue, 14 Feb 2012 20:13:15 +0000 (14:13 -0600)]
Updated vendor/ZendFramework
- Updated to include ability to cast assoc arrays to ViewModels
Matthew Weier O'Phinney [Tue, 14 Feb 2012 19:22:49 +0000 (13:22 -0600)]
Updated feature/view-layer
- Includes fix for routing failures
Matthew Weier O'Phinney [Tue, 14 Feb 2012 17:15:14 +0000 (11:15 -0600)]
Fixes for helper loader/broker configuration
- Removed unneeded aliases
- Removed obsolete classmap entries
- Updated ZF2 library to latest feature/view-layer
Matthew Weier O'Phinney [Tue, 14 Feb 2012 04:31:56 +0000 (22:31 -0600)]
Updated ZF feature/view-layer branch
- Branch contained fixes for exception/no route (404) reporting
Matthew Weier O'Phinney [Tue, 14 Feb 2012 04:29:34 +0000 (22:29 -0600)]
Updated configuration to follow view-layer
- names of templates should not include file suffix
- corrected parameter names for exception, no route strategies
Matthew Weier O'Phinney [Tue, 14 Feb 2012 03:56:59 +0000 (21:56 -0600)]
Simplified TemplatePathStack config
- Since bootstrap now contains configuration for template path stack,
can simply path "paths" parameter
Matthew Weier O'Phinney [Tue, 14 Feb 2012 03:55:03 +0000 (21:55 -0600)]
Updated ZF to latest feature/view-layer changes
Matthew Weier O'Phinney [Mon, 13 Feb 2012 12:53:48 +0000 (06:53 -0600)]
Repointed ZF vendor to weierophinney fork
- due to feature/view-layer being only on that fork
Matthew Weier O'Phinney [Mon, 13 Feb 2012 01:26:59 +0000 (19:26 -0600)]
Working view layer integration
- Updated ZF submodule to
c85c45a4 of weierophinney/feature/view-layer
- Updated configuration to utilize new view layer
- Updated controllers to return View Models
- Updated Application\Module to only configure necessary view helpers
- Removed Application\View\Listener; no longer necessary
Matthew Weier O'Phinney [Mon, 13 Feb 2012 00:47:00 +0000 (18:47 -0600)]
Modified vendor/ZendFramework to track weierophinney/feature/view-layer
Evan Coury [Sat, 11 Feb 2012 02:53:39 +0000 (19:53 -0700)]
Fix hover css colors for buttons
Evan Coury [Sat, 11 Feb 2012 02:44:18 +0000 (19:44 -0700)]
Update button styles and switched to "ZF green"
Evan Coury [Thu, 9 Feb 2012 20:20:27 +0000 (13:20 -0700)]
Merge remote-tracking branch 'ocramius/mvc-router-from-locator'
Evan Coury [Thu, 9 Feb 2012 20:20:05 +0000 (13:20 -0700)]
Merge branch 'feature/twitter-bootstrap-2'
Evan Coury [Thu, 9 Feb 2012 20:06:13 +0000 (13:06 -0700)]
Update zf2 submodule
Evan Coury [Thu, 9 Feb 2012 18:20:52 +0000 (11:20 -0700)]
Update layout to use Twitter Bootstrap 2.0.0
Evan Coury [Thu, 9 Feb 2012 17:58:59 +0000 (09:58 -0800)]
Merge pull request #27 from steffendietz/master
Using getBasePath() instead of getBaseUrl() to determine the basePath
Evan Coury [Thu, 9 Feb 2012 17:52:18 +0000 (09:52 -0800)]
Merge pull request #25 from troymccabe/master
Typo in documentation for directory
Steffen Dietz [Thu, 9 Feb 2012 14:33:22 +0000 (15:33 +0100)]
Using getBasePath() instead of getBaseUrl() to detect basePath.
Evan Coury [Wed, 8 Feb 2012 21:09:02 +0000 (14:09 -0700)]
Update ZF2 submodule
Troy McCabe [Sat, 4 Feb 2012 17:05:46 +0000 (11:05 -0600)]
Fixing typo
Marco Pivetta [Fri, 3 Feb 2012 00:25:43 +0000 (01:25 +0100)]
Fixing configuration according with changes done to router initializationThis change just moves router configuration to instance configuration of the router itself. The change is necessary to allow the router to be injected into other instances of the DiC and to eventually switch the router type to a custom one with own dependencies and eventually completely unaware of the default Zend\Mvc\Router\Http\TreeRouteStack. These changes are related to https://github.com/Ocramius/zf2/compare/zendframework%3A..mvc-router-from-locator
Evan Coury [Mon, 30 Jan 2012 02:37:29 +0000 (19:37 -0700)]
Merge remote-tracking branch 'akrabat/feature/layout-consolidation'
Rob Allen [Sun, 29 Jan 2012 14:44:32 +0000 (14:44 +0000)]
Move some of the view related code from the Module class to the layout view script
Evan Coury [Tue, 24 Jan 2012 17:24:04 +0000 (09:24 -0800)]
Merge pull request #21 from akrabat/plugin-broker
Inject the plugin loader into Zend\Mvc\Controller\PluginBroker by default
Rob Allen [Tue, 24 Jan 2012 17:06:58 +0000 (17:06 +0000)]
Inject the plugin loader into Zend\Mvc\Controller\PluginBroker by default to simplify injecting controller plugins
Ryan Mauger [Wed, 18 Jan 2012 08:46:02 +0000 (00:46 -0800)]
Merge pull request #19 from Danielss89/master
Moved javascript to after css.
Ryan Mauger [Wed, 18 Jan 2012 08:45:41 +0000 (00:45 -0800)]
Merge pull request #20 from akrabat/hotfix/di-for-controller-plugin
Inject the PluginBroker into the ActionController for controller plugins
Rob Allen [Tue, 17 Jan 2012 21:28:56 +0000 (21:28 +0000)]
Inject the PluginBroker into the ActionController so that we pick up any module's controller plugins that they have injected into it. By injecting into ActionController, all controllers that extend it will automatically pick up this injection without having to inject themselves which of course saves a lot of typing for developers and stops them wondering why a given plugin isn't working in a particular controller\!
Danielss89 [Tue, 17 Jan 2012 20:14:58 +0000 (21:14 +0100)]
Moved javascript down, after css. Best practice.
Evan Coury [Fri, 13 Jan 2012 14:11:49 +0000 (06:11 -0800)]
Merge pull request #18 from Xerkus/master
Changed doctype to appropriate one
Aleksey 'Xerkus' Khudyakov [Fri, 13 Jan 2012 09:37:27 +0000 (20:37 +1100)]
Set doctype as HTML5
Ryan Mauger [Thu, 12 Jan 2012 19:41:39 +0000 (11:41 -0800)]
Merge pull request #15 from Maxell/master
Remove unused variables
Ryan Mauger [Thu, 12 Jan 2012 19:40:04 +0000 (11:40 -0800)]
Merge pull request #17 from Thinkscape/master
Rename "views" and "layouts" to singular form.
Thinkscape [Wed, 11 Jan 2012 13:03:08 +0000 (14:03 +0100)]
Rename "views" and "layouts" to singular form.
Directory names should be in singular form whenever possible.
Romke van Kraaij [Tue, 10 Jan 2012 19:08:17 +0000 (20:08 +0100)]
Remove unused variables
Evan Coury [Sun, 8 Jan 2012 23:46:33 +0000 (16:46 -0700)]
Use getBaseUrl() instead of detectBaseUrl()
Pointed out by @Swaagie, detectBaseUrl() doesn't cache to a class property per
request, whereas getBaseUrl() is a wrapper for detectBaseUrl() which does cache
per instance of the request.
Evan Coury [Sun, 8 Jan 2012 23:29:42 +0000 (16:29 -0700)]
Update ZF2 submodule
Evan Coury [Thu, 22 Dec 2011 14:10:20 +0000 (07:10 -0700)]
s/location/locator, and update $di variable in Application's Module.php
Evan Coury [Thu, 22 Dec 2011 14:07:33 +0000 (07:07 -0700)]
Merge remote-tracking branch 'BostjanOb/patch-1' into bostjan-patch
BostjanOb [Thu, 22 Dec 2011 13:14:29 +0000 (14:14 +0100)]
Bug in var naming.
Evan Coury [Tue, 20 Dec 2011 22:52:45 +0000 (15:52 -0700)]
Update ZF2 submodule to release-2.0.0beta2
Evan Coury [Tue, 20 Dec 2011 22:47:30 +0000 (15:47 -0700)]
Aethetic improvements and marketing jargon
- Utilize Twitter Bootstrap
- Add favicon
- CSS / JSS included locally for offline functionality
- Add helpful text and links for new users
Martin Hujer [Mon, 19 Dec 2011 16:42:43 +0000 (17:42 +0100)]
Remove non-existing PageController
Evan Coury [Sun, 18 Dec 2011 15:00:32 +0000 (08:00 -0700)]
Update ZF2 submodule to
9ae9a188
Evan Coury [Sun, 18 Dec 2011 14:56:38 +0000 (07:56 -0700)]
Update view listener to pass vars to layout
- Enable display exceptions by defualt
- Cannot pass a variable called 'content' to layout
Evan Coury [Sun, 18 Dec 2011 14:54:05 +0000 (07:54 -0700)]
Check for ZF2_PATH env var when including ZF2 AutoloaderFactory
Evan Coury [Sat, 10 Dec 2011 17:13:20 +0000 (10:13 -0700)]
Merge remote-tracking branch 'mhujer/error-page-impromevent'
Martin Hujer [Sat, 10 Dec 2011 16:28:28 +0000 (17:28 +0100)]
Show exception's message on error page
Martin Hujer [Sat, 10 Dec 2011 16:23:59 +0000 (17:23 +0100)]
Clean headings outline
Evan Coury [Sat, 10 Dec 2011 05:28:19 +0000 (22:28 -0700)]
Merge remote-tracking branch 'guilhermeblanco/patch-1'
Guilherme Blanco [Sat, 10 Dec 2011 05:15:52 +0000 (00:15 -0500)]
404 render must be called AFTER layout. The current values are wrong (layout is never called), which in some weird situations may lead to $e->getResponse() return NULL.
Evan Coury [Fri, 9 Dec 2011 20:20:25 +0000 (13:20 -0700)]
Organize lines in index.php a bit better
Evan Coury [Fri, 9 Dec 2011 20:16:43 +0000 (13:16 -0700)]
Update for new module event stuff and update zf2 submodule
Also adds the proposed chdir() change per the Dec 7th meeting.
Evan Coury [Fri, 9 Dec 2011 14:09:56 +0000 (07:09 -0700)]
Routine update of ZF2 submodule
- No actual changes to the skeleton itself
Evan Coury [Wed, 7 Dec 2011 21:22:38 +0000 (14:22 -0700)]
Remove references to application environment.
- Updated ZF2 submodule
- Added local dist config file, gitignored non-dist counterpart
- Added default global config file
- Some comments explaining the purpose of the files
Marco Pivetta [Wed, 23 Nov 2011 23:07:16 +0000 (00:07 +0100)]
Stronger typing on error views to avoid E_FATAL and hide exceptions if display_exceptions is not set to true
Marco Pivetta [Wed, 23 Nov 2011 22:56:59 +0000 (23:56 +0100)]
Adding setting for exceptions visibility in error views
Marco Pivetta [Wed, 23 Nov 2011 22:53:11 +0000 (23:53 +0100)]
Moving pages/404.phtml rendering (in case of 404 errors) to error/404.phtml
Evan Coury [Tue, 22 Nov 2011 21:36:59 +0000 (14:36 -0700)]
Remove gitignore files
Evan Coury [Tue, 22 Nov 2011 17:44:47 +0000 (10:44 -0700)]
Fix .gitignore so ZF2 submodule works. Fixes issue #6
Evan Coury [Tue, 22 Nov 2011 01:23:47 +0000 (18:23 -0700)]
s/configs/config in Application module
Evan Coury [Mon, 21 Nov 2011 20:27:58 +0000 (13:27 -0700)]
Convert to singular path names and move ZF2 submodule
- s/configs/config
- s/vendors/vendor
- moved library/ZendFramework to vendor/ZendFramework, got rid of library/
- updated zf2 submodule
- added config/autoload path with readme explaining the purpose
- set up to glob for config/autoload/*.config.php
Ryan Mauger [Sat, 19 Nov 2011 16:39:14 +0000 (16:39 +0000)]
Added headLink, headMeta, and headScript to layout for added flexibility
Evan Coury [Sat, 19 Nov 2011 00:18:38 +0000 (17:18 -0700)]
Remove unused bootstrap_class config value from Application module
Evan Coury [Fri, 18 Nov 2011 17:20:35 +0000 (10:20 -0700)]
Updated ZF2 submodule to point to GitHub as new canonical repo
Evan Coury [Thu, 17 Nov 2011 23:05:57 +0000 (16:05 -0700)]
Pass exception on render404() method of view listener
Evan Coury [Thu, 17 Nov 2011 22:48:22 +0000 (15:48 -0700)]
Updated ZF2 submodule to latest master, show exceptions on 404 error
Evan Coury [Mon, 14 Nov 2011 17:32:14 +0000 (10:32 -0700)]
Updated for new event-driven module manager
- ZF2 submodule updated
- Application module now uses getParam('config')
- Application module now makes use of AutoloaderProvider interface
- index.php updated to new module manager interface
Evan Coury [Sat, 12 Nov 2011 18:10:53 +0000 (11:10 -0700)]
Update ZF2 submodule
Evan Coury [Fri, 11 Nov 2011 03:36:14 +0000 (20:36 -0700)]
Add vendors/ directory for third-party modules
- The odd-looking .gitignore is so that the README file is included in the
repository, but if the user installs some third part modules, they won't
accidentally be added to the skeleton git repository. We do the same thing in
the modules/ directory.
- Added readme explaining that vendors/ is for third-party modules
Evan Coury [Tue, 8 Nov 2011 20:38:46 +0000 (13:38 -0700)]
Remove $env parameter from initAutoloader method
Evan Coury [Tue, 8 Nov 2011 14:19:19 +0000 (07:19 -0700)]
Update classmap
Evan Coury [Tue, 8 Nov 2011 14:11:39 +0000 (07:11 -0700)]
Updated for ZF changeges
- Module::getConfig() now returns a simple array, not a config object
- View listener returns a PhpEnvironment\Response (sendable) upon error
Evan Coury [Tue, 8 Nov 2011 14:01:51 +0000 (07:01 -0700)]
Updated ZF2 submodule and changed to segment route
- Switch to segment route instead of regex route
- Remove custom URL helper, using ZF-proivded one now
Evan Coury [Sat, 22 Oct 2011 02:05:06 +0000 (19:05 -0700)]
Various clean up
- config returns array which index.php converts to zend\config\config
- Application module initAutoloader improved
- Application classmap updated
Evan Coury [Mon, 17 Oct 2011 20:25:18 +0000 (13:25 -0700)]
Update ZF2 submodule to release-2.0.0beta1 tag
Rob Allen [Sun, 16 Oct 2011 19:14:18 +0000 (20:14 +0100)]
add library to the include path, so we can put ZF2's Zend folder directly in library
Evan Coury [Sat, 15 Oct 2011 14:17:00 +0000 (07:17 -0700)]
Updated ZF2 submodule
Matthew Weier O'Phinney [Fri, 14 Oct 2011 22:02:43 +0000 (17:02 -0500)]
Updated to use Zend\Mvc\Bootstrap
- Moved view initialization to Application\Module
- combined view initialization and view listener registration into a single
event listener
Evan Coury [Fri, 14 Oct 2011 19:45:52 +0000 (12:45 -0700)]
Update ZF2 submodule
Matthew Weier O'Phinney [Fri, 14 Oct 2011 17:44:05 +0000 (12:44 -0500)]
Updates and cleanup
- Routing:
- Use TreeRouteStack instead of SimpleRouteStack
- Do not pull router from locator; simply instantiate
- Config object can now be passed directly to addRoutes
- Bootstrap:
- Accept ModuleManager as sole constructor argument, and pull merged
configuration from it
- index.php:
- Do not use object notation for accessing config values; use array
notation. Allows flexibility in how application configuration is
returned
Evan Coury [Thu, 13 Oct 2011 20:31:39 +0000 (13:31 -0700)]
Remove unnecessary class imports
Evan Coury [Thu, 13 Oct 2011 20:18:47 +0000 (13:18 -0700)]
Module class getConfig() method does not need to be static
Evan Coury [Thu, 13 Oct 2011 20:12:03 +0000 (13:12 -0700)]
Updated zf2 submodule and module manager option key
- s/enable_self_installation/enable_auto_installation
Matthew Weier O'Phinney [Wed, 12 Oct 2011 02:37:41 +0000 (21:37 -0500)]
Use addRoutes() instead of manually creating routes in a loop