zotlabs
c6f34c7f80
more spring cleaning
2018-08-02 01:56:34 -07:00
zotlabs
a87d5aa730
Merge branch 'red' into red_merge
2018-07-30 18:22:25 -07:00
gia vec
149071bf0c
Update network.php
...
(cherry picked from commit 8db006d9a1b3401f79ad0458e3a2ebae64c3575c)
2018-07-30 09:48:24 +02:00
zotlabs
f7e9cd5a8f
SECURITY: sanitise vcard fields
2018-07-29 17:36:05 -07:00
zotlabs
5ec73e6862
Revert "Merge branch 'red'"
...
This reverts commit 159f24afe3
, reversing
changes made to dd899418c1
.
2018-07-29 17:17:33 -07:00
zotlabs
159f24afe3
Merge branch 'red'
2018-07-29 16:48:14 -07:00
zotlabs
2367d94a42
SECURITY: sanitise vcard fields
2018-07-28 15:33:20 -07:00
zotlabs
b3b6b813f2
upstream/downstream comment work
2018-07-11 18:02:25 -07:00
zotlabs
6bf88f10d2
move queue functions to Zotlabs/Lib
2018-07-02 22:43:41 -07:00
zotlabs
8222b02495
more zot6 heavy lifting
2018-06-24 18:54:29 -07:00
zotlabs
38a2493ed0
Merge branch 'red'
2018-06-07 18:44:05 -07:00
zotlabs
2c7597066c
update a number of links in the code
2018-06-06 17:12:20 -07:00
zotlabs
aa57887dd5
Merge branch 'master' into zapp
2018-05-26 15:13:57 -07:00
zotlabs
cd4454100b
alternate fix for z_check_dns
2018-05-24 16:32:21 -07:00
zotlabs
27ce7c11bd
lots more zot6 work
2018-05-22 23:20:29 -07:00
zotlabs
21230fb39a
Merge branch 'master' into zapp
2018-05-20 20:44:20 -07:00
zotlabs
ac8706e919
pleroma does not return a valid JRD when given an accept header of application/jrd+json - it only returns a JRD when passed an accept header of application/json (ahead of anything else because XRD is served at the same endpoint)
2018-05-20 20:15:19 -07:00
zotlabs
b1629db876
checkin lots of recent zap/zot6 work
2018-05-18 03:09:38 -07:00
zotlabs
e55eb26544
Merge branch 'master' into zapp
2018-05-17 19:33:58 -07:00
zotlabs
257dcaaf8b
minor tweak to last pull: ensure that feeds have a name besides whitespace characters
2018-05-06 18:25:17 -07:00
zotlabs
a30934c563
ensure that feed xchans have a name
2018-05-06 18:23:39 -07:00
Mario Vavti
b0ca73c1ba
Merge remote-tracking branch 'mike/master' into dev
2018-05-05 07:22:31 +02:00
Mario Vavti
f995ef0124
set XML_OPTION_SKIP_WHITE to 1 again
2018-05-04 22:46:43 +02:00
zotlabs
4a26f0d2d4
turn skip white back on - (xml actually doesn't parse if you disable this)
2018-05-04 13:44:34 -07:00
zotlabs
285781b887
hubzilla issue #1151 - activitypub mention gets bookmarked
2018-05-02 13:49:22 -07:00
zotlabs
91688f7296
Merge branch 'master' into zapp
2018-05-01 21:57:10 -07:00
zotlabs
e841e48258
hubzilla issue #1119 - xml2array has issues with some unicode sequences/conversions. Working around it using the older simplexml parser until it can be debugged, as Diaspora does not use complex XML with namespaces; which is where we need the more advaced capabilities of xml2array.
2018-04-29 23:05:38 -07:00
zotlabs
8c7bf6d2f3
remove unused function
2018-04-28 14:13:56 -07:00
zotlabs
5ed994ded3
convert keys on discovery
2018-04-23 18:21:50 -07:00
zotlabs
b1690a93d2
site discovery
2018-04-22 21:30:14 -07:00
zotlabs
5eff476469
verify the sig
2018-04-22 19:49:26 -07:00
zotlabs
a81011333f
follow activitypub by webfinger; requires addon update to all federation protocols
2018-04-18 19:41:09 -07:00
zotlabs
8b9952e770
set the correct webfinger Accept: request header now that Mastodon fixed the bug that we changed it to work around
2018-04-16 23:32:40 -07:00
zotlabs
1662f76f03
hubzilla issue #1078 ; provide content-type header for system emails (was already correct for notification emails)
2018-04-16 16:12:57 -07:00
zotlabs
4499ee178f
put directory server in siteinfo - there are a lot of sites using broken directories
2018-04-06 01:24:38 -07:00
zotlabs
4493304fa7
wrong function
2018-03-31 13:22:12 -07:00
zotlabs
d406e2aae2
siteinfo.json - if hide_in_statistics is set only include the total channels count and no other statistical info
2018-02-24 14:38:28 -08:00
zotlabs
b6d34bffcc
trim non-existent/deprecated plugins from siteinfo plugin list
2018-02-20 21:31:40 -08:00
zotlabs
4cfd7b65fb
siteinfo embellishments
2018-01-22 20:07:08 -08:00
zotlabs
3bd7133ba3
hubzilla issue #947
2018-01-01 12:25:43 -08:00
Klaus Weidenbach
1a737be2b4
💡 Improving Doxygen documentation.
...
Fix some Doxygen parsing errors.
Improve hooks documentation.
2017-11-03 23:04:27 +01:00
zotlabs
0d7062ffdf
more queue work
2017-11-02 15:43:14 -07:00
zotlabs
1b290f573a
put deferred queue logic every place we create a delivery process (except for protocol 'friend requests' which aren't likely to swamp the delivery system). Remove it from the queue_delivery function which was too late to do anything.
2017-11-02 03:13:30 -07:00
zotlabs
812d904c98
bring back the markdown post feature (after investing some effort to make it work)
2017-10-22 18:23:37 -07:00
zotlabs
b0cdec0c35
perform caching of jsonld schemas
2017-09-19 19:15:15 -07:00
zotlabs
4ff89a5862
drop salmon until we improve performance
2017-09-12 20:24:57 -07:00
zotlabs
4111ba8dee
php warnings
2017-08-18 03:04:15 -07:00
zotlabs
86c4743ed9
deliverable_singleton - also check hubloc_hash in case we don't have an xchan_hash
2017-08-10 21:43:36 -07:00
zotlabs
6c55e44f4c
when following, allow [network]follow_address syntax to connect with a specific network for multi-protocol services
2017-08-10 12:49:20 -07:00
zotlabs
6531cbd1d2
libxml errors
2017-08-09 17:35:03 -07:00
zotlabs
e3c8e4f483
modify connection edit display for channels with no address/webbie
2017-07-30 21:55:28 -07:00
zotlabs
15e836b7dd
provide content-type matching ability for activitypub
2017-07-17 19:53:03 -07:00
Mario Vavti
c3b93de099
typo
2017-07-05 12:32:46 +02:00
zotlabs
2e531c103f
error
2017-05-08 02:00:00 -07:00
zotlabs
f0a2747d80
make service_plink pluggable
2017-05-04 21:55:56 -07:00
zotlabs
b2d2dcc7fe
more code refactoring to put external protocol dependencies in plugins.
2017-05-02 20:17:47 -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
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
zotlabs
cb5a047e5d
ugly hack to webfinger to allow connections to be made to mastodon servers.
2017-04-12 07:04:10 +02: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
1ee76cb506
remove more hardwired branding
2017-03-12 20:54:48 -07:00
zotlabs
b6477cd38b
go back to where the problem started
2017-03-09 11:51:21 -08:00
zotlabs
1ca0b85196
cleaner integration between the headers and session options of z_fetch_url()
2017-02-28 16:32:24 -08:00
zotlabs
fa944fc526
provide 'session' option to z_fetch_url to assist with remote fetches requiring magic auth
2017-02-27 23:48:54 -08:00
zotlabs
7b065365e0
consolidate hubloc storage
2017-01-30 15:01:22 -08:00
zotlabs
9addcfe827
finish remaining places where xchan_store_lowlevel needs to be used
2017-01-29 15:25:24 -08:00
zotlabs
5aa0017e91
provide lowlevel xchan storage function to ensure that all non-null rows are initialised
2017-01-28 15:01:19 -08:00
zotlabs
33aa373b3f
minor
2017-01-24 19:44:24 -08:00
Mario Vavti
a36d74dad5
do not choke if photo_factory() returns null
2017-01-15 13:23:28 +01:00
zotlabs
95485a0da2
z_fetch_url incorrect variable
2016-12-15 16:02:52 -08:00
zotlabs
b541351a0a
ignore flags to dns_get_record() and look for anything
2016-11-02 23:37:57 -07:00
Florian Steinel
c1c96e01fa
sql: limit 1 for UPDATE and DELETE is not supported by the SQL standard and postgresql
...
(see: https://www.postgresql.org/message-id/flat/1291109101.26137.35.camel%40pcd12478 )
2016-10-27 02:41:32 +02:00
zotlabs
33b1c57092
For z_dns_check() use config values from memory and ignore DB - as this function can be called in the early stages of Setup when we first try to connect to the database.
2016-10-25 23:32:24 -07:00
zotlabs
88a68b941f
put all dns checking into one function, allow it to be ignored
2016-10-25 18:27:32 -07:00
zotlabs
b9eb74a705
Merge pull request #547 from dawnbreak/docu
...
[TASK] Update Doxyfile and fix Doxygen errors.
2016-10-14 12:55:01 +11:00
zotlabs
daaefed61b
provide text log results of email success/failure rather than 1 and 0.
2016-10-13 16:47:45 -07:00
Klaus Weidenbach
7b41839ea8
[TASK] Update Doxyfile and fix Doxygen errors.
...
Updated Doxyfile to include new folders.
Add a list for @hooks tags.
Fixed some parsing problems for Doxygen.
2016-10-13 11:27:23 +02:00
zotlabs
f56b4773cb
When importing a channel from another server, try to auto-discover the best available api path.
2016-10-11 20:53:13 -07:00
redmatrix
883828c6cc
change hook name and return results
2016-10-01 15:15:14 -07:00
redmatrix
fa94644bcf
Unify the various mail sending instance to enotify::send() and z_mail(). Both take the same arguments. z_mail() is text only, enotify::send() provides html and text. Both are pluggable using the enotfy_send hook.
2016-10-01 03:06:01 -07:00
redmatrix
2728cdaf23
change notify param
2016-09-29 17:54:11 -07:00
redmatrix
b5d093e5ca
finish the channel_reddress() conversion
2016-09-21 15:28:37 -07:00
redmatrix
c43eccf591
zot discovery wasn't returning in all cases (after discovering zot), which means that it could fall through and also discover other protocols and create xchans for them.
2016-09-21 13:24:16 -07:00
redmatrix
07dca90352
updates to hcard parsing
2016-08-07 21:00:23 -07:00
redmatrix
7d7f43c205
still working through some issues with curl magic-auth
...
fixed profile photo upload
2016-06-27 22:25:37 -07:00
redmatrix
e2de2f65d5
issue #442 , tables contain too much whitespace (there's a definite issue here, but I should note the offending example was full of carriage returns as well as linefeeds; which exacerbated the problem).
2016-06-26 20:15:42 -07:00
redmatrix
b593c3a9b9
1. provide automatic relocation of important links in items that are imported or synced to clones
...
2. provide framework for custom curl request bodies using custom/non-standard request methods. This was a real nightmare because curl doesn't actually let you specify a string to send as the request body (except when doing POST). You have to treat it as a file upload using a custom file handler function which provides the actual content in chunks as if it were buffered I/O.
3. item_store and item_store_update now return the item that was stored
2016-06-21 18:24:36 -07:00
redmatrix
ed16660867
code optimisation
2016-06-20 20:34:19 -07:00
redmatrix
30841d9470
Don't use count() to check DB results
2016-06-19 18:57:56 -07:00
redmatrix
f6d7628254
core changes to better support media migrations
2016-06-16 20:16:39 -07:00
redmatrix
d457f11717
custom request methods for curl
2016-06-15 21:25:26 -07:00
redmatrix
6602ff83dd
start removing reserved words from database column names (this run: addon and hook)
2016-05-30 19:44:30 -07:00
redmatrix
80f2ba640e
code cleanup
2016-05-24 20:49:23 -07:00
redmatrix
84ba6393ad
relocate index and db
2016-05-24 16:36:55 -07:00
redmatrix
29ba891809
moved enotify
2016-05-24 01:25:13 -07:00
redmatrix
d8ace38041
rework the conversation object stuff at a high level - still needs a bit of refactoring
2016-05-20 22:52:47 -07:00
redmatrix
019250eff8
consolidate include/*_selectors.php (not touching acl_selectors for the moment, as it will likely end up with a different disposition)
2016-05-20 22:13:20 -07:00
redmatrix
cae380f068
case issue
2016-05-20 01:21:19 -07:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
redmatrix
853322e7d2
don't try to deliver empty hashes
2016-05-19 20:48:40 -07:00
redmatrix
883b1ff513
an issue related to #386
2016-05-16 19:23:42 -07:00
redmatrix
4dd3839c41
provide repository versions on admin summary page and an upgrade message if you're behind master
2016-05-10 21:46:04 -07:00
redmatrix
f99daf8ff9
move iconfig functions to include/config.php with all the rest of the configs, fix an issue with singleton discovery and start work on singleton delivery
2016-04-26 16:12:31 -07:00
redmatrix
d62f490814
Setup was horked after this commit and I couldn't easily make it right so reverting - will try again at a future date
...
Revert "remove global db variable"
This reverts commit c3b0c0f32a
.
2016-04-25 20:12:36 -07:00
redmatrix
c3b0c0f32a
remove global db variable
2016-04-25 16:55:33 -07:00
redmatrix
fd07940b10
provide stream resource pointer option to z_fetch_url() and z_post_url() per earlier doco commit on syncing files/photos across clones.
2016-04-05 18:24:24 -07:00
redmatrix
222ace3770
For GNU-social discovery, use the URI in the feed (author.uri) rather than try to pick out which of the aliases in webfinger are likely to be the right one. If we get it wrong, our communications with them will be discarded and there is no rhyme or reason to the logic about which representation is likely to be the one true account URI. It appears to vary with the clean_url setting of the site and this info isn't available to us except with a sequence of expensive probes and testing various ways of re-writing URLs to see if we get a response.
2016-04-03 20:55:38 -07:00
redmatrix
8b3c099a12
use constant
2016-04-02 21:06:41 -07:00
redmatrix
9abd95fad3
static App
2016-03-31 16:06:03 -07:00
redmatrix
1cd3b41825
deprecate $a->get_baseurl()
2016-03-30 22:13:24 -07:00
redmatrix
971e7321c6
issue #319 part 2
2016-03-26 14:33:36 -07:00
redmatrix
f200dd4395
atom specifies a uri or iri for the id. message_id isn't suitable here.
2016-03-23 16:36:27 -07:00
redmatrix
6f2ba0c619
rewrite the webfinger discovery logic
2016-03-22 19:58:59 -07:00
redmatrix
ec99e3ed62
attempting to work with braindead lighttpd gnusocial servers
2016-03-21 21:31:28 -07:00
redmatrix
28599fe652
more federation work
2016-03-20 21:41:19 -07:00
redmatrix
38eb79705e
lots of work on federated channel discovery
2016-03-16 18:00:13 -07:00
redmatrix
b673b6835d
federation work
2016-03-14 22:14:17 -07:00
redmatrix
ef7494359f
some re-working of webfinger and hcard parsing which will be necessary going forward.
2016-03-14 18:12:35 -07:00
redmatrix
f7f20c5917
z_fetch_url and z_post_url returning false
2016-02-27 16:27:37 -08:00
redmatrix
28d07fd6b2
move storage assets to zotlabs/storage
2016-02-19 00:06:10 -08:00
redmatrix
342fda94e4
Provide Zotlabs\Project and System class for querying details about the project/version info. Move these out of /boot.php
2016-02-18 15:24:58 -08:00
redmatrix
ade91f8190
directory modes reversed
2016-02-12 14:02:50 -08:00
redmatrix
d8e6fd5df0
provide get_server_role() to abstract different roles and capabilities
2016-02-07 18:11:10 -08:00
redmatrix
be83855acf
generalise the site icon
2016-01-17 16:50:37 -08:00
redmatrix
10ed334e8c
various issues from the forums
2016-01-17 16:29:32 -08:00
redmatrix
23c7086605
add locked features to siteinfo to assist in debugging
2016-01-09 23:39:53 -08:00
redmatrix
b00c22916a
fix relative urls on some Diaspora profile photos
2016-01-09 14:02:58 -08:00
wave72
598a428c6b
Added 'invitation_only' to site info
2015-12-20 14:41:49 +01:00
redmatrix
72edc9cd6c
start working on the singleton setting
2015-12-09 18:30:30 -08:00
redmatrix
f7f0d2b265
provide plugin hooks for blacklist checking functions.
2015-12-06 20:45:21 -08:00
redmatrix
ca55bbdaed
use the std_version where applicable instead of matching to the git.
2015-12-03 17:09:05 -08:00
redmatrix
650f882265
generalise the site black|white allow lists, also add a channel black|white list for future use
2015-11-29 20:26:00 -08:00
redmatrix
a2747403f2
report correct directory mode for standalone directories in siteinfo
2015-11-29 19:45:29 -08:00
redmatrix
3f9412add2
create get_site_info() function so we can have a siteinfo.json module instead of or actually in addition to siteinfo/json
2015-11-29 19:37:03 -08:00
ken restivo
fabf7081d3
Use http_status() instead of homegrowing it. Adapt http_status to handle replies with data.
2015-11-20 18:56:41 -08:00
redmatrix
c4a3487f0c
remove the obsolete avatar_img function (gravatar/libravatar lookup)
2015-11-09 20:29:36 -08:00
redmatrix
93f061f78a
mail sync/migrate continued; also abstract delivery loop to make it re-usable, change refresh_all to use delivery loop.
2015-10-15 18:52:04 -07:00
redmatrix
bf5a1f662a
generate all (non-square) photo scales - even if the original photo is smaller than the scale target sizes.
2015-10-15 14:18:40 -07:00
redmatrix
cc95c3e9c8
start hooking in the new webfinger/zot merged discovery
2015-09-17 18:36:19 -07:00
redmatrix
f0a7a6a1e2
consolidate zotfinger and webfinger
2015-09-17 17:51:31 -07:00
redmatrix
2d94a038a5
ensure connections have a name
2015-09-10 01:21:18 -07:00
redmatrix
6cc60ba477
initial work on obj import, rename import_profile_photo to import_xchan_photo to more accurately state its purpose.
2015-09-01 22:03:10 -07:00
redmatrix
b737e224b1
more work separating Diaspora from core
2015-08-03 16:52:51 -07:00
redmatrix
c0e67db070
refresh diaspora xchan every month or so since receiving profile update messages from that network reliably are just as unlikely as receiving any other kind of message from that network reliably. The problem is that if somebody changes their profile name or photo once every few years and you miss it because of their shitty unreliable communications, your data could be stale for a long time.
2015-07-22 19:02:45 -07:00
redmatrix
c90f14c066
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
doc/to_do_code.bb
2015-07-21 17:13:48 -07:00
Mario Vavti
4d45bc9da1
Fixes regarding the new default profile photo size. The default profile photos are just renamed. People which provided the originals are invited to reproduce them in the new 300 by 300 px format.
2015-07-20 21:01:11 +02:00
redmatrix
6e8ad5089e
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
view/nl/messages.po
view/nl/strings.php
2015-06-29 18:01:51 -07:00
redmatrix
0b012e2995
some prep work
2015-06-29 16:56:18 -07:00