gnu-social/lib/util
Diogo Peralta Cordeiro 8bbbb890e3 [Media] Fix issues with database file storage
Fixed file quota as well.

There can be more than one file for the same filehash IF the url are different.

Possible states:
  - A file with no url and with filename is a local file.
  - A file with an url but no filename is a remote file that wasn't fetched,
    not even the thumbnail.
  - A file with an url and filename is a fetched remote file (maybe just a
    thumbnail of it).
  - A file with no filename nor url is a redirect.

Routes:
  Given these states, updated routes so that an attachment can only be
  retrieved by id and a file by filehash.

Major API changes:
  File::getByHash now returns a yield of files

Major UI changes:
  - Now remote non stored files are presented.
  - /view became preferred
  - Redirects to remote originals are preferred.

Many other minor bug fixes...
2021-07-16 19:44:42 +01:00
..
arraywrapper.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
callableleftcurry.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
command.php [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
commandinterpreter.php [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
common.php Remove "magic quotes" code and avoid wrong order implode 2021-07-16 19:44:41 +01:00
daemon.php Various fixes 2021-07-16 19:44:41 +01:00
default.php [DATABASE] Switch from PEAR DB to MDB2 2021-07-16 19:44:41 +01:00
deletetree.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
docfile.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
event.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
form.php [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
formaction.php Avoid use of assignments bare inside statements 2021-07-16 19:44:41 +01:00
framework.php [DATABASE] Switch from PEAR DB to MDB2 2021-07-16 19:44:41 +01:00
gnusocial.php Set the character set before making a connection 2021-07-16 19:44:41 +01:00
htmloutputter.php [XML] Inscrease types strictness 2021-07-16 19:44:37 +01:00
httpclient.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
infoaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
installer.php Set the character set before making a connection 2021-07-16 19:44:41 +01:00
internalsessionhandler.php [DATABASE] Only use single quotation marks for SQL strings 2021-07-16 19:44:35 +01:00
iomanager.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
iomaster.php [CORE] Use monotonic time via hrtime() where applicable 2021-07-16 19:44:36 +01:00
language.php [i18n] Re-add gettext emulation 2021-07-16 19:44:42 +01:00
location.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
mail.php [DATABASE] Check SQL boolean values with "IS TRUE" 2021-07-16 19:44:37 +01:00
mailhandler.php Implement a class for automatic temporary file handling 2021-07-16 19:44:41 +01:00
managedaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
oauthclient.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
parallelizingdaemon.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
ping.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
processmanager.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
redirectingaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
right.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
router.php [Media] Fix issues with database file storage 2021-07-16 19:44:42 +01:00
spawningdaemon.php [DAEMONS] Move resetDb to the Daemon class 2021-07-16 19:44:35 +01:00
taguri.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
tempfile.php Implement a class for automatic temporary file handling 2021-07-16 19:44:41 +01:00
themeuploader.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
urlmapper.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
util.php Set the character set before making a connection 2021-07-16 19:44:41 +01:00
uuid.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
webcolor.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
xmloutputter.php [XML] Inscrease types strictness 2021-07-16 19:44:37 +01:00
xmlstringer.php [XML] Inscrease types strictness 2021-07-16 19:44:37 +01:00