Commit graph

490 commits

Author SHA1 Message Date
nobody
92370b2060 encode_item: if item['obj'] is a string, return it as the item. Disable tag editing from photo edit menu 2021-06-19 20:49:30 -07:00
nobody
b127575110 permit item['obj'] and item['target'], etc. to contain a single URL in storage rather than an object array; it is still json_encoded.
disable/filter unicode right-to-left over-ride in content as it is often abused and can totally destroy presentation. Use HTML text-direction tags or CSS instead since the HTML purifier will force closure.
2021-06-19 16:04:32 -07:00
nobody
e0b5393817 Merge branch 'dev' of ../p3 into dev 2021-06-18 22:13:56 -07:00
nobody
5dde6a54c1 groups work from roadhouse 2021-06-18 22:12:23 -07:00
nobody
0d7e9fddf0 spelling 2021-06-17 16:18:50 -07:00
nobody
a265390ecd code comments 2021-06-17 16:17:31 -07:00
nobody
b384c44f34 cleanup some loose ends w/r/t activitypub addressing and confederation of activitypub signatures over nomad for use by third-parties on activitypub. 2021-06-03 21:57:08 -07:00
nobody
12d9796e8a use 'Ignore' for unfollowing threads instead of 'Unfollow' which isn't specified in the ActivityStreams vocabulary. This is low impact since these activities do not federate. Updates to previously unfollowed threads may show up after this change and may require unfollowing again since existing activities were not modified. 2021-05-17 14:14:57 -07:00
nobody
57de39db96 duplicated images (again) 2021-05-07 16:58:34 -07:00
nobody
84e8556e96 include attributedTo per FEP 2021-04-29 21:37:53 -07:00
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
c41094e571 always use punycode internally 2021-04-28 20:29:46 -07:00
nobody
434c407d6f add uploaded photos as attachments as well as inline 2021-04-26 21:32:37 -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
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
a208ef43cc wrong array 2021-04-13 22:08:41 -07:00
nobody
db7cdca177 parse issue 2021-04-13 21:20:43 -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
36d5aec5f4 debugging queued collection fetches 2021-04-12 18:19:27 -07:00
nobody
456ea265bc provide option to block/ignore reshared content from any individual connection 2021-04-07 23:22:10 -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
dcba7dc613 initial work on supporting activitypub fetchable photo albums (and eventually file collections) 2021-03-31 17:22:47 -07:00
nobody
2e372e5901 activitypub "public" detection improvements, per the spec section 5.6 2021-03-29 18:47:39 -07:00
nobody
28f500e93e strings and stuff 2021-03-21 22:33:52 -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