summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2017-10-09[ci skip] Merge pull request #5292 from ajdunn2/developAndrey Andreev1-1/+1
Small spelling fix
2017-10-02[ci skip] Merge pull request #5281 from pawelkg/developAndrey Andreev1-2/+2
Adding some letters translated to Y in foregin_chars.php
2017-09-26Fix incorrect table name in migration 20 for postgresFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-26Merge CodeIgniter 3 supportFlorian Pritz70-627/+1334
2017-09-26Put base_url in example config fileFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-26Migration 20: Fix id column sizeFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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 Pritz4-6/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Remove usage of deprecated valid_email functionFlorian Pritz1-2/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix return checks for CI3Florian Pritz3-5/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix additional routes for CI3Florian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Close session in long running methodsFlorian Pritz1-0/+2
These do not write to the session but may run for some time. There is no need to keep the session locked while they perform their work. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix detection of URL ending in slashFlorian Pritz1-1/+1
CI trims tailing slashes from the URL and this should work just fine too. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Fix mutlipaste_queue test using incorrect data in mockFlorian Pritz1-2/+2
The error return changed with CI3 so the test also needs to change Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Test: Replace unprintable characters when dumping variablesFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-21Tests: Use is instead of ok for improved debug outputFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Automatically set baseurl for testsFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix download driver for CI3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Migrate return code checks for CI3Florian Pritz6-15/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix customautoloader class nameFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Remove secondary controller for CLI usage outputFlorian Pritz3-13/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Fix some routesFlorian Pritz1-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-18Remove unsupported secondary controllerFlorian Pritz3-31/+35
Having more than one controller per request doesn't work with CI3. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Remove old error templateFlorian Pritz1-11/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Update negativ return check of session userdata for CI3Florian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Update ci_session table for CI3Florian Pritz2-1/+43
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz15-11/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz44-520/+1169
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-08-15tools/update_database: Output status after upgradeFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-11Test inserting bigint values in DBFlorian Pritz1-0/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-11Merge branch 'bugfix/filesizeType' of https://github.com/hashworks/filebin ↵Florian Pritz2-1/+52
into dev
2017-07-11Actually update filesize with update_file_metadatahashworks1-1/+4
According to `application/controllers/tools.php#L32` the `update_file_metadata` tool should update the mimetype AND the filesize, but the latter never got implemented.
2017-07-10Fix chunk update for filesizeshashworks1-1/+2
This includes the where limitation of the update query in the total limit of the chunk for loop.
2017-07-10Update filesizes after changing filesize db typehashworks1-0/+23
This updates all wrong filesizes after db migration 19 (`filesize` type change to `bigint`). It will only update files with a filesize of 2147483647 byte since the database set the max integer value as the filesize if the file was > 2147483647 byte.
2017-07-10Use bigint for filesize in databasehashworks2-1/+28
The current type, integer, only stores numerics up to 2147483647. Since filebin stores the size in byte MySQL will only write up to 2GB in there, PostgreSQL failes by default for files >2GB. The new type bigint allows file sizes up to ~9223 petabyte.
2017-07-04API: Update version to 2.1.1Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Fix return type of empty values in file/deleteFlorian Pritz2-1/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04Create function for ensuring that json keys contain objectsFlorian Pritz2-5/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Fix return type of empty values in file/historyFlorian Pritz4-3/+24
If the array is not casted to a object, json_encode will encode it as [] if empty, but {} if it contains data. Always return an object by casting the array to an object if it is empty. Fixes #15 Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-03[ci skip] Drop application/cache/.htaccess; close #5169Andrey Andreev1-6/+0
2017-06-17Fix broken lineendings when rendering ascii colorsFlorian Pritz1-1/+1
Without -m ansi2html may not close the span tags at the end of the line. Since we wrap the output lines in our own tags those left-open tags break the rendering. Fix it by letting ansi2html wrap lines into tags on it's own. This adds superflous tags in the HTML, but it works nicely. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-22Fix markdown rendering not finding ParsedownFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-15Fix error handling in MY_Input->post_array()Florian Pritz1-1/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-12Catch incorrect POST parameters (array vs string)Florian Pritz4-10/+44
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-12Fix uncaught exception in error pageFlorian Pritz1-1/+1
Can be triggered by accessing an unknown page like /file/foobar 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-04-18Use === for some equality checksFlorian Pritz2-5/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-06Add filename extensions for some SQL dialectsFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-26s/renderer: Extract json reformater methodFlorian Pritz1-16/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>