summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-07-13Throw public exception when accessing CLI only functionsFlorian Pritz4-9/+14
We actually don't need to hide this from the user. The error should be shown rather than a blank page being returned. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13muser: Improve invalid action key error messageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13controllers/user: Deduplicate email verificationFlorian Pritz1-5/+14
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13controllers/user: Deduplicate username verificationFlorian Pritz1-2/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13Fix missing phpdoc for \service\userFlorian Pritz1-4/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13Remove incorrect TODO about $new_file being unsetFlorian Pritz1-1/+0
I think this is left over from developing the feature. This seems to have been incorrect in the inital commit of the code. Just drop it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-13Remove duplicate TODO for supporting multiple type for thumbnailsFlorian Pritz1-1/+0
Already in \libraries\Exif Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Focus first input when clicking login button in nvaigationFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Fix incorrect width of thumbnail listFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Link single paste to autodetection in video/audio/asciinema fragemntsFlorian Pritz3-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-12Add asciinema supportFlorian Pritz7-4/+3531
This bypasses require.js for asciinema because apparently require.js can't deal with the embedded React library. The result is that React is not loaded properly and the asciinema player is unable to find it. Just load it like upstream tells you to. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Update NEWS0.9.15Florian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Add docker-compose fileFlorian Pritz2-0/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10docker: Wait for database to reachable before doing anythingFlorian Pritz1-0/+7
This is necessary for future use of docker-compose Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Make delete button fixed on upload history pageFlorian Pritz4-9/+34
Also make the navigation fixed because otherwise this looks hideous and the space is already occupied anyway. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Fix login page being to wide on mobile devicesFlorian Pritz1-1/+1
Same fix as in 7e4912fc03111ab5071e8e7478db48422597777a. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Fix display issue on paste pageFlorian Pritz1-1/+1
Proper fix this time. container is not necessary here. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-10Revert "Fix display issues with new bootstrap"Florian Pritz6-6/+13
This reverts commit f0d3b633f04c9afa2237b1dad83ad8240da68b38. That commit causes breakage on the history page due to missing padding.
2016-07-04Add popover with filenames of multipaste to historyFlorian Pritz1-0/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04service\files->get_multipaste_history: Add sort order from DBFlorian Pritz3-2/+18
Keep this field private for now. I may be exposed at a later time. The returned values are already normalized so they can be safely exposed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Add function to ellipsize textFlorian Pritz2-0/+70
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Harden XSS escapingFlorian Pritz2-3/+3
This could lead to XSS if the html attribute values weren't quoted with double quotes. By default htmlentities only encodes double quotes and not single quotes. If the quotes are ever changed this could lead to exploitable XSS. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04file/history: Add support to display preview of entries on hoverFlorian Pritz4-1/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04doc/api/user.md: Document introduction of user/delete_apikeyFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04doc/api.md: Add overview of API versionsFlorian Pritz1-0/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Update API v2 version info to 2.1.0Florian Pritz1-1/+1
The documentation already refers to 2.1.0 and lists a new feature of the file/history endpoint, but requests for 2.1.0 are not yet accepted because the server doesn't know that it actually supports this version. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Ensure popovers do not render outside of the pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Fix display issues with new bootstrapFlorian Pritz6-13/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Update to boostrap 3.3.6Florian Pritz12-225/+10037
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-16Remove old TODOFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-16Update News0.9.14Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-16NEWS: Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-16post-merge: Update git submodules after pullingFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-16Update NEWS0.9.13Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-12README: Mention github PRs0.9.12Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-12README: Drop bugtracker noticeFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-12Switch to PHP based markdown renderer (parsedown)Florian Pritz7-170/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-09doc/setup.md: Point to INSTALLFlorian Pritz1-3/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-09Use PHP library for QR codesFlorian Pritz7-11/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-09Autoloader: Support PSR-4 style namespace/directory mappingFlorian Pritz1-8/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07NEWS: Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07Drop old READMEFlorian Pritz1-6/+0
README.md now has all the information. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07README.md: Fix some linksFlorian Pritz1-5/+5
Replace https/// with https:// Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07README.md: Add link to doc dirFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api.md: Restructure error handling descriptionFlorian Pritz1-42/+40
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api.md: Add TOCFlorian Pritz1-0/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api.md: Update references to endpoint documentationFlorian Pritz1-6/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api/file.md: Fix heading level and add TOCFlorian Pritz1-5/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-07doc/api/user.md: Fix heading level and add TOCFlorian Pritz1-3/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>