]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
5 years agoUpdate master GS version
Diogo Cordeiro [Fri, 14 Sep 2018 21:42:51 +0000 (22:42 +0100)]
Update master GS version

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

6 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

6 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

6 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

6 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

6 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.

6 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)

6 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

6 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

6 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

6 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

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

6 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

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

6 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

6 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

6 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

6 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

6 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.

6 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.

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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.

6 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

6 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

6 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.

6 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)

6 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

6 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

6 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.)

6 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". .)

6 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

6 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()

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

7 years agoEndless loop nesting on ensureHub failure now fixed
Mikael Nordfeldth [Thu, 22 Jun 2017 12:37:32 +0000 (14:37 +0200)]
Endless loop nesting on ensureHub failure now fixed

Essentially I was missing a negation on a test if we were in rediscovery mode.

7 years agoFulltext indexes are supported in InnoDB since MariaDB 10.0.15
Mikael Nordfeldth [Wed, 21 Jun 2017 23:37:43 +0000 (01:37 +0200)]
Fulltext indexes are supported in InnoDB since MariaDB 10.0.15

7 years agoset a 'rediscovered' parameter to avoid nesting into an ensureHub loop forever
Mikael Nordfeldth [Wed, 21 Jun 2017 22:30:38 +0000 (00:30 +0200)]
set a 'rediscovered' parameter to avoid nesting into an ensureHub loop forever

7 years agoUpdate INSTALL
Danial Behzadi [Sun, 18 Jun 2017 12:42:14 +0000 (12:42 +0000)]
Update INSTALL
Step 4 of `Getting it up and running` is not applicable in newer versions.

7 years agoGNU social avatar by moshpirit / Alberto
Mikael Nordfeldth [Tue, 30 May 2017 19:37:53 +0000 (21:37 +0200)]
GNU social avatar by moshpirit / Alberto

7 years agofix a link of doc/twitterapi
MIYAGI Hikaru [Mon, 29 May 2017 21:55:39 +0000 (06:55 +0900)]
fix a link of doc/twitterapi

7 years agoSince ActivityContext::CONVERSATION changed to 'conversation' instead of 'ostatus...
Mikael Nordfeldth [Sat, 6 May 2017 13:25:44 +0000 (15:25 +0200)]
Since ActivityContext::CONVERSATION changed to 'conversation' instead of 'ostatus:conversation' we need to add it ourselves

the xmlstringerthinger doesn't really use namespaces afaik

7 years agoWhat just happened? Not sure if me or git caused duplicate code.
Mikael Nordfeldth [Sat, 6 May 2017 12:48:04 +0000 (14:48 +0200)]
What just happened? Not sure if me or git caused duplicate code.

7 years agoMerge branch 'master' into mmn_fixes
Mikael Nordfeldth [Sat, 6 May 2017 12:40:06 +0000 (14:40 +0200)]
Merge branch 'master' into mmn_fixes

7 years ago...and make sure we checkschema on Notice_prefs on upgrade...
Mikael Nordfeldth [Sat, 6 May 2017 11:54:42 +0000 (13:54 +0200)]
...and make sure we checkschema on Notice_prefs on upgrade...

7 years agoRevert some of 8a4bec811b07a0ed9d76d0aceb03855c91a67242
Mikael Nordfeldth [Sat, 6 May 2017 11:24:11 +0000 (13:24 +0200)]
Revert some of 8a4bec811b07a0ed9d76d0aceb03855c91a67242

use Notice_prefs instead of adding a new field. The rationale here
is simply that the Notice table was _huge_ and I rant into issues
with /tmp filling up when altering the tables. So let's just create
a new table instead.

7 years agoNotice_prefs now available (I just copied Profile_prefs)
Mikael Nordfeldth [Sat, 6 May 2017 11:22:10 +0000 (13:22 +0200)]
Notice_prefs now available (I just copied Profile_prefs)

7 years agoOutput proper HTML and XML headers for single Atom entry
Mikael Nordfeldth [Sat, 6 May 2017 10:38:34 +0000 (12:38 +0200)]
Output proper HTML and XML headers for single Atom entry

RFC5023 <https://tools.ietf.org/html/rfc5023> specifies that the
content type parameter 'type=entry' should be used to clarify data.

7 years agoOutput selfLink from notice asActivity[Object]
Mikael Nordfeldth [Sat, 6 May 2017 10:25:50 +0000 (12:25 +0200)]
Output selfLink from notice asActivity[Object]

7 years agoReturn false immediately if $url is empty for common_valid_http_url
Mikael Nordfeldth [Sat, 6 May 2017 10:25:27 +0000 (12:25 +0200)]
Return false immediately if $url is empty for common_valid_http_url

7 years agoNotices start saving selfLink from activities/objects
Mikael Nordfeldth [Sat, 6 May 2017 10:15:54 +0000 (12:15 +0200)]
Notices start saving selfLink from activities/objects