Commit graph

2144 commits

Author SHA1 Message Date
Michael
6f7e063b34 Fixes "PHP Notice: Undefined variable: item in src/Model/Post/Media.php on line 561" 2021-05-01 07:10:27 +00:00
Michael
3217de30fa Merge branch 'avoid-duplicates' of github.com:annando/friendica into avoid-duplicates 2021-04-30 22:35:20 +00:00
Michael
c840ee82af Avoid empty posts on Diaspora 2021-04-30 22:35:16 +00:00
Michael Vogel
4889e82489
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-04-30 22:31:24 +02:00
Michael
3666742e7b Added comment 2021-04-30 06:11:13 +00:00
Michael
75a90f5e5d Avoid problems with an empty body 2021-04-30 04:45:31 +00:00
Michael
639d5373e0 Add atachments to body for Diaspora and DFRN 2021-04-29 21:05:22 +00:00
Michael
b88c9f9d67 Handling bottom anchor and top anchor 2021-04-29 19:29:29 +00:00
Michael
eb8e6c5b22 Improved link comparism on attached links 2021-04-29 19:02:43 +00:00
Michael
6ab35c20e0 Fix link comparism 2021-04-29 18:23:04 +00:00
Michael
94e36f7970 Avoid adding the same attachments in shared posts 2021-04-29 05:45:35 +00:00
Michael
8541e248bb Less greedy when replacing attachment elements 2021-04-29 04:14:44 +00:00
Michael
3d64c3031b Preview for Videos and images / Video resolution selection 2021-04-28 19:05:46 +00:00
Michael
44c801905a Improve page load performance with attached links 2021-04-27 12:29:54 +00:00
Michael
5527353d87 Removed trailing whitespace 2021-04-26 15:09:32 +00:00
Michael
c4705a33c0 Removed unneeded stuff 2021-04-26 14:10:16 +00:00
Michael
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Michael
e80cb60e40 Bugfix: Store to category 2021-04-20 19:17:07 +00:00
Michael
a12992f063 Allow to remove the "extid" content as well. 2021-04-18 09:57:08 +00:00
Michael
15caf4b3f7 Fix: The "extid" field wasn't updated 2021-04-18 07:08:16 +00:00
Michael
79ec2cbc6d Prevent multiple videos from Peertube 2021-04-17 13:57:25 +00:00
Michael
b65f73e348 Improved mimeType detection and setting of the "type" field 2021-04-14 19:12:01 +00:00
Michael
5b2c4d70be Avoid notices whwn creating events 2021-04-11 06:53:01 +00:00
Michael
5a00902e11 Avoid HTML parsing of an empty body 2021-04-10 05:46:19 +00:00
Michael
688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Michael
e8a539b68d Move template to content/ 2021-04-05 11:44:43 +00:00
Michael
7e0d21b5bb Audio attachments are now displayed as audio elements 2021-04-05 09:15:36 +00:00
Tobias Diekershoff
8285a3a280
Merge pull request #10109 from annando/post-type
Use post-type for the item container
2021-04-01 07:49:00 +02:00
Michael
9072107b83 Use post-type for the item container 2021-04-01 04:58:53 +00:00
Michael
087a17b43d Issue 10105: Use legacy photo data field if used 2021-04-01 04:51:55 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael Vogel
0539c788ef
Update src/Model/Photo.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-03-26 15:51:26 +01:00
Michael
e98d11a9ae Limit the size of contact avatars 2021-03-26 06:56:08 +00:00
Michael
8424c78a59 Improved checks when adding contacts 2021-03-25 05:45:16 +00:00
Michael
5bbcb8bdf4 ActivityPub: Delete Comments 2021-03-24 22:22:14 +00:00
Michael
531ef6e6e2 Issue 10050: Avoid creating new contacts for expired users 2021-03-20 09:56:35 +00:00
Michael
49919b5b1d Issue 10050: Improve photo deletions 2021-03-19 11:42:29 +00:00
Hypolite Petovan
60a74fd5dc
Merge pull request #10034 from annando/better-tag-sorting
Trending tags are now sort by different users
2021-03-11 17:31:59 -05:00
Michael
5666866812 Trending tags are now sort by different users 2021-03-11 19:59:42 +00:00
Hypolite Petovan
a1c15f43df
Update value interpolation syntax in Model\Event::getListById 2021-03-11 14:03:53 -05:00
Michael
9e87dcb25b We now set the protocol in "gserver" on receiving as well 2021-03-10 22:31:33 +00:00
Michael
d30ec1eb58 More indexes / performance for "pinned" improved 2021-03-10 13:25:37 +00:00
Hypolite Petovan
df547ba73f
Merge pull request #10024 from annando/block-tags
Block tags from the trending tags
2021-03-09 18:14:41 -05:00
Michael
639a781125 Block tags from the trending tags 2021-03-09 22:34:41 +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
e826a4dafd We now use a constant 2021-03-08 18:57:19 +00:00
Michael
409a8322a8 Issue 9996: "bd" is a date field it cannot be empty 2021-03-08 18:50:50 +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
1940c17030 Issue 9992: post type hadn't been translated in the user's language 2021-03-07 07:39:13 +00:00
Michael
3695787968 Issue 9948: Remove "@" from full text search 2021-03-06 23:04:39 +00:00
Michael
d2c734c025 Issue 9986: Improve contact search 2021-03-06 21:52:26 +00:00
Michael
d78345e694 Issue 9968: Avoid blocking update calls 2021-03-06 16:52:36 +00:00
Hypolite Petovan
aa6472061b
Merge pull request #9987 from annando/db-performance
Small performance improvements, new view for future use
2021-03-06 10:27:32 -05:00
Tobias Diekershoff
30ae5220b5
Merge pull request #9989 from annando/issue-9912
Issue 9912: Process Markdown content from Peertube
2021-03-06 14:04:28 +01:00
Michael Vogel
98599c4c4b Avoid notice "Undefined index: author-name" in Diaspora delivery 2021-03-06 13:47:10 +01:00
Michael
8c748f03f9 Issue 9912: Process Markdown content from Peertube 2021-03-06 08:43:25 +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
73e36b64e6 Avoid "duplicate entry" error 2021-02-28 19:31:12 +00:00
Michael
a1e2794c64 Avoid lock problems, fix foreign key problems with contact-relation 2021-02-28 17:56:56 +00:00
Michael
530cfba71e Offer "follow thread" only when you don't already follow 2021-02-28 07:47:07 +00:00
Michael
3917c8ab5d Partly revert the contact-relation sruff 2021-02-25 05:21:47 +00:00
Michael
99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael Vogel
1935ec566a Avoid endless loop with the MagicLink 2021-02-21 20:51:00 +01:00
Michael
dcc82bfcf7 Automatically set to "seen" 2021-02-21 11:59:59 +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
c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Michael
312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael
60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
Michael
0beec80405 Fix updating the thread 2021-02-15 11:03:22 +00:00
Michael
2b17e36a67 Rever item reshare handling, fixed database 2021-02-15 10:29:58 +00:00
Michael
e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael
36357e790e "id" is now post-user-id 2021-02-14 18:33:15 +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
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