da658cbf1d
Delete the cache entry when the post is changed or deleted
2022-09-06 21:51:47 +00:00
ec8377a8c7
Issue 11893: Postupdate to fix wrong parents
2022-09-06 20:00:06 +00:00
6eb9dff807
Pagecache for frequently fetched pages
2022-09-06 06:04:41 +00:00
8f283985f0
Merge pull request #11884 from annando/language
...
Improved language detection
2022-09-04 15:52:29 -04:00
e2cb705468
Merge remote-tracking branch 'upstream/2022.09-rc' into language
2022-09-04 17:04:13 +00:00
437c230a6f
Merge remote-tracking branch 'upstream/2022.09-rc' into database
2022-09-04 17:03:14 +00:00
144547009b
All URL fields are now binary and longer
2022-09-04 07:54:01 +00:00
4304aa9eec
Improved language detection
2022-09-04 07:32:46 +00:00
9f2d3e6f88
Use AP data when possible
2022-09-04 07:15:04 +00:00
cc43b567cb
Some changes after code review
2022-08-31 19:03:37 +00:00
f7b85092b0
Some more changed log levels
2022-08-31 05:01:22 +00:00
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
3a840aa22d
Some more warnings and erors are fixed
2022-08-28 19:27:21 +00:00
3052ae71b7
Avoid warnings
2022-08-28 09:12:36 +00:00
2173fb38e0
Issue 11853/11867: Fix reshare of public posts
2022-08-27 21:22:49 +00:00
a0eaff8fd5
Fix issue 11865
2022-08-27 11:43:46 +00:00
ceb88c10e6
Warnings/Errors reduced - improved relay processing
2022-08-27 08:08:58 +00:00
dd8279afc2
Some more protection against database errors
2022-08-25 18:47:07 +00:00
15d975f143
Avoid some database errors
2022-08-25 04:57:41 +00:00
2a0ca80630
The contact-id of a wall posting is always the owner contact
2022-08-22 07:54:48 +00:00
51331ced9b
Improved function to fetch the contact id
2022-08-18 10:13:46 +00:00
a4f1df68e4
Improved contact-id detection
2022-08-18 07:48:39 +00:00
531085890a
Fetch the parent only - thread parents only on reshares
2022-08-17 19:39:20 +00:00
6070221364
Improved checks in "storeForUserByUriId" to reduce recursion depth
2022-08-17 05:28:24 +00:00
4d617c9c48
This cache key doesn't exist anymore
2022-08-15 18:46:10 +00:00
5b3145d7ce
Several performance improvements
2022-08-15 13:23:01 +00:00
c6de91a8ec
Don't delete the post when there is some undeleted post-user
2022-08-13 12:24:25 +00:00
5c5ae00370
Improved performance when updating contacts
2022-08-13 09:01:48 +00:00
Philipp
a145712f04
Merge pull request #11837 from MrPetovan/task/remove-poke
...
Remove poke feature
2022-08-11 18:17:11 +02:00
809beeee9d
Merge pull request #11838 from annando/asynchronous-conversation
...
Conversation entries will now be stored asynchronous if possible
2022-08-10 10:42:19 -04:00
d9aee0b3ea
Conversation entries will now be stored asynchronous if possible
2022-08-10 09:28:18 +00:00
4a885a13a6
Remove poke feature
2022-08-09 14:55:55 -04:00
f917286d6e
Use L10n->tt instead of t() for plural strings for polls in Model\Item
2022-08-08 01:52:16 -04:00
d60d2caef6
Improved queue processing
2022-08-07 19:24:50 +00:00
06f7244280
New option to disable the fetching of parents
2022-08-04 19:32:36 +00:00
196a1de7f2
Merge pull request #11812 from annando/ap-performance
...
Hopefully fixes loops during message processing
2022-08-03 03:00:50 -04:00
f2eec66240
Hopefully fixes loops during message processing
2022-08-03 03:38:03 +00:00
49394aedeb
Add password length limit if using the Blowfish hashing algorithm
...
- Add new page to reset a password that would be too long
- Add support for pattern parameter in field_password
2022-08-01 12:12:18 -04:00
3945de5e3b
No blubb allowed
2022-08-01 00:58:56 +00:00
0347f4fc66
Remove test code
2022-07-31 16:01:56 +00:00
b6da15557b
The post-reason / protocol is now filled in most cases
2022-07-31 15:54:35 +00:00
2e75d442a5
Merge pull request #11793 from Quix0r/reformatted-arrays
...
Reformatted some arrays for better readability
2022-07-29 17:54:53 -04:00
f9bf2424b1
Merge remote-tracking branch 'upstream/develop' into post-reason
2022-07-29 21:29:15 +00:00
699152e15e
Add more post reasons
2022-07-29 21:28:22 +00:00
0971bcf165
Make the tests happy
2022-07-29 16:05:04 +00:00
1210e235fb
Extracted as variable to have 2 more array fields moved to array initialization.
2022-07-29 17:20:09 +02:00
676ca36c52
Changes:
...
- reformatted arrays
2022-07-29 17:20:07 +02:00
2c32429d8d
Fix test
2022-07-29 14:56:40 +00:00
81aaacc67d
Improvements for the "post-reason"
2022-07-29 14:17:53 +00:00
f8ed028013
Changed back to $cdata
.
2022-07-29 12:41:08 +02:00
a20d05ba39
Merge pull request #11792 from Quix0r/fixes/get-request-value
...
Wrong variable name fixed (maybe copy-paste mistake) + used method instead of direct array access
2022-07-28 21:17:34 -04:00
eaed3945d1
Changed:
...
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
2022-07-29 00:38:46 +02:00
37bda3e5fb
Changes:
...
- fixed wrong type-hint uid => int
- added returned type-hint
- added some documentation
- formatted arrays a bit
2022-07-29 00:08:38 +02:00
ff9dc1e291
Merge remote-tracking branch 'upstream/develop' into untrusted
2022-07-27 17:56:56 +00:00
86105635ca
Improved message handling / new activity relay handling
2022-07-27 17:39:00 +00:00
Michael Vogel
f9777ce0dc
Merge pull request #11770 from MrPetovan/bug/notices
...
Handle rare case where contact doesn't exist in Model\Group::getIdsByContactId
2022-07-25 21:01:12 +02:00
488f4dcaa4
Handle rare case where contact doesn't exist in Model\Group::getIdsByContactId
...
- Address https://github.com/friendica/friendica/issues/11632#issuecomment-1193953621
2022-07-25 12:07:42 -04:00
d1b21eaf42
Changes:
...
- use local variables
2022-07-25 17:53:54 +02:00
1ac1db6173
Changed:
...
- rewrote to almost one block of array initialization
2022-07-25 16:49:01 +02:00
a5d679ea95
Merge pull request #11759 from annando/enqueue-posts
...
Fetch missing posts via a queue
2022-07-24 15:38:44 -04:00
6abb4d40d6
Handle changed parents
2022-07-24 13:09:35 +00:00
86ef7c66d3
Changes:
...
- added some missing type-hints, thanks to @MrPetovan
2022-07-23 23:09:35 +02:00
ba1c1049d6
Changes:
...
- added some type-hints
- added some documentation
- used self::exists() instead of DBA::exists('user', ['uid' => $uid])
2022-07-23 21:58:00 +02:00
a2a7d04fa1
Changed double-quotes to single
2022-07-23 21:58:00 +02:00
edc49ec9b4
Add expected "users" property to NodeInfo usage property for all versions
2022-07-23 13:21:44 -04:00
abf39ff9cf
Merge remote-tracking branch 'upstream/develop' into enqueue-posts
2022-07-23 12:55:34 +00:00
8c602071c2
Bookwyrm posts now work
2022-07-23 12:50:15 +00:00
7eb410bed7
Conversation/context is now stored
2022-07-23 06:52:43 +00:00
1d13574225
Fetching of missing posts is reworked
2022-07-21 05:16:14 +00:00
7dcd02938d
Remove entries from queue / relay detection
2022-07-20 05:37:40 +00:00
cf8698afe6
This is the correct way:
...
<?php
if (!isset($foo['account_removed) || $foo['account_removed'])
?>
2022-07-19 18:08:18 +02:00
cb2a052a70
Fixed E_NOTICE, for some strange reason 'account_removed' isn't around?
2022-07-18 23:49:58 +02:00
af8e059990
Renamed platform definition file
2022-07-18 03:48:19 +00:00
46fdd9893c
Merge remote-tracking branch 'upstream/develop' into server-detection
2022-07-17 15:42:09 +00:00
2ddf37f32d
Emergency fixes to fix a bunch of fatal errors
2022-07-17 11:47:12 +00:00
d52f52f45f
Somed added documentation
2022-07-17 05:42:44 +00:00
0a19759e4f
Fix wrong variable type
2022-07-16 13:44:35 +00:00
8b7cb5d9ef
Merge remote-tracking branch 'upstream/develop' into server-detection
2022-07-16 12:44:21 +00:00
896fd3fc91
Use the redirect value
2022-07-14 05:39:25 +00:00
d74e57ef2c
include suggested changes
2022-07-13 00:23:12 +02:00
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
dad05f1c76
Only fetch the first word for the platform
2022-07-10 13:52:38 +00:00
85c7bacb00
Improved server detection
2022-07-10 13:01:47 +00:00
eb8237dd89
Remove unused uid parameter in Item::newURI
2022-07-09 07:39:51 -04:00
cc75eb5d18
Improved server detection
2022-07-05 05:04:05 +00:00
a392a22eee
Changes:
...
- added some type-hints
- fixed some documentation (void is lately returned, not null)
- added some documentation
2022-06-27 15:16:17 +02:00
98bc5216ef
A bit more documentation
2022-06-27 15:16:17 +02:00
8e19998191
Fixes:
...
- more "bool expected but null returned" errors
2022-06-27 13:49:53 +02:00
7c049abfda
Fixed:
...
- Contact/User::isBlocked() needs to return boolean, but sometimes (strangely)
a NULL can come from database, so let's cast it
This tries to fix:
TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"
2022-06-27 11:39:18 +02:00
Philipp
e594656a48
Merge pull request #11684 from MrPetovan/bug/11651-ap-fetch-queue
...
Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
2022-06-26 13:36:19 +02:00
0223c030a9
Improve 2 factor usage
2022-06-25 23:04:00 +02:00
da32fa8fa6
Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
...
- These classes are used to flatten the recursive missing activity fetch that can hit PHP's maximum function nesting limit
- The original caller is responsible for processing the remaining queue once the original activity has been fetched
2022-06-25 12:40:54 -04:00
3c70d592f6
Merge pull request #11689 from Quix0r/rewrites/double-quotes-single
...
Changed more double-quotes to single
2022-06-25 12:02:01 -04:00
a7d49877a8
Centralize share tag attribute extraction code in Content\Text\BBCode
2022-06-25 11:46:52 -04:00
88870d18be
Changes:
...
- added some type-hints
- added documentation
2022-06-25 16:48:36 +02:00
39675fe683
Space for the rescue. ;-)
2022-06-25 16:48:35 +02:00
f12cc9648e
Changes:
...
- added some type-hints
- changed some double-quotes to single
2022-06-25 16:48:35 +02:00
aa133b5437
Add explicit gserver.site_name string truncate in Model\GServer
...
- Avoids "Data too long for column 'site_name'" database errors
2022-06-25 06:25:48 -04:00
636b84b41c
Update return value type-hint of GServer::getProtocol
...
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1164880874
2022-06-25 05:06:22 -04:00
c5b46fe748
Merge pull request #11681 from Quix0r/fixes/item-guidfromuri-allow-null
...
Allowing Item::getFromUri()'s 2nd parameter a null value
2022-06-24 10:15:26 -04:00