]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
darksider3 [Mon, 3 Mar 2014 15:57:25 +0000 (15:57 +0000)]
oops, DB.txt O_o
darksider3 [Mon, 3 Mar 2014 15:08:22 +0000 (15:08 +0000)]
Add urlshortenerplugin2.php to solve some @todo's and adding exceptions
Roland Haeder [Fri, 12 Sep 2014 19:58:27 +0000 (21:58 +0200)]
Improved type-hint for following methods:
- handle
- isReadOnly
- prepare
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 19:41:53 +0000 (21:41 +0200)]
Added some (good known) type-hints.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 12 Sep 2014 16:48:59 +0000 (18:48 +0200)]
Possible fix for https://bugz.foocorp.net/T41
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Sep 2014 20:06:50 +0000 (22:06 +0200)]
No need for php interpreter again as this script is executable.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 10 Sep 2014 20:06:12 +0000 (22:06 +0200)]
Fixed CHMOD.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 23 Aug 2014 11:16:29 +0000 (13:16 +0200)]
Added additional check.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 19:59:25 +0000 (21:59 +0200)]
Fixes for making Meteor working with HTTPS.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 16:34:36 +0000 (18:34 +0200)]
Usefull line for debugging added.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Mon, 18 Aug 2014 07:39:27 +0000 (09:39 +0200)]
Check for valid database connection object.
Signed-off-by: Roland Haeder <roland@mxchange.org>
darksider3 [Mon, 3 Mar 2014 16:02:52 +0000 (16:02 +0000)]
Adding htaccess.sample back*shame*
Miguel Dantas [Wed, 14 Aug 2019 13:25:04 +0000 (14:25 +0100)]
[LinkPreview] Fix 'no candidate for action "embedproxy"'
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.
Miguel Dantas [Mon, 12 Aug 2019 22:16:08 +0000 (23:16 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIGURE] x-static-delivery was in the wrong section
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
Diogo Cordeiro [Sun, 11 Aug 2019 13:53:31 +0000 (14:53 +0100)]
[DOCUMENTATION] Late update of CHANGELOG and TODO list
Diogo Cordeiro [Sat, 10 Aug 2019 21:52:00 +0000 (22:52 +0100)]
[DOCUMENTATION][SYSADMIN][CONFIG][profile] Fix default of backup and restore options
Miguel Dantas [Thu, 8 Aug 2019 23:15:38 +0000 (00:15 +0100)]
[REFACTOR] Added explicit return type to all instances of QueueHandler::handle
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
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:
7d0ddaff ,
d04a42a5 and
ea9fff4a , respectively
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