zotlabs
1159dd59ed
fix cloud redirects with owt tokens
2017-11-03 14:07:00 -07:00
Mario Vavti
0ce7358f0f
update item_normal() to not include ACTIVITY_OBJ_FILE obj_type
2017-11-03 13:49:58 +01:00
zotlabs
b450b6a435
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-11-02 17:32:03 -07:00
zotlabs
0d7062ffdf
more queue work
2017-11-02 15:43:14 -07:00
Mario Vavti
8f59b2d3e0
Merge remote-tracking branch 'mike/master' into dev
2017-11-02 12:36:05 +01: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
Mario Vavti
00d8783e45
Merge remote-tracking branch 'mike/master' into dev
2017-11-02 08:53:31 +01:00
Mario Vavti
cdaf5f3fc0
fix issues with diaspora xchans
2017-11-02 08:44:46 +01:00
zotlabs
52657b6215
don't perform zot_refresh on dead sites unless $force is set
2017-11-01 19:24:29 -07:00
zotlabs
28cd2759d7
do not send message_list responses to dead sites (this delivery method bypassed the notifier)
2017-11-01 17:50:57 -07:00
zotlabs
7d9d1e0cdb
Maria's profile photo issue, please push to master.
2017-11-01 02:15:40 -07:00
zotlabs
6efef3922b
add another delivery control parameter (force queue threshold)
2017-10-31 15:41:44 -07:00
zotlabs
60da235efb
use 1) personal setting, 2) site setting, 3) default false - for system.channel_menu
2017-10-30 20:43:24 -07:00
zotlabs
4fef29e61c
memory overflow trying to delete a connection with a very high noise to signal ratio
2017-10-29 22:21:52 -07:00
Klaus Weidenbach
1be98d7b7f
✅ Some more work on unit tests.
...
Some small improvements for coverage report.
Add more functions from include/text.php
Update composer dev libraries for phpunit.
2017-10-29 22:00:55 +01:00
Klaus Weidenbach
66832c41e9
⬆️ Update intl library.
...
Update intl library from v0.4? (2014) to v0.7.4 (2016).
Use global composer autoloader now.
2017-10-29 22:00:12 +01:00
Klaus Weidenbach
8e4c5db766
⬆️ Update Text_LanguageDetect.
...
Update from v0.3.0 (2012) to v1.0.0 (2017) which should remove some
warnings and improve PHP7 support.
Using composer to handle this PEAR library now.
Fix a problem in FeedutilsTest.
2017-10-29 22:00:06 +01:00
Klaus Weidenbach
fe5f1e4d67
✅ Some unit test for include/language.php
...
Unfortunately not so much unit testable, but added in preparation to
update LanguageDetect and Intl library.
2017-10-26 01:21:43 +02:00
zotlabs
52c1f79f2e
acl encoding issues
2017-10-23 17:52:17 -07:00
zotlabs
e67ff5c122
hubzilla issue #885
2017-10-23 12:35:46 -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
c7d9a5ac91
wrong key
2017-10-22 12:35:17 -07:00
zotlabs
9d51318c53
table structure for pseudo or proxy channels (pchan)
2017-10-19 17:24:11 -07:00
Mario Vavti
f3c374b6ff
redirect to be moderated items to /moderate and change the conv link to partent mid in /modrate
2017-10-19 11:20:09 +02:00
Mario Vavti
21b2c0afa3
fix issue #837 - w2w posts not removed in contact_remove()
2017-10-19 10:21:47 +02:00
zotlabs
b106b53d05
don't translate 'guest:' since it is part of a url
2017-10-16 23:01:00 -07:00
zotlabs
a791809a84
ensure guests hve a unique (non-existent) url so that network discovery on remote servers doesn't come up mis-attributing the token. Future work should probably provide an actual page at this location describing it as a guest account of 'xyz'.
2017-10-16 22:31:38 -07:00
zotlabs
cf7481da53
regression in zot site info after zot6 work
2017-10-16 15:20:45 -07:00
zotlabs
9b94ad2ffe
was unable to make the modal login dialog work on the channel page with a cover photo. So for mod_channel, send login to the login page instead of the modal popup.
2017-10-14 01:17:47 -07:00
zotlabs
29a29f277e
create an actual logout module instead of relying on internal variables
2017-10-12 22:10:42 -07:00
zotlabs
6acd96fd33
typo
2017-10-11 17:52:03 -07:00
zotlabs
0c5918f290
bring back some nav stuff (notifications) for alternate navbars; still some things missing as the notification dropdowns aren't fully functional.
2017-10-11 01:29:25 -07:00
zotlabs
ff8ee6fb22
for federated forums we need to keep track of what protocols are available to red/hubzilla channels to determine which posts need to be mangled for transport to individual networks - based on what networks the author can communicate with. We probably need this for all xchans and hublocs but at some point it becomes increasingly difficult to scrape this information and map out a compatibility matrix. It's also doubtful anybody will use this system because we basically have to forge comments between network sites involving different protocols and this is going to look like crap to anybody that isn't on red/Hubzilla. Eventually they have to fix their protocols for this to work correctly, but nobody seems to believe me that their networks are basically anti-federation, so we need something like this to highlight their walled garden specifications and the resulting federation problems in a form they can't really argue with.
2017-10-10 22:02:22 -07:00
zotlabs
1a7ccc462b
on failed auth due to unverified email, tell the person why and remind them to check their email.
2017-10-10 19:45:11 -07:00
zotlabs
09b4660c7d
rename view/tpl/nav.tpl to navbar_default.tpl so that all navbar selection code is consistent
2017-10-10 18:50:01 -07:00
zotlabs
69394c1680
re-implement single delivery
2017-10-10 18:40:02 -07:00
Mario Vavti
e6f1fb3d95
remove notifications code from nav and go live with new notifications
2017-10-10 16:51:35 +02:00
zotlabs
d636ff586d
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-10-09 15:15:02 -07:00
zotlabs
623dfa1384
purify user-supplied filenames in some cases. Probably not needed but it's the right thing to do.
2017-10-09 15:13:25 -07:00
Mario Vavti
cc1ffff7cd
feed untranslated appnames to nav_set_selected() and query for the active app directly to get app details
2017-10-09 21:22:57 +02:00
Mario Vavti
5698462588
Merge remote-tracking branch 'mike/master' into dev
2017-10-09 17:49:55 +02:00
Mario Vavti
f99c007187
new notification changes - use sticky_kit instead of position fixed
2017-10-09 17:49:15 +02:00
zotlabs
23812e5b48
ability to pin apps to the navbar when using named navbars
2017-10-08 19:43:03 -07:00
zotlabs
4011dd18f0
alternate navbar layouts
2017-10-08 16:48:24 -07:00
Mario Vavti
991db280be
experimental new notifications - needs pconfig experimental_notif set to 1 for your channel to work.
2017-10-08 17:19:29 +02:00
Mario Vavti
e15307747f
it is not your public stream -> just public stream
2017-10-06 16:48:25 +02:00
Mario Vavti
f427b4a325
introduce public stream notifications
2017-10-06 16:46:27 +02:00
zotlabs
a6835f4e71
changes to encryption encapsulation for zot6 (backward compatible)
2017-10-05 23:01:42 -07:00
zotlabs
a0eb628526
Experimental alternate channel_menu navigation. To use, "util/config system.channel_menu 1"
2017-10-05 16:59:33 -07:00
zotlabs
4ab21edba8
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-10-04 19:37:50 -07:00
Mario Vavti
295ed07d40
bring back notifications for account approvals
2017-10-04 13:37:17 +02:00
zotlabs
d6b1eff70e
ensure we have an observer hash
2017-10-03 17:05:32 -07:00
zotlabs
7fb02752de
hubzilla issue #868
2017-10-03 17:03:24 -07:00
zotlabs
58155864cb
urlencode hashes from mod_acl
2017-10-03 15:36:56 -07:00
zotlabs
9cf9217686
don't use chanlink_url() for feed mentions
2017-10-03 15:27:26 -07:00
Mario Vavti
66511d8f07
move common connections widget to left aside
2017-10-03 10:53:08 +02:00
zotlabs
ea4d1b5101
use imagick converter for large photos
2017-09-30 15:17:47 -07:00
zotlabs
617f2863c4
process activity deletes from OStatus which for whatever reason do not use the industry standard tombstone mechanism
2017-09-27 21:13:53 -07:00
zotlabs
d91a82430a
more zot6 basic stuff
2017-09-25 20:11:21 -07:00
zotlabs
66334374af
zot_site_info - always sign the site block with the site private key
2017-09-25 17:30:33 -07:00
zotlabs
741af8c164
extend activity_match to work with arrays
2017-09-24 22:41:14 -07:00
zotlabs
906a810735
server/hub config storage for zot6
2017-09-24 21:20:50 -07:00
zotlabs
808605cd65
ostatus - support likes of comments
2017-09-24 21:09:21 -07:00
zotlabs
1650d79862
tagging changes - provides ability to mention a forum by using !forumname as well as the traditional red style (@forumname+). This should probably not be advertised on a wide scale until after a critical mass of sites have updated to a version containing these changes. This adds yet another option type to the ACL module which probably needs refactoring soon since it is turning into option type spaghetti.
2017-09-24 19:45:19 -07:00
zotlabs
8b7ab90836
Merge branch 'master' into tagging
2017-09-24 16:59:56 -07:00
zotlabs
3456c192fe
encrypt delivery reports. This will cause a bit of consternation because this is not backward compatible and older sites will see some incorrect delivery reports from newer sites until the next upgrade; as their systems will not know how to read the ecnrypted final reports.
2017-09-21 23:37:13 -07:00
zotlabs
9e46472ca2
provide default photo mimetype
2017-09-20 00:00:26 -07:00
zotlabs
61d9b34929
use mimetype text description rather than technical name in dropdown choices, found bug in mimetype selection option code
2017-09-19 23:30:52 -07:00
zotlabs
b0cdec0c35
perform caching of jsonld schemas
2017-09-19 19:15:15 -07:00
zotlabs
72a19a14af
turn common friends into a widget
2017-09-19 17:35:57 -07:00
zotlabs
c6bcea0f82
pubcrawl: make a good faith effort to handle multi-media content
2017-09-18 21:55:45 -07:00
zotlabs
e812836a60
provide rel=alternate link if no reshare content in post
2017-09-18 17:46:34 -07:00
zotlabs
d37e6b9271
more tag stuff
2017-09-17 23:54:29 -07:00
zotlabs
654139933f
tagging changes
2017-09-17 23:28:58 -07:00
zotlabs
1d9e0f17a6
more mastodon testing
2017-09-17 18:40:32 -07:00
zotlabs
6734854776
typocheck
2017-09-14 18:50:43 -07:00
zotlabs
1c0ece8411
provide a hook for importing a channel photo at channel creation time
2017-09-14 18:48:55 -07:00
zotlabs
5be132f877
make wiki page mimetype default to wiki mimetype (this was the original intent but the wrong variable was used)
2017-09-13 21:36:59 -07:00
zotlabs
b5966041be
more zot6
2017-09-13 20:40:01 -07:00
zotlabs
62d6bada4c
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-09-13 19:26:33 -07:00
zotlabs
13788af908
Zot6: some things that need to be done ahead of time so we can turbocharge the delivery engine and split off site records from channel records.
2017-09-13 19:20:16 -07:00
Mario Vavti
29b0ed87d6
Merge remote-tracking branch 'mike/master' into dev
2017-09-13 10:30:08 +02:00
zotlabs
0e6d84e207
add option to mimetype selector so you can change the element name in case you end up with two of these suckers on the same page
2017-09-12 23:25:19 -07:00
zotlabs
5e99295bf6
wiki mimetype selection
2017-09-12 22:32:31 -07:00
zotlabs
4ff89a5862
drop salmon until we improve performance
2017-09-12 20:24:57 -07:00
Mario Vavti
87ca60b0b1
rename activity notifications links - one more
2017-09-12 21:38:36 +02:00
Mario Vavti
525d554a35
rename activity notifications links
2017-09-12 21:34:14 +02:00
zotlabs
471449f539
regex was still broken
2017-09-10 22:59:26 -07:00
zotlabs
187fc9a51b
fix regex
2017-09-10 17:40:40 -07:00
zotlabs
e2e7bee3cc
owa cleanup
2017-09-09 13:34:57 -07:00
zotlabs
84c86f01c8
owa: missed the set-observer stuff
2017-09-08 16:00:27 -07:00
zotlabs
1fbb1e6c2a
initial testing success with owa
2017-09-07 18:52:18 -07:00
zotlabs
4d794103be
testing owa
2017-09-07 18:09:31 -07:00
zotlabs
61f339a874
owa - first commit
2017-09-07 17:56:02 -07:00
zotlabs
41e0d5f664
use array_key_exists() instead of x() in this case as the latter fails on an array that's empty and we unconditionally need to encode the array even if empty
2017-09-06 20:07:53 -07:00
zotlabs
318643cf9a
mastodon wraps oembed in an iframe - which we immediately purify our of existence and what we really want to purify is the content. So strip away the iframe, fetch the content and purify that instead.
2017-09-06 19:55:32 -07:00
zotlabs
ab9b82e778
ignore diaspora_meta column on item import.
2017-09-06 16:44:10 -07:00
zotlabs
45eb61bcf0
provide sharing of cards
2017-09-05 18:32:37 -07:00
zotlabs
6147f819ce
avoid a security patch and resultant compatibility issues; instead restrict the input characters we accept in token verification strings to hex digits. This will all be changing in the coming weeks/months anyway.
2017-09-05 17:12:31 -07:00
zotlabs
842a041a88
remove period from characters allowed in username, as this will mess up URL based content-type negotiation. It was previously disallowed but permitted a month or two ago after seeing Diaspora started allowing it. It's OK if they have it, but we can't; as many of our urls are based on username and theirs are primarily based on uid.
2017-09-05 16:38:55 -07:00
zotlabs
05654e4980
card embed improved
2017-09-04 21:02:44 -07:00
zotlabs
fc62f07a08
validate the security context
2017-09-03 23:50:18 -07:00
zotlabs
3d0a7f4fc5
paths in xchan_addr no longer means RSS specifically but could be activitypub
2017-09-03 22:09:16 -07:00
Mario Vavti
0fac35686b
Merge remote-tracking branch 'mike/master' into dev
2017-09-03 21:49:01 +02:00
Mario Vavti
dc18440c18
introduce item_normal_update(). the differnce to item_normal() is that we do not query for item_deleted = 0 and therefor can find deleted likes which allows us to update our unlikes on the fly if static page update is enabled
2017-09-03 21:33:07 +02:00
zotlabs
499b7de0d2
Reviewed. This is OK.
...
Revert "may be exploitable in current form - awaiting review"
This reverts commit 7bff60edac
.
2017-09-03 00:59:51 -07:00
Mario Vavti
1a0cf2666a
Merge remote-tracking branch 'mike/master' into dev
2017-09-02 23:52:31 +02:00
zotlabs
7bff60edac
may be exploitable in current form - awaiting review
2017-09-02 14:04:37 -07:00
Mario Vavti
3af3b36db3
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2017-09-01 10:41:07 +02:00
git-marijus
9333503600
Merge pull request #850 from anaqreon/doco
...
Fix the multiple table of content bug
2017-09-01 10:40:24 +02:00
zotlabs
5bffae6219
cut down on a few extraneous gprobe processes
2017-08-31 23:21:06 -07:00
zotlabs
ae8cdc3b42
some changes after testing server-to-server magic auth
2017-08-31 21:38:03 -07:00
zotlabs
b413beeb36
add server-to-server magic auth to dav and cdav controllers
2017-08-31 20:45:13 -07:00
zotlabs
0cf5536e90
server to server magic auth
2017-08-31 20:08:58 -07:00
zotlabs
5e767144c9
simplify api_auth
2017-08-31 19:09:07 -07:00
zotlabs
74f55d1504
check input is hex before sending it to hex2bin
2017-08-30 21:45:54 -07:00
zotlabs
be097bf415
issue with mentions and xchans with @ or /
2017-08-30 16:24:26 -07:00
zotlabs
77267e049a
use iso 8601 "Zulu" for log timestamps so it can be easily processed with fail2ban
2017-08-29 20:47:49 -07:00
zotlabs
e2b6464f83
escape 'http' inside code blocks so it doesn't trigger an oembed
2017-08-29 20:07:26 -07:00
Andrew Manning
acacea5efe
Merge remote-tracking branch 'upstream/dev' into doco
2017-08-27 23:47:14 +00:00
Andrew Manning
49b38bd71b
Merge remote-tracking branch 'upstream/dev' into doco
2017-08-25 11:32:28 +00:00
Andrew Manning
75f3e9202e
Removed duplicated table of contents (TOC) in Help pages by breaking hierarchical TOC loading.
2017-08-25 11:32:18 +00:00
zotlabs
cff5e360fd
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-08-24 18:50:04 -07:00
zotlabs
5c92337821
cards - change placeholdertext, separate from button text
2017-08-24 18:34:12 -07:00
zotlabs
341386a95b
make cards searchable
2017-08-24 18:15:19 -07:00
git-marijus
9cb856d5fd
Merge pull request #849 from anaqreon/doco
...
Added language selector menu for Help pages
2017-08-24 21:58:44 +02:00
git-marijus
2d5768b71c
ditch discover tab in favour of the public stream app
2017-08-24 21:47:01 +02:00
Andrew Manning
90ec3340e4
Merge remote-tracking branch 'upstream/dev' into doco
2017-08-24 18:57:52 +00:00
Andrew Manning
cf2609530f
Added language selector menu for Help pages
2017-08-24 18:57:41 +00:00
Mario Vavti
cdccf60132
Merge remote-tracking branch 'mike/master' into dev
2017-08-24 20:18:18 +02:00
Andrew Manning
592cf893c0
Fixed incorrect language path when choosing the language from browser preference
2017-08-24 11:19:11 +00:00
zotlabs
e157e3bec8
cards: make page load after comment post
2017-08-23 22:06:42 -07:00
zotlabs
4450170790
partial support (unfinished) for ajax loading cards with liveupdate; page still functions even though this isn't finished
2017-08-23 21:26:09 -07:00
zotlabs
e778815605
use two keys for the updated sort
2017-08-23 20:12:40 -07:00
zotlabs
f2e802229a
add new conv_sort option
2017-08-23 20:02:28 -07:00
zotlabs
64cf36a2b5
lognoise: don't log sync packet contents if there are no clones to receive them
2017-08-23 19:25:42 -07:00
zotlabs
3b68df1be6
several card enhancements
2017-08-23 17:46:20 -07:00
zotlabs
e084b776ee
cards feature
2017-08-23 00:01:02 -07:00
Andrew Manning
6c38857502
Repaired and extended support for help page translations including table of contents files at the top level. Moved help module javascript to mod_help.js.
2017-08-23 03:33:03 +00:00
zotlabs
9f37dbc6dc
util/dcp - support recursion and folders full of photos by importing files singly in separate processes - not yet tested
2017-08-22 18:29:51 -07:00
zotlabs
9d5b6858ea
stream_perms_xchans wasn't working which has effects in mod_display and there are also issues with the oembed provider for mod_display. This is a first cut for the second but hasn't yet been tested
2017-08-21 02:01:41 -07:00
zotlabs
8a5c23fd50
issue with oembed of a shared item, which wraps in another share.
2017-08-20 17:45:08 -07:00
zotlabs
4111ba8dee
php warnings
2017-08-18 03:04:15 -07:00
zotlabs
9b87940ed2
remove easter egg
2017-08-15 18:49:08 -07:00
zotlabs
68f6043d44
new content type
2017-08-14 17:34:47 -07:00
zotlabs
998bd585bb
add protocol selection to following feeds
2017-08-12 00:59:05 -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
1408e3da3b
prevent uploads to comments if the channel has a default private ACL.
2017-08-10 21:08:07 -07:00
zotlabs
5f6eedcc1a
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-08-10 20:34:20 -07:00
zotlabs
7cec3f4dbf
include the mastodon summary in the post
2017-08-10 18:05:06 -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
git-marijus
9411732c1b
do not show channel manager and nav channel select if we are in a delegate session
2017-08-10 11:41:00 +02:00
Mario Vavti
0a96cdd950
merge red/master into dev
2017-08-10 08:09:02 +02:00
zotlabs
5686901869
some doco fixes and other real minor stuff to improve logreading ability
2017-08-09 22:45:52 -07:00
zotlabs
6531cbd1d2
libxml errors
2017-08-09 17:35:03 -07:00
zotlabs
c00796d553
ostatus feed was missing comments
2017-08-06 19:33:51 -07:00
git-marijus
b0d1fa09c1
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2017-08-06 21:41:01 +02:00
git-marijus
68b32cd8f4
consolidate disable_discover_tab config if it was not yet set to either 1 or 0 in DB
2017-08-06 21:40:39 +02:00
zotlabs
3aa22c29fd
allow channel address to be changed
2017-08-04 19:02:41 -07:00
zotlabs
d06ce6294d
some bb-to-markdown issues
2017-08-03 04:55:56 -07:00
zotlabs
bee09a6d8b
minor activitypub rendering stuff
2017-08-02 22:11:46 -07:00
zotlabs
6e9fb9b9fd
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-08-01 18:20:34 -07:00
zotlabs
a97b09210e
auto preview when inserting a media item or embed into a post. Since this unanticipated action could be alarming (some might think the post was actually submitted), also provide a visible preview indicator within the previewed content. Remove the css for the old striped background image which hasn't been available for previewed content for a year or two.
2017-08-01 18:05:04 -07:00
git-marijus
599b395e24
finally fix recursive attachments permissions
2017-08-01 23:20:39 +02:00
zotlabs
9476c631b0
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-07-31 17:23:33 -07:00
git-marijus
9ec995dbf0
improve file_activity() a little
2017-07-31 16:59:43 +02:00
zotlabs
e3c8e4f483
modify connection edit display for channels with no address/webbie
2017-07-30 21:55:28 -07:00
zotlabs
8f3a99ad1f
ensure we can work around the $is_http var in include/follow - this is left over from when the only non-webfinger connections we could make were RSS/Atom feeds.
2017-07-30 19:04:17 -07:00
git-marijus
126e06b32a
Merge remote-tracking branch 'mike/master' into dev
2017-07-31 02:47:24 +02:00
git-marijus
988371be0b
disable file notifications on initial upload for now - it can behave funky when uploading multiple small files at once
2017-07-31 02:35:46 +02:00
zotlabs
964a02d684
provide a better "is_commentable" default for OStatus conversations that were fetched on the fly
2017-07-30 16:15:34 -07:00
zotlabs
40effa4417
add options flag to bb_to_markdown so we can distinguish between diaspora use and other use and
...
therefore filter and adjust content selectively
2017-07-30 13:52:16 -07:00
git-marijus
35c05a3180
fix a bug where if multiple channels uploaded the same file to the same folder, the uploaded file would end up with an incremental number added to the filename for each upload even if the file did not exist yet in the channels folder
2017-07-30 19:46:52 +02:00
git-marijus
4a071b9a1c
ltrim $display_path in attach_store() to be consistent with attach_mkdir() and go to created folder after successfully creating one
2017-07-30 19:21:02 +02:00
git-marijus
8161ec88e5
implement file notification on initial upload and rename get_parent_cloudpath() to get_cloud_url() which now includes the filename
2017-07-29 23:32:48 +02:00
git-marijus
f9b342c87d
initial notifications support for new shared files and new (since initial site load) pubstream activity
2017-07-28 22:42:02 +02:00
git-marijus
9be4c4d6d1
Merge remote-tracking branch 'mike/master' into dev
2017-07-27 11:17:08 +02:00
zotlabs
dbbae4bac8
issue with OStatus comments being propagated downstream
2017-07-26 17:38:34 -07:00
zotlabs
9132b9c026
remove activitypub components from core
2017-07-26 16:39:13 -07:00
zotlabs
769f697ae3
more work on signature algorithm choice
2017-07-26 16:36:09 -07:00
zotlabs
7d891a54e7
improve the formatting of shares when converting from bbcode to markdown
2017-07-26 16:22:20 -07:00
git-marijus
e71cdf02a8
move the active app code to include/nav.php - it is only relevant there
2017-07-26 21:42:07 +02:00
zotlabs
7d82b5f28d
start to implement the code needed for verifying variable signature algorithms
2017-07-25 22:17:31 -07:00
zotlabs
eec2871680
consolidate duplicated code
2017-07-25 20:52:29 -07:00
zotlabs
029cf6395d
sync key changes to clones
2017-07-25 17:58:46 -07:00
zotlabs
08f15a6fc6
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-07-25 16:02:41 -07:00
zotlabs
c24cfbc62a
make signing methods variable and signable
2017-07-25 15:59:58 -07:00
git-marijus
5cc8837fb6
make local channel (not our own) nav menus appear similar to what we are used from remote channels
2017-07-25 20:06:01 +02:00
zotlabs
ddecbf052e
new field names did not get saved
2017-07-24 22:45:50 -07:00
zotlabs
6a7fa6bf54
provide a keychange operation to rebase an identity on a new keypair
2017-07-24 20:23:00 -07:00
zotlabs
992f8272d3
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-07-21 16:20:50 -07:00
git-marijus
1bdcfe5219
provide a mechanism to mark apps active in the bin
2017-07-21 10:32:21 +02:00
zotlabs
89d21c0873
begin the tedious process of mapping activities between AS1, zot, and AS2
2017-07-20 22:55:04 -07:00
zotlabs
a346399fe6
allow wildcard tag and category searches
2017-07-20 18:11:47 -07:00
zotlabs
ceeb9836b9
implement update_feed_item
2017-07-19 20:31:11 -07:00
zotlabs
df7f0eb9a4
hubzilla issue #832
2017-07-19 18:32:16 -07:00
zotlabs
6103c30184
provide optional salmon signatures for AP entities
2017-07-18 21:16:18 -07:00
zotlabs
b52a968c74
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-07-18 19:16:47 -07:00
git-marijus
ac6ebeee47
Merge remote-tracking branch 'mike/master' into dev
2017-07-18 14:26:08 +02:00
git-marijus
08c0d78296
issue #827 provide backward compatibility for album links generated in earlier times before the ambiguity of photo album names was solved. This may provide incorrect results if two or more photo albums with the same basename exist in different directories of the file tree; but there is no easy way to solve that ambiguity - which is why the link format changed.
2017-07-18 13:56:09 +02:00
zotlabs
9daa3b85c8
some corrections to AS encoding based on the current spec (some of this work was completed long before the spec settled).
2017-07-17 22:52:19 -07:00
zotlabs
d8c93c0d13
activitypub, cont.
2017-07-17 22:17:40 -07:00
zotlabs
42abc2201c
Merge branch 'bug827'
2017-07-17 20:00:07 -07:00
zotlabs
27257de995
fix typo
2017-07-17 19:57:25 -07:00
zotlabs
15e836b7dd
provide content-type matching ability for activitypub
2017-07-17 19:53:03 -07:00
zotlabs
0d062251b6
fix for bug 827 to provide partial backward compatibility with album names in photo items from < hubzilla 2.4
...
this will only work part of the time - which is why the behaviour was changed
2017-07-17 19:42:30 -07:00
zotlabs
ecb1515e5d
activitystreams converters updated to recent spec
2017-07-17 19:28:27 -07:00
zotlabs
c352047228
mis-attributed profile photo when Mastodon comment author has no profile photo
2017-07-16 22:51:36 -07:00
git-marijus
5408264559
Merge remote-tracking branch 'mike/master' into dev
2017-07-16 21:02:28 +02:00
git-marijus
ce3be598bb
fix album link
2017-07-16 15:59:19 +02:00
zotlabs
e891199a23
deal with mastodon privacy scopes - mark private and block commenting since we refuse to send private activities through the public OStatus connector.
2017-07-15 15:49:10 -07:00
zotlabs
77f71303f2
update some addon docs and ensure we only generate statistics once a day
2017-07-13 21:46:21 -07:00
zotlabs
2d119c81a4
turn platform name and std_version into config variables
2017-07-13 20:18:19 -07:00
zotlabs
c940d8d7ca
implement chunked uploads on the wall; making it work painlessly on /cloud was attempted but will not be implemented today. That presents some interesting dragons to slay.
2017-07-13 17:04:58 -07:00
zotlabs
aa70cbbf21
fix typos
2017-07-12 17:16:21 -07:00
zotlabs
6db717a1a0
make websub/PuSH and salmon both use consume_feed() for item storage as there is a lot of duplication of effort and patches applied to one that haven't been applied to the other. This will require an update of addons as well or follow activities may be duplicated
2017-07-12 17:07:31 -07:00
zotlabs
ad9990e100
even more logging of conversation parent discovery
2017-07-11 17:31:57 -07:00
zotlabs
2d63bbb91e
prevent expiration of conversations you are involved with - allows you to find your own comments months from now
2017-07-10 20:18:33 -07:00
zotlabs
e3734328eb
find_parent for feeds needs more debug logging. Something is still falling through the cracks and it isn't obvious why
2017-07-09 17:08:25 -07:00
zotlabs
ddc454bd82
regression: allow position attributes in oembedable zcards by separating allow_position from the decision to allow zrls.
...
Should probably turn the entire zcard into a gd image as other consumers of zcards are also likely to purify the position attributes.
2017-07-09 16:04:45 -07:00
zotlabs
b2e5b6c977
affinitiy slider settings were being updated on any submit of of settings/featured, plus minor non-code changes
2017-07-05 20:16:40 -07:00
Mario Vavti
c3b93de099
typo
2017-07-05 12:32:46 +02:00
zotlabs
27c8c74988
some sites use the old style ostatus:conversation xml field, check for it.
2017-07-05 11:49:05 +02:00
zotlabs
64cad0a041
duplicated posts after conversation fetch
2017-06-30 00:50:57 -07:00
zotlabs
b73c844d1a
use "Full Name (username)" for ostatus commenter xchans
2017-06-29 22:38:43 -07:00
zotlabs
da1b10b741
forgot to return true from the conversation_fetch routine - which triggers the rescan for potential parent posts
2017-06-29 21:09:08 -07:00
zotlabs
c7b4a53af2
log the conversation so we can debug this easier
2017-06-28 20:11:03 -07:00
zotlabs
024809f970
conversation fetching is partially working - but it isn't always glueing the conversation pieces together.
2017-06-28 20:07:53 -07:00
zotlabs
126af3a24a
pretend it's a real feed even though it isn't
2017-06-28 19:34:49 -07:00
zotlabs
b91d95d241
add logging
2017-06-28 19:20:11 -07:00
zotlabs
8ca5a65dcf
minor weirdness in zot finger results after deleting a clone from a channel that was on a site which was previously migrated from http to https and still had the old hubloc
2017-06-28 18:28:02 -07:00
zotlabs
c5cff7d637
more refetch testing
2017-06-28 16:02:44 -07:00
zotlabs
c2af370282
refetch testing
2017-06-28 15:58:14 -07:00
zotlabs
118fed29b5
remove logging statement
2017-06-27 22:05:06 -07:00
zotlabs
4c50bfebc2
provide a gender icon on the profile sidebar within reason
2017-06-27 21:55:34 -07:00
zotlabs
dab00a98e0
translate 'favorite' verb to 'like' if it's an ostatus feed
2017-06-27 20:07:48 -07:00
zotlabs
2b2ea40bce
log conversation fetches (also a missed / char in the string replace)
2017-06-27 19:57:03 -07:00
zotlabs
1273ac67f4
(untested currently) fetch conversation for GNU-Social and Mastodon when provided a comment with no local copy of the parent.
2017-06-27 19:20:13 -07:00
zotlabs
676481de58
support linked media (audio/video) elements in feeds as well as images
2017-06-26 23:06:15 -07:00
zotlabs
4d81c498e2
in gnu-social reshare objects are activities, not posts or comments
2017-06-26 17:07:59 -07:00
zotlabs
b0dd824dbc
add ostatus attached photos (inline to the post body) even if there's a link to the photo in the post but it isn't wrapped in an img tag.
2017-06-26 16:54:28 -07:00
zotlabs
21542d1f9e
guess_image_type - ignore scheme when checking for urls
2017-06-25 18:09:34 -07:00
zotlabs
07d6472eea
mastodon reshares can be either posts or comments; silence warning from guess_image_type when handed a URL to a non-existent resource.
2017-06-25 18:07:07 -07:00
zotlabs
6c771f84ce
remove unused page_widgets.php include and provide a general function for loading sql from file to use in the cdav migration
2017-06-22 22:43:08 -07:00
zotlabs
02b7bc0803
cdav migration to core
2017-06-22 20:16:54 -07:00
zotlabs
3b4f70ae83
Several things about mail storage weren't quite right.
2017-06-22 17:31:08 -07:00
zotlabs
99ff808b8a
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-06-20 18:39:27 -07:00
zotlabs
7e4e2f28db
explain what is happening here
2017-06-20 17:13:04 -07:00
zotlabs
08d9316d76
more import_author_zot fixes
2017-06-20 17:03:11 -07:00
zotlabs
0233e9ad2a
still an issue with caching import_author_zot
2017-06-20 16:33:53 -07:00
zotlabs
31e0812711
remove deprecated app parameter from conversation()
2017-06-20 15:53:01 -07:00
zotlabs
3b5e1c05b7
minor cleanup of moderated comment feature
2017-06-20 10:51:46 +02:00
zotlabs
1472f85b16
allow moderated comments like wordpress if permissions are compatible
2017-06-19 16:09:07 +02:00
zotlabs
f25e0c3829
testing mastodon boosts/reshares
2017-06-19 15:59:46 +02:00
zotlabs
b0a6a5a91e
minor cleanup of moderated comment feature
2017-06-18 22:51:52 -07:00
zotlabs
b917cf1ecc
allow moderated comments like wordpress if permissions are compatible
2017-06-18 22:25:41 -07:00
zotlabs
1848a22118
testing mastodon boosts/reshares
2017-06-16 19:30:02 -07:00
zotlabs
b429576349
some logic cleanup in feed_get_reshare
2017-06-16 15:28:29 -07:00
zotlabs
bb9557a9ae
remove some duplicated code
2017-06-15 08:57:03 +02:00
zotlabs
0d7e7ac657
always transmit a valid uri
2017-06-15 08:56:22 +02:00
zotlabs
b8c77bbcfc
use parent_mid
2017-06-15 08:56:06 +02:00
zotlabs
327b22d24e
remove some duplicated code
2017-06-14 20:20:18 -07:00
zotlabs
8b3d2c02e1
always transmit a valid uri
2017-06-14 19:59:25 -07:00
zotlabs
1ac799f629
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-06-14 16:11:57 -07:00
zotlabs
7b948bdd29
use parent_mid
2017-06-14 16:06:25 -07:00
Mario Vavti
1f075d92bc
sigh... x-zot prefix slipped in again
2017-06-15 00:19:50 +02:00
Mario Vavti
fe02665f54
typo
2017-06-15 00:17:26 +02:00
Mario Vavti
ec74b57000
re-add type since the actual culprit was the X-ZOT prefix
2017-06-14 23:21:47 +02:00
Mario Vavti
3f488e9842
fix illegal offset type warning
2017-06-14 22:53:09 +02:00
Mario Vavti
54e07389fa
thr:in-reply-to seems to must not have a type set. there is no mention of this in the spec and replies will be shown as replies in mastodon this way.
2017-06-14 22:14:52 +02:00
zotlabs
70e912736f
support mastodon content warnings by converting into n-s-f-w tag
2017-06-14 16:57:39 +02:00
zotlabs
dcbc65a796
add rel=noopener to all external target _blank links
2017-06-14 16:56:13 +02:00
zotlabs
8eccd7d47d
attempt to group gnu-social and mastodon conversations by ostatus:conversation in addition to falling back on thr:in_reply_to
2017-06-14 16:55:57 +02:00
zotlabs
5530833bf8
preserve the ostatus:conversation pointer also
2017-06-14 16:55:28 +02:00
zotlabs
2f8fb2b663
ostatus is almost unrecognisable these days from its former self. In this case thr:in-reply-to has almost no meaning since it almost never refers to a top level post; which makes it quite difficult to preserve conversations
2017-06-14 16:55:00 +02:00
zotlabs
5d2035b729
implement feed_get_reshare to extract shared post info from atom feed and convert to bbcode
2017-06-14 16:54:08 +02:00
zotlabs
7c36331042
add 'can_comment_on_post' hook so we can better deal with the complications of Diaspora policy
2017-06-14 16:44:16 +02:00
zotlabs
364da7a57e
support mastodon content warnings by converting into n-s-f-w tag
2017-06-13 19:52:16 -07:00
zotlabs
fce68f1a39
add rel=noopener to all external target _blank links
2017-06-13 18:29:08 -07:00
zotlabs
7f374fe69f
attempt to group gnu-social and mastodon conversations by ostatus:conversation in addition to falling back on thr:in_reply_to
2017-06-13 18:06:45 -07:00
zotlabs
dd8feac540
preserve the ostatus:conversation pointer also
2017-06-12 21:58:40 -07:00
zotlabs
f526b9fcfb
ostatus is almost unrecognisable these days from its former self. In this case thr:in-reply-to has almost no meaning since it almost never refers to a top level post; which makes it quite difficult to preserve conversations
2017-06-12 21:12:14 -07:00
zotlabs
8bf9b1311d
implement feed_get_reshare to extract shared post info from atom feed and convert to bbcode
2017-06-12 19:17:50 -07:00
zotlabs
5b3e863323
add 'can_comment_on_post' hook so we can better deal with the complications of Diaspora policy
2017-06-12 16:17:23 -07:00
Mario Vavti
fbb83d831b
some more innodb mysql scheme adjustments
2017-06-10 10:00:37 +02:00
zotlabs
42c9f853a7
auto inline embed ostatus image attachments
2017-06-09 15:24:37 -07:00
zotlabs
3389df77cc
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-06-10 00:00:31 +02:00
zotlabs
97732f7006
more client-side mail privacy work
2017-06-09 23:54:35 +02:00
zotlabs
3563568f6f
fall back on feed logo if an author avatar cannot be found
2017-06-08 10:26:43 +02:00
zotlabs
912be5a792
it appears to also work a bit better if you don't use imaginary function names
2017-06-08 10:26:07 +02:00
zotlabs
30358100ab
partial fix for failure to sync photos - appears to be memory exhaustion and dependent on filesize although an unrelated issue was found with directory creation during file sync (we didn't check ownership when looking for duplicates).
...
This checkin provides the means for a sync process to fetch the contents for various photo scales from the original server just as is done for the attach data now. It is still missing the bit for the sync process to spawn a mob of children to fetch these suckers and update the photo table with the results.
2017-06-08 10:25:42 +02:00
zotlabs
492665a8a1
provide hook when deleting a connection - we need this to clean up dangling PuSH subscriptions
2017-06-08 10:24:40 +02:00
zotlabs
005baea319
fall back on feed logo if an author avatar cannot be found
2017-06-07 21:49:50 -07:00
zotlabs
4f3b1edf9d
it appears to also work a bit better if you don't use imaginary function names
2017-06-07 20:44:44 -07:00
zotlabs
2e692fca93
partial fix for failure to sync photos - appears to be memory exhaustion and dependent on filesize although an unrelated issue was found with directory creation during file sync (we didn't check ownership when looking for duplicates).
...
This checkin provides the means for a sync process to fetch the contents for various photo scales from the original server just as is done for the attach data now. It is still missing the bit for the sync process to spawn a mob of children to fetch these suckers and update the photo table with the results.
2017-06-07 20:28:59 -07:00
zotlabs
9dbd997141
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-06-07 17:11:35 -07:00
zotlabs
2e35dc648f
provide hook when deleting a connection - we need this to clean up dangling PuSH subscriptions
2017-06-07 16:26:24 -07:00
zotlabs
bea0a491cf
Looks like we need the mastodon feed check in core - grrr. Will do that for now until it can be put back into plugins.
2017-06-07 09:37:47 +02:00
zotlabs
108b052e4e
hubzilla issue #810
2017-06-07 09:37:33 +02:00
zotlabs
f5b593ff42
whitespace
2017-06-07 09:36:53 +02:00
zotlabs
cdfd42053d
always add a length to ostatus compat enclosures - even if unknown (0)
2017-06-07 09:36:13 +02:00
zotlabs
36d4086673
ostatus feeds: extract photo information from posts and convert to enclosures as otherwise OStatus servers will strip them from the HTML in the feed and refuse to render them
2017-06-07 09:35:04 +02:00
zotlabs
928fce875e
make authenticated oembeds optional, default to false.
2017-06-07 09:33:55 +02:00
zotlabs
1d3c6e7420
include/socgraph - remove a few obsolete and long-deprecated functions
2017-06-07 09:33:28 +02:00
zotlabs
c96fe2931a
cleanup only
2017-06-07 09:33:00 +02:00
zotlabs
324d427ac7
a slight tweak to author_is_pmable hook to make it useful
2017-06-07 09:30:45 +02:00
zotlabs
80c65ea8f3
move code syntax highlighting to plugin
2017-06-07 09:27:42 +02:00
zotlabs
3a2a7d0508
re-arrange a few functions
2017-06-07 09:26:45 +02:00
zotlabs
59002cb873
Looks like we need the mastodon feed check in core - grrr. Will do that for now until it can be put back into plugins.
2017-06-06 22:49:45 -07:00
zotlabs
e917b94929
hubzilla issue #810
2017-06-06 17:38:34 -07:00
zotlabs
83f8f8ebb8
whitespace
2017-06-05 15:57:43 -07:00
zotlabs
2fea5ff889
always add a length to ostatus compat enclosures - even if unknown (0)
2017-06-04 20:07:08 -07:00
zotlabs
a94a42d609
ostatus feeds: extract photo information from posts and convert to enclosures as otherwise OStatus servers will strip them from the HTML in the feed and refuse to render them
2017-06-04 19:09:05 -07:00
git-marijus
10ecb6d368
remove duplicate code
2017-06-04 16:58:59 +02:00
zotlabs
c7f097ec84
make authenticated oembeds optional, default to false.
2017-06-03 16:00:14 -07:00
git-marijus
c4ed04fc82
convert randprof to use chanlink_hash() instead of chanlink_url() and filter sys channels by xchan.xchan_system instead of xchan_addr != sys@%
2017-06-03 10:13:42 +02:00
zotlabs
0b740826c5
include/socgraph - remove a few obsolete and long-deprecated functions
2017-06-01 21:22:31 -07:00
git-marijus
56f3b12171
Merge pull request #802 from zotlabs/searchwebpages
...
provide ability to search webpages (either public or which contain th…
2017-06-01 08:19:52 +02:00
zotlabs
cdfcb1ed24
cleanup only
2017-05-31 22:59:07 -07:00
zotlabs
8ebb000650
minor export issue with mail
2017-05-31 21:01:51 -07:00
zotlabs
fc98bd1563
minor export issue with mail
2017-05-31 20:59:36 -07:00
zotlabs
35debe46bc
a slight tweak to author_is_pmable hook to make it useful
2017-05-31 18:14:12 -07:00
zotlabs
98c18f416a
remove default for text/mediumtext sql fields
2017-05-31 16:00:33 -07:00
zotlabs
dfc0d4cf59
move code syntax highlighting to plugin
2017-05-30 19:50:41 -07:00
zotlabs
bfad624528
re-arrange a few functions
2017-05-30 18:36:19 -07:00
zotlabs
062b9ecbf3
bring back html2markdown which went away in the merge
2017-05-30 18:22:48 -07:00
zotlabs
d3cad5a651
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-30 18:18:28 -07:00
zotlabs
a7ecf51915
provide ability to search webpages (either public or which contain the observer in the acl) in addition to conversations
2017-05-30 17:53:58 -07:00
zotlabs
893ae17b99
provide ability to search webpages (either public or which contain the observer in the acl) in addition to conversations
2017-05-30 17:06:50 -07:00
zotlabs
6962bc5147
create account_store_lowlevel()
2017-05-29 21:46:38 -07:00
zotlabs
4fcfcc8117
start deprecation of server_role
2017-05-29 13:50:02 -07:00
zotlabs
b15a5f03e6
work through the diaspora_v2 outgoing status posts
2017-05-28 19:17:46 -07:00
Klaus Weidenbach
586c72fbe5
Don't drop PHP5 support yet.
...
Scalar Type Hints and Return Type Declarations were introduced in PHP7.
2017-05-27 22:44:54 +02:00
Klaus Weidenbach
0f0e23445a
🔨 ✅ Add html2markdown unit tests.
...
A tiny refactoring to make HTML 2 markdown conversion testable.
Add some unit tests to check the behavior of the now used HTML2Markdown library.
There are some differences compared to the old pixel418/markdownify library.
2017-05-27 00:19:01 +02:00
zotlabs
b4da2d35bf
start using the abook_not_here flag (requires changes in addons, not easily portable to hubzilla)
2017-05-25 13:37:13 -07:00
zotlabs
df8c69f73b
some minor help cleanup - add '-/foo' override of language detection
2017-05-24 22:24:45 -07:00
zotlabs
3a00140797
remove php version checks for older ( < 5.4) code incompatibilities
2017-05-23 21:20:40 -07:00
zotlabs
bf580fcc06
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-23 16:14:41 -07:00
zotlabs
508ea9153c
this looks like a slightly cleaner solution to the unicode dl issue
2017-05-23 21:52:35 +02:00
zotlabs
6ff16e2651
hubzilla issue #777
2017-05-23 21:52:21 +02:00
zotlabs
647b5d098f
apporder style improvement and add to nav menu, also add language awareness to webpages
2017-05-23 21:50:38 +02:00
zotlabs
7ae0317b6a
apporder style improvement and add to nav menu, also add language awareness to webpages
2017-05-22 17:07:34 -07:00
Klaus Weidenbach
547df2219a
Replace Mardownify library with html-to-markdown library.
2017-05-23 00:32:11 +02:00
zotlabs
1c8c7479b8
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-22 03:51:58 -07:00
Mario Vavti
b62463107c
smileybutton fixes
2017-05-19 10:48:04 +02:00
Mario Vavti
3fe7bf27de
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
2017-05-17 11:25:33 +02:00
Mario Vavti
a44c908147
silence php warning during install
2017-05-17 11:24:27 +02:00
zotlabs
21103f8bc4
provide mechanism to arbitrarily sort the nav tray apps, currently the preferred order list needs to be manually created
2017-05-16 23:00:28 -07:00
zotlabs
a1ba44db72
provide mechanism to arbitrarily sort the nav tray apps, currently the preferred order list needs to be manually created
2017-05-16 22:57:34 -07:00
zotlabs
3c22a7b482
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
2017-05-16 17:51:00 -07:00