summaryrefslogtreecommitdiffstats
path: root/application/views
AgeCommit message (Collapse)AuthorFilesLines
2018-01-31Proper display of expiration duration for less than a dayHrvoje Hodak1-1/+1
2017-10-16Remove link to android app in playstoreFlorian Pritz1-1/+0
Playstore is no longer updated, use fdroid instead. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-26Merge CodeIgniter 3 supportFlorian Pritz14-1/+276
2017-09-22Explain username rules on registration pageFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Remove usage of deprecated is_cli_request()Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz14-1/+276
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-18Unify look of client installation instructionsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-18Add FreeBSD client installation instructionsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-24Allow alternative colors in alert templateFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05Drop plain text header/footerFlorian Pritz4-12/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-05Drop file_plaintext viewsFlorian Pritz11-85/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01upload_history: Drop duplicate buttons from bottomFlorian Pritz1-2/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Fix broken multipaste button on history pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queue button to navigationFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Support creation of multipaste from upload thumbnail historyFlorian Pritz1-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Allow creation of multipastes from upload historyFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-11-01Add multipaste queueFlorian Pritz1-0/+32
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Add missing space on front pageFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-19Update jQuery UI and include sortableFlorian Pritz1-1/+1
Also drop in all the non minified version because we can and it might be useful for debugging in the future. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26Improve wording and code layout on start pageFlorian Pritz1-5/+24
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Move client documentation to fron pageFlorian Pritz3-21/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Increase readability of HTML codeFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Document special filenamesFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Switch client git repo link to HTTPSFlorian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Drop links to outdated clientsFlorian Pritz1-7/+0
These all build fb-client <2.0 and therefore use the deprecated API. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-25Remove documentation for deprecated APIFlorian Pritz2-37/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-23Only show account deletion link if supportedFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Display deprecation warning for files uploaded via plain text APIFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-21Allow users to delete their accountsFlorian Pritz3-0/+41
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-20Test \libraries\Output_cacheFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-21history: Disable lazy loading for the first 42 thumbnailsFlorian Pritz1-4/+14
This speeds up the initial rendering of the page. For a long history (> ~1000 items) the lazyloading JS creates a noticeable delay (>500ms) depending on the cpu power of the machine. Disable lazy loading for the first items so that these are loaded normally by the browser parallel to the scripts execution. 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 Pritz2-0/+10
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-10Make delete button fixed on upload history pageFlorian Pritz3-9/+18
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 Pritz5-5/+5
This reverts commit f0d3b633f04c9afa2237b1dad83ad8240da68b38. That commit causes breakage on the history page due to missing padding.
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 Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-07-04Fix display issues with new bootstrapFlorian Pritz5-5/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-06-05Fix redirect on login after registering new accountFlorian Pritz1-1/+1
Previously the login box in the navigation would redirect to the current page, but this page will throw an error in the case of the registration page since that's the page with the invition key and that key is no longer valid. Fix this by redirecting to the $redirect_uri and ensure that this value is set for all requests. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-02-19view/user/profile: Fix typoFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-11-02view/client: Hardcode URLsFlorian Pritz2-4/+4
Clients are only hosted on paste.xinu.at and everywhere else the links will point to missing files so they become useless. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-09-30Bring a/views/file_plaintext in line with a/v/fileFlorian Pritz8-4/+30
- Add missing files - Fix paths missing FCPATH - Remove left over header/footer Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Fix redirect URI when using multiple tabsFlorian Pritz2-2/+2
If we store only the last called URI in the session we can't support multiple browser tabs that all need to log in again. Fix this by storing the URI in the URL. Also change a trim() to ltrim() so that the URI string we store keeps it's trailing slash. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-09Increase performance of thumbnail viewFlorian Pritz1-1/+17
site_url is rather slow and the improvement is noticeable when there are lots of thumbnails (thumbnail history). Also make the code more readable in the process by inserting some linebreaks. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-04Add audio and video players to multipastesFlorian Pritz2-0/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-02Add PLS playlist support for multipastesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>