Commit Graph

  • 05be2e7386 [RedisCache] Fix use of undefined variable Miguel Dantas 2019-08-14 14:53:57 +01:00
  • e2e8885ce3 [PLUGINS] Removed direct call of EndCache events on all plugins, as it is now handled by the library Miguel Dantas 2019-08-13 03:02:05 +01:00
  • b214d8b6ee [CACHING] Imported Chimo's RedisCache plugin and fixed some small parts Miguel Dantas 2019-08-13 02:52:35 +01:00
  • ba98bb9334 [CORE] Fixed small anti-pattern on cache code. Plugins had to throw EndCache events, when this should be done by the library Miguel Dantas 2019-08-13 01:32:54 +01:00
  • 630a578e1d [COMPOSER] Added predis/predis and updated packages Miguel Dantas 2019-08-13 01:31:05 +01:00
  • 0bb35d7e7f [LinkPreview] Fix 'no candidate for action "embedproxy"' Miguel Dantas 2019-08-14 14:25:04 +01:00
  • 357296baeb [CORE] Fix subscription-related functions from the Profile class tenma 2019-08-12 04:53:43 +01:00
  • bff525d26f [DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section Miguel Dantas 2019-08-12 23:16:08 +01:00
  • e4bdb21a54 [NodeInfo] New endpoint and formula for computing active users Seriously improved documentation Now NodeInfo 2.0 is available at /api/nodeinfo/2.0.json For active users we now also consider favourites and recently created accounts Some further minor bug fixes and full review of the implementation Diogo Cordeiro 2019-08-12 04:45:25 +01:00
  • c0ac7f0ac8 [DOCUMENTATION] Late update of CHANGELOG and TODO list Diogo Cordeiro 2019-08-11 14:53:31 +01:00
  • eba2fe1624 [DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options Diogo Cordeiro 2019-08-10 22:52:00 +01:00
  • 0030fe3aeb [REFACTOR] Added explicit return type to all instances of QueueHandler::handle Miguel Dantas 2019-08-09 00:15:38 +01:00
  • aaabf82eff [CORE][QUEUE] Error checking and type declaration on handling notice queue events Miguel Dantas 2019-08-07 22:47:17 +01:00
  • de91d28f6f [PEAR][DB] Import some new commits Patch submitted by XRevan86 Diogo Cordeiro 2019-08-06 02:52:47 +01:00
  • 24d5d200b8 [EXTLIB][VALIDATE] Fix some types Diogo Cordeiro 2019-08-07 01:31:09 +01:00
  • 573ba2ee43 [DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache config files Miguel Dantas 2019-08-04 20:14:45 +01:00
  • b4fced4bd7 [DOCUMENTATION] Add versioning information Some other minor improvements and a bug fix in the boilerplate Diogo Cordeiro 2019-08-07 01:23:29 +01:00
  • 52310a8ad8 [Embed] Fixed error related to oembed action Miguel Dantas 2019-08-07 23:12:03 +01:00
  • 11d203c54a [DOCUMENTATION] Fix nginx location rule's regex for install and index Diogo Cordeiro 2019-08-06 01:43:42 +01:00
  • 723f12923c Merge branch 'master' of biodantas/gnu-social into master biodantas 2019-08-03 20:04:14 +00:00
  • 8b106dbc6c [MEDIA] Fixed wrong image cropping Miguel Dantas 2019-08-03 21:02:21 +01:00
  • 955d5a136f [MEDIA] Replaced internal image handling with intervention/image, which is capable of using both GD and ImageMagik Miguel Dantas 2019-07-24 08:51:45 +01:00
  • 2db3825940 [CORE][COMPOSER] Added intervention/image Miguel Dantas 2019-07-24 07:31:42 +01:00
  • db3253e5d2 [CORE] Bump PHP requirement to PHP7.3+ Diogo Cordeiro 2019-07-25 01:29:20 +01:00
  • dbde8383c9 [Embed] Fixed use of undefined variable in fixup_files script Miguel Dantas 2019-07-23 11:08:48 +01:00
  • 6d552f15b6 [Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php Miguel Dantas 2019-07-23 11:07:47 +01:00
  • ba15724a62 [FORMAT][Embed] Ran php-cs-fixer on Embed's files and small style fixes Miguel Dantas 2019-07-15 22:08:19 +01:00
  • 938d286fb6 [DOCUMENTATION] Add a CHANGELOG that includes a TODO list to reach alpha in v2 Diogo Cordeiro 2019-07-19 09:55:39 +01:00
  • 2e6c7b1bb8 [SCRIPTS] Make them work in v2 by setting PUBLICDIR Diogo Cordeiro 2019-07-15 04:10:29 +01:00
  • 5be705ca2a [Embed] Updated fixup_files.php script to be able to fix broken oEmbedinfo using the --broken-oembed flag Miguel Dantas 2019-07-14 00:05:01 +01:00
  • 07b4cfaeae [Embed] Hide error from the UI and just don't display an image if the remote image is not valid Miguel Dantas 2019-07-13 02:56:47 +01:00
  • c9379b3608 [Embed] Fix bug where we we're losing track of a file, in case the image needed to be reencoded Miguel Dantas 2019-07-15 00:03:56 +01:00
  • 22c8c96249 [Embed] Fixed Embed tests Miguel Dantas 2019-07-12 22:55:01 +01:00
  • d66828c2bf [Embed] Fixed bug where sometimes images were written outside the site root Miguel Dantas 2019-07-14 23:56:31 +01:00
  • a244f3ba4d [Embed] Removed old oEmbed and OpenGraph implementation Miguel Dantas 2019-07-12 03:13:40 +01:00
  • 0c20d35206 [Embed] Refactoring and bug fixing Miguel Dantas 2019-07-14 23:35:11 +01:00
  • 462ea26303 [Embed] Using oscarotero/Embed as first attempt to get oEmbed/OpenGraph data, fallback to previous implementation otherwise. Miguel Dantas 2019-07-07 13:26:10 +01:00
  • b25632ebc4 [PLUGINS] Fixed oEmbed dependents to use Embed Miguel Dantas 2019-07-06 17:26:15 +01:00
  • 2a2b3f72fb [Embed][DB] Renaming the 'file_oembed' table to 'file_embed' on upgrade Miguel Dantas 2019-07-06 16:52:30 +01:00
  • 52819d39d9 [OEmbed][Embed] Renamed OEmbed plugin to Embed Miguel Dantas 2019-07-06 04:31:02 +01:00
  • 1d41ff16d6 [COMPOSER] Added embed/embed Miguel Dantas 2019-07-15 01:41:55 +01:00
  • 36dd245ee3 [DOCUMENTATION] New socialfy solution Diogo Cordeiro 2019-07-15 01:29:39 +01:00
  • e0bc35b975 [CORE] Avatars are in PUBLICDIR in v2 Fixed a bug in the Installer Diogo Cordeiro 2019-07-14 21:02:38 +01:00
  • 893bafa14b [INSTALL] Minor reformatting and modernization. Shouldn't change functionality significatively. Diogo Cordeiro 2019-07-15 01:40:31 +01:00
  • 7d262ad50b [CORE] Fixed some small issues with PEAR Diogo Cordeiro 2019-07-15 01:40:09 +01:00
  • d9e7862cea [CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0 Diogo Cordeiro 2019-07-12 18:51:27 +01:00
  • 9f30c299ee [CORE] Make tests great gain Diogo Cordeiro 2019-07-12 16:31:14 +01:00
  • 39845444cc [DOCUMENTATION] Update description of extlib and vendor directories Diogo Cordeiro 2019-07-10 19:36:30 +01:00
  • ec32db2dd6 [CORE][COMPOSER] Add hoa/consistency Renamed curry to callable_left_curry Diogo Cordeiro 2019-06-25 10:35:31 +01:00
  • 411e8ed79d [CORE] Downgrade phpseclib to a working state Diogo Cordeiro 2019-06-24 17:45:19 +01:00
  • c1c2a9f1a1 [DEVTOOL] Add a robust and modern REPL Daniel Supernault 2019-06-23 17:59:20 +01:00
  • 2850e56f30 [CORE] Add custom favicon configuration support Adds support for custom favicons defined in config.php that override theme favicons. Daniel Supernault 2019-06-22 22:04:49 +01:00
  • 9c0354bbf1 [CORE] Remove function_exists() calls and add up default bcrypt cost to 12. Daniel Supernault 2018-03-18 21:21:03 -06:00
  • c09f1c2443 [CORE] Add Argon2I support Add Argon2I support, disabled by default. Daniel Supernault 2018-03-11 20:39:47 -06:00
  • 912f2c3567 [CORE] Update AuthCryptPlugin Added password_hash() (bcrypt) support with fallback to crypt() for older PHP versions. Daniel Supernault 2018-03-11 19:28:24 -06:00
  • ad51998d67 [CORE] Add timing safe backwards compatible password_verify Daniel Supernault 2018-03-11 18:55:59 -06:00
  • 1049080df5 [CORE] Move public resources to a /public directory Advantages: * Increases security by preventing direct access to file/ * We are careful and have a defined('GNUSOCIAL') || die() to prevent direct access to GS files, but we may miss one or a vendor/extlib may not be as careful * Improves directory structure - It's more natural to physically separate what is public from what are GNU social resources Diogo Cordeiro 2018-07-20 23:00:18 -06:00
  • 966b00617e [CORE] Remove PEAR Command as it is not used Diogo Cordeiro 2019-06-23 18:19:31 +01:00
  • b408208e4c [FORMAT] Run php-cs-fixer in php-gettext Diogo Cordeiro 2019-06-23 17:36:15 +01:00
  • a1edc2c6a9 [CORE][COMPOSER] Move plugins extlibs to composer (where appropriate) Diogo Cordeiro 2019-06-22 22:23:21 +01:00
  • 2a06261f75 [CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies This adds a composer.json for all dependencies that are available Diogo Cordeiro 2018-03-11 21:23:55 -06:00
  • 0b58465fb9 [CORE] Fix notice delete-form brunoccast 2019-07-30 02:18:52 +01:00
  • f67a93eddc [CORE] Bump Database requirement to MariaDB 10.3+ Diogo Cordeiro 2019-07-25 00:43:25 +01:00
  • 7044f0e2cf [Media] Fix undefined variable box in imagefile.php Diogo Cordeiro 2019-07-23 22:23:54 +01:00
  • ed7a88ce66 [StoreRemoteMedia] Added documentation for feature which limits the maximum filesize which is kept locally Miguel Dantas 2019-07-23 11:48:41 +01:00
  • e392160435 [ROUTES] Fixed attachment routes, broken by channges in fa378462f4 Miguel Dantas 2019-07-23 11:47:36 +01:00
  • 5c0a3102ff [ROUTES] Allow accept-header specification during router creation brunoccast 2019-07-11 19:14:03 +01:00
  • 2032c7c1f7 [ROUTES] PSR2-format brunoccast 2019-07-11 01:35:54 +01:00
  • d295d8b43c [CORE] Added documentation and fixed typo in attachments action Miguel Dantas 2019-07-15 03:20:55 +01:00
  • ee8bac9ad7 [CORE] Fix bug where we we're losing track of a file, in case the image needed to be reencoded Miguel Dantas 2019-07-15 00:03:32 +01:00
  • 4863bd30d7 [CORE] Fixed Media tests Miguel Dantas 2019-07-12 22:22:51 +01:00
  • 7070a14480 [CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root Miguel Dantas 2019-07-11 23:49:16 +01:00
  • a38f25f7cd [PEAR] Modernize Validate code Upgraded IDNA to IDNA2 Added PEAR Date > fixed: The each function is deprecated Diogo Cordeiro 2019-07-07 23:34:41 +01:00
  • a5259073df [CORE] Fix X-Sendfile for nginx, using the X-Accel-Redirect header Miguel Dantas 2019-07-02 22:35:05 +01:00
  • 3e5ce46e98 [CORE] Fixed bug where the http connection was using the wrong size for thumbnails, and returning the wrong one Miguel Dantas 2019-06-30 15:24:11 +01:00
  • f746866b65 [StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes Miguel Dantas 2019-06-30 13:36:33 +01:00
  • 8f31a1a820 [MEDIA][OEMBED] Fixed regression in OEmbed, because it relied on accessing the files directly, which previous commits broke. The File table really should have a bool... Miguel Dantas 2019-06-29 20:10:20 +01:00
  • 4187568522 [OEMBED][UI] Skip adding an image thumbnail for oembed results if we don't have a file locally to generate it, which can happen, for instance, if StoreRemoteMedia is disabled Miguel Dantas 2019-06-28 01:44:51 +01:00
  • da82048d77 [MEDIA] Fix trying to display file wich is not available locally Miguel Dantas 2019-06-28 00:18:27 +01:00
  • 04d1caff78 [CORE] Fixed bug where all thumbnails were using the original file Miguel Dantas 2019-06-27 02:20:39 +01:00
  • bea06da531 [INSTALL] Fixed issue in installing where default.php needs util.php but it's not loaded Miguel Dantas 2019-06-26 22:38:55 +01:00
  • 7643f3cf7b [CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which additionally uses a file hash as oposed to a filename. Miguel Dantas 2019-06-26 03:39:39 +01:00
  • aa5c6bbf08 [CORE][UI] Made attachment actions and its subactions be able to identify attachments by id and by filehash. Changed the url stored in the DB to be attachment//view Miguel Dantas 2019-06-26 03:27:51 +01:00
  • 9536f2a909 [CORE] Refactored attachement actions to remove duplicate code Miguel Dantas 2019-06-26 03:25:59 +01:00
  • c7475d78b4 [CORE][UI][ROUTER] Added view action, which inlines images and videos but downloads everything else. Fixed File url to get an URL fromthe view action, so when a making a remote notice, the correct URL is used, not accessing directly to the file Miguel Dantas 2019-06-26 01:54:55 +01:00
  • 3c9a07677e [CORE] Attachments and thumbnails aren't accessed directly by the file under the file storage folder, but indirectly from PHP, so that access to the file folder can be blocked in the server config Miguel Dantas 2019-06-25 23:20:17 +01:00
  • b669f57068 [CORE] Fixed common_get_preferred_php_upload_limit, because some values in php.ini can be -1 or 0 for unlimited Miguel Dantas 2019-06-18 20:57:30 +01:00
  • ccebe536b3 [MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation Miguel Dantas 2019-06-16 00:33:12 +01:00
  • b9a0733062 [MEDIA][CORE] Add common function for converting a string with a size unit to an int and MediaFile uses file_quota Miguel Dantas 2019-06-15 15:21:05 +01:00
  • 5961b45140 [MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway Miguel Dantas 2019-06-16 00:41:54 +01:00
  • 5f53738376 [MEDIA][UI] Added preview support for BMP, WEBP and ICO, displaying the name underneath, centered Miguel Dantas 2019-06-15 15:16:28 +01:00
  • 5eb4a7d711 [MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names Miguel Dantas 2019-06-11 02:42:33 +01:00
  • f717081893 [OEmbed] Revert filename change introduced with 96ce758c Diogo Cordeiro 2019-06-13 08:18:10 +01:00
  • 01b5118c6f [Oembed] Refactoring and some improvements (namely documentation) Imported some changes from postActiv Diogo Cordeiro 2018-07-18 05:31:24 +01:00
  • d705bcbd98 [CORE] Use random_bytes() if available and improve common_confirmation_code() randomness. With PHP 7 comes the [random_bytes()](https://php.net/manual/en/function.random-bytes.php) and the [random_int()](https://www.php.net/manual/en/function.random-int.php) function which generates cryptographically secure pseudo-random bytes and integers, respectively. v1.20.9release Diogo Cordeiro 2019-06-22 18:57:43 +01:00
  • f0f5ecb756 [SCRIPTS] Fix sessiongc by XRevan86 Diogo Cordeiro 2019-07-26 18:25:47 +01:00
  • c0342b1482 [DOCUMENTATION] Allow install.php to be ran with sample nginx conf Diogo Cordeiro 2019-07-26 18:29:41 +01:00
  • d1fc7c0774 [CORE] MySQL 5.5 support fully restored Diogo Cordeiro 2019-07-25 15:35:24 +01:00
  • 46be9b76ef [CORE] Fix wrong Profile_list schema and set created in user_im_prefs properly - by XRevan86 This reverts 496ab8c9, which was a bad correction of user_im_prefs values Diogo Cordeiro 2019-07-24 22:28:03 +01:00
  • 6c8d2e159e [DOCUMENTATION] Plugin events should be declared in the plugin's directory not in the core Diogo Cordeiro 2019-07-15 03:25:16 +01:00