digitaldemocratic/docker/nextcloud/custom_apps/ownpad/TODO.md

28 lines
1.4 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Todo list
- [x] Add basic support for Etherpad API (create & open pads).
- [ ] Check rights before opening the file (mainly, respect rights if
share doesnt allow modifications).
- [ ] Make configuration more user-friendly (maybe, automatically find
the most correct cookie domain to use). Maybe also add a new
configuration item to mark that Etherpad API is usable (after
test).
- [ ] Try to find a way to work-around the cookie issue (that may
require to develop a tiny plugin for Etherpad that would allow
to set the cookie for us). This
[plugin](https://www.npmjs.com/package/ep_auth_session) exists,
we could add an option to support it.
- [ ] Handle errors and exceptions.
- [ ] Handle session timeouts (we ask for 3600 seconds session to
Etherpad, but we are using a session cookie).
- [ ] Handle ACL revocation (add some kind of hook on ACL changes, and
re-validate / check all sessions for that specific pad(s))
- [ ] Manage multiple ownCloud instances for Etherpad (when calling
`createAuthorIfNotExistsFor`).
- [ ] Manage multiple sessions for Etherpad (you can add multiple
sessions to the `sessionID` cookie by separating them by
commas).
- [ ] Cleanup `sessionID` cookie after logout (a bit tricky, requires
to save the current `sessionID` somewhere and remove it after
user logs out).