Commit graph

57 commits

Author SHA1 Message Date
Michael
c00004f6ea API: Tredning statuses added 2022-11-28 09:30:41 +00:00
Hypolite Petovan
10e48a34f2 Ensure Post::toArray returns an array
- We don't handle query errors anyway
- Remove unused parameter do_close
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1314245581
2022-11-14 14:53:54 -05:00
Michael
1f1c2d8ca6 (Hopefully) query performance improvements 2022-11-01 08:45:25 -04:00
Roland Häder
498d7f690a
Changes:
- php-cs is now happy with it
2022-10-26 17:59:10 +02:00
Philipp
b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files 2022-10-20 22:14:50 +02:00
Michael
ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
Roland Häder
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
Michael
5b3145d7ce Several performance improvements 2022-08-15 13:23:01 +00:00
Michael
c6de91a8ec Don't delete the post when there is some undeleted post-user 2022-08-13 12:24:25 +00:00
Philipp
d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
Philipp
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
Roland Häder
7ec07178c8
Changes:
- added missing type-hints
- added missing documentation
2022-06-18 16:59:23 +02:00
Michael
75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael
178bc543e3 New founction to count threads 2021-07-08 17:32:41 +00:00
Michael
11d2440425 New functions for the post-view view 2021-06-16 10:16:01 +00:00
Michael
24cc82f396 API: (hopefully) improves speed of the public timeline 2021-06-12 15:19:56 +00:00
Michael
785f8124ed Issue 10306: Improve local delivery 2021-05-26 09:24:37 +00:00
Michael
3bbf543d25 API: Some more endpoints 2021-05-08 19:21:52 +00:00
Michael
dd38cc330f API: We now support two more timeline api endpoints 2021-05-07 21:28:48 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
d30ec1eb58 More indexes / performance for "pinned" improved 2021-03-10 13:25:37 +00:00
Michael
1e56cee2c5 Issue 9906: Hopefully finally fixes the speed issues 2021-03-09 21:21:33 +00:00
Michael
5863fd881d Issue 9906 (again): Provide index hints 2021-03-09 08:01:10 +00:00
Michael
6a4540e6f6 Issue 9799: Ensure that the first post date is after the registration date 2021-03-07 10:46:46 +00:00
Michael
470a47647a Small performance improvements, new view for future use 2021-03-06 05:47:49 +00:00
Michael
5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael
e07b73f560 Update in chunks 2021-02-21 08:00:53 +00:00
Michael Vogel
5b9239b341 Spaces removed 2021-02-21 08:52:42 +01:00
Michael
10f7280bbc Fetch a given number of posts 2021-02-21 07:46:58 +00:00
Michael
d37f3de3e6 Update in segments 2021-02-21 07:06:20 +00:00
Michael
92a8a399de Improved indexes, avoiding SQL errors, improving speed 2021-02-20 20:07:25 +00:00
Michael
60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
Michael
e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael
6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael
07c07ec499 More "item" traces removed 2021-02-14 09:43:27 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +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
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
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
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael
9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00