Commit graph

479 commits

Author SHA1 Message Date
nobody
09258c4517 set site_update on AP fetches so that immediate delivery is deferred less often 2021-01-28 16:47:01 -08:00
nobody
6cf4374cc6 fetch_parents logging enhancements and re-working of purge_all activity 2021-01-26 17:03:43 -08:00
nobody
db503f4af0 - disable Convo (fetches conversation children - the opposite of fetch_parents) because it simply isn't reliable (only implemented in Mastodon) and is also causing load issues on some sites.
- remove items in background from within channel_remove() due to load/memory issues
 - provide purge_all (Delete->Actor) messages over ActivityPub as this functionality was missing.
2021-01-26 11:29:34 -08:00
nobody
0e5994863e release 2021-01-25 11:45:43 -08:00
nobody
d0a18b30ae doco 2021-01-24 14:40:40 -08:00
nobody
10fb610f5b catch a complex edge case where some public stream comments weren't being delivered and should have been 2021-01-23 20:02:40 -08:00
nobody
643442489e apschema tweaks 2021-01-22 20:54:48 -08:00
nobody
09c5b032f5 use hardwired ap schema 2021-01-22 16:59:56 -08:00
nobody
8eb4f5a082 cleanup 2021-01-22 16:39:55 -08:00
nobody
0ada72744b reversed logic 2021-01-22 14:04:20 -08:00
nobody
e86c16aab2 refactor fetch_parents stuff 2021-01-22 13:52:55 -08:00
nobody
e95fa4f6b5 better safe than sorry 2021-01-22 13:42:14 -08:00
nobody
1b8bd16f47 bugs 2021-01-21 18:36:44 -08:00
nobody
7ba5ca606c little tweaks 2020-12-22 15:30:52 -08:00
nobody
06ae51f854 Merge branch 'dev' of ../p3 into dev 2020-12-19 13:10:17 -08:00
nobody
0075536291 get_observer_hash mistaken as "constant", names beginning with parens mistaken as markdown in "repeated by" descriptions 2020-12-19 13:08:16 -08:00
nobody
0da2b9bf90 backout community restrictions 2020-12-17 18:36:47 -08:00
nobody
efb91c1df9 ignore posts arriving over the ActivityPub interface for named network communities unless our community is an EMPTY_STR 2020-12-09 17:50:27 -08:00
nobody
72cc8eb896 import actvitypub url from search bar 2020-11-28 02:18:14 -08:00
nobody
7ca480f231 provide a global project default setting for whether or not ActivityPub is enabled. It can still be toggled at the site level and (if enabled at the system level) toggled at the channel level. 2020-11-26 16:17:07 -08:00
nobody
e1dd203141 fix update query 2020-11-24 19:45:09 -08:00
nobody
5ef168bfe8 mod_sites - show non-zot projects 2020-11-23 21:28:33 -08:00
nobody
df82d7d511 issue with rewrite_mentions and markdown and name containing parens, also cleanup include/channel.php 2020-11-19 17:42:55 -08:00
nobody
ec9996e66a add xchan_created, quote message blocks added to (mostly) invisible activities 2020-11-18 20:09:05 -08:00
nobody
8bc6b78d98 do not include deleted posts in $conv search 2020-11-17 16:34:48 -08:00
nobody
cacd699507 follow AND join remote groups since we don't know for sure which is supported 2020-11-16 14:51:03 -08:00
nobody
04817523cc tagging issues 2020-11-14 16:13:23 -08:00
nobody
2d6db55961 federate categories 2020-11-10 17:11:19 -08:00
nobody
466f65a27d update signature checking requirements for inbox 2020-10-31 16:11:35 -07:00
nobody
447e599de0 upgrade site_type_unknown if it comes in through a protocol we know 2020-10-28 21:25:16 -07:00
nobody
540a4b29da improve escaping of AP actor objects 2020-10-25 18:15:51 -07:00
nobody
582534f57d site page anomalies 2020-10-24 14:56:09 -07:00
nobody
aa7f138a33 add a site entry from nodeinfo if available in actor_store 2020-10-21 21:29:07 -07:00
nobody
ae79f1674f more debugging 2020-10-20 22:18:30 -07:00
nobody
00583e050c undo last change and increase logging for top-down conversation fetch 2020-10-20 19:01:35 -07:00
nobody
c817e925f8 wrong array path 2020-10-20 18:03:37 -07:00
nobody
c7eea8264b whitespace 2020-10-20 17:59:03 -07:00
nobody
f3c24172f3 handle learnawesome's actor avatar - which is unexpectedly an array of HTTP urls with one element. 2020-10-18 19:59:04 -07:00
nobody
d5d5f89116 more delete like fixes - send activities instead of links 2020-10-05 19:41:47 -07:00
nobody
036f6b675c deleting likes/dislikes and other "response" activities should be 'Undo' per the spec. 2020-09-30 23:52:04 -07:00
nobody
1079d8968d issue undoing like activities 2020-09-29 17:48:14 -07:00
nobody
ee30753ab0 actor collections: ensure we use the ActivityPub id, which is different than the xchan_url on several platforms 2020-09-28 16:46:08 -07:00
nobody
1f531f092f add percentages to oneOf polls and allow author to vote 2020-09-25 00:22:20 -07:00
nobody
551d825a0a only upload abc music files as embeds if the abc addon is installed. The function to do this was named plugin_is_installed() and we will be deprecating that name once I can track down everywhere it is used. 2020-09-22 23:41:40 -07:00
nobody
d8cf878ba7 re-arrange how convo is called 2020-09-22 22:27:41 -07:00
nobody
a38a3ac51e re-arrange so that we fetch downward comments only after we've stored the entire upward conversation fetch 2020-09-22 19:57:28 -07:00
nobody
9a53043357 wrong daemon name 2020-09-22 18:12:28 -07:00
nobody
bfde2dca7f fetch downstream conversation after fetching upstream conversation - *if* the software providing the top-level post provides it. 2020-09-22 16:49:44 -07:00
nobody
fcadcfa2e5 hide scrobbles by default; remove 'collections' from activity_filters widget as you can select these by name if desired and they should look just like a channel - there's really nothing special about them as far as connections are concerned. This also reduces clutter on the activity_filters widget. 2020-09-20 19:49:41 -07:00
nobody
2fcd533fc1 add xchan_updated 2020-09-01 22:47:32 -07:00
nobody
ef6c8482b7 directory work 2020-08-31 19:24:21 -07:00
nobody
ea7b80ff01 warnings 2020-08-19 23:34:02 -07:00
nobody
aa776d85de activitypub addressing madness, cont. 2020-08-19 17:59:05 -07:00
nobody
95dab1daaa image caching storage improvements 2020-08-16 21:55:59 -07:00
nobody
10da43c958 directory work 2020-08-15 19:18:11 -07:00
nobody
97fc0f697f increase max threadlevel, begin next phase of directory refactor 2020-08-15 14:55:03 -07:00
nobody
dbaa4df7e0 some prep work for the next big feature push 2020-08-12 19:06:13 -07:00
nobody
7f5fb3ba09 force 'discoverable' to boolean 2020-08-11 20:45:09 -07:00
nobody
365f849783 implement discoverable 2020-08-11 18:03:57 -07:00
nobody
506cf9fadd paged collection improvements and some UX cleanup for jgrowl 2020-08-06 20:19:03 -07:00
nobody
2add5cc6a0 refactor ASCollection 2020-08-04 22:54:04 -07:00
zotlabs
9efde74860 handle peertube's weird link structures 2020-07-31 16:25:24 -07:00
zotlabs
90e98e58cf pleroma emojireaction issue (heart unicode character is not considered an emoji in aaron parecki's emoji library). 2020-07-27 20:26:12 -07:00
zotlabs
f4b2767989 support noindex meta and pleroma scrobbler activities 2020-07-27 16:49:21 -07:00
zotlabs
61953c11ca check array path 2020-07-06 21:05:31 -07:00
zotlabs
a9bdd411f8 cleanup permit_all_mentions 2020-07-03 19:36:46 -07:00
zotlabs
107f057ff1 undocumented feature 2020-07-03 15:48:58 -07:00
zotlabs
13edcdbc3a some minor cleanup while code reviewing mod_inbox. 2020-06-30 21:30:03 -07:00
zotlabs
099cf05935 consult blocked channels prior to storage 2020-06-30 17:47:31 -07:00
zotlabs
8595b3b7f6 sql query didn't return all the fields we need to check commentability 2020-06-17 23:48:18 -07:00
zotlabs
293fb821c0 notable protocol ommission: we are not federating the item_nocomment flag, so indicate this by setting commentPolicy 'until=' to the item creation timestamp and ignore comments_closed as they are already closed. 2020-06-17 21:47:04 -07:00
zotlabs
232422f5dd new function absolutely_no_comments() and some text cleanup in daemon/thumbnail 2020-06-17 20:30:18 -07:00
zotlabs
b44f194aa8 Deprecate the term 'master' from the codebase. 2020-06-15 00:29:56 -07:00
zotlabs
8415f780ec remove blacklist/whitelist 2020-06-14 04:58:27 -07:00
zotlabs
0cf18bad16 Don't render Friendica or other bbcode source for messages originating in ActivityPub space. Just use the HTML. 2020-06-10 18:20:46 -07:00
zotlabs
81c3b2d635 spelling correction in a comment 2020-06-08 22:42:58 -07:00
zotlabs
fcc0b9fa47 unify the mention styles w/r/t @ placement 2020-06-02 03:46:11 -07:00
zotlabs
bfbf4cb59e typo 2020-06-02 01:35:09 -07:00
zotlabs
437bbf8338 use the xchan_url for human-followed links. always. 2020-06-01 22:43:33 -07:00
zotlabs
8c92aef775 more work on smart mentions 2020-06-01 22:36:55 -07:00
zotlabs
4ef678f4c9 rewrite mentions (if possible) according to system.tag_username pref 2020-06-01 21:00:21 -07:00
zotlabs
0f7a1baf38 peertube uses markdown content. 2020-05-27 18:56:51 -07:00
zotlabs
12f31a8f1a cleanup 2020-05-25 23:43:40 -07:00
zotlabs
146a3a0d9f Just send HTML. 2020-05-17 16:20:11 -07:00
zotlabs
4250002586 wrong url showing up 2020-05-14 19:48:18 -07:00
zotlabs
847f21bd8b rev update 2020-04-26 16:21:37 -07:00
zotlabs
6b5aa44882 some work on improving federation of item_private 2020-04-17 15:37:50 -07:00
zotlabs
76a5971bb0 personal site blocks 2020-04-17 04:08:04 -07:00
zotlabs
a71e19250c refactor 2020-03-26 15:41:09 -07:00
zotlabs
2998f81cbf restrict html cache to activitypub 2020-03-26 01:17:22 -07:00
zotlabs
30c81941c0 and use the correct output too 2020-03-25 13:58:52 -07:00
zotlabs
3a5475e34d take it from the correct end of the pipe 2020-03-25 13:55:17 -07:00
zotlabs
883c5bbfed performance, reverse the no-comment icon state 2020-03-25 13:05:56 -07:00
zotlabs
1a57c95106 photo encoding anomaly 2020-03-16 15:58:41 -07:00
zotlabs
eee70b400d prevent duplicate votes 2020-02-25 18:32:16 -08:00
zotlabs
800e757fd1 more sudo 2020-02-24 15:40:20 -08:00
zotlabs
fb6c83a213 add iconfig to zot6 objects 2020-02-23 15:27:39 -08:00
zotlabs
3dcc88303a namespace confusion 2020-02-20 18:17:16 -08:00
zotlabs
c245ee79b6 php warning 2020-02-13 21:08:28 -08:00
zotlabs
a14474a135 support binary content 2020-02-12 15:21:39 -08:00
zotlabs
bb812302fd mention permission tweak 2020-02-11 21:52:52 -08:00
zotlabs
6333f7a796 whitespace 2020-02-10 18:19:32 -08:00
zotlabs
926f2c9c47 wrong var 2020-02-09 21:39:26 -08:00
zotlabs
dea5e872a5 string updates 2020-02-09 17:29:04 -08:00
zotlabs
7103d28569 issues from watching the logs 2020-02-09 15:34:49 -08:00
zotlabs
818e08b097 php warning 2020-02-06 21:51:36 -08:00
zotlabs
6f6e67078c more work on polls 2020-02-06 18:50:18 -08:00
zotlabs
d7b933cf8c poll federation tests 2020-02-05 21:58:50 -08:00
zotlabs
f4ff3aea2d issue with poll encoding 2020-02-05 17:45:48 -08:00
zotlabs
e139698571 resurface of issue with Hubzilla - "like" of a new-friend activity results in a Create/Person object 2020-02-05 17:05:31 -08:00
zotlabs
8603a289b3 fix i_am_mentioned() 2020-02-04 20:33:37 -08:00
zotlabs
0580f7bec5 simplify 2020-02-04 17:01:11 -08:00
zotlabs
f7efbfc7c2 more emojireaction work and a config setting to allow messages where you are mentioned, over-riding normal permissions. 2020-02-04 15:44:26 -08:00
zotlabs
0a2f655b30 emoji reaction compatibility work 2020-02-03 17:51:42 -08:00
zotlabs
3773aad428 cleanup warnings 2020-01-28 20:13:08 -08:00
zotlabs
9f1560482e more poll testing 2020-01-28 18:17:47 -08:00
zotlabs
6443cf1c45 more poll work 2020-01-28 16:42:38 -08:00
zotlabs
eea407114c poll debugging 2020-01-27 20:46:14 -08:00
zotlabs
16df0712f0 poll update 2020-01-27 18:11:28 -08:00
zotlabs
69f9cfeb64 more polls dev 2020-01-27 15:54:43 -08:00
zotlabs
8572cf1650 Merge branch 'dev' of ../z into dev 2020-01-21 20:54:30 -08:00
zotlabs
b4bb336fd5 more work on polls 2020-01-21 20:54:05 -08:00
zotlabs
f63733a131 fix z_dns_check for ipv6, map poll objects 2020-01-21 13:07:41 -08:00
zotlabs
d83bdf8b22 more event and poll work 2020-01-16 17:22:32 -08:00
zotlabs
8190ba06b5 event testing - we require a zot6 handler for the /activity endpoint 2020-01-14 12:11:23 -08:00
zotlabs
e1ecb67047 Merge branch 'dev' of /home/macgirvin/z into dev 2020-01-11 15:21:02 -08:00
zotlabs
9409225301 change Create/Event to Invite/Event per spec, still support RSVP to Create/Event 2020-01-11 14:53:39 -08:00
zotlabs
4c467068a9 convert HTML blockquote tags to unicode quotes when formatting content for projects which are hostile to HTML (e.g. Mastodon). 2020-01-07 15:47:27 -08:00
zotlabs
e92e2c4f7f minor permissions issue 2020-01-07 13:56:35 -08:00
zotlabs
e3d28864b4 append poll items instead of replace 2019-12-30 12:04:12 -08:00
zotlabs
55cd642fba simple poll rendering 2019-12-28 13:28:40 -08:00
zotlabs
86c22d1e53 address/mention url conflict 2019-12-17 15:28:24 -08:00
zotlabs
d70b22384f provide an event summary if there is anything at all we can use for that purpose. 2019-12-16 20:26:43 -08:00
zotlabs
c0f8f9cf4b process and parse if necessary but don't store implied activities 2019-12-12 16:31:13 -08:00
zotlabs
0efbe817db typo 2019-12-11 18:33:09 -08:00
zotlabs
36c7a7deeb more misskey improvements (barely) 2019-12-11 18:12:50 -08:00
zotlabs
5cf47e9648 support incoming misskey/pleroma emoji reactions. A number of issues prevent this from becoming what we send to others. 2019-12-10 15:35:36 -08:00
zotlabs
7caa25da78 warnings 2019-12-09 21:39:48 -08:00
zotlabs
a2f709b6f8 Putting the public inbox in the cc field creates an unlisted post in Mastodon. This software does not support unlisted so just make all public posts and replies public in Mastodon by putting the public inbox into the to field only. 2019-12-05 15:55:45 -08:00
zotlabs
7159cb87ee Merge branch 'dev' of ../apfed into dev 2019-12-01 16:37:07 -08:00
zotlabs
fb17704cb8 mention issues 2019-12-01 16:35:19 -08:00
zotlabs
ecfcb61b09 empty channel 2019-11-26 21:29:48 -08:00
zotlabs
2a0f71907c compound expression not allowed here 2019-11-25 15:54:23 -08:00
zotlabs
b6d236cb6e render app for activitypub 2019-11-25 15:48:14 -08:00
zotlabs
1fc8c046ea ocap -> provide tokenised link for url so private activities of type Article can be fetched from Mastodon which converts everything to a link. This is not optimal and presents potential privacy issues because these ocap links are visible and can be shared but the only other solution is getting Mastodon to accept and display basic HTML content and they are unwilling to do so. This is actually a fairly serious security compromise on our part in order to be at all compatible with Mastodon and this decision may need to be reviewed in the future. 2019-11-19 15:02:52 -08:00
zotlabs
036bedae89 saved (star) posts brought back, ap refresh implemented 2019-11-14 14:45:55 -08:00
zotlabs
ff0534ab49 whitespace only 2019-11-13 17:36:18 -08:00
zotlabs
9248f71d0f pf federation issues 2019-11-13 17:08:18 -08:00
zotlabs
2ed45757d0 wildcard tag issue, reduce AP url to uri for the present time 2019-11-12 20:29:08 -08:00
zotlabs
991384464c more reduction of non-standard AP tags 2019-11-09 14:00:50 -08:00