zotlabs
f52c670c05
support reverse magic-auth in oembed requests.
2017-04-19 20:48:10 -07:00
zotlabs
1c6d2857cb
follow_from_feed issue when called from push
2017-04-19 17:52:15 -07:00
zotlabs
397fef519c
give the item_obscured flag a new lease on life by using it to designate third party client-side e2ee or binary content which can only be downloaded and not viewed directly on the web (as a side effect this also allows binary files to be submitted as activities/content). The content display is suppressed and replaced with a download button. This is unfinished but harmless to backport while work is in progress unless told otherwise. Future development will take care of the remaining loose ends.
2017-04-18 21:18:49 -07:00
zotlabs
7a31c039fb
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-04-17 16:04:17 -07:00
Klaus Weidenbach
7d5e7bf6c8
We do not parse the body in discover_by_url(), so no need to preserve iframes in SimplePie.
2017-04-15 15:20:14 +02:00
Klaus Weidenbach
b6459e6172
⬆️ Update SimplePie library.
...
As a follow up to issue #699 update SimplePie from 1.2.1-dev (around
6years old) to current git master (1.4.4-dev). We use the master branch
until the next release because it contains our patch for enclosure
titles already. The other patches in the library from us can be done by
configuring the SimplePie object in our code instead.
Used composer to manage this library and use class autoloading.
Add some unit tests for include/feedutils.php, but the interesting parts
are unfortunately not testable with the current code.
2017-04-15 00:41:42 +02:00
git-marijus
b4f65840d1
Merge pull request #716 from dawnbreak/docu
...
Some documentation for include/network.php and some fixes.
2017-04-14 11:54:20 +02:00
Klaus Weidenbach
b266ade4fe
Some documentation for include/network.php and some fixes.
...
Some variables had wrong names and have never been used.
2017-04-14 00:21:54 +02:00
Mario Vavti
0f0fba0e9e
missing includes
2017-04-13 23:20:09 +02:00
git-marijus
2aa69257a4
Merge pull request #715 from zotlabs/cpp
...
backend infrastructure for 'channel protection password'; which will …
2017-04-13 12:08:17 +02:00
zotlabs
91d0f87181
make sure the new fields don't leak through sync packets and break older versions
2017-04-12 18:46:41 -07:00
zotlabs
1c32564536
backend infrastructure for 'channel protection password'; which will be used to optionally encrypt export files and resolve channel/identity ownership/hijacking disputes
2017-04-12 18:46:15 -07:00
zotlabs
da07108be9
make sure the new fields don't leak through sync packets and break older versions
2017-04-12 17:43:27 -07:00
zotlabs
d7f4526a00
backend infrastructure for 'channel protection password'; which will be used to optionally encrypt export files and resolve channel/identity ownership/hijacking disputes
2017-04-12 17:32:28 -07:00
zotlabs
7b173a75e4
correct the mastodon "boost" (aka 'share') author attribution by checking for share activities and pulling the original author info from the activity:object
2017-04-12 07:04:22 +02:00
zotlabs
cb5a047e5d
ugly hack to webfinger to allow connections to be made to mastodon servers.
2017-04-12 07:04:10 +02:00
zotlabs
ed5abe5981
some signatures showing as invalid because of recent import_author_zot() changes.
2017-04-12 07:03:20 +02:00
zotlabs
1609473e5d
correct the mastodon "boost" (aka 'share') author attribution by checking for share activities and pulling the original author info from the activity:object
2017-04-11 20:17:22 -07:00
zotlabs
ed8e4962b9
ugly hack to webfinger to allow connections to be made to mastodon servers.
2017-04-10 20:31:45 -07:00
zotlabs
063577c19e
some signatures showing as invalid because of recent import_author_zot() changes.
2017-04-09 20:25:41 -07:00
zotlabs
a32b097e3c
photo size-0 issue
2017-04-07 14:57:29 -07:00
zotlabs
65e5894363
photo size-0 issue
2017-04-07 14:56:12 -07:00
Mario Vavti
113bfe8fa2
remove redundant string
2017-04-07 18:41:13 +02:00
Mario Vavti
28207c3313
css fixes and missing string
2017-04-07 11:31:10 +02:00
zotlabs
e685c580f2
only log zot_refresh content if json decode was successful.
2017-04-07 11:08:55 +02:00
zotlabs
e6139c9f49
revisit the import_author_zot algorithm yet again. There was one bug that we weren't returning necessary information in the first SQL query - and performance/loading problem if one tries to refresh a dead site.
2017-04-07 11:08:26 +02:00
zotlabs
d52ee7ae27
only log zot_refresh content if json decode was successful.
2017-04-06 19:55:43 -07:00
zotlabs
ebcfc7f2b2
revisit the import_author_zot algorithm yet again. There was one bug that we weren't returning necessary information in the first SQL query - and performance/loading problem if one tries to refresh a dead site.
2017-04-06 16:24:19 -07:00
zotlabs
b347e1d861
import_author_xchan - since we rarely refresh zot-info for non-connections, force a cache reload once a week to catch things like profile photo updates and location changes
2017-04-06 20:19:27 +02:00
zotlabs
9fb08fb502
make legal_webbie() pluggable - * this should not be merged with federated projects unless the federation drivers make use of the hooks.
2017-04-05 19:08:43 -07:00
zotlabs
6710a77c26
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-04-05 17:14:11 -07:00
zotlabs
a4685e6df3
import_author_xchan - since we rarely refresh zot-info for non-connections, force a cache reload once a week to catch things like profile photo updates and location changes
2017-04-05 17:08:13 -07:00
zotlabs
50612565e9
create site_store_lowlevel() to initialise data structures for the site table
2017-04-04 10:02:33 +02:00
zotlabs
a92256e1cb
legal_webbie() now provides different character rules depending on whether you federate or not. Added some comments in a few places that needed them.
2017-04-03 22:13:12 -07:00
zotlabs
d6c23486d5
create site_store_lowlevel() to initialise data structures for the site table
2017-04-03 16:43:30 -07:00
zotlabs
a9bda2b12e
sql error photos_albums_list with non-logged-in viewer
2017-04-03 10:55:42 +02:00
zotlabs
d35678b891
change hook for perm_is_allowed while retaining backwards compatibility
2017-04-03 10:52:52 +02:00
zotlabs
405e3fc214
import_author_zot() - check for both hubloc and xchan entries. This should catch and repair entries which were subject to transient storage failures.
2017-04-03 10:51:31 +02:00
zotlabs
75cd816e02
logic error
2017-04-03 10:49:20 +02:00
zotlabs
c8a886e399
import authors from any unrecognised network as network 'unknown'.
2017-04-03 10:48:41 +02:00
zotlabs
19b2568133
whitespace
2017-04-03 10:45:39 +02:00
zotlabs
26125bcf0b
sql error photos_albums_list with non-logged-in viewer
2017-04-02 22:20:37 -07:00
zotlabs
263efbfe39
reference to deprecated function import_author_diaspora in socgraph.php
2017-04-02 21:49:50 -07:00
zotlabs
9a5ce2354d
remove some obsolete permissions stuff
2017-04-02 20:51:40 -07:00
zotlabs
af14020e42
change hook for perm_is_allowed while retaining backwards compatibility
2017-04-02 20:03:27 -07:00
zotlabs
4a49643bcd
import_author_zot() - check for both hubloc and xchan entries. This should catch and repair entries which were subject to transient storage failures.
2017-04-02 19:46:20 -07:00
zotlabs
1a28fb2a0c
logic error
2017-04-02 17:12:42 -07:00
zotlabs
d985db60cc
import authors from any unrecognised network as network 'unknown'.
2017-04-02 17:09:51 -07:00
zotlabs
a76ad1478f
crypto updates
2017-04-02 16:44:44 -07:00
zotlabs
044067f055
harden security
2017-04-02 16:40:36 -07:00