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
..
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-10-11 18:29:47 +03:00
2020-09-15 16:59:27 +03:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2016-02-08 17:48:37 +00:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-10-11 18:29:47 +03:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2016-02-08 17:48:37 +00:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00
2020-08-04 05:31:44 +01:00

Several example plugins are included in the plugins/ directory. You can enable a plugin with the following line in config.php:

    addPlugin('Example', array('param1' => 'value1',
                               'param2' => 'value2'));

This will look for and load files named 'ExamplePlugin.php' or 'Example/ExamplePlugin.php' either in the plugins/ directory (for plugins that ship with StatusNet) or in the local/ directory (for plugins you write yourself or that you get from somewhere else) or local/plugins/.

Plugins are documented in their own directories.

Additional information on using and developing plugins can be found at the following locations: