Commit graph

8566 commits

Author SHA1 Message Date
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
nobody
b9fdfda56d Merge branch 'dev' of ../p3 into dev 2021-02-18 21:41:14 -08:00
nobody
51dda4ad8f hz->zap migration testing 2021-02-18 21:40:22 -08:00
nobody
c283317bac hz compatibility stuff 2021-02-18 17:55:51 -08:00
nobody
bc9dfce07d support recursive embedded shares 2021-02-16 17:53:22 -08:00
nobody
3880c16a83 multicode_purify() continued 2021-02-10 17:55:10 -08:00
nobody
d63671694b quick but flawed fix for recent performance regression caused by moving html purification into rendering code. 2021-02-10 14:04:57 -08:00
nobody
6f8cfeb156 more unescaped quotes issues 2021-02-07 16:24:41 -08:00
nobody
077871ba8c quotes are unescaped in the latest multi-code implementation and this screws up some bbcode parameter parsers that expected to see & quot ; 2021-02-07 16:13:33 -08:00
nobody
ffcfdf37fe use bbonly flag when regenerating cache 2021-02-04 16:09:59 -08:00
nobody
6d2f9b4cac more work on mixed format messages 2021-02-04 14:45:07 -08:00
nobody
0474143b89 html+md+bbcode experiment 2021-02-02 14:49:11 -08:00
nobody
c32d8512cc markdown issue 2021-02-01 20:42:39 -08:00
nobody
e092ccea1c issue #14 continued 2021-01-29 12:31:18 -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
d59916e9a1 server_name issue 2021-01-25 13:56:45 -08:00
nobody
b82ff1625a improve threadlistener coverage 2021-01-24 15:40:25 -08:00
nobody
09c5b032f5 use hardwired ap schema 2021-01-22 16:59:56 -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
12c2bda6a6 youtube embed issue 2021-01-19 18:21:30 -08:00
nobody
9c65d28244 import/export issues 2021-01-08 13:53:28 -08:00
nobody
29042b8a6f remove deprecated tables from export files. 2021-01-08 13:51:40 -08:00
nobody
7ba5ca606c little tweaks 2020-12-22 15:30:52 -08:00
nobody
49384ee5d7 log admin access denied 2020-12-21 19:24:27 -08:00
nobody
673822e946 provide content_import in core and run it automatically if you choose to import posts when creating a clone. So one step import *if* you import from a site instead of a file (yay - finally). This required slight modifications to api_auth because it always looked for a cached identity and in this case the identity was just created and will not yet be in cache. 2020-12-10 16:32:29 -08:00
nobody
10a99bad49 yet another typo 2020-12-01 21:39:21 -08:00
nobody
d57425b065 simplify css validation function 2020-12-01 21:37:58 -08:00
nobody
3454c9beb9 missed one 2020-12-01 16:20:46 -08:00
nobody
64e96865df revert - not needed 2020-12-01 11:48:05 -08:00
nobody
e243b5f6e6 typo 2020-12-01 11:08:20 -08:00
nobody
1c32c394eb more bbcode sanitise 2020-12-01 11:07:17 -08:00
nobody
ccaeb58654 missing callback 2020-11-30 19:52:46 -08:00
nobody
8e4de81115 bbcode sanitisation improvements 2020-11-30 19:48:59 -08:00
nobody
463ea86ba5 drafts v1 2020-11-29 16:38:45 -08:00
nobody
029b442c47 Merge branch 'dev' of ../p3 into dev 2020-11-26 16:20:00 -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
c7b7cd6d3b fix was in wrong code block 2020-11-26 11:35:47 -08:00
nobody
20f84f07fa looping fix from Mario 2020-11-25 16:45:54 -08:00
nobody
918fbb7d0e Merge branch 'dev' of ../p3 into dev 2020-11-24 19:23:53 -08:00
nobody
a752db34c7 more work on comment control 2020-11-24 19:22:59 -08:00
nobody
5ef168bfe8 mod_sites - show non-zot projects 2020-11-23 21:28:33 -08:00
nobody
7af12a1f7e per-post comment control: select comment allowed audience and comments_closed date 2020-11-23 19:14:44 -08:00
nobody
5e178222d2 fix yet another markdown/bbcode edge case 2020-11-23 15:09:50 -08:00
nobody
74ebbdf3b4 revision 2020-11-22 14:18:25 -08:00
nobody
9495e90bc5 try again - ignore linkifying naked links inside parens, which may be markdown links and would otherwise be linkified twice 2020-11-22 14:15:17 -08:00