Commit graph

545 commits

Author SHA1 Message Date
nobody
3aa90a042e more smithereen group quirks 2021-04-29 21:24:30 -07:00
nobody
23eeb55534 more work on smithereen-style groups 2021-04-29 17:50:13 -07:00
nobody
7f7f6f7c20 incorrect activity type returned in Accept Activity if somebody chooses to Join a group rather than Follow the group 2021-04-29 17:12:51 -07:00
nobody
32ff9613c7 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-28 20:32:09 -07:00
nobody
c41094e571 always use punycode internally 2021-04-28 20:29:46 -07:00
nobody
2a90d8b694 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-27 13:44:32 -07:00
nobody
434c407d6f add uploaded photos as attachments as well as inline 2021-04-26 21:32:37 -07:00
nobody
20a6b731d9 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-26 18:10:23 -07:00
nobody
890ceea3ee remove experimental setting on replyTo, limit incoming message size (regression), fix variable re-use in storage/basicauth, and add attachments for all attached photos/files. 2021-04-22 14:41:26 -07:00
nobody
c3616bcc0f Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-18 13:19:26 -07:00
nobody
1f2981418e move 'replyto' from initial concept to experimental stage 2021-04-17 16:34:36 -07:00
nobody
87de776a43 context is a thing now 2021-04-16 23:53:35 -07:00
nobody
8bb42abfd6 update federation.md 2021-04-16 15:44:20 -07:00
nobody
4550d6d575 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-13 22:09:46 -07:00
nobody
a208ef43cc wrong array 2021-04-13 22:08:41 -07:00
nobody
2aa84260cc Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-13 21:21:54 -07:00
nobody
db7cdca177 parse issue 2021-04-13 21:20:43 -07:00
nobody
112a3463c1 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-13 18:46:54 -07:00
nobody
ef8978be6c issues with comment control 2021-04-13 18:12:15 -07:00
nobody
0f62a46844 cleanup 2021-04-12 20:49:58 -07:00
nobody
f3079addde Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-12 18:39:27 -07:00
nobody
36d5aec5f4 debugging queued collection fetches 2021-04-12 18:19:27 -07:00
nobody
3fca2da820 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-11 19:35:26 -07:00
nobody
456ea265bc provide option to block/ignore reshared content from any individual connection 2021-04-07 23:22:10 -07:00
nobody
486197c88e Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-07 18:03:38 -07:00
nobody
136066b971 federated alt text support for image attachments 2021-04-06 13:31:44 -07:00
nobody
cbbe280fe8 undo replyto infrastructure until I can test further 2021-04-05 22:36:32 -07:00
nobody
a125379844 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-31 18:30:58 -07:00
nobody
dcba7dc613 initial work on supporting activitypub fetchable photo albums (and eventually file collections) 2021-03-31 17:22:47 -07:00
nobody
8dcdba5f40 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-29 19:28:36 -07:00
nobody
2e372e5901 activitypub "public" detection improvements, per the spec section 5.6 2021-03-29 18:47:39 -07:00
nobody
0f64263315 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-21 22:34:18 -07:00
nobody
28f500e93e strings and stuff 2021-03-21 22:33:52 -07:00
nobody
5e4d7d15a1 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-21 22:01:51 -07:00
nobody
e38fb2de29 use multicode by default 2021-03-21 21:56:18 -07:00
nobody
1ba4e50bc7 more nomadic content 2021-03-18 18:53:29 -07:00
nobody
e9584aff10 remove accounts that do not complete email verification in 3 days 2021-03-17 18:30:37 -07:00
nobody
d69589e17e scripted replace of 'array()' with '[]' 2021-03-14 22:10:44 -07:00
nobody
3d91ecbe82 include follow 2021-03-13 14:42:19 -08:00
nobody
4b8dc7aaaa don't accept confederated Unfollow 2021-03-13 12:35:22 -08:00
nobody
169dae482a typo 2021-03-12 14:37:18 -08:00
nobody
073db32fe1 minor tweaks (php8 cont.) 2021-03-12 14:26:56 -08:00
nobody
2f3a618eb5 bugfixes after php8 fixes 2021-03-11 20:36:42 -08:00
nobody
2b289594db php8 cont. 2021-03-11 20:00:59 -08:00
nobody
988f223ca3 yet more php8 2021-03-11 17:09:22 -08:00
nobody
520e0c78c4 missed logging the reason for a rejected pubstream activity (in this case it was sent as "unlisted" from ActivityPub software which provides that option) 2021-03-09 17:10:28 -08:00
nobody
435ac66063 reverse logic 2021-03-08 18:41:29 -08:00
nobody
db42f49afa some php8 updates 2021-03-08 15:36:50 -08:00
nobody
0c382f5483 begin the messy transition to multicode object source, which will ultimately fix Friendica confederation but could negatively affect Hubzilla confederation. 2021-03-07 21:32:28 -08:00
nobody
cb99667107 strpos args reversed 2021-03-07 16:59:19 -08:00
nobody
be0cfe4ce5 import friendica lists/groups; probe for zot6 on activitypub actor_store to ensure it happens at all 2021-02-28 16:14:40 -08:00
nobody
0c4751543f incorrect variable 2021-02-25 00:35:36 -08:00
nobody
f67493ab32 more work on purification of complex imported objects 2021-02-23 17:40:25 -08:00
nobody
414c2be024 don't try to purify an array 2021-02-23 15:22:30 -08:00
nobody
0afb443758 off by one 2021-02-23 15:09:46 -08:00
nobody
23cd74d281 Friendica-style bbcode img tags with alt text create bad attachment links 2021-02-23 15:06:59 -08:00
nobody
3c99fa2056 code review 2021-02-21 17:39:48 -08:00
nobody
f2ba2fb44b multiple attachments in body 2021-02-21 16:40:14 -08:00
nobody
2a1cc06f40 fix unknown permission roles imported from hubzilla, add missing geo information to posts (and profiles) and use Mario's rendering of crypt content for alternate networks rather than leaving the bbcode intact - although I believe this may suppress the key hint and I haven't verified the availability of the algorithm. 2021-02-20 12:58:42 -08:00
nobody
c283317bac hz compatibility stuff 2021-02-18 17:55:51 -08:00
nobody
5da6b86ee9 some patches from upstream, plus zot fetch conversation was only checking for zot authors and missing AP authors resulting in 'author not found' even though the record existed. 2021-02-13 14:38:31 -08:00
nobody
a4fc6173b9 make sure $txt exists also 2021-02-04 21:24:27 -08:00
nobody
b19133800c testing outbound mention rewrites 2021-02-04 20:35:51 -08:00
nobody
b9f8585341 Attempt to force mentions to use the default mention rewrite conventions for the network involved (e.g. username vs. displayname). This will only work for original activities, not relayed activities which need to have been signed by the sender and therefore cannot be modified. 2021-02-04 16:35:18 -08:00
nobody
ffcfdf37fe use bbonly flag when regenerating cache 2021-02-04 16:09:59 -08:00
nobody
7fc04b2168 apply escape flag to incoming zot6 content 2021-02-04 15:33:51 -08:00
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