- Deploy HTML diff engine into Melange
- Create view that shows diff between two revisions
- Update "Manage revisions" view to support diffs
- Code clean
All these tasks were completed successfully. HtmlDiff class from difflib was used as diff engine. I've actually tried several python diff engines from this page, but none of them appeared to work stable and fast.
I wanted URLpattern for "show diff" to be used as API. That's why I wanted it to be "pretty". But there was a problem with jqGrid buttons. Neither "redirect_simple", nor "redirect_custom" methods can create URLs with two different parameters. That's why I had to create separate button and trigger onClick event for it.
Full-featured revision control for Document model was uploaded to my appspot instance http://melange-editor.appspot.com
No comments:
Post a Comment