jakdept / goki

A markdown based wiki
MIT License
2 stars 0 forks source link

Rewrite/Refactor handlers #2

Closed jakdept closed 9 years ago

jakdept commented 9 years ago

The handlers need to be rewritten to be kicked dynamically from the configuration from the config file.

They also need to honor the restrictions - restricted tabs for markdown, and restricted extensions for raw.

Finally, the handlers need to go in handlers.go, and they all probably need to be rewritten. Plus, we need handlers_test.go or w/e.

jakdept commented 9 years ago

handlers have been partially rewritten.

[x] - raw handler works. [x] - handlers moved over to their own file [ ] - handlers not yet dynamically created from config file [ ] - raw handler does not yet support restrictions

note: restrictions on markdown handler will come after category tags are parsed, they will then be honored.

jakdept commented 9 years ago

[x] handlers now dynamically configured from file bumping raw handler for now