gnu-social/lib/util
Diogo Peralta Cordeiro 6028175bfc [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-02-21 16:03:46 +00:00
..
arraywrapper.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
callableleftcurry.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
command.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
commandinterpreter.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
common.php Remove "magic quotes" code and avoid wrong order implode 2020-09-15 14:59:27 +03:00
daemon.php Various fixes 2020-10-11 18:29:47 +03:00
default.php [DATABASE] Switch from PEAR DB to MDB2 2020-09-14 22:46:29 +03:00
deletetree.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
docfile.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
event.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
form.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
formaction.php Avoid use of assignments bare inside statements 2020-09-08 12:42:51 +03:00
framework.php [DATABASE] Switch from PEAR DB to MDB2 2020-09-14 22:46:29 +03:00
gnusocial.php Set the character set before making a connection 2020-09-16 19:34:49 +03:00
htmloutputter.php [XML] Inscrease types strictness 2020-06-21 00:34:54 +01:00
httpclient.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
infoaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
installer.php Set the character set before making a connection 2020-09-16 19:34:49 +03:00
internalsessionhandler.php [DATABASE] Only use single quotation marks for SQL strings 2019-09-11 09:46:30 +03:00
iomanager.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
iomaster.php [CORE] Use monotonic time via hrtime() where applicable 2020-01-07 19:48:13 +03:00
language.php [i18n] Re-add gettext emulation 2021-02-21 15:38:49 +00:00
location.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
mail.php [DATABASE] Check SQL boolean values with "IS TRUE" 2020-07-21 18:06:39 +03:00
mailhandler.php Implement a class for automatic temporary file handling 2020-09-04 13:15:23 +03:00
managedaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
oauthclient.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
parallelizingdaemon.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
ping.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
processmanager.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
redirectingaction.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
right.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
router.php [Media] Fix issues with database file storage 2021-02-21 16:03:46 +00:00
spawningdaemon.php [DAEMONS] Move resetDb to the Daemon class 2019-09-13 22:08:42 +03:00
taguri.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
tempfile.php Implement a class for automatic temporary file handling 2020-09-04 13:15:23 +03:00
themeuploader.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
urlmapper.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
util.php Set the character set before making a connection 2020-09-16 19:34:49 +03:00
uuid.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
webcolor.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00
xmloutputter.php [XML] Inscrease types strictness 2020-06-21 00:34:54 +01:00
xmlstringer.php [XML] Inscrease types strictness 2020-06-21 00:34:54 +01:00