Commit graph

31951 commits

Author SHA1 Message Date
Philipp
f403851946
Move ProfileFieldRepository::updateCollectionFromForm() 2021-10-18 23:32:40 +02:00
Philipp
6f692b857b
Move ProfileField::selectByContactId() and ProfileField::selectByUserId() 2021-10-18 23:32:39 +02:00
Philipp
a9981c792e
Use ProfileField::selectPublicFieldsByUserId 2021-10-18 23:32:39 +02:00
Philipp
1c0f92c382
Move ProfileField from Model to Entity 2021-10-18 23:32:38 +02:00
Hypolite Petovan
39a927f213
Merge pull request #10891 from nupplaphil/bug/httpclientfactory_dbstructure
Fix possible missing dbstructure.config.php in HTTPClientFactory.php
2021-10-18 16:34:22 -04:00
Michael Vogel
df99ca8d82
Merge pull request #10888 from MrPetovan/task/10887-bbcode-style-block
Add conditional block output for BBCode tag [style]
2021-10-18 20:19:53 +02:00
Philipp
ef1e2ce77e
Cleanup tests
- Remove DBAMockTrait
- Remove DBStructureMockTrait
2021-10-18 20:08:40 +02:00
Philipp
493b428991
require_once dbstructure.config.php for HTTPClientFactory.php in case we didn't load the DB 2021-10-18 19:36:56 +02:00
Michael Vogel
1dc613a0a1
Merge pull request #10889 from MrPetovan/task/10886-bbcode-remove-class
Deprecate limited-use and potentially confusing [class] BBCode tag
2021-10-18 19:28:07 +02:00
Hypolite Petovan
6f290607de
Merge pull request #10890 from xundeenergie/improve-links
Improve links
2021-10-18 09:08:48 -04:00
Hypolite Petovan
fe5d1444a5 Add test for new BBCode tag 2021-10-18 02:45:47 -04:00
Hypolite Petovan
39aff642aa Deprecate limited-use and potentially confusing [class] BBCode tag
- Replace its usage in Mastodon emoji with an internal tag [emoji]
2021-10-18 02:45:42 -04:00
Jakobus Schürz (admin)
4aaa5a6a46 open provider-url in new tab 2021-10-18 08:41:45 +02:00
Jakobus Schürz (admin)
c450a7a757 open link from picture in new tab 2021-10-18 08:39:01 +02:00
Hypolite Petovan
4bee4818cf Add conditional block output for BBCode tag [style]
- Move new line conversion to <br> tags
- Update BBCode help page
2021-10-17 21:27:05 -04:00
Philipp
5d0b7fd87b
Merge pull request #10882 from MrPetovan/task/10865-contact-purge
Add new purge contact content option to admin contact blocklist
2021-10-17 23:44:28 +02:00
Hypolite Petovan
1274fe6f9b
Merge pull request #10885 from annando/fcontact-suggest
Remove "fcontact" from suggestions
2021-10-17 16:35:25 -04:00
Michael
f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
Michael Vogel
b0bb95bb0d
Merge pull request #10880 from MrPetovan/bug/10876-profile-edit
Account for the PUBLIC value for id parameter in Depository\PermissionSet::selectOneById
2021-10-17 08:36:18 +02:00
Michael Vogel
dec87d89c0
Merge pull request #10881 from MrPetovan/bug/10872-acl-mail-contacts
Switch available contact selection to private-supporting networks in ACL
2021-10-17 08:32:19 +02:00
Hypolite Petovan
2e78e0353d Updated main translation file after adding a string 2021-10-16 19:32:16 -04:00
Hypolite Petovan
aea07a7c15 Add new purge contact content option to admin contact blocklist 2021-10-16 19:29:38 -04:00
Hypolite Petovan
fc2175260f Move Worker task RemoveContact to Contact\Remove 2021-10-16 19:22:24 -04:00
Hypolite Petovan
efe0e45170 Create new Worker task to remove a contact's content from the database 2021-10-16 19:19:56 -04:00
Hypolite Petovan
f80478f262 Improve argument handling in Core\Worker::add
- The argument name made it unclear the first argument is supposed to be a priority number
2021-10-16 19:19:56 -04:00
Hypolite Petovan
29be333cec Add test for public value of Depository\PermissionSet->selectOneById 2021-10-16 16:55:53 -04:00
Hypolite Petovan
45fc6759b8 Remove unused method in Model\\Contact 2021-10-16 16:05:09 -04:00
Hypolite Petovan
66c0431144 Switch available contact selection to private-supporting networks in ACL 2021-10-16 16:00:41 -04:00
Hypolite Petovan
ca2c73a2cd Account for the PUBLIC value for id parameter in Depository\PermissionSet::selectOneById 2021-10-16 15:42:21 -04:00
Tobias Diekershoff
907f45b0f4
Merge pull request #10878 from MrPetovan/bug/10877-html-to-bbcode
Bug/10877 html to bbcode
2021-10-15 17:55:11 +02:00
Hypolite Petovan
5feb80397f Added test for code blocks containing HTML entities in HTMLTest::toBBCode 2021-10-15 11:37:21 -04:00
Hypolite Petovan
f9165fbaf0 Decode HTML entities in code blocks in HTML::toBBCode
- Replace PHP_EOL uses with the more common \n
2021-10-15 11:36:40 -04:00
Hypolite Petovan
ca1801a164
Merge pull request #10874 from annando/profile-photo
Use a constant for the profile photo album
2021-10-14 02:27:18 -04:00
Michael
c6021a45b1 Updated messages.po, keep a translatable string 2021-10-14 06:22:47 +00:00
Michael
a33185f835 Use a constant for the profile photo album 2021-10-14 04:12:00 +00:00
Hypolite Petovan
f05fecaec1
Merge pull request #10867 from annando/replace-p
replace "p" with higher level database functions
2021-10-13 19:33:59 -04:00
Michael
8d7846142d Hide blocked contacts when searching public contacts 2021-10-13 21:04:46 +00:00
Hypolite Petovan
a60fe907fb
Merge pull request #10873 from martincodes-de/count-user-correctly
add condition to count accounts that arent removed
2021-10-13 14:15:04 -04:00
martincodes
aa433f9d87 add condition to count accounts that arent removed 2021-10-13 18:54:22 +02:00
Michael Vogel
09771e1a76
Merge pull request #10870 from MrPetovan/bug/fatal-errors
Use entity property in DB condition in Module\Profile\Status
2021-10-13 07:19:26 +02:00
Michael
2904f4ca0e Olq query removed, checking for deleted as well 2021-10-13 05:11:36 +00:00
Michael Vogel
e2400067a5
Merge pull request #10869 from MrPetovan/bug/10868-mastodon-api-notifications
Ignore max_id when it's 0 or less in BaseDepository->_selectByBoundaries
2021-10-13 06:57:25 +02:00
Hypolite Petovan
f622a541c3 Use entity property in DB condition in Module\Profile\Status
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-939538157
2021-10-13 00:09:14 -04:00
Hypolite Petovan
2324dac4b2 Ignore max_id when it's 0 or less in BaseDepository->_selectByBoundaries
- It can cause a conflict when both min_id and max_id = 0 as default values
2021-10-12 21:18:32 -04:00
Hypolite Petovan
b3c576b9ce Fix request parameter mapping to selectByBoundaries() in Api\Mastodon\Notifications 2021-10-12 21:17:19 -04:00
Michael
27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Hypolite Petovan
9b68364b86
Merge pull request #10863 from annando/photo-type
New photo field "photo-type" as preparation for banners
2021-10-11 13:52:28 -04:00
Michael
948450c24b Changed field description 2021-10-11 17:21:29 +00:00
Michael
13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Hypolite Petovan
f05faf22a1
Merge pull request #10861 from annando/no-q
Replace the legacy function "unavailableNetworks"
2021-10-11 08:17:45 -04:00