Age | Commit message (Collapse) | Author |
|
Add break to prevent "tex" types flowing through to "text" types
See merge request l_bratch/blaupload!5
|
|
to 'text' type
|
|
to text, which is the same as what currently happens
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timestamp
|