summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-02Merge branch 'allow-tex-flow-through' into 'master'HEADmasterLuke Bratch
Add break to prevent "tex" types flowing through to "text" types See merge request l_bratch/blaupload!5
2019-04-02Re-add tex icon and add break to fix bug where we incorrectly flow through ↵Phil Burton
to 'text' type
2019-04-02Remove needless code and allow file's with .tex extensions to flow through ↵Phil Burton
to text, which is the same as what currently happens
2019-04-02Merge branch 'same-date-fix' into 'master'Luke Bratch
Stop using modified date as a key in array by using an assoc array to fix files with the same modified date not showing up. See merge request l_bratch/blaupload!3
2019-04-02Sort default by descendingPhil Burton
2019-04-02Switch to use date as default sortPhil Burton
2019-04-02Add default sort backPhil Burton
2019-04-02Stop using modified date as a key in array by using an assoc array. Here we ↵Fbenas
have add sizes as an item, and move the date key in too. We then ditch new array, sizes array and ordered array for a single collection that we mainpulate with usort. The listing array is then built off this
2017-08-16URL encode the URL with rawurlencode() when using itLuke Bratch
2015-12-12Merge remote-tracking branch 'remotes/origin/feature/sprites'Luke Bratch
2015-12-12Removed incorrectly added filesPhil Burton
2015-12-12Merge branch 'blaears_post' into 'master' Luke Bratch
Send a POST to blaears when a file is uploaded Blaears now listens on /blaupload for POSTs containing 'url' and 'channel', and will post those URLs to that channel. I've added a config value $posturl for the URL to post to - if this is not set then nothing will be done. If it is set, then it will send a POST containing the uploaded file URL and the channel set in $postchannel in the config. I'm not sure on best practice for global variables in PHP. I passed them in as function arguments, but we could also use 'global $posturl, $postchannel' instead. See merge request !2
2015-12-12Add config example to the list of ignored filesPhil Burton
2015-12-12Update example config for git, css and iconsPhil Burton
2015-12-12Fix missing / in cssPhil Burton
2015-12-12Remove local debug sprite url and replace with relative path to spriteFbenas
2015-12-12Make example config for notifications more genericJoe Robinson
2015-12-11Add newline to end of headerJoe Robinson
2015-12-11Add .gitignore so we don't commit live configJoe Robinson
2015-12-11Fix upload function by passing config valuesJoe Robinson
2015-12-11Give the POST config variables shorter namesJoe Robinson
2015-12-11Fix syntax errorsJoe Robinson
2015-12-11Add option to send notification to a URL when a file is uploadedJoe Robinson
2015-12-11Add a sprite for less requestsPhil Burton
2015-11-22Various code cleanupsLuke Bratch
2015-11-22Respect HTTPS or not on the upload outcome page tooLuke Bratch
2015-11-22Make redirects and hyperlinks respect whether or not HTTPS is being usedLuke Bratch
2015-11-22Allow for a configurable logon page titleLuke Bratch
2014-11-24Implement sorting by sizeLuke Bratch
2014-09-21Pass GET requests through the logon process if initially signed outLuke Bratch
2014-09-21Add a sign out functionLuke Bratch
2014-09-21Provide example upload form and submission filesLuke Bratch
2014-09-21Set some default index ignore filenames in example configurationLuke Bratch
2014-09-21Move missing configuration option to example configurationLuke Bratch
2014-09-21Change formatting in example configurationLuke Bratch
2014-08-05Moved configurable options to config fileJoe Robinson
2014-08-05Set cookie to use current domain, made URL configurableJoe Robinson
2014-08-05Merge branch 'master' of blatech.co.uk:l_bratch/blauploadJoe Robinson
2014-08-05Implemented sort by nameJoe Robinson
2014-08-05Use the correct server hostname and portLuke Bratch
2014-08-05Ensure that URLs are correctly encodedLuke Bratch
2014-08-05Remove unnecessary duplicated if-blockLuke Bratch
2014-07-25Add support for only showing the most recent X filesLuke Bratch
2014-07-25Add support for a custom header file in HTML outputLuke Bratch
2014-07-25Add support for omitting certain filenames from the listingLuke Bratch
2014-07-25Add support for a passwordless indexLuke Bratch
2014-07-25Set the correct content type for JSON outputLuke Bratch
2014-07-25Add plain text and lightweight formatsLuke Bratch
2014-07-25Remove unnecessary newlines in rendered outputLuke Bratch
2014-07-25Add support for date ranges, YYYY-MM-DD or YYYY-MM-DD-hhmm or a UnixLuke Bratch
timestamp