Commit graph

8595 commits

Author SHA1 Message Date
nobody
4805473bd0 error parsing coordinates 2021-04-01 14:39:18 -07:00
nobody
a125379844 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-31 18:30:58 -07:00
nobody
34d7b074ae more work on AP fetchable photo albums 2021-03-31 18:25:14 -07:00
nobody
a59c766d3a Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-29 17:52:59 -07:00
nobody
53191a92be minor markdown fixes 2021-03-29 17:52:21 -07:00
nobody
831b71d7ed Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-29 17:27:51 -07:00
nobody
684f91f90a add markdown documentation 2021-03-29 17:02:45 -07:00
nobody
f76bccb1ac Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-29 12:56:29 -07:00
nobody
c2ea3534bb multicode: provide 'nomd' and 'nohtml' tags to be consistent with 'nobb' 2021-03-29 12:53:58 -07:00
nobody
94fa0cb111 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-27 14:54:38 -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
e1ffaa8794 Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-24 17:55:04 -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
866182aaaa Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-23 20:52:01 -07:00
nobody
ce67fdb790 issue syncing photos of non-zero imgscale 2021-03-23 20:50:41 -07:00
nobody
22784c672f Merge branch 'dev' of /home/macgirvin/z into dev 2021-03-22 15:10:37 -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
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
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
nobody
25f9c83da6 don't linkify naked links within parens - which may indicate a markdown link 2020-11-22 14:10:58 -08:00
nobody
a8fbb086e4 whitespace 2020-11-19 18:42:11 -08:00
nobody
dc293437af include namespace 2020-11-19 17:51:14 -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
6cb40adf12 start on mastodon api 2020-11-17 20:53:57 -08:00
nobody
f9bf9547f5 code consolidation: as_return_and_die() function created to handle signing ActivityStreams output in a number of places 2020-11-16 21:39:49 -08:00
nobody
b9d4b93501 Merge branch 'dev' of ../p3 into dev 2020-11-15 16:59:10 -08:00
nobody
603c643a1d describe privacy roles 2020-11-15 16:58:31 -08:00
nobody
419128a15b postgres does not support 'int(10)' 2020-11-14 11:57:28 -08:00
nobody
9f3768e008 jwt issues 2020-11-12 20:41:44 -08:00
nobody
4b735aa63a recognise csv files 2020-11-10 15:06:11 -08:00
nobody
393e775656 workaround for what I believe is a Pleroma bug, whereby the tag list in an activity contains urls of the form
example.com/tags/xxx (plural) and the message body shows them as example.com/tag/xxx (singular)
2020-11-04 15:02:01 -08:00
nobody
7b0574cd03 fixes from hz 2020-10-31 22:33:56 -07:00
nobody
45f8693c50 markdown lists appearing inside code block of diff output 2020-10-31 17:10:22 -07:00
nobody
6fd6bf0701 cleanup deprecated directory code 2020-10-26 19:51:59 -07:00
nobody
d3785db447 issue with summaries beginning with parens and markdown 2020-10-22 15:28:13 -07:00
nobody
65c65377f1 nodeinfo client library 2020-10-21 19:21:33 -07:00
nobody
fa0ca2afae more work on topfetch and provide an animated avatar preference 2020-10-20 22:54:05 -07:00
nobody
2d7b02e327 version, add debug to daemon_convo to find out why it isn't working correctly in some cases 2020-10-20 17:57:34 -07:00
nobody
4374f66c78 some more poll cleanup 2020-10-20 16:13:30 -07:00
nobody
a9e8ac7f88 browser2browser-encryption, leave encrypted text in message for platforms lacking crypto support so they can manually decode it if they obtain the requisite tools. 2020-10-18 18:21:31 -07:00
nobody
1a595f4273 hubloc_mark_as_down() - also set site_dead 2020-10-18 17:59:41 -07:00
nobody
a1ed5b903a markdown header fix 2020-10-18 16:25:46 -07:00
nobody
937198169f Merge branch 'dev' of ../p3 into dev 2020-10-16 20:44:17 -07:00
nobody
bd76c885a0 markdown tweak the italics regex to reduce false positives 2020-10-16 20:40:27 -07:00
nobody
5658985852 probe the correct repo 2020-10-16 03:42:55 -07:00
nobody
b16cdec31f Merge branch 'dev' of ../p3 into dev 2020-10-15 22:49:19 -07:00
nobody
959b366e69 edge case with em markdown - don't trigger the leading underscore in the middle of alphanumeric string 2020-10-15 22:46:48 -07:00
nobody
3e8518895e blockquotes 2020-10-15 19:01:43 -07:00
nobody
a5755872ea fix ordered lists 2020-10-15 18:00:23 -07:00
nobody
82c2f6cf98 add some basic markdown constructs 2020-10-15 17:48:36 -07:00
nobody
84c9415b2e revert all the markdown stuff. Too many issues. 2020-10-14 21:44:15 -07:00
nobody
67ed8641a8 another attempt at resolving markdown quirks 2020-10-14 19:20:29 -07:00
nobody
2d9be60b0a revert 2020-10-14 18:27:42 -07:00
nobody
0cdc5f3781 This is an experiment at more intuitive rich-text support. We may need to revert or tweak if it causes serious issues. Basically support markdown AND bbcode simultaneously
in a way that attempts to preserve the unique source syntax of each when editing.
2020-10-14 18:04:49 -07:00
nobody
074c3351af embeddable events 2020-09-27 17:13:24 -07:00
nobody
dbaa0aaa6c Getting a lot of php warnings of "does not exist" when deleting a file that we just checked to see if it existed, but it suddenly does not a few microseconds later. Suppress these warnings, but there's obviously a race condition or duplicate entry point being triggered. 2020-09-27 16:57:53 -07:00
nobody
953703cc22 support extensions on linkinfo phone numbers 2020-09-25 17:59:45 -07:00
nobody
93bd9d9a9a add phone numbers to linkinfo 2020-09-25 17:36:55 -07:00
nobody
1f531f092f add percentages to oneOf polls and allow author to vote 2020-09-25 00:22:20 -07:00
nobody
80c392c95e improve new app discovery 2020-09-24 14:26:23 -07:00
nobody
465680687d improve usability of linkinfo dialog 2020-09-23 19:01:27 -07:00
nobody
0339f8178a Merge branch 'dev' of ../p3 into dev 2020-09-23 18:02:10 -07:00
nobody
8531810ee5 turn off dragon drop on post editor until duplicate upload issue can be investigated/resolved. New app: Markup which provides the bold, italic, etc. editor buttons and removes them by default for less clutter 2020-09-23 17:59:09 -07:00
nobody
551d825a0a only upload abc music files as embeds if the abc addon is installed. The function to do this was named plugin_is_installed() and we will be deprecating that name once I can track down everywhere it is used. 2020-09-22 23:41:40 -07:00
nobody
a38a3ac51e re-arrange so that we fetch downward comments only after we've stored the entire upward conversation fetch 2020-09-22 19:57:28 -07:00
nobody
4f312ff055 process geo: urls in mod_linkinfo and show a map if you have a map addon configured and choose 'embed' 2020-09-22 18:08:50 -07:00
nobody
bfde2dca7f fetch downstream conversation after fetching upstream conversation - *if* the software providing the top-level post provides it. 2020-09-22 16:49:44 -07:00
nobody
829c46cbf0 turn virtual lists into an app 2020-09-21 18:11:32 -07:00
nobody
162bda49c4 virtual accesslists 2020-09-21 17:26:27 -07:00
nobody
872c8a7932 collapsed comments work 2020-09-20 19:45:41 -07:00
nobody
a096517a30 add pronouns to profile 2020-09-18 15:34:53 -07:00
nobody
ad5b44fc4e whitespace 2020-09-17 23:32:35 -07:00
nobody
de4d2656a6 move and rename 2020-09-17 23:21:57 -07:00
nobody
76274d2afe filestorage work, use site_icon for siteinfo html page instead of project icon 2020-09-17 17:30:52 -07:00
nobody
8d684f4ec7 release 2020-09-16 21:32:43 -07:00
nobody
c4307e98ed event display format regression 2020-09-16 20:18:57 -07:00
nobody
0454c05840 comment out admin sub-module init until I can debug it 2020-09-14 23:11:49 -07:00
nobody
2b143a68a9 channel photos for clones being stored multiple times 2020-09-14 20:10:35 -07:00
nobody
b24e0140af Merge branch 'dev' of ../p3 into dev 2020-09-14 19:23:58 -07:00
nobody
9b70520da1 raise limit on cleanup of migrated xchan photos 2020-09-14 19:23:18 -07:00
nobody
edd27a6a9e migrate existing xchan photos as a small background task 2020-09-14 19:21:44 -07:00
nobody
65b2cf6945 label the list and group entries in the acl selector - we can't use icons here. 2020-09-09 22:25:39 -07:00
nobody
fa09727217 refactor site customisation 2020-09-09 17:29:46 -07:00
nobody
f81b657005 allow posting to collections with a hashtag matching the channel_address 2020-09-08 16:37:15 -07:00
nobody
f09a200fd1 zot_record_preferred() returning wrong record in mention completion 2020-09-06 02:50:11 -07:00
nobody
e338474458 suggestion improvements 2020-09-03 03:39:26 -07:00
nobody
97dc0c3aca remove empty function 2020-09-02 23:06:21 -07:00
nobody
5f6f3b41dc make mod_sites standalone, update our own stored site record as this is never done if something changes 2020-09-02 23:02:32 -07:00
nobody
fdbe71c774 provide poco_load limit and default to very small 2020-09-02 16:58:42 -07:00