Commit graph

8611 commits

Author SHA1 Message Date
nobody
d0925fec2d mastogroups: provide a normal 'Announce' body if we have enough information to do so. 2021-06-24 00:44:41 -07:00
nobody
633cadbf4e provide full object if available 2021-06-23 17:13:10 -07:00
nobody
01c3c68b2c more syntax issues from having a string item['obj'] 2021-06-23 16:54:26 -07:00
nobody
73a6e614a8 syntax 2021-06-23 16:48:19 -07:00
nobody
f80f246d23 don't boost reactions 2021-06-23 01:52:52 -07:00
nobody
91f32b11ca mastogroups - support moderation 2021-06-23 00:19:51 -07:00
nobody
efe8657cf2 mastogroups 2021-06-22 23:25:13 -07:00
nobody
9ad5568afd commit some experimental work so that it doesn't create conflict later. 2021-06-22 02:16:28 -07:00
nobody
cabed0682c improved photo editing and alt text support 2021-06-21 22:03:11 -07:00
nobody
03e635677c store photo tags with linked item 2021-06-19 20:16:08 -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
29fd3dad2c tempfix 2021-06-18 22:47:42 -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
35ea8d7d7e finish removal of deprecated server_role and sitelist 2021-06-17 14:54:15 -07:00
nobody
441261e2d8 updates 2021-06-12 14:57:46 -07:00
nobody
735e2382a3 zid-enabled links leaking to signed AP fetches 2021-06-12 02:35:29 -07:00
nobody
c22877385c mastodon group issue 2021-06-10 22:10:53 -07:00
nobody
fb26626822 add /conversation/ context to group top-level posts 2021-06-10 17:01:30 -07:00
nobody
e0d3ce0925 include some objects in embedded share group posts, just not notes/articles. 2021-06-07 14:35:21 -07:00
nobody
5c3770e646 array is null issue with guest posted photos 2021-06-07 14:09:30 -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
2c1f748347 revision 2021-05-27 04:17:19 -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
82eabd114b per module loadtime 2021-05-20 18:47:10 -07:00
nobody
b5547eadbd various bugfixes 2021-05-20 18:01:42 -07:00
nobody
39ffebbca5 Merge branch 'dev' of ../p3 into dev 2021-05-19 14:59:50 -07:00
nobody
5445aa8dbe don't link hashtags inside HTML tags, add support for HTML 'mark' element in the purifier. 2021-05-19 14:58:18 -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
edd2737f56 fix posts to appendable collections arriving as normal posts if we don't host the target collection 2021-05-11 14:06:59 -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
a105ee45b1 string update, check to see if activity target is already json_decoded 2021-04-29 22:37:19 -07:00
nobody
3aa90a042e more smithereen group quirks 2021-04-29 21:24:30 -07:00
nobody
ab4ce52b76 BEGIN: deliver top-level post to groups via target collection (in addition to DM, simple mentions, and wall-to-wall posts) 2021-04-28 22:12:52 -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
4055f9494e Merge branch 'dev' of ../p3 into dev 2021-04-27 13:43:18 -07:00
nobody
34c08f36e6 more logging of copy_of_pubitem to find issue 2021-04-27 13:40:27 -07:00
nobody
434c407d6f add uploaded photos as attachments as well as inline 2021-04-26 21:32:37 -07:00
nobody
0fad070e95 SQL issue with copy_of_pubitem when multiple copies of the post exist on this site 2021-04-26 18:08:14 -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
9c72688c56 only return cache entry if it has contents 2021-04-20 19:33:06 -07:00
nobody
1f2981418e move 'replyto' from initial concept to experimental stage 2021-04-17 16:34:36 -07:00
nobody
8bb42abfd6 update federation.md 2021-04-16 15:44:20 -07:00
nobody
577d63a5ed prettify E2EE content 2021-04-15 17:07:20 -07:00
nobody
179fdd3511 allow wildcard matching in admin site blocks 2021-04-14 21:23:01 -07:00
nobody
53d553f454 make sure your own site is always allowed if the default site policy is block everybody. 2021-04-14 17:33:21 -07:00
nobody
24f8be05d4 site filtering: Enable "block by default" if domains are entered in the allow list but there is no block list. 2021-04-14 13:40:56 -07:00
nobody
a110783fe9 comment control issues 2021-04-13 21:07:24 -07:00
nobody
f0045a39a0 Merge branch 'dev' of ../p3 into dev 2021-04-12 21:28:21 -07:00
nobody
42f46df966 don't rewrite naked links inside markdown code blocks 2021-04-12 21:27:33 -07:00
nobody
87d5c7f000 atoken_abook() probably not needed any more since atoken entries are now added to abook automatically 2021-04-12 21:03:34 -07:00
nobody
0f62a46844 cleanup 2021-04-12 20:49:58 -07:00
nobody
31c46fdb13 prevent looping on the sync packet 2021-04-11 19:13:36 -07:00
nobody
959644ff83 Merge branch 'dev' of /home/macgirvin/z into dev 2021-04-11 17:56:54 -07:00
nobody
f8b7cb33d5 use network type 'token' for atoken xchans 2021-04-11 17:55:54 -07:00
nobody
f0cd89b062 allow reverse proxy to work with webfinger and other endpoints that normally require https 2021-04-11 16:27:44 -07:00
nobody
fa57e701d2 edge cases syncing atokens 2021-04-10 20:15:55 -07:00
nobody
361bcf68f9 typo 2021-04-10 18:43:30 -07:00
nobody
d9d4a47dbb clone atokens and their associated structures 2021-04-10 18:41:35 -07:00
nobody
940541d8f6 delete atoken record if corresponding abook entry is removed 2021-04-10 15:45:19 -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
9ffd12c251 Merge branch 'dev' of ../p3 into dev 2021-04-07 19:12:21 -07:00
nobody
38c2f8666b allow setting the UA string for fetches 2021-04-07 19:11:55 -07:00
nobody
084438bffd fixing nits 2021-04-07 19:11:15 -07:00
nobody
52805a5ac6 Optionally post to groups via normal mentions unless the group is restricted. This aligns with the expectations of other fediverse projects and communities but isn't recommended, as content destined for private groups can leak. We can't convince those projects and communities that privacy is important and we're frankly outnumbered. We still recommend DMs or wall-to-wall posts for posting to groups because only these mechanisms can minimise leakage of private group content, and users shouldn't be forced to remember which is which. But this isn't the hill I wish to die on. A hidden config allows group owners to change this behaviour based on their own privacy and usability needs. 2021-04-07 17:27:50 -07:00
nobody
ee99f8f27f issue commenting from search/display if you're the site admin 2021-04-06 19:49:44 -07:00
nobody
acb63fdcb8 property values showing up as unuseable attachments in posts/comments from hz 2021-04-06 16:20:10 -07:00
nobody
136066b971 federated alt text support for image attachments 2021-04-06 13:31:44 -07:00
nobody
f4b131a00a issue displaying draft comments on stream page 2021-04-05 17:57:39 -07:00
nobody
d24b9a9544 disable file activities until a few more things are fixed. 2021-04-01 15:21:19 -07:00
nobody
4805473bd0 error parsing coordinates 2021-04-01 14:39:18 -07:00
nobody
34d7b074ae more work on AP fetchable photo albums 2021-03-31 18:25:14 -07:00
nobody
53191a92be minor markdown fixes 2021-03-29 17:52:21 -07:00
nobody
684f91f90a add markdown documentation 2021-03-29 17:02:45 -07:00
nobody
c2ea3534bb multicode: provide 'nomd' and 'nohtml' tags to be consistent with 'nobb' 2021-03-29 12:53:58 -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
f39efa8bb1 markdown in multicode: backslash escapes for a number of markdown constructs are supported but the backslash remained in the text afterward. Strip it. 2021-03-24 17:52:10 -07:00
nobody
124fd1addf cleanup include/attach.php 2021-03-23 22:28:01 -07:00
nobody
ce67fdb790 issue syncing photos of non-zero imgscale 2021-03-23 20:50:41 -07:00
nobody
3f8bfed050 adjust parameter ordering due to previous commit 2021-03-22 15:09:07 -07:00
nobody
653f37ec1a more markdown false positives 2021-03-22 13:01:49 -07:00
nobody
70925bb206 markdown blockquotes starting with '>' not being converted to html because the right angle char may not be escaped by the multicode purifier if there is no corresponding left angle char. 2021-03-18 17:41:20 -07:00
nobody
dd9f2bf1dc don't expire pinned posts 2021-03-18 15:01:51 -07:00
nobody
7a084d671d Merge branch 'dev' of ../p3 into dev 2021-03-17 21:22:36 -07:00
nobody
b87d7975d0 subtle issues encountered with item sync 2021-03-17 21:21:48 -07:00
nobody
5c0cc90eee Merge branch 'dev' of ../p3 into dev 2021-03-17 18:32:49 -07:00
nobody
e9584aff10 remove accounts that do not complete email verification in 3 days 2021-03-17 18:30:37 -07:00
nobody
ef2a803627 implement delegated login over atokens 2021-03-16 19:17:31 -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
d69589e17e scripted replace of 'array()' with '[]' 2021-03-14 22:10:44 -07:00
nobody
a5bbcc54c9 use item_normal instead 2021-03-14 12:21:23 -07:00
nobody
4ce3b52acc cleanup 2021-03-14 00:35:03 -08:00
nobody
61fb790648 php8 cont. 2021-03-13 17:02:47 -08:00
nobody
3d91ecbe82 include follow 2021-03-13 14:42:19 -08:00
nobody
127cad0c79 fetch_items: only include unfollow if asked to 2021-03-13 14:23:26 -08:00
nobody
7af4edc137 Some pleroma servers sending back photos as application/octet-stream 2021-03-12 14:20:57 -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
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
157aca4c3b php8 cont. 2021-03-10 21:31:13 -08:00
nobody
0dd7cd7688 bugfix in php8 changes 2021-03-10 20:28:03 -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
a830c753ad more dom stuff because the official doco on php.net is wrong 2021-03-10 18:13:46 -08:00
nobody
e7af5258cc rework dom parsing stuff 2021-03-10 17:54:52 -08:00
nobody
781bdc554c Merge branch 'dev' of ../p3 into dev 2021-03-10 17:54:35 -08:00
nobody
c4b326f0ee missing classes on import 2021-03-10 17:53:54 -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
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
59a85734a1 php8 cont. 2021-03-09 15:36:07 -08:00
nobody
49e25418c9 more php8 issues 2021-03-09 14:35:41 -08:00
nobody
d8ec492288 latest php8 issues 2021-03-09 14:12:18 -08:00
nobody
e57c1fd182 more php8 2021-03-08 21:52:10 -08:00
nobody
0545ec0047 more php8 2021-03-08 20:44:47 -08:00
nobody
2148e40ade implode args reversed (php8) 2021-03-08 19:24:08 -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
1c0ce67e29 return hash on AccessList::add() 2021-03-05 14:37:41 -08:00
nobody
52314eda78 markdown and help stuff 2021-03-04 19:52:58 -08:00
nobody
b8d1793b27 more multicode work 2021-03-03 15:43:09 -08:00
nobody
239db8407f add the bbcode cheatsheet after converting to multicode 2021-03-03 15:07:34 -08:00
nobody
c351c9d030 multicode false positive issue (markdown code blocks triggered by leading space|tab characters) 2021-03-02 20:52:12 -08:00
nobody
608393df63 more code comments 2021-03-01 20:08:57 -08:00
nobody
ed5d9c93ca create html version of bb_fixtable_lf() 2021-03-01 20:06:45 -08:00
nobody
33630e9051 more doco 2021-03-01 18:50:41 -08:00
nobody
8cd09e6eaa upgrade help module to use multicode 2021-03-01 16:33:20 -08:00
nobody
a4fe4024ff doc updates 2021-03-01 15:33:07 -08:00
nobody
9b41e36404 fix online status (associated pull request was closed, but the patch was correct) 2021-02-28 19:38:10 -08:00
nobody
0c4751543f incorrect variable 2021-02-25 00:35:36 -08:00
nobody
e7815abb5d Merge branch 'dev' of ../p3 into dev 2021-02-23 19:40:54 -08:00
nobody
6564f3e216 try once more to ignore deprecated #^ bookmark tags coming from Hubzilla 2021-02-23 19:39:45 -08:00
nobody
b11b48e65d deprecate extension matching when rendering video/audio elements 2021-02-23 19:06:51 -08:00
nobody
adcc0404b4 typo 2021-02-23 17:44:28 -08:00
nobody
f67493ab32 more work on purification of complex imported objects 2021-02-23 17:40:25 -08:00
nobody
4ae24c8a9a looks like some content fields found in the wild are actually arrays 2021-02-23 15:36:39 -08:00
nobody
414c2be024 don't try to purify an array 2021-02-23 15:22:30 -08:00
nobody
da0e82c2a9 Merge branch 'dev' of ../p3 into dev 2021-02-22 18:37:39 -08:00
nobody
646536e986 low hanging php8 stuff 2021-02-22 18:36:54 -08:00
nobody
70e0e05e05 don't apply htmlspecialchars to content fields of imported items, use purify_html instead 2021-02-22 17:12:41 -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