nobody
38e5b8d107
Merge branch 'dev' of /home/macgirvin/z into dev
2021-06-23 21:30:30 -07:00
nobody
ef95335e7e
don't deliver/accept group boosted comments
2021-06-23 16:56:49 -07:00
nobody
41f1159adc
Merge branch 'dev' of /home/macgirvin/z into dev
2021-06-21 00:38:33 -07:00
nobody
85b2558641
Merge branch 'dev' of ../p3 into dev
2021-06-20 19:49:55 -07:00
nobody
225d0a8176
php8 stuff
2021-06-20 19:49:33 -07:00
nobody
326c9db7c7
another edge case creating duplicated photos in received posts
2021-06-20 19:47:30 -07:00
nobody
51fafacc05
don't use an empty string as an AS object
2021-06-19 20:54:54 -07:00
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
5ea7105272
ongoing: fix a few more php 8.x warnings
2021-06-18 16:54:08 -07:00
nobody
0d7e9fddf0
spelling
2021-06-17 16:18:50 -07:00
nobody
30f1216b6e
Merge branch 'dev' of ../p3 into dev
2021-06-17 16:18:03 -07:00
nobody
a265390ecd
code comments
2021-06-17 16:17:31 -07:00
nobody
35ea8d7d7e
finish removal of deprecated server_role and sitelist
2021-06-17 14:54:15 -07:00
nobody
9b81ece263
naming
2021-06-17 13:51:45 -07:00
nobody
03535fd389
libzot documentation review
2021-06-16 22:29:35 -07:00
nobody
2aa8fab213
Merge branch 'dev' of /home/macgirvin/z into dev
2021-06-05 14:56:30 -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
d34998890e
Merge branch 'dev' of /home/macgirvin/z into dev
2021-05-27 04:19:27 -07:00
nobody
2c1f748347
revision
2021-05-27 04:17:19 -07:00
nobody
ae6aa577e4
Merge branch 'dev' of /home/macgirvin/z into dev
2021-05-19 15:51:45 -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
ac3d15b307
Merge branch 'dev' of /home/macgirvin/z into dev
2021-05-11 17:29:45 -07:00
nobody
06bf78bddd
Do not fetch recipient fields if they only contain a URI instead of an array. Use what is there.
2021-05-10 23:34:20 -07:00
nobody
a2a14bd571
Merge branch 'dev' of /home/macgirvin/z into dev
2021-05-07 17:00:06 -07:00
nobody
57de39db96
duplicated images (again)
2021-05-07 16:58:34 -07:00
nobody
a7a85966b7
missed a translation
2021-05-03 19:53:23 -07:00
nobody
46260ac1cc
Merge branch 'dev' of /home/macgirvin/z into dev
2021-05-02 16:43:33 -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
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
489a94749f
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-27 17:19:38 -07:00
nobody
1a78e38646
Merge branch 'dev' of ../p3 into dev
2021-04-27 17:19:02 -07:00
nobody
42943ab824
more work on copy_of_pubitem issues
2021-04-27 17:18:18 -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
b774664b38
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-21 17:57:28 -07:00
nobody
7bdfa610b3
more work on image cache
2021-04-20 23:26:47 -07:00
nobody
ede4dfd3ae
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-20 20:22:37 -07:00
nobody
2678e84c19
fn doco
2021-04-20 20:17:18 -07:00
nobody
9a7a154bb8
more img_cache work - move fetches entirely to background
2021-04-20 20:02:59 -07:00
nobody
9c72688c56
only return cache entry if it has contents
2021-04-20 19:33:06 -07:00
nobody
7780373bdc
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-20 16:09:32 -07:00
nobody
2e947facb9
avoid subsequent img_cache storage attempts after failed attempt
2021-04-20 16:05:31 -07:00
nobody
ed1139fdd2
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-19 15:56:31 -07:00
nobody
23a21fc63f
Don't fetch replyTo by default. It's wasteful. Just store the value.
2021-04-19 15:51:15 -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
41927d89d6
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-14 17:41:53 -07:00
nobody
5828a844b6
Add site restriction checking to returned directory entries. Previously we only checked personal blocklists. Also some performance improvements on directory filtering.
2021-04-14 17:18:23 -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
982d3b5e5b
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-13 20:12:50 -07:00
nobody
bd298f4165
"active" setting for directory searches
2021-04-13 20:11:33 -07:00
nobody
b4d755f8ab
provide "updated only" setting on directory searches which limits to entries that have been updated in < 60 days
2021-04-13 19:03:27 -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
8de94d04c2
missing line from other test server
2021-04-12 18:22:59 -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
391668049a
more cleanup
2021-04-11 18:28:11 -07:00
nobody
64ed1be4e1
cleanup after tests
2021-04-11 18:13:41 -07:00
nobody
f8b7cb33d5
use network type 'token' for atoken xchans
2021-04-11 17:55:54 -07:00
nobody
1b79f1f885
cleanup
2021-04-10 23:39:04 -07:00
nobody
d9d4a47dbb
clone atokens and their associated structures
2021-04-10 18:41:35 -07:00
nobody
456ea265bc
provide option to block/ignore reshared content from any individual connection
2021-04-07 23:22:10 -07:00
nobody
1300d9097b
remove the btlogger now that this situation is resolved
2021-04-07 21:52:34 -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
038b1cbe06
fetch collections
2021-04-05 19:21:28 -07:00
nobody
6338fe995b
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-05 17:58:30 -07:00
nobody
3a73d2ffbf
allow collections in navbar ActivityStreams search, but restrict number of items imported to 10 in order to avoid memory exhaustion. There is a plan to provide an extension to the import module in the future to import complete or at least much larger collections; which may require disabling automatic conversation completion or running as a background task.
2021-04-04 20:18:28 -07:00
nobody
bbc466c7a8
Merge branch 'dev' of /home/macgirvin/z into dev
2021-04-01 14:47:39 -07:00
nobody
eb8db87fe6
issue with siteinfo
2021-04-01 14:46:50 -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
471accbcc1
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-28 15:58:23 -07:00
nobody
6457e67417
use phpseclib (yuk)
2021-03-28 15:37:49 -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
a90d957bef
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-17 22:41:31 -07:00
nobody
b87d7975d0
subtle issues encountered with item sync
2021-03-17 21:21:48 -07:00
nobody
e9584aff10
remove accounts that do not complete email verification in 3 days
2021-03-17 18:30:37 -07:00
nobody
62863f2aed
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-14 22:13:41 -07:00
nobody
d69589e17e
scripted replace of 'array()' with '[]'
2021-03-14 22:10:44 -07:00
nobody
9555085589
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-14 21:37:28 -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
c9b2cab67f
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-12 14:39:06 -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
96f99cc4cd
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-11 20:40:35 -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
f6428e2b60
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-11 18:05:27 -08:00
nobody
5a60f55023
more php8
2021-03-11 17:17:40 -08:00
nobody
988f223ca3
yet more php8
2021-03-11 17:09:22 -08:00
nobody
3b67277ff8
even more php8 stuff
2021-03-11 16:03:45 -08:00
nobody
6feff1b31c
changes being tested
2021-03-11 15:05:16 -08:00
nobody
61e67412e7
incorrect array elements used to store first zot6 xchan for a channel
2021-03-11 02:46:39 -08:00
nobody
2415b55567
php8 cont.
2021-03-10 19:46:10 -08:00
nobody
f1a1aafbcb
more php8
2021-03-10 19:30:25 -08:00
nobody
7ef8ffb5e3
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-10 18:06:05 -08:00
nobody
e190f23f24
php8 cont.
2021-03-10 16:51:42 -08:00
nobody
7c71e0b94a
php8 cont.
2021-03-10 15:28:37 -08:00
nobody
5d07b426e7
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-09 19:18:14 -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
ac431016a1
php8 cont.
2021-03-09 16:08:04 -08:00
nobody
59a85734a1
php8 cont.
2021-03-09 15:36:07 -08:00
nobody
435ac66063
reverse logic
2021-03-08 18:41:29 -08:00
nobody
ad3f33d69f
php8 stuff
2021-03-08 17:51:41 -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
0df2af96a7
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-07 18:48:53 -08:00
nobody
45527f656b
drafts ux
2021-03-07 17:49:23 -08:00
nobody
c8033cf42a
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-07 17:00:07 -08:00
nobody
cb99667107
strpos args reversed
2021-03-07 16:59:19 -08:00
nobody
debf8b6693
comment drafts
2021-03-07 15:11:03 -08:00
nobody
1c0ce67e29
return hash on AccessList::add()
2021-03-05 14:37:41 -08:00
nobody
d132d7c303
Merge branch 'dev' of /home/macgirvin/z into dev
2021-03-01 19:28:19 -08:00
nobody
ca5c56d875
revive the help app
2021-03-01 19:14:12 -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
c16663c67b
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-25 00:38:33 -08:00
nobody
0c4751543f
incorrect variable
2021-02-25 00:35:36 -08:00
nobody
542dbde03c
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-24 15:17:34 -08:00
nobody
f67493ab32
more work on purification of complex imported objects
2021-02-23 17:40:25 -08:00
nobody
c167e1ab55
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-23 16:13:24 -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
0d18d08408
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-21 17:41:09 -08:00
nobody
3c99fa2056
code review
2021-02-21 17:39:48 -08:00
nobody
e0ddd04b06
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-21 16:53:29 -08:00
nobody
f2ba2fb44b
multiple attachments in body
2021-02-21 16:40:14 -08:00
nobody
07ef41ab00
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-21 15:38:08 -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
1e2307a9c7
I'm hesitant to merge pull request 20 for a number of reasons, but the Accept-header based module handlers have to be re-ordered in any case so the wrong one doesn't answer prematurely if a request contains more than one of Zot6 or ActivityPub in the Accept headers. So we'll do that while I'm thinking about the best way forward. This creates a policy mess because in this case AP has to have priority over Zot. Elsewhere, we always prioritise Zot first.
...
The problem will always be future developers who don't understand that the precise order of Accept-header based module handlers in the code will be critical to proper functioning if I let this go forward.
2021-02-16 19:10:47 -08:00
nobody
96c5b7b93e
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-13 14:40: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
f09fcf6dda
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-10 14:06:38 -08:00
nobody
b2dd6a3dde
the connections search doesn't use regex searching so it doesn't require preg_quote() escaping
2021-02-07 20:09:10 -08:00
nobody
e854c21780
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-04 21:25:22 -08:00
nobody
a4fc6173b9
make sure $txt exists also
2021-02-04 21:24:27 -08:00
nobody
10a3b33dac
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-04 20:39:57 -08:00
nobody
b19133800c
testing outbound mention rewrites
2021-02-04 20:35:51 -08:00
nobody
ceb19ae475
Merge branch 'dev' of ../p3 into dev
2021-02-04 17:42:24 -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
a22ee64fe5
Merge branch 'dev' of /home/macgirvin/z into dev
2021-02-04 15:35:16 -08:00
nobody
7fc04b2168
apply escape flag to incoming zot6 content
2021-02-04 15:33:51 -08:00
nobody
f42be75870
updates
2021-02-03 18:07:23 -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
ac67f255f5
logging improvements
2021-01-28 13:59:53 -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
6736379582
change the icon for dm's
2021-01-24 18:17:30 -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
84cfeb5154
de-duplicate context
2021-01-23 14:51:14 -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
6e6840a96a
fixes from upstream
2021-01-19 18:21:48 -08:00
nobody
25becafdf5
fix delivery warning due to deleted channel
2020-12-23 15:05:54 -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
1910c49ada
For shared posts originating from ActivityPub, send back an Announce activity to the author. These have a number of serious issues on our own communication network related to a lack of comment permissions to third parties and the potential for frivolous copyright lawsuits.
2020-12-14 15:06:57 -08:00
nobody
0a68d803b6
stray keyboard bump char
2020-12-09 19:38:55 -08:00
nobody
23f557898e
don't deliver if there is a known community mismatch
2020-12-09 18:55:14 -08:00
nobody
ea174d7bce
Merge branch 'dev' of ../p3 into dev
2020-12-09 17:57:05 -08:00
nobody
d603784f03
typo
2020-12-09 17:56:24 -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
d6c68ef248
primal version of communities
2020-12-09 17:40:29 -08:00