Commit Graph

2063 Commits

Author SHA1 Message Date
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael badb73d0cb Added update for post-thread-user 2021-02-09 17:04:41 +00:00
Michael f1377ce7fb Issue 9906: Improved view speed 2021-02-09 16:35:01 +00:00
Michael ab5a447bc2 The "thread" table isn't used anymore 2021-02-08 07:48:36 +00:00
Michael 8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
Michael 2282bb4a19 Fix test data 2021-02-04 09:46:29 +00:00
Michael 5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael 48ba88b11c remove test logging 2021-02-02 05:53:55 +00:00
Michael df24c0daeb User-Item table is replaced 2021-02-02 05:45:57 +00:00
Michael 32e6b28aab Fixed class name 2021-02-01 13:36:20 +00:00
Michael d5c33216b7 Don't remove data from the item array 2021-02-01 11:00:35 +00:00
Michael c62d93cfe8 Avoid "Undefined index: verb" 2021-02-01 10:57:25 +00:00
Michael 8c9346fc12 New table "post-user-notification" 2021-02-01 10:31:38 +00:00
Michael 08317036e7 List of deprecated fields is checked 2021-02-01 07:06:01 +00:00
Michael c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00:00
Michael 15162b4027 New table "post-thread-user" 2021-01-31 18:32:22 +00:00
Michael 998f127cb8 Prevent "No post-content stored" 2021-01-31 12:26:25 +00:00
Hypolite Petovan 9885c1f128
Merge pull request #9890 from annando/post-content
New table "post-content"
2021-01-30 18:01:13 -05:00
Michael 41061a7ec1 Avoid "Duplicate entry" 2021-01-30 22:39:06 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 722083f9ed Avoid non numeric parameter 2021-01-29 23:41:42 +00:00
Hypolite Petovan 9a4128a5c8
Merge pull request #9873 from annando/post-user
New "post-user" structure, new update  functionality
2021-01-28 19:32:17 -05:00
Michael 9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Michael Vogel 199f72ee3c
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
Add "Remember this device" feature to two factor authentication
2021-01-27 22:32:08 +01:00
Michael ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan 82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Hypolite Petovan 3e257d4266 Move all two-factor authentication classes in Security\TwoFactor 2021-01-23 05:42:58 -05:00
Hypolite Petovan c644d76d28 Allow setting arbitrary keys in the cookie array 2021-01-23 05:42:58 -05:00
Hypolite Petovan e2c38f1347 Prevent hashtag parsing and replacement in image alternative text 2021-01-22 17:45:28 -05:00
Michael 4002bd9b97 Don't create a user-item entry on default 2021-01-22 08:16:41 +00:00
Michael fbcc59cc1d Some more removed functionality from FileTag class 2021-01-21 20:25:06 +00:00
Michael d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Michael a773a72eaa The "icid" field is deprecated 2021-01-19 23:26:24 +00:00
Michael b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael 9ccfa37d3c Fixes 9814 - again 2021-01-18 20:19:13 +00:00
Michael f9430175c6 Avoid multiple lines in post-view, added thread view 2021-01-18 07:10:04 +00:00
Michael ff8b578cde Fix the test data / unused function removed 2021-01-17 22:20:46 +00:00
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
Michael c1d1b189f7 Cleaned code 2020-12-02 08:36:23 +00:00
Michael 775075c5db Only spool mirrored posts 2020-12-02 05:07:44 +00:00
Michael b2dadf0f92 Use a combined unique index 2020-12-02 00:34:10 +00:00
Michael 4fbd0a46b5 Reducing parameter list 2020-12-02 00:05:03 +00:00
Michael a283b1183b Move deletion 2020-12-01 23:04:04 +00:00
Michael Vogel b3f71d174c Added logging 2020-12-01 23:54:49 +01:00
Michael 2aa302c570 New class for handling delayed posts 2020-12-01 22:11:29 +00:00
Michael bb823c323b Configuration for the priority of the notification for expired messages 2020-11-30 21:40:55 +00:00
Hypolite Petovan 4f98da88c4
Merge pull request #9614 from annando/issue-8943
Issue 8943: Only check for too old postings for feeds
2020-11-30 16:09:27 -05:00
Michael b30d2c9c6b Renamed function 2020-11-30 20:59:18 +00:00
Michael ccc07b06de Issue 9329: prevent "Expression #1 of SELECT list is not in GROUP BY clause" 2020-11-30 20:44:21 +00:00
Michael 8bc799ff38 Issue 8943: Only check for too old postings for feeds 2020-11-30 20:32:56 +00:00
Michael 5f1ea39bad Display posts that are reshared by the contact 2020-11-29 20:42:03 +00:00