Commit graph

4176 commits

Author SHA1 Message Date
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
4231c15e90 remove deprecated entries in settings menu widget 2021-06-17 15:11:50 -07:00
nobody
35ea8d7d7e finish removal of deprecated server_role and sitelist 2021-06-17 14:54:15 -07:00
nobody
46727d6739 Merge branch 'dev' of ../p3 into dev 2021-06-16 22:30:44 -07:00
nobody
03535fd389 libzot documentation review 2021-06-16 22:29:35 -07:00
nobody
613ea96687 move developer docs to their own directory. This provides a hopefully obvious example of adding documentation directories with translations. 2021-06-16 00:26:05 -07:00
nobody
441261e2d8 updates 2021-06-12 14:57:46 -07:00
nobody
c22877385c mastodon group issue 2021-06-10 22:10:53 -07:00
nobody
1682ec2b8e cleanup 2021-06-03 22:02:38 -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
661e34be81 misty issue 4 - admin option exists to enable invite_only mode, but the invite app was deprecated until it could be fixed. So remove the admin option until the app is reinstated. 2021-06-02 02:00:44 -07:00
nobody
014a8c167e only provide the copy_of_pubitem notice when it was actually copied 2021-06-01 15:31:56 -07:00
nobody
6a2c10a416 Merge branch 'dev' of ../p3 into dev 2021-06-01 15:29:51 -07:00
nobody
2aeb6d9ce2 sql issue in zot6handler 2021-06-01 15:28:51 -07:00
nobody
c3393df3ce notification and siteinfo cleanup 2021-05-31 14:32:02 -07:00
nobody
aff7f64f3e cloud visibility issue 2021-05-29 16:43:34 -07:00
nobody
6db3ed986d provide friendly status message when posting comments to the public stream, bring back duplicate suppression 2021-05-27 23:36:31 -07:00
nobody
adc69d8393 notification regression 2021-05-27 17:34:28 -07:00
nobody
1fbc54fae6 regression 2021-05-27 16:31:31 -07:00
nobody
2c1f748347 revision 2021-05-27 04:17:19 -07:00
nobody
da6d8d8179 notification usability work 2021-05-27 04:04:16 -07:00
nobody
0a28510df6 move block_public_dir to security settings with the other block_public stuff 2021-05-26 16:56:54 -07:00
nobody
7f4e6c2b64 undo experimental order change (undesirable interaction with loadtime variable) 2021-05-20 19:31:31 -07:00
nobody
82eabd114b per module loadtime 2021-05-20 18:47:10 -07:00
nobody
969ce1972f stream: order by changed (experimental) 2021-05-20 18:17:28 -07:00
nobody
b5547eadbd various bugfixes 2021-05-20 18:01:42 -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
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
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
631904f145 Zot/10 = 'Nomad' 2021-05-02 16:41:18 -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
d1eb8cc41a more work on writeable collections 2021-04-28 23:42:39 -07:00
nobody
c41094e571 always use punycode internally 2021-04-28 20:29:46 -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
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
7bdfa610b3 more work on image cache 2021-04-20 23:26:47 -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
2e947facb9 avoid subsequent img_cache storage attempts after failed attempt 2021-04-20 16:05:31 -07:00
nobody
e22220a61c incorrect variable 2021-04-19 18:00:02 -07:00
nobody
aec0003de8 use personal setting (if available) for number of threads to fetch on pubstream page 2021-04-19 17:29:12 -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
825614c7d3 replyto enhancements 2021-04-17 19:06:41 -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
6e822afcb5 Merge branch 'dev' of ../p3 into dev 2021-04-16 18:43:56 -07:00
nobody
29fcd158cb implement conversation endpoint 2021-04-16 18:43:14 -07:00
nobody
d9be02c25d Merge branch 'dev' of ../p3 into dev 2021-04-16 15:45:04 -07:00
nobody
8bb42abfd6 update federation.md 2021-04-16 15:44:20 -07:00
nobody
e9a0a682c4 only one entry showing on notifications page 2021-04-16 04:34:35 -07:00
nobody
c1f99901f8 check sites module for blocked stuff 2021-04-14 19:19:06 -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
a208ef43cc wrong array 2021-04-13 22:08:41 -07:00
nobody
db7cdca177 parse issue 2021-04-13 21:20:43 -07:00
nobody
a110783fe9 comment control issues 2021-04-13 21:07:24 -07:00
nobody
7b6e1acbde unbalanced parens 2021-04-13 20:17:06 -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
df781212d4 propagate item comment settings to local children. This serves no practical purpose other than data consistency since we only check comment permissions against the parent item. 2021-04-13 18:35:07 -07:00
nobody
ef8978be6c issues with comment control 2021-04-13 18:12:15 -07:00
nobody
32d03a825d onepoll: improvements in fetching outbox content 2021-04-12 22:37:08 -07:00
nobody
0f62a46844 cleanup 2021-04-12 20:49:58 -07:00
nobody
1a4a46db6d summon requires array 2021-04-12 18:32:44 -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
5fa03c416c not enough levels of array 2021-04-11 19:20:28 -07:00
nobody
31c46fdb13 prevent looping on the sync packet 2021-04-11 19:13:36 -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
d21f3ef61f abook uses 'entry_deleted' instead of just 'deleted' to detect deletions in sync packets 2021-04-10 20:36:03 -07:00
nobody
fa57e701d2 edge cases syncing atokens 2021-04-10 20:15:55 -07:00
nobody
d9d4a47dbb clone atokens and their associated structures 2021-04-10 18:41:35 -07:00
nobody
06d70288ef porting access tokens and making them generally more useful by adding them to connections 2021-04-10 15:32:14 -07:00
nobody
7aee418044 some oauth work necessary for AP C2S. This appears to be heading down the path of favouritism towards oauth2 and deprecating openid connect. In theory we should be able to support both, but the underlying library isn't quite as flexible as hoped and appears to favour one or the other without involving multiple installations. 2021-04-10 00:51:12 -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
38c2f8666b allow setting the UA string for fetches 2021-04-07 19:11:55 -07:00
nobody
64f3490839 comments 2021-04-06 21:03:47 -07:00
nobody
965430bd70 very slow progress on AP C2S API 2021-04-06 20:33:27 -07:00
nobody
ee99f8f27f issue commenting from search/display if you're the site admin 2021-04-06 19:49:44 -07:00
nobody
b48a70641e refactor the content search algorithm slightly to return public results if there are no results owned by the logged in channel. 2021-04-06 17:05:00 -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
9c4c7524a9 revision 2021-04-05 19:23:04 -07:00
nobody
49849ec811 Merge branch 'dev' of ../p3 into dev 2021-04-05 19:22:02 -07:00
nobody
038b1cbe06 fetch collections 2021-04-05 19:21:28 -07:00
nobody
be749373a9 looks like Keyutils::convert_salmon_key was renamed 2021-04-05 18:42:01 -07:00
nobody
5edf428930 don't show draft threads in the drafts display if your draft comment was deleted but not yet wiped from disk. 2021-04-05 18:02:19 -07:00
nobody
f4b131a00a issue displaying draft comments on stream page 2021-04-05 17:57:39 -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
26eb01dc39 Merge branch 'dev' of ../p3 into dev 2021-04-01 15:23:12 -07:00
nobody
d24b9a9544 disable file activities until a few more things are fixed. 2021-04-01 15:21:19 -07:00
nobody
eb8db87fe6 issue with siteinfo 2021-04-01 14:46:50 -07:00
nobody
34d7b074ae more work on AP fetchable photo albums 2021-03-31 18:25:14 -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
6457e67417 use phpseclib (yuk) 2021-03-28 15:37:49 -07:00
nobody
55a5e03c9b allow acl changes on drafts 2021-03-28 12:14:47 -07:00
nobody
82ffc326fb wrong variable name 2021-03-27 14:53:17 -07:00
nobody
153ccca230 wip: dm links, possibly requires significant refactor of the acl_selector before all is said and done 2021-03-25 20:29:42 -07:00
nobody
ce67fdb790 issue syncing photos of non-zero imgscale 2021-03-23 20:50:41 -07:00
nobody
28f500e93e strings and stuff 2021-03-21 22:33:52 -07:00
nobody
47246212f4 don't search mastodon urls as actors if AP fetch failed. Change to wording of expire setting. 2021-03-21 17:44:24 -07:00
nobody
1ba4e50bc7 more nomadic content 2021-03-18 18:53:29 -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
e74c0e2f90 cleanup 2021-03-16 20:06:35 -07:00
nobody
0b08169eb2 initial exploration into the next generation of access tokens. First make the old system work again. 2021-03-16 18:59:56 -07:00
nobody
6fbd31cbc3 start the next push; also try to work around multiple zot hublocs from sites that were over-written and started fresh with the same username 2021-03-15 16:56:03 -07:00
nobody
6589475b26 Merge branch 'dev' of ../p3 into dev 2021-03-14 22:12:39 -07:00
nobody
d69589e17e scripted replace of 'array()' with '[]' 2021-03-14 22:10:44 -07:00
nobody
730c386cd8 search actor url from navbar 2021-03-14 16:41:45 -07:00
nobody
7b9d245841 search actor urls 2021-03-14 16:04:13 -07:00
nobody
b431f938b8 whitespace 2021-03-13 23:14:32 -08:00
nobody
c1282570df catch two more places where follow|unfollow->note could leak. 2021-03-13 15:40:35 -08:00
nobody
3d91ecbe82 include follow 2021-03-13 14:42:19 -08:00
nobody
f30e71038d notifier: reject unfollow activities, which are internal use only and should not be forwarded 2021-03-13 14:03:27 -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
e85dcd6f11 Merge branch 'dev' of ../p3 into dev 2021-03-12 14:27:31 -08:00
nobody
073db32fe1 minor tweaks (php8 cont.) 2021-03-12 14:26:56 -08:00
nobody
9088d135b6 improve connedit: refresh photo on ap 2021-03-12 12:37:11 -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
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
157aca4c3b php8 cont. 2021-03-10 21:31:13 -08:00