-
Notifications
You must be signed in to change notification settings - Fork 0
Execution points
These are some execution points that might be interesting for a 3rd party developer to modify the behaviour at.
In these lists most of the actions are rated critical since they cover core parts of the application. I think they all should and need to be implemented. If the refactoring I suggested is authorised however, I don't see any problem at all implementing them and writing tests for them. Depending on how long the refactoring takes, there might be a time issue in implementing the critical actions in sprint 3. If that's so, it's not a problem. We'll just push it to sprint 4.
As the application is structured now, I see little use for filters. To make greater use of filters we need to extract things like author, date, link and menu handling. At the moment it works perfectly fine and semantically using actions. There is filter support built in at the moment though and a critical filter is the filter to change template that is added to smarty.
The main motivation by the lack of filters at this time is that very little data, that I can find, is good for filtering. Menu's for example are pretty hard coded and it's hard to restructure a menu with a filter. At the moment an action would be necessary to add nested levels etc. If you're interested in other thoughts you can check out the backlog. They are not motivated, just thoughts :P
- Plugin enable (probably as separate hook)
- Plugin uninstall (probably as separate hook)
- Before login
- After login
- Before logout
- After logout
- Before create article page
- Before article insert
- After article insert
- Before show article manager
- Before show user manager
- Before show add user form
- Before add user
- After add user
- Before show add class form
- Before add class
- After add class
- Before show class manager
- Before show add challenge
- Before add challenge
- After add challenge
- Before challenge upload
- After challenge upload
- Before challenge delete
- After challenge delete
- Before show class manager
- Before class delete
- After class delete
- Before class archive
- After class archive
- Before attempt made
- After attempt made
- On successful attempt
- On failed attempt
- Before point calculation
- After point calculation
- Before show user-page
- Before show user homepage
- Before show article
- Before show challenge
- Before load content (last thing on the header for javascript/ajax and to make a plugin more flexible)
- After load content
- Before load footer (for footer things like javascript that needs to GET a lot of data but is not crucial to page load)
- Point calculation
- Admin template added to smarty
- User template added to smarty
- Before main menu added
- Before challenge menu added
- Before use menu added
- Before show edit code
- Before update code
- After update code
- Before show options page
- Before theme enabled
- After theme enabled
- Before plugin enabled
- After plugin enabled