| Commit message (Collapse) | Author | Age |
|
|
|
| |
This improves the experience of quickly adding lots of notes
|
|
|
|
|
|
| |
Apparently I managed to turn off assertions in my dev setup m(. Passing in
a string (which happens in the expected path here) tries to evaluate it,
which then fails. We fix this by asserting an isset() instead.
|
| |
|
|
|
|
|
| |
- Allow multiple uploads at once
- Make uploads deletable
|
|
|
|
|
|
| |
Previously we tried to process the file, even if it wasn't actually
uploaded, resulting in errors when trying to save a note without an#
attachment m(
|
|
|
|
|
| |
It is not always set, resulting in an E_NOTICE. isset() deals with this
case.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is now possible to upload and view attachments!
Attachments are saved by their content hash, therefore they are
automatically deduplicated and we can later easily add integrity checks.
Still missing:
- Deleting attachments
- Multiple file inputs (idea: when the user fills in a file input, create a
new empty file input beneath with js)
- (nice to have) Thumbnails
|
|
|