summaryrefslogtreecommitdiffstats
path: root/application/views/file
AgeCommit message (Collapse)AuthorFilesLines
2013-09-02Add CSRF protectionFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-02Provide json output for api functionsFlorian Pritz3-15/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-11Document API keys on client pageFlorian Pritz1-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-11Remove api keys dependency on usernameFlorian Pritz1-1/+1
We don't need it and getting the user name from the user drivers is way more complicated. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-09Add delete support to thumbnail historyFlorian Pritz1-2/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-08Add delete button to info popup on paste pageFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-05Add history page with thumbnails of imagesFlorian Pritz3-0/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-02Add os x install instructions for clientFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-19Alternate message for a delete-timeout of 0 (never delete)Thore Bödecker1-3/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15Add footer; move contact info to footerFlorian Pritz1-3/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09implement repasting (fills textarea with ID's content)Florian Pritz2-1/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: improve display with small widthFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: remove hashFlorian Pritz1-2/+0
It uses a rather large amount of space and doesn't really help people much. We'll leave it for the plaintext version so you can still use it in the client if you want to. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-24upload_history: Allow column sorting (jquery.tablesorter)Florian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-10Hide function not supported by auth driverFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-28upload_form: Resize textarea using responsive css rather than jsFlorian Pritz1-1/+1
This no longer resizes the textarea after the user change the size themself. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-25automatically wrap linesFlorian Pritz2-4/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-23Rearrange upload formFlorian Pritz1-14/+14
This allows the textarea to be wider without vanishing behind the file upload form. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-24Add password reset function/pages/linksFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-17Support multiple uploads in the same requestFlorian Pritz2-6/+9
This change *should* be backwards compatible. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-11-09file/client: Add information about fb's config fileFlorian Pritz1-5/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-11-09Rework file/client pageFlorian Pritz1-13/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-31Fix "invite" link on upload_formFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-29Add button to wrap long lines in code viewFlorian Pritz1-0/+1
Since wrapping would break the line numbers we hide them. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-26fix missing htmlspecialchars in html_header.phpFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-25Increase width of paste containerFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-23Prevent date wrapping on history pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22Don't send a cli client unwanted HTML codeFlorian Pritz2-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22Merge upload_form.js into script.jsFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22ID/info: add missing htmlspecialchars()Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz6-170/+182
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-16Fall back to plain text if lexer is unknown/brokenFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-08-16html_header: fix indentationFlorian Pritz1-19/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-08-16Add Content-Type meta tagFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-08-16switch to pygmentsFlorian Pritz1-2/+4
- faster than geshi - easier to modify the css because there is only one - geshi upstream seems pretty dead Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-07-12Improve design of general error pageFlorian Pritz1-7/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-07-07Display total size uploaded by user on history pageFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-10Replace timeout (delete) link with info linkFlorian Pritz1-1/+2
The delete link won't ask for confirmation anymore, so don't use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-05Rework file deletion; allow to delete multiple IDs at onceFlorian Pritz3-60/+65
This removes the old form which was used to delete a single upload and replaces it with checkboxes on the history page. All checked IDs will be removed at once, instead of requiring the user to click through multiple pages. The old file/delete page is kept for compatibility with CLI clients. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-03document ID/info modeFlorian Pritz1-1/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-03add ID/info to display more information about a fileFlorian Pritz1-1/+5
The table is shared with the old delete_form, but it doesn't display the delete button in info mode. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-01use function to generate links to css filesFlorian Pritz3-4/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-05-01move file link generation from controller to viewFlorian Pritz1-6/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-14v/upload_form: Reword primary goalFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-13Hide delete button if user doesn't own the idFlorian Pritz1-2/+6
It won't work anyway. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-13Add do_paste() and remove ajax from upload_formFlorian Pritz1-10/+7
If the session has timed out, javascript will get the login page and try to redirect to "base_url/$htmlcode" which will obviously fail. Instead of fixing the js code, reintroduce do_paste and use it. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-11Display login boxes on upload_formFlorian Pritz2-10/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-11Add filesize to history viewFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09header: hide login box until hoverFlorian Pritz1-5/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-04-09Add invite link to headerFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>