Commit graph

1976 commits

Author SHA1 Message Date
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
e775be38c8 Fix failed query 2021-01-16 23:24:48 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
b0d1a295fe New post class in model classes 2021-01-16 04:13:22 +00:00
Michael
f4addd337d New database version, fixes to empty field list 2021-01-14 22:51:44 +00:00
Michael
55204d26b1 Added function to count posts 2021-01-14 14:51:04 +00:00
Michael
8e12dd1658 Post view works now, "file" handling improved 2021-01-14 14:45:40 +00:00
Michael
ca16a4892b The item view is completed, unneeded fields removed 2021-01-13 07:23:57 +00:00
Michael
b160aa07b6 Issue 9705: Perform an age check when the post isn't fetched 2021-01-11 20:00:51 +00:00
Michael
050f31eeb3 Don't try legacy if the server supports more 2021-01-10 19:08:23 -05:00
Michael
bf563a1a39 Store the server transport protocol 2021-01-10 19:08:23 -05:00
Michael
6401bd7503 Mark if post was received via relay 2021-01-09 16:56:42 +00:00
Michael
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Michael
c0ac120578 Issue 9736: Fix for undroppable registrations 2021-01-02 09:11:38 +00:00
Hypolite Petovan
a12380a247
Fix typo in Model\Event 2020-12-30 09:20:46 -05:00
Michael
c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
Michael
a294c19d6e Fix several notices 2020-12-29 21:38:23 +00:00
Michael
997319a41f Use the raw data instead of an object 2020-12-26 19:31:39 +00:00
Michael
7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
Hypolite Petovan
f0eeb4900f Add support for Unicode in Model\Tag::store 2020-12-24 05:09:38 -05:00
Hypolite Petovan
586fb10176
Merge pull request #9697 from annando/improved-server
Server detection: Handle redirects, better Peertube detection
2020-12-22 11:14:07 -05:00
Michael
ae8a376eab Fix wrong variable 2020-12-22 08:24:56 +00:00
Michael
a5096ea549 Server detection: Handle redirects, better Peertube detection 2020-12-22 08:12:36 +00:00
Hypolite Petovan
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
Hypolite Petovan
1414d43597
Merge pull request #9664 from annando/delete-contacts
Delete removed contacts
2020-12-16 11:28:56 -05:00
Michael
a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Hypolite Petovan
6d3864a16b
Remove owner.deleted check in user deletion check in Model/Item 2020-12-15 14:24:42 -05:00
Hypolite Petovan
0951a50bcd Add item user owner data check in Model\Item::isValid
- Prevents deleted users from posting any item, manually or automatically through mirroring
2020-12-15 09:41:58 -05:00
Hypolite Petovan
8c17a6b4d9 Rename Model\User::getOwnerDataById parameter to better reflect intent 2020-12-15 09:41:10 -05:00
Michael Vogel
e4228c6218
Merge pull request #9655 from MrPetovan/bug/fatal-errors
Fix several occasional fatal errors
2020-12-14 22:11:45 +01:00
Hypolite Petovan
0441b912ac Return early if an URI id cannot be obtained in ActivityPub\Processor::createItem
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743769813
2020-12-13 13:42:08 -05:00
Michael
cd96955fcf Fix: posted unprepared posts hadn't been deleted 2020-12-13 18:17:50 +00:00
Michael
d938e37767 Set the return value 2020-12-13 17:22:50 +00:00
Michael
4626f98dbe Added logging 2020-12-13 16:38:12 +00:00
Michael
0eb4a600b0 Delay unprepared posts 2020-12-13 12:47:49 +00:00
Hypolite Petovan
c787281eff
Merge pull request #9652 from annando/issue-9584
Issue 9584: Only search posts from federated networks
2020-12-12 15:13:31 -05:00
Michael
c3d0ab56a5 Issue 9584: Only search posts from federated networks 2020-12-12 19:55:47 +00:00
Michael
297118f902 Archive/Unarchive at ActivityPub delivery 2020-12-12 16:45:23 +00:00
Hypolite Petovan
99b200868b Normalize return value in Database->fetch
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-741857058
2020-12-10 06:12:10 -05:00
Michael
dd94fb1242 Check for bad worker priorities 2020-12-08 21:58:32 +00:00
Michael
e17ca9cc35 Check for remote default avatars as well 2020-12-07 07:14:09 +00:00
Michael
a49a35f459 Centralized fetching of the default avatar 2020-12-07 06:43:43 +00:00
Michael
9acecfd9e6 Issue 9630: Prevent negative values for registered users 2020-12-06 18:14:05 +00:00
Michael Vogel
f9994548c1
Merge pull request #9621 from MrPetovan/bug/9611-bbcode-convert-html-purify
Add HTML Purify to BBCode::convert
2020-12-05 19:27:59 +01:00
Hypolite Petovan
1cc509c5ef Move BBCode version tagging inside of the hash to prevent item-content.rendered-hash overflow 2020-12-04 08:30:51 -05:00
Hypolite Petovan
e712706302 Add BBCode versioning
- This will trigger the re-conversion of displayed items on version update
2020-12-04 07:29:49 -05:00
Michael
9f96f3ef34 Moved updating personal contacts to updatecontact 2020-12-04 05:53:11 +00:00
Michael
8d999f54d0 Check and add a server 2020-12-03 22:32:51 +00:00
Michael
0c9a0ce64e Merge remote-tracking branch 'upstream/develop' into worker-command 2020-12-03 15:48:46 +00:00
Michael
edbdfbae6b workerqueue now has a "command" field 2020-12-03 15:47:50 +00:00