summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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 left over debug statementFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-16Make NEWS more readableFlorian Pritz1-3/+6
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-16NEWS: Mention that CI3 requires base_url to be setFlorian Pritz1-0/+2
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-16wipFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09WIP: CI3 migrationFlorian Pritz18-13/+72
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-09-09Merge tag '3.1.5' into dev-ci3Florian Pritz257-25784/+42894
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-30Update composer dependenciesFlorian Pritz2-52/+92
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-04Update NEWS2.1.3Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Update version to 2.1.1Florian Pritz2-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-04API: Fix return type of empty values in file/deleteFlorian Pritz4-2/+26
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 Pritz6-5/+28
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-06-19[ci skip] 3.1.5 releaseAndrey Andreev501-43256/+127301
2017-06-19[ci skip] Prepare 3.1.5 releaseAndrey Andreev5-7/+7
2017-06-19[ci skip] Fix a bug in FV valid_email()Andrey Andreev3-3/+7
2017-06-17Update NEWS2.1.2Florian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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-06-15[ci skip] Add changelog entry for #5155Andrey Andreev1-0/+1
2017-06-15Merge pull request #5155 from tianhe1986/develop_count_ignore_limitAndrey Andreev2-1/+11
Fix CI_DB_query_builder::count_all_results() returning wrong count with LIMIT/OFFSET
2017-06-15[ci skip] Merge pull request #5154 from angelxaces/patch-1Andrey Andreev1-1/+1
Grammatical fix in ancillary_classes.rst doc
2017-06-13[ci skip] Apply PR #5150 patch to pdo/oci and add changelog entryAndrey Andreev2-1/+2
2017-06-13[ci skip] Merge pull request #5150 from ↵Andrey Andreev1-1/+1
ytetsuro/add-oracle-rename-column-to-keyword Fix DBForge triggering ORA-00946 while renaming columns