]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
5 years agoFaster NodeInfo stats
Diogo Cordeiro [Mon, 22 Apr 2019 16:22:17 +0000 (17:22 +0100)]
Faster NodeInfo stats

5 years agoOStatus and XMPP plugins now inform Nodeinfo plugins about their activity
Diogo Cordeiro [Mon, 22 Apr 2019 06:27:50 +0000 (07:27 +0100)]
OStatus and XMPP plugins now inform Nodeinfo plugins about their activity

5 years agoAdd chimo's Nodeinfo plugin as a default GNU social plugin
Diogo Cordeiro [Mon, 22 Apr 2019 05:48:51 +0000 (06:48 +0100)]
Add chimo's Nodeinfo plugin as a default GNU social plugin

5 years agoXmppPlugin - Fix preg_match() - Compilation failed
Diogo Cordeiro [Sun, 21 Apr 2019 00:24:57 +0000 (01:24 +0100)]
XmppPlugin - Fix preg_match() - Compilation failed
Disallowed Unicodecode point (>= 0xd800 && <= 0xdfff)

5 years agoModern version of XMPPHP extlib
Diogo Cordeiro [Sun, 21 Apr 2019 00:23:50 +0000 (01:23 +0100)]
Modern version of XMPPHP extlib
Original XMPPHP is no longer maintained
Therefore I've done some optimizations and imported some commits from birkner and zorn-v forks.
None of the forks really looked ready to be adopted...

5 years agoFaster inboxnoticestream.php by XRevan86
Diogo Cordeiro [Sat, 20 Apr 2019 23:56:56 +0000 (00:56 +0100)]
Faster inboxnoticestream.php by XRevan86

5 years agoOStatus plugin - Merge some bug fixes by XRevan86
Diogo Cordeiro [Sat, 20 Apr 2019 22:27:46 +0000 (23:27 +0100)]
OStatus plugin - Merge some bug fixes by XRevan86

5 years agoRemove from .gitignore stuff that should clearly go to developer's global gitignore...
Diogo Cordeiro [Sat, 20 Apr 2019 00:50:02 +0000 (01:50 +0100)]
Remove from .gitignore stuff that should clearly go to developer's global gitignore instead

5 years agoFix typo on 986030060b84
Diogo Cordeiro [Fri, 19 Apr 2019 20:16:42 +0000 (21:16 +0100)]
Fix typo on 986030060b84

5 years agoUser_im_prefs - Fix wrong schemaDef
Diogo Cordeiro [Fri, 19 Apr 2019 19:54:24 +0000 (20:54 +0100)]
User_im_prefs - Fix wrong schemaDef

5 years agoXMPPHP - Fix string as array usage errors on PHP 7
Diogo Cordeiro [Fri, 19 Apr 2019 14:25:01 +0000 (15:25 +0100)]
XMPPHP - Fix string as array usage errors on PHP 7

5 years ago[StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed...
Diogo Cordeiro [Thu, 18 Apr 2019 00:03:09 +0000 (01:03 +0100)]
[StoreRemoteMedia] script removeRemoteMedia.php was trying to remove already removed files
Sometimes different posts are associated with the same file, that case wasn't considered
Thanks to XRevan86 for spotting this issue.

5 years ago[StoreRemoteMedia] script removeRemoteMedia.php was deleting every file posted withou...
Diogo Cordeiro [Wed, 17 Apr 2019 01:00:12 +0000 (02:00 +0100)]
[StoreRemoteMedia] script removeRemoteMedia.php was deleting every file posted without being via web interface
Added two more options: delete image-only attachments; delete previews (like oembed thumbs)
Some further minor improvements.
Thanks to colegota for spotting this issue.

5 years agoUpdated HTMLPurifier to 4.10.0
Diogo Cordeiro [Tue, 16 Apr 2019 00:11:54 +0000 (01:11 +0100)]
Updated HTMLPurifier to 4.10.0
Source: http://htmlpurifier.org/releases/htmlpurifier-4.10.0-lite.zip
Release date: 2018-02-22

5 years agoSet default value of datetime columns to CURRENT_TIMESTAMP
Diogo Cordeiro [Mon, 15 Apr 2019 23:43:17 +0000 (00:43 +0100)]
Set default value of datetime columns to CURRENT_TIMESTAMP
This resolves an issue with MySQL 5.7 where the default SQL_MODE is set to disallow zero dates (i.e. '0000-00-00 00:00:00')
Fixed thanks to Francis and Normandy from postActiv.

5 years agoextlib/DB/DataObject - Fix PHP 7.3 Warning switch continue -> break
Diogo Cordeiro [Mon, 15 Apr 2019 23:20:20 +0000 (00:20 +0100)]
extlib/DB/DataObject - Fix PHP 7.3 Warning switch continue -> break
Also reformatted under PSR norms

5 years agoUpdate master GS version
Diogo Cordeiro [Fri, 14 Sep 2018 21:42:51 +0000 (22:42 +0100)]
Update master GS version

6 years agoMerge branch 'issue-326' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:33:54 +0000 (21:33 +0000)]
Merge branch 'issue-326' into 'master'

