summaryrefslogtreecommitdiffstats
path: root/application
AgeCommit message (Collapse)AuthorFilesLines
2015-07-18Fix double path in exception handlerFlorian Pritz1-1/+1
APPPATH is an absolute path already so prepending FCPATH will make an invalid path. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-10Make javascript baseUrl honor subdirsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Keep email reset keys after useFlorian Pritz1-2/+0
The user might click the wrong link or might change their mind and it is really not necessary to clean them up early. Let the cron job take care of that. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Allow users to change their emailFlorian Pritz4-3/+135
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-05Move public files to ./public_htmlFlorian Pritz4-6/+6
./data/local is not moved because it contains likely untracked files and moving it would throw an error when updating. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-04Refactor exception handling into dedicated classFlorian Pritz3-2/+156
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-06-01Allow stderr for pygmentsFlorian Pritz1-1/+0
This happens when an invalid lexer is used so until we use the exceptions this should not be forbidden since we won't fall back to plain text then. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-31test: Add more \libraries\Image testsFlorian Pritz1-0/+30
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28JS: Use newest file time for cache buster0.9.2Florian Pritz1-2/+20
Really no need to reload the files with each page load. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28imagemagick: Use nested exceptionFlorian Pritz2-3/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28Improve running of external commandsFlorian Pritz4-27/+156
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-28Execute scripts directlyFlorian Pritz2-2/+2
No need to specify the interpreter twice. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-22Fix incorrect EXIF orientation on thumbnail history0.9.1Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-22Fix missing db prefix in migration0.9.0Florian Pritz2-12/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-22Forbid cli requests until database is updatedFlorian Pritz1-1/+1
This mainly tries to prevent problems when file cron is run with an old database. Tools is whitelisted for the future, if there are cron jobs in tools they will need to check the migrations themselves. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-22Remove unneeded duplicates in file_storageFlorian Pritz3-1/+80
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21migration 14: Fix error if file was already renamedFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Die early on db errorsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21Calc correct total size for history with duplicate hashesFlorian Pritz2-1/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21\c\file::clean_stale_files: Increase robustnessFlorian Pritz1-3/+7
Delete files not matching our pattern and be forgiving if directories are cleaned up by mfile->delete_data_id. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21Clarify variable usage in \c\tools->testFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Rework database handlingFlorian Pritz2-2/+9
We no longer interfere with the normal installation's database settings. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21tests: Make prove --state work; Restructure testsFlorian Pritz7-13/+16
This moves all tests into a subdirectory and lets prove itself figure out which tests exist. It seems if you supply the testlist via arguments or stdin --state won't affect the order. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21test: different files with same checksumFlorian Pritz2-8/+33
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-21Support multiple files with the same hashFlorian Pritz8-131/+231
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Set cache buster for js with urlArgs settingJoakim Reinert2-5/+5
No more need for timestamp in filename of minified main js
2015-05-05Add support for minified main.jsJoakim Reinert2-2/+15
2015-05-05Set max upload size and file count in upload_form view onlyJoakim Reinert2-6/+3
2015-05-05Fix non-closing script tag in file/html_headerJoakim Reinert1-1/+1
2015-05-05Refactor file uploader jsJoakim Reinert1-1/+4
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert2-6/+6
Initialize it in header
2015-05-05Refactor thumbnail view jsJoakim Reinert1-1/+1
2015-05-05Refactor linewrap toggleJoakim Reinert1-1/+1
2015-05-05Refactor lexer input setupJoakim Reinert2-3/+5
2015-05-05Use require.js for javascript loadingJoakim Reinert6-34/+4
2015-05-05Add functionality for choosing tab width in frontendJoakim Reinert1-0/+8
2015-05-03Expose /file/thumbnail/ on front pageFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-03c/tools: Make non-cli request error publicFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-03test \libraries\Image::type_supportedFlorian Pritz1-0/+38
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02Get supported image types from driversFlorian Pritz2-2/+20
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02l\Image: Refactor best_driver/readFlorian Pritz1-12/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-02l\I\D\imagemagick: Only process images and pdfsFlorian Pritz1-1/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-27\l\Image->best_driver: Always ignore < 0 priorityFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25test: test_callPrivateEndpointsWithoutApikey add user/delete_apikeyFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25test: Call more endpoints without enough permissionsFlorian Pritz1-15/+28
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-25API 1.3.0: Allow multipaste creation for basic accessFlorian Pritz4-7/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18s/files:get_multipaste_history: Remove multipastes without itemsFlorian Pritz1-0/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-18Added config option max_invitation_keysAlexander Finkhäuser2-1/+4
2015-04-11Fix missing lexers in get_lexersFlorian Pritz1-2/+2
Broken by a11e06d4906c2e1186779b42d5e87a17f66c50ea which changed names back to a normal array. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-04-09Fix mime2lexer failing when using pygments infoFlorian Pritz2-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>