Mikael Nordfeldth
dea9f43d85
Updated some PHP-related info in INSTALL
2017-08-03 09:52:04 +02:00
abjectio
90e93b9656
Added base64 encoding to get RMQ to work
2017-07-28 12:42:21 +02:00
Mikael Nordfeldth
586aaa596e
Quote URL on dupe search and better logging on upgrade
2017-07-27 19:39:55 +02:00
Mikael Nordfeldth
457d32e273
Merge branch 'takeshitakenji/gnu-social-twitter-repeat-config' into mmn_fixes
2017-07-11 22:09:12 +02:00
mmn
dd8e17a387
Merge branch 'profile' into 'nightly'
...
Change Profile->getUser() to match the current user
See merge request !129
2017-07-11 20:05:47 +00:00
mmn
93524c4be3
Merge branch 'doc-backup-restore-def-vals' into 'nightly'
...
doc: Update 'backup', 'restore' default values
See merge request !143
2017-07-11 20:01:28 +00:00
mmn
924bcd93e5
Merge branch 'notice_id-xml' into 'nightly'
...
Use the statusnet namespace for notice_id in atom feed
See merge request !136
2017-07-11 20:01:01 +00:00
Mikael Nordfeldth
aa004d03aa
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
2017-07-11 21:59:49 +02:00
mmn
7785219234
Merge branch 'fix-doc-twitterapi' into 'master'
...
Fix a link of doc/twitterapi
See merge request !149
2017-07-11 19:58:48 +00:00
Mikael Nordfeldth
56e2b0007c
Issue #279 raises the point of missing newlines
2017-07-11 21:58:24 +02:00
Mikael Nordfeldth
a75b1df627
Merge branch 'master' of git.gnu.io:gnu/gnu-social into mmn_fixes
2017-07-11 21:44:50 +02:00
mmn
e3cafc011e
Merge branch 'case-sensitive-openid' into 'master'
...
Fix OpenID discovery in pages using uppercase <HEAD> tag
Closes #60
See merge request !140
2017-07-11 19:41:33 +00:00
mmn
3b363d626d
Merge branch 'safe-gitignore' into 'master'
...
Ignore whole directory, not only inner contents
See merge request !145
2017-07-11 19:31:26 +00:00
mmn
d564e28f8e
Merge branch 'xmpp-fix-1' into 'nightly'
...
Fix 'from' address in the XMPP ping command
See merge request !141
2017-07-11 19:18:51 +00:00
Mikael Nordfeldth
9b19688d65
Another solution to merge request !146
2017-07-11 21:16:30 +02:00
Mikael Nordfeldth
e4d77cb9b2
Noone uses Facebook anymore.
2017-07-11 12:44:24 +02:00
Mikael Nordfeldth
05a9c11c47
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.
2017-07-11 12:04:09 +02:00
Mikael Nordfeldth
9919ccb8b5
HubSub now remembers recent failures and counts them
2017-07-10 20:28:45 +02:00
Mikael Nordfeldth
661930cbe6
oEmbed had bad variable reference in error message
2017-07-10 20:28:35 +02:00
Mikael Nordfeldth
6a2a54dcb5
Making upgrade.php somewhat more efficient by remember one-time-inits.
2017-07-10 20:27:37 +02:00
Mikael Nordfeldth
c9cfda5ef2
Bad constant (LOG_WARNING, not LOG_WARN)
2017-07-10 14:50:25 +02:00
Mikael Nordfeldth
4ba7c4a021
AuthCrypt README brought out of the stone age
2017-07-10 14:49:01 +02:00
Mikael Nordfeldth
74a60ab963
Rework the push mechanism a bit to a less DB dependant queue
2017-07-10 14:43:28 +02:00
Mikael Nordfeldth
3bc2454e91
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.)
2017-07-10 14:41:03 +02:00
Mikael Nordfeldth
a7df79ac07
Force arrays in constructors of ActivityStreamJSONDocument and JSONActivityCollection
...
Started using PHP7+ and it started complaining about count() being fed objects
that weren't "Countable". .)
2017-07-10 14:26:01 +02:00
Mikael Nordfeldth
31866be98b
Use intval on ini_get or we use a string for timeout
2017-07-10 14:10:32 +02:00
Mikael Nordfeldth
57e22d78e0
Patch DB before release, weird use of count()
2017-07-10 14:10:10 +02:00
Mikael Nordfeldth
a4a6a8469e
Updating HTMLPurifier to 4.9.3
...
Source: https://htmlpurifier.org/download
Release date: 2017-06-19
2017-07-10 13:46:07 +02:00
Mikael Nordfeldth
3158f9c33a
Update PEAR DB to 1.9.2
...
Source: https://pear.php.net/package/DB
Release date: 2015-11-24
2017-07-10 13:34:47 +02:00
Mikael Nordfeldth
711f220397
Updating PEAR Net_URL2 to 2.1.2
...
Source: https://pear.php.net/package/Net_URL2
Release date: 2016-04-18
2017-07-10 13:29:31 +02:00
Mikael Nordfeldth
a223273544
Update PEAR DB_DataObject to 1.11.5
...
Source: https://pear.php.net/package/DB_DataObject
Release date: 2015-11-10
2017-07-10 13:25:04 +02:00
Mikael Nordfeldth
61876ed232
PEAR Net_SMTP updated to 1.8.0
...
Source: https://pear.php.net/package/Net_SMTP
Release date: 2017-04-06
2017-07-10 12:53:13 +02:00
Mikael Nordfeldth
f025671b8a
PEAR Net_Socket updated to 1.2.2
...
Source: https://pear.php.net/package/Net_Socket
Release date: 2017-04-13
2017-07-09 23:09:03 +02:00
Mikael Nordfeldth
489099ca91
change default timeout setting for HTTPClient
2017-07-09 22:49:49 +02:00
Mikael Nordfeldth
08b4b73c67
Updating HTTP_Request2 to 2.3.0
...
Source: https://pear.php.net/package/HTTP_Request2
Release date: 2016-02-13 15:24 UTC
2017-07-09 22:17:52 +02:00
Mikael Nordfeldth
fb492d4bb2
Remove debug call and change how connect_timeout is set
2017-07-09 20:34:44 +02:00
Mikael Nordfeldth
f0480c34d7
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.
2017-07-09 20:28:22 +02:00
Mikael Nordfeldth
3395f6081c
Endless loop nesting on ensureHub failure now fixed
...
Essentially I was missing a negation on a test if we were in rediscovery mode.
2017-06-22 14:37:32 +02:00
Mikael Nordfeldth
c9a9a8bc58
Fulltext indexes are supported in InnoDB since MariaDB 10.0.15
2017-06-22 01:37:43 +02:00
Mikael Nordfeldth
fa44e0c06e
set a 'rediscovered' parameter to avoid nesting into an ensureHub loop forever
2017-06-22 00:30:38 +02:00
Danial Behzadi
16e7b5af12
Update INSTALL
...
Step 4 of `Getting it up and running` is not applicable in newer versions.
2017-06-18 12:42:14 +00:00
Mikael Nordfeldth
5265c48d04
GNU social avatar by moshpirit / Alberto
2017-05-30 21:37:53 +02:00
MIYAGI Hikaru
b9a4053eec
fix a link of doc/twitterapi
2017-05-30 07:23:36 +09:00
Mikael Nordfeldth
1517deeeb6
Since ActivityContext::CONVERSATION changed to 'conversation' instead of 'ostatus:conversation' we need to add it ourselves
...
the xmlstringerthinger doesn't really use namespaces afaik
2017-05-06 15:27:25 +02:00
Mikael Nordfeldth
0dd68d11cb
What just happened? Not sure if me or git caused duplicate code.
2017-05-06 14:48:04 +02:00
Mikael Nordfeldth
4f37c564a5
Merge branch 'master' into mmn_fixes
2017-05-06 14:40:06 +02:00
Mikael Nordfeldth
5ad2f2873e
...and make sure we checkschema on Notice_prefs on upgrade...
2017-05-06 14:38:50 +02:00
Mikael Nordfeldth
966971bd12
Revert some of 8a4bec811b
...
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.
2017-05-06 14:38:48 +02:00
Mikael Nordfeldth
7767c57087
Notice_prefs now available (I just copied Profile_prefs)
2017-05-06 14:38:47 +02:00
Mikael Nordfeldth
ba4a84602a
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.
2017-05-06 14:38:46 +02:00