Script for removing remote files until a given date

See merge request diogo/gnu-social!5

6 years agoMerge branch 'issue-337' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:33:21 +0000 (21:33 +0000)]
Merge branch 'issue-337' into 'master'

Add option to send email to --all users on sendemail.php script

See merge request diogo/gnu-social!4

6 years agoMerge branch 'issue-338' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:30:16 +0000 (21:30 +0000)]
Merge branch 'issue-338' into 'master'

Database fields with timestamp type now allow CURRENT_TIMESTAMP to be set as default value

See merge request diogo/gnu-social!3

6 years agoMerge branch 'issue-323' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:29:32 +0000 (21:29 +0000)]
Merge branch 'issue-323' into 'master'

Add default values for avatar and attachment directories in web installer

See merge request diogo/gnu-social!2

6 years agoMerge branch 'nightly' into 'master'
Diogo Cordeiro [Fri, 14 Sep 2018 21:27:40 +0000 (21:27 +0000)]
Merge branch 'nightly' into 'master'

GNU social 1.3.0

See merge request diogo/gnu-social!1

6 years agoDatabase fields with timestamp type now allow CURRENT_TIMESTAMP to be set as default...
Diogo Cordeiro [Sat, 25 Aug 2018 01:20:10 +0000 (02:20 +0100)]
Database fields with timestamp type now allow CURRENT_TIMESTAMP to be set as default value
Add default values to created and modified columns of Profile_list table to fix issue #338

6 years agoAdd default values for avatar and attachment directories in web installer
Diogo Cordeiro [Sat, 25 Aug 2018 02:32:02 +0000 (03:32 +0100)]
Add default values for avatar and attachment directories in web installer

6 years agoAdd option to send email to --all users on sendemail.php script
Diogo Cordeiro [Thu, 23 Aug 2018 22:48:38 +0000 (23:48 +0100)]
Add option to send email to --all users on sendemail.php script

6 years agoMerge branch 'issue-333' into 'nightly'
Diogo Cordeiro [Thu, 23 Aug 2018 21:43:31 +0000 (21:43 +0000)]
Merge branch 'issue-333' into 'nightly'

UserFlag: Pass proper profile to FlaggedProfileListItem

See merge request gnu/gnu-social!168

6 years agoUserFlag: Pass proper profile to FlaggedProfileListItem
Chimo [Thu, 16 Aug 2018 23:16:15 +0000 (19:16 -0400)]
UserFlag: Pass proper profile to FlaggedProfileListItem

Fixes #333

6 years agoMerge branch 'nightly' into 'nightly'
Diogo Cordeiro [Tue, 14 Aug 2018 21:18:10 +0000 (21:18 +0000)]
Merge branch 'nightly' into 'nightly'

Group Members page: Fix typo in groupmembers.php

See merge request gnu/gnu-social!167

6 years agoGroup Members page: Fix typo in groupmembers.php
Chimo [Sun, 12 Aug 2018 22:27:02 +0000 (18:27 -0400)]
Group Members page: Fix typo in groupmembers.php

Fixes #332

6 years agoScript for removing remote files until a given date
Diogo Cordeiro [Thu, 9 Aug 2018 15:54:10 +0000 (16:54 +0100)]
Script for removing remote files until a given date

6 years agoMerge branch 'nightly' into 'nightly'
mmn [Sun, 17 Dec 2017 17:41:14 +0000 (17:41 +0000)]
Merge branch 'nightly' into 'nightly'

