Commit graph

9032 commits

Author SHA1 Message Date
Mike Macgirvin
7956784214 more refactor 2022-09-04 08:06:54 +10:00
Mike Macgirvin
24e82855cd rename discover_by_webbie() to discover_resource() 2022-09-04 07:30:13 +10:00
Mike Macgirvin
9f8f2ab4fa cleanup 2022-09-04 07:16:47 +10:00
Mike Macgirvin
bca644ddd3 cleanup 2022-09-03 15:23:54 +10:00
Mike Macgirvin
cdaefc3fd7 cleanup 2022-09-03 09:45:58 +10:00
Mike Macgirvin
c3465ba2ad cleanup 2022-09-03 06:22:59 +10:00
Mike Macgirvin
39dbf4ad06 cleanup 2022-09-02 06:50:26 +10:00
Mike Macgirvin
61d8911f12 refactor some smelly code 2022-09-02 05:17:27 +10:00
Mike Macgirvin
8f51603130 queue diagnostics 2022-08-30 17:30:11 -07:00
Mike Macgirvin
2712e7c68b whitespace 2022-08-29 23:08:43 -07:00
Mike Macgirvin
8803be2ca3 cleanup 2022-08-25 21:43:03 +10:00
Mike Macgirvin
bec231c4ef Use a low-level typecast in pdo driver to fix a number of potential type-exception issues. 2022-08-24 12:51:01 -07:00
Mike Macgirvin
7acf12a7c7 Reduce false positives in markdown lists by only rendering lists if there is more than one list element on the page. 2022-08-23 07:44:55 +10:00
Mike Macgirvin
aa33f6950c cleanup 2022-08-15 20:33:19 +10:00
Mike Macgirvin
b4d6a8fbe5 fix ability to overwrite existing cloud storage files through the web interface (requires setting the pconfig system.overwrite_dup_files for your channel to a truthy value) 2022-08-14 19:35:28 -07:00
Mike Macgirvin
d68a065284 cleanup 2022-08-14 20:25:56 +10:00
Mike Macgirvin
864e6f19fa code cleanup 2022-08-14 19:20:43 +10:00
Mike Macgirvin
6f2d46947d code cleanup 2022-08-13 20:57:14 +10:00
Mike Macgirvin
0889f83fc1 whitespace 2022-08-05 14:14:47 -07:00
Mike Macgirvin
40de3a15a0 collection work 2022-08-05 14:12:53 -07:00
Mike Macgirvin
cb43bc8dcb whitespace 2022-08-03 19:57:43 +10:00
Mike Macgirvin
fd6dcfe7e7 whitespace 2022-08-03 19:52:05 +10:00
Mike Macgirvin
f1cb7f36b1 whitespace 2022-07-27 15:16:27 -07:00
Mike Macgirvin
ceae3bf4e2 whitespace 2022-07-26 15:39:34 +10:00
Mike Macgirvin
4168179964 provide app url for embedded apps to ActivityPub viewers who can't see the app rendering. 2022-07-26 08:53:15 +10:00
Mike Macgirvin
4020a5102f xmlify the enclosure type since they can contain quotes 2022-07-20 14:39:59 -07:00
Mike Macgirvin
ff70ba1219 Merge branch 'dev' of ../rebble.net into dev 2022-07-20 14:35:34 -07:00
Mike Macgirvin
09cb5536a7 Comment content missing in feeds 2022-07-20 14:34:13 -07:00
Mike Macgirvin
426684dc84 remove tracking info from feeds 2022-07-20 14:15:56 -07:00
Mike Macgirvin
b24ac794b1 cleaner display urls 2022-07-20 04:26:28 -07:00
Mike Macgirvin
1d2fa92bf3 start fixing mod_display message-id 2022-07-20 01:30:58 -07:00
Mike Macgirvin
fe3d85fd67 remote deletion issue 2022-07-19 17:43:27 -07:00
Mike Macgirvin
b0e6321180 drop_item cleanup 2022-07-12 08:10:52 +10:00
Mike Macgirvin
c3befe66e1 remove unused permission check for item deletion 2022-07-12 07:46:44 +10:00
Mike Macgirvin
c26c7f09d6 hidden mentions not being preserved across edits. 2022-07-05 19:13:38 -07:00
nobody
9dc37df489 refactor language detection 2022-07-05 11:34:07 +10:00
Mike Macgirvin
50a0b22d00 Add 'falsiness' check to MessageFilter. 2022-07-02 18:19:32 -07:00
Mike Macgirvin
fab6281e81 Rename variable for clarity. 2022-06-29 14:44:00 -07:00
Mike Macgirvin
1bfc965f33 Force Activity::update_poll to honour the item_store() delivery setting. 2022-06-29 13:28:05 -07:00
Mike Macgirvin
24c3a0df1f formatting messed up on repeats of censored authors that contain images. 2022-06-28 14:52:51 -07:00
Mike Macgirvin
2bd649d453 More compatibility fixes related to federation of "quoteUrl". 2022-06-27 18:48:48 -07:00
Mike Macgirvin
636688e432 Store only the smallest cover_photos (425x239 or scale '9') in cache/xp .
In setup, check for ther existence of /usr/bin/magick prior to looking for /usr/bin/convert.
2022-06-26 17:17:04 -07:00
Mike Macgirvin
2cf3f9ed9d Change the default cover photo and the default_cover_photo logic. 2022-06-26 15:40:09 -07:00
Mike Macgirvin
80ee930617 unit test fail 2022-06-26 01:51:31 -07:00
Mike Macgirvin
b8f9e270fd cleanup deprecated code 2022-06-26 01:50:02 -07:00
Mike Macgirvin
330c31a4e9 deprecate the interactive argument to drop_item() 2022-06-26 01:36:02 -07:00
Mike Macgirvin
df25574235 Recent change (3 months ago) to deprecate "interactive" drop_item fixed related sync issues but did not federate well.
This has now been fixed but full deprecation including change to drop_item() and drop_items() and dropitem_low_level() calling parameters requires additional effort.
2022-06-25 17:09:35 -07:00
Mike Macgirvin
4db44d00b7 semantic web: wrap embeddded shared content in 'article' HTML tags 2022-06-25 14:02:35 -07:00
Mike Macgirvin
1b25178a53 cleanup get_dim() @brief get days in month 2022-06-25 00:37:34 -07:00
Mike Macgirvin
7d290c6d80 Create DReport::is_expired(). Currently static but this may change.
Refactor datetime_convert() to use position independent arguments.
2022-06-25 00:25:10 -07:00
Mike Macgirvin
ff936b55b3 Don't censor your own images. For one thing this makes your posts difficult to preview, but in any case we're assuming you are tolerant to your own content. 2022-06-24 14:55:13 -07:00
Mike Macgirvin
1e9cc85947 Add the importer to MessageFilter evaluation to match language filters for completed conversations.
Remove the arbitrary thread fetch count limit.
2022-06-24 13:59:30 -07:00
Mike Macgirvin
5277cd3997 Rename Stdio::fpipe => Stdio::fcopy and remove some cruft that is no longer needed. 2022-06-24 13:28:29 -07:00
Mike Macgirvin
82c2e371fa image upload issues (regression) 2022-06-23 23:18:22 -07:00
Mike Macgirvin
6919d3cc10 missed one pipe_streams replacement 2022-06-23 22:31:04 -07:00
Mike Macgirvin
e0fd00718a don't log duplicate primary key errors to dbfail.out 2022-06-23 19:41:11 -07:00
Mike Macgirvin
7a6267dea3 wrap create_table_from_array() query in a transaction and convert xprof to use it in libzotdir.
This should eliminate any impact due to duplicate creates caused by race conditions, though they will probably still be logged.
2022-06-23 18:03:49 -07:00
Mike Macgirvin
660c6c30b9 terms must be countable 2022-06-23 04:17:25 -07:00
Mike Macgirvin
26c7b64e34 add mention and tag count limits to reduce abuse when bypassing permissions 2022-06-23 03:47:35 -07:00
Mike Macgirvin
bb9c687de3 deprecate z_fetch_url() and friends. Now use Code\Lib\Url::{fetch|get}() 2022-06-23 00:38:34 -07:00
Mike Macgirvin
4c2e191c2d remove some unnecessary code in import_remote_xchan_photo and create import_remote_cover_photo in preparation for future work 2022-06-22 14:36:54 -07:00
Mike Macgirvin
46d3f4cc16 move os_mkdir to Stdio 2022-06-22 03:19:52 -07:00
Mike Macgirvin
abcd456461 add Code\Storage\Stdio - start with pipe_streams() refactor 2022-06-22 02:36:53 -07:00
Mike Macgirvin
593bf652d6 Remove dead code and move account queries to Account class. 2022-06-21 19:59:37 -07:00
Mike Macgirvin
0923449a21 Remove some dead code and associated defines. 2022-06-21 16:13:01 -07:00
Mike Macgirvin
2fe74164e9 fix autocomplete focus colours 2022-06-20 15:56:12 -07:00
Mike Macgirvin
3faf29c8f1 complete the removal of vlists 2022-06-19 20:56:36 -07:00
Mike Macgirvin
3a0a866c5f xchan_remote_profile_photo storage issue 2022-06-18 18:27:41 -07:00
Mike Macgirvin
d711dc141e hubloc refactor continued - hubloc_delete() 2022-06-17 19:24:50 -07:00
Mike Macgirvin
6c91a91561 use hubloc_delete 2022-06-17 19:01:56 -07:00
Mike Macgirvin
e1e2c68653 rename include/text -> include/misc 2022-06-17 16:59:11 -07:00
Mike Macgirvin
d2e0143ace Trim unicode spaces on imported name field. 2022-06-17 16:22:17 -07:00
Mike Macgirvin
37afc9555f activitystreams url parse issue, re-factor naked links replacement 2022-06-17 15:41:57 -07:00
Mike Macgirvin
e9118b221e tracking down some obscure issues from logs 2022-06-17 00:07:44 -07:00
Mike Macgirvin
b26c877670 superfluous 'and' in new query during tests 2022-06-16 23:12:42 -07:00
Mike Macgirvin
35e02f25d6 begin hubloc refactor 2022-06-16 19:46:54 -07:00
Mike Macgirvin
81f15044f6 use current timestamp for profile_photo_activity object, not the photo date; as the photo itself could come from media library 2022-06-16 14:57:38 -07:00
Mike Macgirvin
526b9e41d2 slightly more aggressive/proactive hubloc filtering 2022-06-16 14:48:13 -07:00
Mike Macgirvin
9a7bd3ee6a add author mentions to group topic posts 2022-06-14 15:36:43 -07:00
Mike Macgirvin
84f4bf9477 more img.alt escaping 2022-06-10 17:17:18 -07:00
Mike Macgirvin
5928477b76 image description escaping continued 2022-06-10 02:18:37 -07:00
Mike Macgirvin
dcc294d67a remove all remote tracking services and their enablers 2022-06-08 16:48:07 -07:00
Mike Macgirvin
29423d8039 deprecate directory stuff 2022-06-06 20:41:40 -07:00
Mike Macgirvin
27461b58ab fixes from upstream 2022-06-06 18:55:58 -07:00
Mike Macgirvin
d810689097 throwaway commit 2022-06-06 16:09:51 -07:00
Mike Macgirvin
4d319363b7 support hubzilla's bbcode img alt text 2022-06-04 15:29:19 -07:00
Mike Macgirvin
9ce5002d37 Hubzilla uses Friendica's bbcode for image alt text 2022-06-04 14:32:54 -07:00
Mike Macgirvin
943fce51fd deprecate block_public 2022-06-01 14:18:51 -07:00
Mike Macgirvin
de966207d7 cleanup and reduce log noise 2022-05-30 13:54:08 -07:00
Mike Macgirvin
58724dfb01 Merge branch 'dev' of ../unfediverse.com into dev 2022-05-26 14:51:01 -07:00
Mike Macgirvin
3808c4db57 add 'received' stream order 2022-05-25 16:00:59 -07:00
Mike Macgirvin
eeec41258e cleanup 2022-05-25 13:11:38 -07:00
Mike Macgirvin
4c18a11182 sql - wrong column 2022-05-25 02:39:34 -07:00
Mike Macgirvin
c5411319c3 fixup comment policy on linked photo items 2022-05-15 17:33:57 -07:00
Mike Macgirvin
61f0aebe1c make nsfw and safe mode play nicely with photo object activities 2022-05-15 14:48:38 -07:00
Mike Macgirvin
d8225a97b1 more issues with deliver_stream permission 2022-05-12 14:14:08 -07:00
Mike Macgirvin
0218221db5 extra paren 2022-05-11 15:26:06 -07:00
Mike Macgirvin
0606efd21f item.route unused, but needs to be set or DB will complain 2022-05-11 14:12:35 -07:00
Mike Macgirvin
67a3365cc8 ensure App::$sys_channel is set for all processes, both web and cli. 2022-05-10 15:33:56 -07:00
nobody
0949a29b22 undo superfluous logging 2022-05-05 16:54:58 -07:00
nobody
fda628f14a reset 2022-05-05 16:53:36 -07:00
nobody
6ef0cd4c43 use view_stream until debugged further 2022-05-05 16:01:35 -07:00
nobody
fd59d52731 typos 2022-05-05 13:17:09 -07:00
nobody
c7eee4fdad delivery issue 2022-05-05 06:04:30 -07:00
nobody
f7df145497 Merge branch 'dev' of ../rebble.net into dev 2022-05-03 03:43:41 -07:00
nobody
48e1ae73ea Move technical tools to /dev as submodules 2022-05-03 03:41:08 -07:00
nobody
8de852c189 Merge branch 'dev' of /home/macgirvin/./streams into dev 2022-05-01 03:00:01 -07:00
nobody
4f8814f587 no more route 2022-05-01 01:24:52 -07:00
nobody
325d85c969 correctly mirror "Answer" activities. 2022-04-30 22:57:46 -07:00
nobody
ad487eefe7 slight improvements in handling empty objects 2022-04-29 02:48:06 -07:00
nobody
232724cd88 regressions 2022-04-28 14:05:27 -07:00
nobody
fc2eb13a2b cleanup 2022-04-28 04:12:47 -07:00
nobody
2a1a7e2e46 couple of tweaks 2022-04-24 17:22:18 -07:00
nobody
59c252dcd8 more AS attachment stuff 2022-04-21 14:46:21 -07:00
nobody
1c09c036e2 get rid of "provide status post for this upload" 2022-04-19 02:00:39 -07:00
nobody
0145c32dae improve collect_recipients() for some third-party recipients. 2022-04-17 01:21:18 -07:00
nobody
74e8a27f1f Merge branch 'dev' of /home/macgirvin/unfediverse.com into dev 2022-04-17 00:30:01 -07:00
nobody
b7ee1afa6c improve 'anyOf' result formatting. 2022-04-17 00:29:02 -07:00
nobody
c5fdf277e1 network aware content 2022-04-15 22:47:16 -07:00
nobody
07e618eea8 version 2022-04-09 18:47:20 -07:00
nobody
7bbb510da9 wrap nohtml content from html purification by simply escaping it. add attribution to lists. 2022-04-09 18:44:23 -07:00
nobody
65315050b3 poll percentage progress bars look much better at less than full width. 2022-04-06 13:22:12 -07:00
nobody
04c94dad86 link regression 2022-04-06 03:19:30 -07:00
nobody
e480852a97 sync fixes 2022-03-31 12:21:52 -07:00
nobody
38c8e9df31 sync issue 2022-03-25 13:49:50 -07:00
nobody
6633dc0e7e sync xchans for superblock 2022-03-22 12:45:55 -07:00
nobody
dfc9100aeb ui tweaks 2022-03-21 14:29:13 -07:00
nobody
0b09613cc5 synchronisation issues, cont. 2022-03-20 14:39:58 -07:00
nobody
30d9547f29 sites => communities 2022-03-18 12:38:08 -07:00
nobody
80e8f68ee8 one more 2022-03-17 22:51:48 -07:00
nobody
f1362d0408 various php 8 and php 8.1 warnings 2022-03-17 22:48:35 -07:00
nobody
e3c2e39b7a fix app sync 2022-03-17 18:40:15 -07:00
nobody
6e08128891 sync issues and cover photo issues when cloning from a project with a different aspect ratio. 2022-03-17 16:57:54 -07:00
nobody
eff0b62be7 incorrect namespace 2022-03-16 22:14:45 -07:00
nobody
774406dca8 testing clonability plus some php 8.1 errors/warnings 2022-03-16 16:54:32 -07:00
nobody
aab6ce8e97 cleanup 2022-03-15 02:02:44 -07:00
nobody
68e87cf3a1 Merge branch 'dev' of ../unfediverse.com into dev 2022-03-15 01:44:14 -07:00
nobody
7cab493e6c php 8.1 changes 2022-03-15 01:42:34 -07:00
nobody
51f548bba0 Merge branch 'dev' of /home/macgirvin/unfediverse.com into dev 2022-03-14 15:43:07 -07:00
nobody
09d4cca00d hashtag issue 2022-03-14 15:42:42 -07:00
nobody
9fcb326d78 change authentication plugin workflow so that username is not required 2022-03-13 12:58:26 -07:00
nobody
81d5363e44 revision 2022-03-11 21:20:57 -08:00
nobody
1c5b2b0602 remove branding on email notifications 2022-03-04 11:35:16 -08:00
nobody
dfc0a92665 symfony uuid returns an object - cast to string 2022-03-03 13:41:01 -08:00
nobody
3d6523772c postgres: get rid of binary fields. 2022-02-28 13:17:27 -08:00
nobody
a3ab2d9d23 enhance the messagefilter 2022-02-27 21:58:50 -08:00
nobody
4e84fce37f ajax load sites 2022-02-26 00:36:05 -08:00
nobody
4b4f24057b Regression: Cover photos being stored in cloud root instead of "Cover Photos" folder. Ditto for Profile Photos. 2022-02-24 00:54:16 -08:00
nobody
34a0a20c19 change cover photo ratio to 16:9 2022-02-22 18:15:00 -08:00
nobody
b36d6333d0 database cleanup 2022-02-21 11:59:17 -08:00