]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Diogo Cordeiro [Wed, 7 Aug 2019 00:31:09 +0000 (01:31 +0100)]
[EXTLIB][VALIDATE] Fix some types
Miguel Dantas [Sun, 4 Aug 2019 19:14:45 +0000 (20:14 +0100)]
[DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache config files
Diogo Cordeiro [Wed, 7 Aug 2019 00:23:29 +0000 (01:23 +0100)]
[DOCUMENTATION] Add versioning information
Some other minor improvements and a bug fix in the boilerplate
Miguel Dantas [Wed, 7 Aug 2019 22:12:03 +0000 (23:12 +0100)]
[Embed] Fixed error related to oembed action
Diogo Cordeiro [Tue, 6 Aug 2019 00:43:42 +0000 (01:43 +0100)]
[DOCUMENTATION] Fix nginx location rule's regex for install and index
biodantas [Sat, 3 Aug 2019 20:04:14 +0000 (20:04 +0000)]
Merge branch 'master' of biodantas/gnu-social into master
Miguel Dantas [Sat, 3 Aug 2019 20:02:21 +0000 (21:02 +0100)]
[MEDIA] Fixed wrong image cropping
Miguel Dantas [Wed, 24 Jul 2019 07:51:45 +0000 (08:51 +0100)]
[MEDIA] Replaced internal image handling with intervention/image, which is capable of using both GD and ImageMagik
Miguel Dantas [Wed, 24 Jul 2019 06:31:42 +0000 (07:31 +0100)]
[CORE][COMPOSER] Added intervention/image
Diogo Cordeiro [Thu, 25 Jul 2019 00:29:20 +0000 (01:29 +0100)]
[CORE] Bump PHP requirement to PHP7.3+
Miguel Dantas [Tue, 23 Jul 2019 10:08:48 +0000 (11:08 +0100)]
[Embed] Fixed use of undefined variable in fixup_files script
Miguel Dantas [Tue, 23 Jul 2019 10:07:47 +0000 (11:07 +0100)]
[Embed] Resize thumbnails fetched by Embed to avoid keeping original images when we need only 128x128. Size configurable in config.php
Miguel Dantas [Mon, 15 Jul 2019 21:08:19 +0000 (22:08 +0100)]
[FORMAT][Embed] Ran php-cs-fixer on Embed's files and small style fixes
Diogo Cordeiro [Fri, 19 Jul 2019 08:55:39 +0000 (09:55 +0100)]
[DOCUMENTATION] Add a CHANGELOG that includes a TODO list to reach alpha in v2
Diogo Cordeiro [Mon, 15 Jul 2019 03:10:29 +0000 (04:10 +0100)]
[SCRIPTS] Make them work in v2 by setting PUBLICDIR
Miguel Dantas [Sat, 13 Jul 2019 23:05:01 +0000 (00:05 +0100)]
[Embed] Updated fixup_files.php script to be able to fix broken oEmbedinfo using the --broken-oembed flag
Miguel Dantas [Sat, 13 Jul 2019 01:56:47 +0000 (02:56 +0100)]
[Embed] Hide error from the UI and just don't display an image if the remote image is not valid
Miguel Dantas [Sun, 14 Jul 2019 23:03:56 +0000 (00:03 +0100)]
[Embed] Fix bug where we we're losing track of a file, in case the image needed to be reencoded
Miguel Dantas [Fri, 12 Jul 2019 21:55:01 +0000 (22:55 +0100)]
[Embed] Fixed Embed tests
Miguel Dantas [Sun, 14 Jul 2019 22:56:31 +0000 (23:56 +0100)]
[Embed] Fixed bug where sometimes images were written outside the site root
Miguel Dantas [Fri, 12 Jul 2019 02:13:40 +0000 (03:13 +0100)]
[Embed] Removed old oEmbed and OpenGraph implementation
Miguel Dantas [Sun, 14 Jul 2019 22:35:11 +0000 (23:35 +0100)]
[Embed] Refactoring and bug fixing
Miguel Dantas [Sun, 7 Jul 2019 12:26:10 +0000 (13:26 +0100)]
[Embed] Using oscarotero/Embed as first attempt to get oEmbed/OpenGraph data, fallback
to previous implementation otherwise.
Miguel Dantas [Sat, 6 Jul 2019 16:26:15 +0000 (17:26 +0100)]
[PLUGINS] Fixed oEmbed dependents to use Embed
Miguel Dantas [Sat, 6 Jul 2019 15:52:30 +0000 (16:52 +0100)]
[Embed][DB] Renaming the 'file_oembed' table to 'file_embed' on upgrade
Miguel Dantas [Sat, 6 Jul 2019 03:31:02 +0000 (04:31 +0100)]
[OEmbed][Embed] Renamed OEmbed plugin to Embed
Miguel Dantas [Mon, 15 Jul 2019 00:41:55 +0000 (01:41 +0100)]
[COMPOSER] Added embed/embed
Diogo Cordeiro [Mon, 15 Jul 2019 00:29:39 +0000 (01:29 +0100)]
[DOCUMENTATION] New socialfy solution
Diogo Cordeiro [Sun, 14 Jul 2019 20:02:38 +0000 (21:02 +0100)]
[CORE] Avatars are in PUBLICDIR in v2
Fixed a bug in the Installer
Diogo Cordeiro [Mon, 15 Jul 2019 00:40:31 +0000 (01:40 +0100)]
[INSTALL] Minor reformatting and modernization. Shouldn't change functionality significatively.
Diogo Cordeiro [Mon, 15 Jul 2019 00:40:09 +0000 (01:40 +0100)]
[CORE] Fixed some small issues with PEAR
Diogo Cordeiro [Fri, 12 Jul 2019 17:51:27 +0000 (18:51 +0100)]
[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0
Diogo Cordeiro [Fri, 12 Jul 2019 15:31:14 +0000 (16:31 +0100)]
[CORE] Make tests great gain
Diogo Cordeiro [Wed, 10 Jul 2019 18:36:30 +0000 (19:36 +0100)]
[DOCUMENTATION] Update description of extlib and vendor directories
Diogo Cordeiro [Tue, 25 Jun 2019 09:35:31 +0000 (10:35 +0100)]
[CORE][COMPOSER] Add hoa/consistency
Renamed curry to callable_left_curry
Diogo Cordeiro [Mon, 24 Jun 2019 16:45:19 +0000 (17:45 +0100)]
[CORE] Downgrade phpseclib to a working state
Daniel Supernault [Sun, 23 Jun 2019 16:59:20 +0000 (17:59 +0100)]
[DEVTOOL] Add a robust and modern REPL
Daniel Supernault [Sat, 22 Jun 2019 21:04:49 +0000 (22:04 +0100)]
[CORE] Add custom favicon configuration support
Adds support for custom favicons defined in config.php that override theme favicons.
Daniel Supernault [Mon, 19 Mar 2018 03:21:03 +0000 (21:21 -0600)]
[CORE] Remove function_exists() calls and add up default bcrypt cost to 12.
Daniel Supernault [Mon, 12 Mar 2018 02:39:47 +0000 (20:39 -0600)]
[CORE] Add Argon2I support
Add Argon2I support, disabled by default.
Daniel Supernault [Mon, 12 Mar 2018 01:28:24 +0000 (19:28 -0600)]
[CORE] Update AuthCryptPlugin
Added password_hash() (bcrypt) support with fallback to crypt() for older PHP versions.
Daniel Supernault [Mon, 12 Mar 2018 00:55:59 +0000 (18:55 -0600)]
[CORE] Add timing safe backwards compatible password_verify
Diogo Cordeiro [Sat, 21 Jul 2018 05:00:18 +0000 (23:00 -0600)]
[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 [Sun, 23 Jun 2019 17:19:31 +0000 (18:19 +0100)]
[CORE] Remove PEAR Command as it is not used
Diogo Cordeiro [Sun, 23 Jun 2019 16:36:15 +0000 (17:36 +0100)]
[FORMAT] Run php-cs-fixer in php-gettext
Diogo Cordeiro [Sat, 22 Jun 2019 21:23:21 +0000 (22:23 +0100)]
[CORE][COMPOSER] Move plugins extlibs to composer (where appropriate)
Diogo Cordeiro [Mon, 12 Mar 2018 03:23:55 +0000 (21:23 -0600)]
[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
brunoccast [Tue, 30 Jul 2019 01:18:52 +0000 (02:18 +0100)]
[CORE] Fix notice delete-form
DeletenoticeAction:
- Added tombstone check before deletion
NoticeListItem:
- Added tombstone check before showing delete-form
ActivityVerb:
- The plugin was overwriting the deletenotice route. Added stronger
regexp to the connected routes.
Diogo Cordeiro [Wed, 24 Jul 2019 23:43:25 +0000 (00:43 +0100)]
[CORE] Bump Database requirement to MariaDB 10.3+
Diogo Cordeiro [Tue, 23 Jul 2019 21:23:54 +0000 (22:23 +0100)]
[Media] Fix undefined variable box in imagefile.php
Miguel Dantas [Tue, 23 Jul 2019 10:48:41 +0000 (11:48 +0100)]
[StoreRemoteMedia] Added documentation for feature which limits the maximum filesize which is kept locally
Miguel Dantas [Tue, 23 Jul 2019 10:47:36 +0000 (11:47 +0100)]
[ROUTES] Fixed attachment routes, broken by channges in
fa378462f4
brunoccast [Thu, 11 Jul 2019 18:14:03 +0000 (19:14 +0100)]
[ROUTES] Allow accept-header specification during router creation
Router:
- Fix calls to connect, most of them were misusing the function's params
URLMapper:
- Minor fixes
- Documentation
- Add support for accept-header specification
Plugins/*:
- Fix calls to connect
brunoccast [Thu, 11 Jul 2019 00:35:54 +0000 (01:35 +0100)]
[ROUTES] PSR2-format
Miguel Dantas [Mon, 15 Jul 2019 02:20:55 +0000 (03:20 +0100)]
[CORE] Added documentation and fixed typo in attachments action
Miguel Dantas [Sun, 14 Jul 2019 23:03:32 +0000 (00:03 +0100)]
[CORE] Fix bug where we we're losing track of a file, in case the image needed to be reencoded
Miguel Dantas [Fri, 12 Jul 2019 21:22:51 +0000 (22:22 +0100)]
[CORE] Fixed Media tests
Miguel Dantas [Thu, 11 Jul 2019 22:49:16 +0000 (23:49 +0100)]
[CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the site root
Diogo Cordeiro [Sun, 7 Jul 2019 22:34:41 +0000 (23:34 +0100)]
[PEAR] Modernize Validate code
Upgraded IDNA to IDNA2
Added PEAR Date
> fixed: The each function is deprecated
Miguel Dantas [Tue, 2 Jul 2019 21:35:05 +0000 (22:35 +0100)]
[CORE] Fix X-Sendfile for nginx, using the X-Accel-Redirect header
Miguel Dantas [Sun, 30 Jun 2019 14:24:11 +0000 (15:24 +0100)]
[CORE] Fixed bug where the http connection was using the wrong size for thumbnails, and returning the wrong one
Miguel Dantas [Sun, 30 Jun 2019 12:36:33 +0000 (13:36 +0100)]
[StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows it to display correctly in the UI. Formatting fixes
Miguel Dantas [Sat, 29 Jun 2019 19:10:20 +0000 (20:10 +0100)]
[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 [Fri, 28 Jun 2019 00:44:51 +0000 (01:44 +0100)]
[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 [Thu, 27 Jun 2019 23:18:27 +0000 (00:18 +0100)]
[MEDIA] Fix trying to display file wich is not available locally
Miguel Dantas [Thu, 27 Jun 2019 01:20:39 +0000 (02:20 +0100)]
[CORE] Fixed bug where all thumbnails were using the original file
Miguel Dantas [Wed, 26 Jun 2019 21:38:55 +0000 (22:38 +0100)]
[INSTALL] Fixed issue in installing where default.php needs util.php but it's not loaded
Miguel Dantas [Wed, 26 Jun 2019 02:39:39 +0000 (03:39 +0100)]
[CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which additionally uses a file hash as oposed to a filename.
Additionally, added etag and last modified HTTP headers to attachments, to more effectively take advantage of caching
Miguel Dantas [Wed, 26 Jun 2019 02:27:51 +0000 (03:27 +0100)]
[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 [Wed, 26 Jun 2019 02:25:59 +0000 (03:25 +0100)]
[CORE] Refactored attachement actions to remove duplicate code
Miguel Dantas [Wed, 26 Jun 2019 00:54:55 +0000 (01:54 +0100)]
[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 [Tue, 25 Jun 2019 22:20:17 +0000 (23:20 +0100)]
[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 [Tue, 18 Jun 2019 19:57:30 +0000 (20:57 +0100)]
[CORE] Fixed common_get_preferred_php_upload_limit, because some values in php.ini can be -1 or 0 for unlimited
Miguel Dantas [Sat, 15 Jun 2019 23:33:12 +0000 (00:33 +0100)]
[MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect anything) and updated sysadmin documentation
Fixes bug which broke the UI. Oops
Miguel Dantas [Sat, 15 Jun 2019 14:21:05 +0000 (15:21 +0100)]
[MEDIA][CORE] Add common function for converting a string with a size unit to an int and MediaFile uses file_quota
Miguel Dantas [Sat, 15 Jun 2019 23:41:54 +0000 (00:41 +0100)]
[MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway
Miguel Dantas [Sat, 15 Jun 2019 14:16:28 +0000 (15:16 +0100)]
[MEDIA][UI] Added preview support for BMP, WEBP and ICO, displaying the name underneath, centered
Miguel Dantas [Tue, 11 Jun 2019 01:42:33 +0000 (02:42 +0100)]
[MEDIA] File downloader now in PHP, added proper name in the UI and changed the format for new attachment file names
The file downloader was changed from a simple redirect to the file to one
implemented in PHP, which should make it safer, by making it possible disallow
direct access to the file, to prevent executing of atttachments
The filename has a new format:
bin2hex("{$original_name}")."-{$filehash}"
This format should be respected. Notice the dash, which is important to distinguish it from the previous
format, which was "{$hash}.{$ext}"
This change was made to both make the experience more user friendly, by
providing a readable name for files, as opposed to it's hash. This name is taken
from the upload filename, but, clearly, as this wasn't done before, it's
impossible to have a proper name for older files, so those are displayed as
"untitled.{$ext}".
This new name is displayed in the UI, instead of the previous name.
Diogo Cordeiro [Thu, 13 Jun 2019 07:18:10 +0000 (08:18 +0100)]
[OEmbed] Revert filename change introduced with
96ce758c
Diogo Cordeiro [Wed, 18 Jul 2018 04:31:24 +0000 (05:31 +0100)]
[Oembed] Refactoring and some improvements (namely documentation)
Imported some changes from postActiv
Diogo Cordeiro [Sat, 22 Jun 2019 17:57:43 +0000 (18:57 +0100)]
[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.
Diogo Cordeiro [Fri, 26 Jul 2019 17:25:47 +0000 (18:25 +0100)]
[SCRIPTS] Fix sessiongc by XRevan86
Diogo Cordeiro [Fri, 26 Jul 2019 17:29:41 +0000 (18:29 +0100)]
[DOCUMENTATION] Allow install.php to be ran with sample nginx conf
Diogo Cordeiro [Thu, 25 Jul 2019 14:35:24 +0000 (15:35 +0100)]
[CORE] MySQL 5.5 support fully restored
Diogo Cordeiro [Wed, 24 Jul 2019 21:28:03 +0000 (22:28 +0100)]
[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 [Mon, 15 Jul 2019 02:25:16 +0000 (03:25 +0100)]
[DOCUMENTATION] Plugin events should be declared in the plugin's directory not in the core
Diogo Cordeiro [Tue, 9 Jul 2019 23:10:18 +0000 (00:10 +0100)]
[OStatus] null being returned instead of an empty array
Fixes: "Invalid argument supplied for foreach" in onEndFindMentions
Diogo Cordeiro [Tue, 9 Jul 2019 22:52:57 +0000 (23:52 +0100)]
[UI] Long strings/words in dents weren't being wrapped
Diogo Cordeiro [Mon, 1 Jul 2019 22:05:07 +0000 (23:05 +0100)]
Minor reformatting of upgrade.php, doesn't change functionality
Diogo Cordeiro [Mon, 1 Jul 2019 21:42:37 +0000 (22:42 +0100)]
Regression introduced in
daa5f87f fixed by XRevan86
require_once(): Failed opening required 'Error.php' in extlib/DB/DataObject.php on line 562
Diogo Cordeiro [Mon, 1 Jul 2019 21:40:21 +0000 (22:40 +0100)]
[CORE][ROUTER] Fix wrong parameter in all/:tag by XRevan86
Diogo Cordeiro [Wed, 26 Jun 2019 14:47:30 +0000 (15:47 +0100)]
[CORE][FRAMEWORK] URL_REGEX_VALID_PATH_CHARS didn't recognize the parenthesis sign.
Diogo Cordeiro [Tue, 25 Jun 2019 21:59:10 +0000 (22:59 +0100)]
Implement $config['site']['logdebug']
Diogo Cordeiro [Mon, 24 Jun 2019 13:01:37 +0000 (14:01 +0100)]
[CORE] Fix subscriptions and subscribers list (related to
44653d339d )
Diogo Cordeiro [Sat, 22 Jun 2019 23:55:40 +0000 (00:55 +0100)]
[Poll] Refactoring and minor bug fixes
Diogo Cordeiro [Wed, 12 Jun 2019 22:44:40 +0000 (23:44 +0100)]
[TagSub] Fix User's tags list issue
Issue introduced with
6d9f390b and
9a92b58057
Diogo Cordeiro [Fri, 14 Jun 2019 10:59:21 +0000 (11:59 +0100)]
[DATABASE] Revert accidental regression introduced with
9a39ebe66f
Diogo Cordeiro [Tue, 11 Jun 2019 23:39:50 +0000 (00:39 +0100)]
[DOCUMENTATION] Minor corrections
Add two missing contributors
Bumped patch due to changed introduced with
0583a6a904
Daniel Supernault [Sun, 25 Mar 2018 04:17:05 +0000 (22:17 -0600)]
Allow username or email in login form
Diogo Cordeiro [Wed, 12 Jun 2019 01:22:55 +0000 (02:22 +0100)]
[Nodeinfo][TRANSLATION] Fix languages meta-data