fixed hard coded twitter char limit

See merge request gnu/gnu-social!154

6 years agoMerge branch 'cas-user-whitelist' into 'nightly'
mmn [Sun, 17 Dec 2017 17:38:21 +0000 (17:38 +0000)]
Merge branch 'cas-user-whitelist' into 'nightly'

Added CAS user whitelist feature

See merge request gnu/gnu-social!142

6 years agoTest if $casSettings['user_whitelist'] is an array - and then perform in_array(....
mmn [Sun, 17 Dec 2017 17:37:24 +0000 (17:37 +0000)]
Test if $casSettings['user_whitelist'] is an array - and then perform in_array(...) instead of just checking if it's != null.

6 years agoMerge branch 'backupaccount-xml' into 'nightly'
mmn [Sun, 17 Dec 2017 17:35:22 +0000 (17:35 +0000)]
Merge branch 'backupaccount-xml' into 'nightly'

backupaccount: Don't print page HTML in XML export

See merge request gnu/gnu-social!144

6 years agoMerge remote-tracking branch 'gnuio/master' into nightly
Mikael Nordfeldth [Sun, 17 Dec 2017 17:32:23 +0000 (18:32 +0100)]
Merge remote-tracking branch 'gnuio/master' into nightly

6 years agoMerge branch 'cache-html-sanitizer' into 'master' up-master
mmn [Sun, 17 Dec 2017 17:25:46 +0000 (17:25 +0000)]
Merge branch 'cache-html-sanitizer' into 'master'

set the html sanitizer cache directory to ['cache']['dir'] from the config file;

See merge request gnu/gnu-social!156

6 years agoMerge branch 'cli-install' into 'master'
mmn [Sun, 17 Dec 2017 17:25:21 +0000 (17:25 +0000)]
Merge branch 'cli-install' into 'master'

Don't write the config file when --skip-config flag is given to the installer.

See merge request gnu/gnu-social!155

6 years agoMerge branch 'master' into 'master'
mmn [Sun, 17 Dec 2017 17:24:53 +0000 (17:24 +0000)]
Merge branch 'master' into 'master'

Allow GNU social master code to receive Mastodon boosts

See merge request gnu/gnu-social!153

6 years agoallow the cmd installer to load the config file from '/etc/gnusocial/config.d/'....
nee [Sun, 17 Dec 2017 16:52:24 +0000 (17:52 +0100)]
allow the cmd installer to load the config file from '/etc/gnusocial/config.d/'.$_server.'.php'
using the commandline argument as $_server (passed through lib/common.php to lib/gnusocial.php)

6 years agoset the html sanitizer cache directory to ['cache']['dir'] from the config file;
nee [Wed, 6 Dec 2017 00:50:22 +0000 (01:50 +0100)]
set the html sanitizer cache directory to ['cache']['dir'] from the config file;

6 years agoDon't write the config file when --skip-config flag is given to the installer.
nee [Sun, 26 Nov 2017 21:14:30 +0000 (22:14 +0100)]
Don't write the config file when --skip-config flag is given to the installer.

* scripts/installer_cli.php: Read the arguments list before checking
  if the config file is writeable.

7 years agofixed hard coded twitter char limit
vinz [Wed, 8 Nov 2017 21:50:00 +0000 (22:50 +0100)]
fixed hard coded twitter char limit

7 years agoMerge remote-tracking branch 'upstream/nightly' into nightly
vinz [Wed, 8 Nov 2017 21:47:23 +0000 (22:47 +0100)]
Merge remote-tracking branch 'upstream/nightly' into nightly

7 years agoMerge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
Mikael Nordfeldth [Sun, 10 Sep 2017 12:06:03 +0000 (14:06 +0200)]
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

7 years agoTrying to debug some stuff regarding oEmbed
Mikael Nordfeldth [Sun, 10 Sep 2017 12:04:12 +0000 (14:04 +0200)]
Trying to debug some stuff regarding oEmbed

7 years agoIf $_REQUEST is empty, array_merge == null.
Mikael Nordfeldth [Sun, 10 Sep 2017 12:02:16 +0000 (14:02 +0200)]
If $_REQUEST is empty, array_merge == null.

7 years agoFixed code so that GNU social can receive Mastodon boosts (from GNU social nightly...
Sebastian [Fri, 25 Aug 2017 11:35:02 +0000 (11:35 +0000)]
Fixed code so that GNU social can receive Mastodon boosts (from GNU social nightly commit: https://git.gnu.io/gnu/gnu-social/commit/c741d1a52a8256336632d090fa5ffd7d2cf549a9)

7 years agodisabling auto-backlog-importer on subscribe
Mikael Nordfeldth [Wed, 23 Aug 2017 16:09:49 +0000 (18:09 +0200)]
disabling auto-backlog-importer on subscribe

7 years agoMerge branch 'nightly' into 'nightly'
mmn [Wed, 23 Aug 2017 15:28:08 +0000 (15:28 +0000)]
Merge branch 'nightly' into 'nightly'

Added base64 encoding to get RMQ to work

See merge request !151

7 years agoMerge branch 'xmpphp-fix' into 'master'
mmn [Wed, 23 Aug 2017 15:27:34 +0000 (15:27 +0000)]
Merge branch 'xmpphp-fix' into 'master'

Fix PHP incompatibilities in XMPPHP

See merge request !152

7 years agoMerge branch 'patch-1' into 'master'
mmn [Wed, 23 Aug 2017 15:27:22 +0000 (15:27 +0000)]
Merge branch 'patch-1' into 'master'

Update INSTALL

See merge request !150

7 years agomissing argument for sprintf
Mikael Nordfeldth [Tue, 22 Aug 2017 16:48:04 +0000 (18:48 +0200)]
missing argument for sprintf

7 years agoFix PHP incompatibilities in XMPPHP
Florian Schmaus [Sat, 19 Aug 2017 15:55:47 +0000 (17:55 +0200)]
Fix PHP incompatibilities in XMPPHP

This fixes the following to errors in XMPPHP:

Stack trace:
0 [internal function]: XMPPHP_XMLStream->endXML(Resource id 150, 'STREAM:FEATURES')
1 /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php(420): xml_parse(Resource id 150, '<?xml version='...', false)
2 /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php(471): XMPPHP_XMLStream->__process()
3 /var/vhosts/example.org/plugins/Xmpp/lib/xmppmanager.php(165): XMPPHP_XMLStream->processUntil(Array)
4 /var/vhosts/example.org/plugins/Xmpp/lib/xmppmanager.php(49): XmppManager->connect()
5 /var/vhosts/example.org/lib/iomaster.php(248): XmppManager->start(Object(ImMaster))
6 /var/vhosts/example.org/lib/iomaster.php(111): IoMaster->start()
7 /var/vhosts/example.org/scripts/imdaemon.php(58): IoMaster->service()
8 /var/vhosts/example.org/lib/spawningdaemon.php(189): ImDaemon->runThread()
 in /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php on line 567
PHP Fatal error:  Uncaught Error: Function name must be a string in /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php:567

PHP Fatal error:  Uncaught Error: Call to undefined function split() in /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php:266
Stack trace:
0 /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMPP.php(129): XMPPHP_XMLStream->addXPathHandler('{http://etherx....', 'features_handle...')
1 /var/vhosts/example.org/plugins/Xmpp/lib/xmppmanager.php(145): XMPPHP_XMPP->__construct('geekplace.eu', 5222, 'gnusocial', 'U^k&l5fV53duGy', 'gnusocial', 'geekplace.eu', false, NULL)
2 /var/vhosts/example.org/plugins/Xmpp/lib/xmppmanager.php(49): XmppManager->connect()
3 /var/vhosts/example.org/lib/iomaster.php(248): XmppManager->start(Object(ImMaster))
4 /var/vhosts/example.org/lib/iomaster.php(111): IoMaster->start()
5 /var/vhosts/example.org/scripts/imdaemon.php(58): IoMaster->service()
6 /var/vhosts/example.org/lib/spawningdaemon.php(189): ImDaemon->runThread()
7 /var/vhosts/example.org/lib/spawningdaemon.php(118): SpawningDaemon->initAndRunChild(1 in /var/vhosts/example.org/plugins/Xmpp/extlib/XMPPHP/XMLStream.php on line 266

7 years agoAdded bullet point to README
Mikael Nordfeldth [Sat, 12 Aug 2017 07:50:39 +0000 (09:50 +0200)]
Added bullet point to README

7 years agoGroup autocompletion now fills in hostname part
Mikael Nordfeldth [Thu, 10 Aug 2017 10:41:47 +0000 (12:41 +0200)]
Group autocompletion now fills in hostname part

7 years agoGroups can now be server-specific with !osm@gnusocial.de vs. !osm@sn.jonkman.ca
Mikael Nordfeldth [Thu, 10 Aug 2017 10:30:11 +0000 (12:30 +0200)]
Groups can now be server-specific with !osm@gnusocial.de vs. !osm@sn.jonkman.ca

7 years agoMake use of variable preMention signal method
Mikael Nordfeldth [Thu, 10 Aug 2017 09:33:18 +0000 (11:33 +0200)]
Make use of variable preMention signal method

7 years agoHarmonize webfinger formatting and enable variable pre-mention character
Mikael Nordfeldth [Thu, 10 Aug 2017 09:06:52 +0000 (11:06 +0200)]
Harmonize webfinger formatting and enable variable pre-mention character

7 years agoLogging term used HubSub instead of WebSub.
Mikael Nordfeldth [Sun, 6 Aug 2017 22:19:12 +0000 (00:19 +0200)]
Logging term used HubSub instead of WebSub.

7 years agoMastodon replies 201 Created for salmon slaps.
Mikael Nordfeldth [Sat, 5 Aug 2017 14:21:34 +0000 (16:21 +0200)]
Mastodon replies 201 Created for salmon slaps.

7 years agopreamble with newline for AtomPub output etc.
Mikael Nordfeldth [Sat, 5 Aug 2017 08:42:38 +0000 (10:42 +0200)]
preamble with newline for AtomPub output etc.

7 years agoMimetype was not recognized if longer than bare mime
Mikael Nordfeldth [Sat, 5 Aug 2017 07:46:14 +0000 (09:46 +0200)]
Mimetype was not recognized if longer than bare mime

7 years agoList the thread config value in lib/default.php
Mikael Nordfeldth [Thu, 3 Aug 2017 07:53:00 +0000 (09:53 +0200)]
List the thread config value in lib/default.php

7 years agoUpdated some PHP-related info in INSTALL
Mikael Nordfeldth [Thu, 3 Aug 2017 07:52:04 +0000 (09:52 +0200)]
Updated some PHP-related info in INSTALL

7 years agoAdded base64 encoding to get RMQ to work
abjectio [Fri, 28 Jul 2017 10:42:21 +0000 (12:42 +0200)]
Added base64 encoding to get RMQ to work

7 years agoQuote URL on dupe search and better logging on upgrade
Mikael Nordfeldth [Thu, 27 Jul 2017 17:39:55 +0000 (19:39 +0200)]
Quote URL on dupe search and better logging on upgrade

7 years agoMerge branch 'takeshitakenji/gnu-social-twitter-repeat-config' into mmn_fixes
Mikael Nordfeldth [Tue, 11 Jul 2017 20:09:12 +0000 (22:09 +0200)]
Merge branch 'takeshitakenji/gnu-social-twitter-repeat-config' into mmn_fixes

7 years agoMerge branch 'profile' into 'nightly'
mmn [Tue, 11 Jul 2017 20:05:47 +0000 (20:05 +0000)]
Merge branch 'profile' into 'nightly'

Change Profile->getUser() to match the current user

See merge request !129

7 years agoMerge branch 'doc-backup-restore-def-vals' into 'nightly'
mmn [Tue, 11 Jul 2017 20:01:28 +0000 (20:01 +0000)]
Merge branch 'doc-backup-restore-def-vals' into 'nightly'

doc: Update 'backup', 'restore' default values

See merge request !143

7 years agoMerge branch 'notice_id-xml' into 'nightly'
mmn [Tue, 11 Jul 2017 20:01:01 +0000 (20:01 +0000)]
Merge branch 'notice_id-xml' into 'nightly'

Use the statusnet namespace for notice_id in atom feed

See merge request !136

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Tue, 11 Jul 2017 19:59:49 +0000 (21:59 +0200)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

7 years agoMerge branch 'fix-doc-twitterapi' into 'master'
mmn [Tue, 11 Jul 2017 19:58:48 +0000 (19:58 +0000)]
Merge branch 'fix-doc-twitterapi' into 'master'

Fix a link of doc/twitterapi

See merge request !149

7 years agoIssue #279 raises the point of missing newlines
Mikael Nordfeldth [Tue, 11 Jul 2017 19:58:24 +0000 (21:58 +0200)]
Issue #279 raises the point of missing newlines

7 years agoMerge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
Mikael Nordfeldth [Tue, 11 Jul 2017 19:44:50 +0000 (21:44 +0200)]
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes

7 years agoMerge branch 'case-sensitive-openid' into 'master'
mmn [Tue, 11 Jul 2017 19:41:33 +0000 (19:41 +0000)]
Merge branch 'case-sensitive-openid' into 'master'

Fix OpenID discovery in pages using uppercase <HEAD> tag

Closes #60

See merge request !140

7 years agoMerge branch 'safe-gitignore' into 'master'
mmn [Tue, 11 Jul 2017 19:31:26 +0000 (19:31 +0000)]
Merge branch 'safe-gitignore' into 'master'

Ignore whole directory, not only inner contents

See merge request !145

7 years agoMerge branch 'xmpp-fix-1' into 'nightly'
mmn [Tue, 11 Jul 2017 19:18:51 +0000 (19:18 +0000)]
Merge branch 'xmpp-fix-1' into 'nightly'

Fix 'from' address in the XMPP ping command

See merge request !141

7 years agoAnother solution to merge request !146
Mikael Nordfeldth [Tue, 11 Jul 2017 19:16:30 +0000 (21:16 +0200)]
Another solution to merge request !146

7 years agoNoone uses Facebook anymore.
Mikael Nordfeldth [Tue, 11 Jul 2017 10:44:24 +0000 (12:44 +0200)]
Noone uses Facebook anymore.

7 years agoFixing HTTP_Request2_SocketWrapper so it times out
Mikael Nordfeldth [Tue, 11 Jul 2017 10:04:09 +0000 (12:04 +0200)]
Fixing HTTP_Request2_SocketWrapper so it times out

HTTP_Request2_SocketWrapper would never time out on an fgets() call as
discussed in issue #281 https://git.gnu.io/gnu/gnu-social/issues/281

I'm patching it here by setting the socket to non-blocking mode and
using stream_select to wait until the timeout. This patch or some
similar variant must be implemented in HTTP_Request2_SocketWrapper
to avoid the same issue for other users.

7 years agoHubSub now remembers recent failures and counts them
Mikael Nordfeldth [Mon, 10 Jul 2017 18:28:45 +0000 (20:28 +0200)]
HubSub now remembers recent failures and counts them

7 years agooEmbed had bad variable reference in error message
Mikael Nordfeldth [Mon, 10 Jul 2017 18:28:35 +0000 (20:28 +0200)]
oEmbed had bad variable reference in error message

7 years agoMaking upgrade.php somewhat more efficient by remember one-time-inits.
Mikael Nordfeldth [Mon, 10 Jul 2017 17:39:26 +0000 (19:39 +0200)]
Making upgrade.php somewhat more efficient by remember one-time-inits.

7 years agoBad constant (LOG_WARNING, not LOG_WARN)
Mikael Nordfeldth [Mon, 10 Jul 2017 12:50:25 +0000 (14:50 +0200)]
Bad constant (LOG_WARNING, not LOG_WARN)

7 years agoAuthCrypt README brought out of the stone age
Mikael Nordfeldth [Mon, 10 Jul 2017 12:49:01 +0000 (14:49 +0200)]
AuthCrypt README brought out of the stone age

7 years agoRework the push mechanism a bit to a less DB dependant queue
Mikael Nordfeldth [Mon, 10 Jul 2017 12:43:28 +0000 (14:43 +0200)]
Rework the push mechanism a bit to a less DB dependant queue

7 years agoAvoid excessive remote requests on oEmbed lookups
Mikael Nordfeldth [Mon, 10 Jul 2017 12:41:03 +0000 (14:41 +0200)]
Avoid excessive remote requests on oEmbed lookups

I noticed that each time a notice was accessed it'd do a remote lookup
with HEAD (and continue despite 404 etc.) and then another attempt to
download the resource. If this wasn't successful new attempts would be
made for each loading of the resource, which is extremely resource
intensive.

Whenever we can say "it's been n seconds since the last attempt" we
could probably enable this again - or just manually reload remote
thumbnails (as part of the StoreRemoteMedia plugin etc.)

7 years agoForce arrays in constructors of ActivityStreamJSONDocument and JSONActivityCollection
Mikael Nordfeldth [Mon, 10 Jul 2017 12:26:01 +0000 (14:26 +0200)]
Force arrays in constructors of ActivityStreamJSONDocument and JSONActivityCollection

Started using PHP7+ and it started complaining about count() being fed objects
that weren't "Countable". .)

7 years agoUse intval on ini_get or we use a string for timeout
Mikael Nordfeldth [Mon, 10 Jul 2017 12:10:32 +0000 (14:10 +0200)]
Use intval on ini_get or we use a string for timeout

7 years agoPatch DB before release, weird use of count()
Mikael Nordfeldth [Mon, 10 Jul 2017 12:10:10 +0000 (14:10 +0200)]
Patch DB before release, weird use of count()

7 years agoUpdating HTMLPurifier to 4.9.3
Mikael Nordfeldth [Mon, 10 Jul 2017 11:46:07 +0000 (13:46 +0200)]
Updating HTMLPurifier to 4.9.3

Source: https://htmlpurifier.org/download
Release date: 2017-06-19

7 years agoUpdate PEAR DB to 1.9.2
Mikael Nordfeldth [Mon, 10 Jul 2017 11:33:11 +0000 (13:33 +0200)]
Update PEAR DB to 1.9.2

Source: https://pear.php.net/package/DB
Release date: 2015-11-24

7 years agoUpdating PEAR Net_URL2 to 2.1.2
Mikael Nordfeldth [Mon, 10 Jul 2017 11:28:40 +0000 (13:28 +0200)]
Updating PEAR Net_URL2 to 2.1.2

Source: https://pear.php.net/package/Net_URL2
Release date: 2016-04-18

7 years agoUpdate PEAR DB_DataObject to 1.11.5
Mikael Nordfeldth [Mon, 10 Jul 2017 11:25:04 +0000 (13:25 +0200)]
Update PEAR DB_DataObject to 1.11.5

Source: https://pear.php.net/package/DB_DataObject
Release date: 2015-11-10

7 years agoPEAR Net_SMTP updated to 1.8.0
Mikael Nordfeldth [Mon, 10 Jul 2017 10:53:13 +0000 (12:53 +0200)]
PEAR Net_SMTP updated to 1.8.0

Source: https://pear.php.net/package/Net_SMTP
Release date: 2017-04-06

7 years agoPEAR Net_Socket updated to 1.2.2
Mikael Nordfeldth [Sun, 9 Jul 2017 21:09:03 +0000 (23:09 +0200)]
PEAR Net_Socket updated to 1.2.2

Source: https://pear.php.net/package/Net_Socket
Release date: 2017-04-13

7 years agochange default timeout setting for HTTPClient
Mikael Nordfeldth [Sun, 9 Jul 2017 20:49:49 +0000 (22:49 +0200)]
change default timeout setting for HTTPClient

7 years agoUpdating HTTP_Request2 to 2.3.0
Mikael Nordfeldth [Sun, 9 Jul 2017 20:17:52 +0000 (22:17 +0200)]
Updating HTTP_Request2 to 2.3.0

Source: https://pear.php.net/package/HTTP_Request2
Release date: 2016-02-13 15:24 UTC

7 years agoRemove debug call and change how connect_timeout is set
Mikael Nordfeldth [Sun, 9 Jul 2017 18:34:44 +0000 (20:34 +0200)]
Remove debug call and change how connect_timeout is set

7 years agoConfigure a default timeout for HTTP connections at 60s
Mikael Nordfeldth [Sun, 9 Jul 2017 18:07:18 +0000 (20:07 +0200)]
Configure a default timeout for HTTP connections at 60s

No requests we do externally should ever take more than 60 seconds. This
could probably be changed for downloading video or whatever for any cache
plugins that want to store data locally, but in general I think even 60s
is way longer than I expect any outgoing requests should take.

This affects everything using HTTPClient, our helper class, and thus all
hub pings, subscription requests, etc. etc.

The value, afaik, includes connect_timeout and if it takes 10 seconds to
establish a connection only 50 seconds is available to transfer data.