-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add extension points #29
Comments
Implementation via hook directoriesAdding functionality to existing workflows calls for hooks. A hook is an executable, e.g. a shell script, placed inside a special directory structure inside the Hook typesgone will provide different types of hooks, which differ in the kind of activation criteria.
Depending on the hook's type, you would define them in different directories:
Hooks vs. CGICGI scripts are invoked directly by giving their path and name as HTTP request URL, e.g. gones hooks are strictly separated from the content root. The contents of the hook directory will never be modified by gone, nor will they be displayed to a client. gone will only execute hooks that were explicitly defined to be executed in a special situation, they can not be executed by file name. Potential attack vectorsThe following new attack vectors arise. Besides, I sketch potential risk mitigation strategies.
Overwriting the
|
I want to make gone an application that fits many purposes, yet as simple as possible. Therefore, we need extension points (Open Closed Principle). This could include the possibility to call completely new functionality from the UI. Such a concept would greatly complement with the customizeable UI templates.
Stories
git commit -a
everytime a file is saved.The text was updated successfully, but these errors were encountered: