Repository navigation
Export refactor - #685
Merged
Merged
Export refactor#685
Conversation
added 13 commits
August 4, 2015 13:26
Lots of small tweaks here: * Router now is properly passed around instead of a static registry. * Routes are now named instead of being anonymous. * New EventManager for triggering events (for use in plugins). * Properly passing around objects instead of using globals in the main controllers. (Not totally done yet.)
Before, only Controller-based routes had access to this data, now the oldschool routes (e.g. /admin/) do as well.
* Updating autoloading to check our full include path. * Adding plugin class * Lookup and register plugins in the EventManager
Member
|
Good Lord. This will take a while to review. :) |
waldoj
reviewed
Mar 6, 2017
| } | ||
| } | ||
|
|
||
| public function has($name) |
Member
There was a problem hiding this comment.
I am impressed by naming a function has(). :)
Member
|
I've been wanting to write a plugin, specific to Virginia—now I can do it. :) |
Member
Author
|
Ack, I accidentally merged this. Still needs some review. |
Member
Author
|
And git still doesn't have a good way of rolling back a merge with history that overlaps other commits. Sooooo. |
Member
|
Eh, it'll all be reviewed properly, once I get openva/va-decoded#42 done. I read through all of your commits here, but that's not quite the same as actually testing it. :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It only took 18 months, but this looks like it works pretty good now.
This radically changes how all exports & downloads are handled, moving the logic into a plugin-based system. This introduces the EventManager class for plugin events, called via the
triggermethod. This adds a lot of new export types – including HTML, Word, PDF, and EPUB – to resolve #50 as well.