]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
4 years agoAdding htaccess.sample back*shame*
darksider3 [Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)]
Adding htaccess.sample back*shame*

5 years ago[LinkPreview] Fix 'no candidate for action "embedproxy"'
Miguel Dantas [Wed, 14 Aug 2019 13:25:04 +0000 (14:25 +0100)]
[LinkPreview] Fix 'no candidate for action "embedproxy"'

5 years ago[CORE] Fix subscription-related functions from the Profile class
tenma [Mon, 12 Aug 2019 03:53:43 +0000 (04:53 +0100)]
[CORE] Fix subscription-related functions from the Profile class

The undifined variable $private_stream, from the User class, was causing
undifined behavior from calling requiresSubscriptionApproval. The is_null
test was added to fix this problem.

5 years ago[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section
Miguel Dantas [Mon, 12 Aug 2019 22:16:08 +0000 (23:16 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section

5 years ago[NodeInfo] New endpoint and formula for computing active users
Diogo Cordeiro [Mon, 12 Aug 2019 03:45:25 +0000 (04:45 +0100)]
[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

5 years ago[DOCUMENTATION] Late update of CHANGELOG and TODO list
Diogo Cordeiro [Sun, 11 Aug 2019 13:53:31 +0000 (14:53 +0100)]
[DOCUMENTATION] Late update of CHANGELOG and TODO list

5 years ago[DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options
Diogo Cordeiro [Sat, 10 Aug 2019 21:52:00 +0000 (22:52 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options

5 years ago[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
Miguel Dantas [Thu, 8 Aug 2019 23:15:38 +0000 (00:15 +0100)]
[REFACTOR] Added explicit return type to all instances of QueueHandler::handle

5 years ago[CORE][QUEUE] Error checking and type declaration on handling notice queue events
Miguel Dantas [Wed, 7 Aug 2019 21:47:17 +0000 (22:47 +0100)]
[CORE][QUEUE] Error checking and type declaration on handling notice queue events

Patch submitted by XRevan86

5 years ago[PEAR][DB] Import some new commits
Diogo Cordeiro [Tue, 6 Aug 2019 01:52:47 +0000 (02:52 +0100)]
[PEAR][DB] Import some new commits
Patch submitted by XRevan86

[DB/pgsql.php] Change pg_exec to pg_query
Encouraged by http://php.net/manual/en/function.pg-query.php and enables
improved monitoring by New Relic (https://newrelic.com)
[DB.php] changed count to empty for php7.2
[DB/common.php] change to array cast for php72

From: https://github.com/pear/DB/
Commits: 7d0ddaffd04a42a5 and ea9fff4a, respectively

5 years ago[EXTLIB][VALIDATE] Fix some types
Diogo Cordeiro [Wed, 7 Aug 2019 00:31:09 +0000 (01:31 +0100)]
[EXTLIB][VALIDATE] Fix some types

5 years ago[DOCUMENTATION] Added X-Sendfile/X-Accel-Redirect to the sample nginx and apache...
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

5 years ago[DOCUMENTATION] Add versioning information
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

5 years ago[Embed] Fixed error related to oembed action
Miguel Dantas [Wed, 7 Aug 2019 22:12:03 +0000 (23:12 +0100)]
[Embed] Fixed error related to oembed action

5 years ago[DOCUMENTATION] Fix nginx location rule's regex for install and index
Diogo Cordeiro [Tue, 6 Aug 2019 00:43:42 +0000 (01:43 +0100)]
[DOCUMENTATION] Fix nginx location rule's regex for install and index

5 years agoMerge branch 'master' of biodantas/gnu-social into master
biodantas [Sat, 3 Aug 2019 20:04:14 +0000 (20:04 +0000)]
Merge branch 'master' of biodantas/gnu-social into master

5 years ago[MEDIA] Fixed wrong image cropping
Miguel Dantas [Sat, 3 Aug 2019 20:02:21 +0000 (21:02 +0100)]
[MEDIA] Fixed wrong image cropping

5 years ago[MEDIA] Replaced internal image handling with intervention/image, which is capable...
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

5 years ago[CORE][COMPOSER] Added intervention/image
Miguel Dantas [Wed, 24 Jul 2019 06:31:42 +0000 (07:31 +0100)]
[CORE][COMPOSER] Added intervention/image

5 years ago[CORE] Bump PHP requirement to PHP7.3+
Diogo Cordeiro [Thu, 25 Jul 2019 00:29:20 +0000 (01:29 +0100)]
[CORE] Bump PHP requirement to PHP7.3+

5 years ago[Embed] Fixed use of undefined variable in fixup_files script
Miguel Dantas [Tue, 23 Jul 2019 10:08:48 +0000 (11:08 +0100)]
[Embed] Fixed use of undefined variable in fixup_files script

5 years ago[Embed] Resize thumbnails fetched by Embed to avoid keeping original images when...
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

5 years ago[FORMAT][Embed] Ran php-cs-fixer on Embed's files and small style fixes
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

5 years ago[DOCUMENTATION] Add a CHANGELOG that includes a TODO list to reach alpha in v2
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

5 years ago[SCRIPTS] Make them work in v2 by setting PUBLICDIR
Diogo Cordeiro [Mon, 15 Jul 2019 03:10:29 +0000 (04:10 +0100)]
[SCRIPTS] Make them work in v2 by setting PUBLICDIR

5 years ago[Embed] Updated fixup_files.php script to be able to fix broken oEmbedinfo using...
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

5 years ago[Embed] Hide error from the UI and just don't display an image if the remote image...
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

5 years ago[Embed] Fix bug where we we're losing track of a file, in case the image needed to...
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

5 years ago[Embed] Fixed Embed tests
Miguel Dantas [Fri, 12 Jul 2019 21:55:01 +0000 (22:55 +0100)]
[Embed] Fixed Embed tests

5 years ago[Embed] Fixed bug where sometimes images were written outside the site root
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

5 years ago[Embed] Removed old oEmbed and OpenGraph implementation
Miguel Dantas [Fri, 12 Jul 2019 02:13:40 +0000 (03:13 +0100)]
[Embed] Removed old oEmbed and OpenGraph implementation

5 years ago[Embed] Refactoring and bug fixing
Miguel Dantas [Sun, 14 Jul 2019 22:35:11 +0000 (23:35 +0100)]
[Embed] Refactoring and bug fixing

5 years ago[Embed] Using oscarotero/Embed as first attempt to get oEmbed/OpenGraph data, fallback
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.

5 years ago[PLUGINS] Fixed oEmbed dependents to use Embed
Miguel Dantas [Sat, 6 Jul 2019 16:26:15 +0000 (17:26 +0100)]
[PLUGINS] Fixed oEmbed dependents to use Embed

5 years ago[Embed][DB] Renaming the 'file_oembed' table to 'file_embed' on upgrade
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

5 years ago[OEmbed][Embed] Renamed OEmbed plugin to Embed
Miguel Dantas [Sat, 6 Jul 2019 03:31:02 +0000 (04:31 +0100)]
[OEmbed][Embed] Renamed OEmbed plugin to Embed

5 years ago[COMPOSER] Added embed/embed
Miguel Dantas [Mon, 15 Jul 2019 00:41:55 +0000 (01:41 +0100)]
[COMPOSER] Added embed/embed

5 years ago[DOCUMENTATION] New socialfy solution
Diogo Cordeiro [Mon, 15 Jul 2019 00:29:39 +0000 (01:29 +0100)]
[DOCUMENTATION] New socialfy solution

5 years ago[CORE] Avatars are in PUBLICDIR in v2
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

5 years ago[INSTALL] Minor reformatting and modernization. Shouldn't change functionality signif...
Diogo Cordeiro [Mon, 15 Jul 2019 00:40:31 +0000 (01:40 +0100)]
[INSTALL] Minor reformatting and modernization. Shouldn't change functionality significatively.

5 years ago[CORE] Fixed some small issues with PEAR
Diogo Cordeiro [Mon, 15 Jul 2019 00:40:09 +0000 (01:40 +0100)]
[CORE] Fixed some small issues with PEAR

5 years ago[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0
Diogo Cordeiro [Fri, 12 Jul 2019 17:51:27 +0000 (18:51 +0100)]
[CORE][COMPOSER] Ensure we are compatible with PHP 7.0.0

5 years ago[CORE] Make tests great gain
Diogo Cordeiro [Fri, 12 Jul 2019 15:31:14 +0000 (16:31 +0100)]
[CORE] Make tests great gain

5 years ago[DOCUMENTATION] Update description of extlib and vendor directories
Diogo Cordeiro [Wed, 10 Jul 2019 18:36:30 +0000 (19:36 +0100)]
[DOCUMENTATION] Update description of extlib and vendor directories

5 years ago[CORE][COMPOSER] Add hoa/consistency
Diogo Cordeiro [Tue, 25 Jun 2019 09:35:31 +0000 (10:35 +0100)]
[CORE][COMPOSER] Add hoa/consistency
Renamed curry to callable_left_curry

5 years ago[CORE] Downgrade phpseclib to a working state
Diogo Cordeiro [Mon, 24 Jun 2019 16:45:19 +0000 (17:45 +0100)]
[CORE] Downgrade phpseclib to a working state

5 years ago[DEVTOOL] Add a robust and modern REPL
Daniel Supernault [Sun, 23 Jun 2019 16:59:20 +0000 (17:59 +0100)]
[DEVTOOL] Add a robust and modern REPL

5 years ago[CORE] Add custom favicon configuration support
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.

5 years ago[CORE] Remove function_exists() calls and add up default bcrypt cost to 12.
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.

5 years ago[CORE] Add Argon2I support
Daniel Supernault [Mon, 12 Mar 2018 02:39:47 +0000 (20:39 -0600)]
[CORE] Add Argon2I support
Add Argon2I support, disabled by default.

5 years ago[CORE] Update AuthCryptPlugin
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.

5 years ago[CORE] Add timing safe backwards compatible password_verify
Daniel Supernault [Mon, 12 Mar 2018 00:55:59 +0000 (18:55 -0600)]
[CORE] Add timing safe backwards compatible password_verify

5 years ago[CORE] Move public resources to a /public directory
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

5 years ago[CORE] Remove PEAR Command as it is not used
Diogo Cordeiro [Sun, 23 Jun 2019 17:19:31 +0000 (18:19 +0100)]
[CORE] Remove PEAR Command as it is not used

5 years ago[FORMAT] Run php-cs-fixer in php-gettext
Diogo Cordeiro [Sun, 23 Jun 2019 16:36:15 +0000 (17:36 +0100)]
[FORMAT] Run php-cs-fixer in php-gettext

5 years ago[CORE][COMPOSER] Move plugins extlibs to composer (where appropriate)
Diogo Cordeiro [Sat, 22 Jun 2019 21:23:21 +0000 (22:23 +0100)]
[CORE][COMPOSER] Move plugins extlibs to composer (where appropriate)

5 years ago[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to compos...
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

5 years ago[CORE] Fix notice delete-form
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.

5 years ago[CORE] Bump Database requirement to MariaDB 10.3+
Diogo Cordeiro [Wed, 24 Jul 2019 23:43:25 +0000 (00:43 +0100)]
[CORE] Bump Database requirement to MariaDB 10.3+

5 years ago[Media] Fix undefined variable box in imagefile.php
Diogo Cordeiro [Tue, 23 Jul 2019 21:23:54 +0000 (22:23 +0100)]
[Media] Fix undefined variable box in imagefile.php

5 years ago[StoreRemoteMedia] Added documentation for feature which limits the maximum filesize...
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

5 years ago[ROUTES] Fixed attachment routes, broken by channges in fa378462f4
Miguel Dantas [Tue, 23 Jul 2019 10:47:36 +0000 (11:47 +0100)]
[ROUTES] Fixed attachment routes, broken by channges in fa378462f4

5 years ago[ROUTES] Allow accept-header specification during router creation
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

5 years ago[ROUTES] PSR2-format
brunoccast [Thu, 11 Jul 2019 00:35:54 +0000 (01:35 +0100)]
[ROUTES] PSR2-format

5 years ago[CORE] Added documentation and fixed typo in attachments action
Miguel Dantas [Mon, 15 Jul 2019 02:20:55 +0000 (03:20 +0100)]
[CORE] Added documentation and fixed typo in attachments action

5 years ago[CORE] Fix bug where we we're losing track of a file, in case the image needed to...
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

5 years ago[CORE] Fixed Media tests
Miguel Dantas [Fri, 12 Jul 2019 21:22:51 +0000 (22:22 +0100)]
[CORE] Fixed Media tests

5 years ago[CORE][StoreRemoteMedia] Fixed bug where sometimes images were written outside the...
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

5 years ago[PEAR] Modernize Validate code
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

5 years ago[CORE] Fix X-Sendfile for nginx, using the X-Accel-Redirect header
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

5 years ago[CORE] Fixed bug where the http connection was using the wrong size for thumbnails...
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

5 years ago[StoreRemoteMedia] StoreRemoteMedia now uses the new filename format, which allows...
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

5 years ago[MEDIA][OEMBED] Fixed regression in OEmbed, because it relied on accessing the files...
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...

5 years ago[OEMBED][UI] Skip adding an image thumbnail for oembed results if we
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

5 years ago[MEDIA] Fix trying to display file wich is not available locally
Miguel Dantas [Thu, 27 Jun 2019 23:18:27 +0000 (00:18 +0100)]
[MEDIA] Fix trying to display file wich is not available locally

5 years ago[CORE] Fixed bug where all thumbnails were using the original file
Miguel Dantas [Thu, 27 Jun 2019 01:20:39 +0000 (02:20 +0100)]
[CORE] Fixed bug where all thumbnails were using the original file

5 years ago[INSTALL] Fixed issue in installing where default.php needs util.php but it's not...
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

5 years ago[CORE][ACTION] Removed getfile action. Superseded by attachment/*/download, which...
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

5 years ago[CORE][UI] Made attachment actions and its subactions be able to identify attachments...
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

5 years ago[CORE] Refactored attachement actions to remove duplicate code
Miguel Dantas [Wed, 26 Jun 2019 02:25:59 +0000 (03:25 +0100)]
[CORE] Refactored attachement actions to remove duplicate code

5 years ago[CORE][UI][ROUTER] Added view action, which inlines images and videos but downloads...
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

5 years ago[CORE] Attachments and thumbnails aren't accessed directly by the file under the...
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

5 years ago[CORE] Fixed common_get_preferred_php_upload_limit, because some values in php.ini...
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

5 years ago[MEDIA] Removed blacklisted extensions, "trusts" upload extension (doesn't affect...
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

5 years ago[MEDIA][CORE] Add common function for converting a string with a size unit to an...
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

5 years ago[MEDIA][UI] In case an attachment preview isn't possible, the name is displayed anyway
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

5 years ago[MEDIA][UI] Added preview support for BMP, WEBP and ICO, displaying the name undernea...
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

5 years ago[MEDIA] File downloader now in PHP, added proper name in the UI and changed the forma...
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.

5 years ago[OEmbed] Revert filename change introduced with 96ce758c
Diogo Cordeiro [Thu, 13 Jun 2019 07:18:10 +0000 (08:18 +0100)]
[OEmbed] Revert filename change introduced with 96ce758c

5 years ago[Oembed] Refactoring and some improvements (namely documentation)
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

5 years ago[CORE] Use random_bytes() if available and improve common_confirmation_code() randomness.
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.

5 years ago[SCRIPTS] Fix sessiongc by XRevan86
Diogo Cordeiro [Fri, 26 Jul 2019 17:25:47 +0000 (18:25 +0100)]
[SCRIPTS] Fix sessiongc by XRevan86

5 years ago[DOCUMENTATION] Allow install.php to be ran with sample nginx conf
Diogo Cordeiro [Fri, 26 Jul 2019 17:29:41 +0000 (18:29 +0100)]
[DOCUMENTATION] Allow install.php to be ran with sample nginx conf

5 years ago[CORE] MySQL 5.5 support fully restored
Diogo Cordeiro [Thu, 25 Jul 2019 14:35:24 +0000 (15:35 +0100)]
[CORE] MySQL 5.5 support fully restored

5 years ago[CORE] Fix wrong Profile_list schema and set created in user_im_prefs properly -...
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

5 years ago[DOCUMENTATION] Plugin events should be declared in the plugin's directory not in...
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

5 years ago[OStatus] null being returned instead of an empty array
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
5 years ago[UI] Long strings/words in dents weren't being wrapped
Diogo Cordeiro [Tue, 9 Jul 2019 22:52:57 +0000 (23:52 +0100)]
[UI] Long strings/words in dents weren't being wrapped

5 years agoMinor reformatting of upgrade.php, doesn't change functionality
Diogo Cordeiro [Mon, 1 Jul 2019 22:05:07 +0000 (23:05 +0100)]
Minor reformatting of upgrade.php, doesn't change functionality

5 years agoRegression introduced in daa5f87f fixed by XRevan86
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