Michael
f569ccbbc2
Code is simplyfied
2022-10-29 22:55:39 +00:00
Michael
3c169b534e
Improved handling of native quotes
2022-10-29 22:11:39 +00:00
Michael
deccea0228
More functions moved to content class
2022-10-27 05:44:44 +00:00
Michael
c65fff6f93
Some more improvements for posts with shares
2022-10-26 17:00:55 +00:00
Michael
1a0b63659b
Merge remote-tracking branch 'upstream/develop' into share-rework
2022-10-25 08:31:01 +00:00
Michael
f54a886a5e
The "share" handling is improved
2022-10-25 06:37:23 +00:00
Philipp
d76a2b6ad6
Move DI dependency for Content\Item class
2022-10-21 19:35:32 +02:00
Philipp
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model
2022-10-21 19:35:32 +02:00
Michael
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Michael
ae82737445
Fix errors introduced by PR #11997
2022-10-18 18:32:20 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
f8f0dfa91a
Detect linked posts and add them as quote
2022-10-16 21:37:05 +00:00
Michael
8e1af9277a
Improve quite generation
2022-10-15 13:00:52 +00:00
Roland Häder
8f92d1cc8e
Changes:
...
- unified class import, we had these both:
````
use Friendica\Model\Item as ModelItem;
use Friendica\Object\Post as PostObject;
````
In first version the namespace was prefixing class name, in second suffixing it.
2022-10-15 00:44:07 +02: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
c2e57c5c0e
Return the pageinfo when feed is shared
2022-10-14 04:43:46 +00:00
Michael
e69b04d2df
Only add the media for non federated posts
2022-10-12 05:34:55 +00:00
Michael
0e82f64d71
Only attach images
2022-10-11 21:39:28 +00:00
Michael
f1f13db24f
Simplified code
2022-10-11 20:48:47 +00:00
Michael
68d6e11d83
Fix attached media in quoted posts
2022-10-11 20:10:39 +00:00
Michael
747139d186
Quoted posts from Twitter now contain media again
2022-10-10 23:18:58 +00:00
Michael
028de0e228
Quote of quotes are visually improved
2022-10-10 12:30:07 +00:00
Michael
0d3aa681b4
The quote functionality is simplified
2022-10-09 21:16:36 +00:00
Hypolite Petovan
4a885a13a6
Remove poke feature
2022-08-09 14:55:55 -04:00
Roland Häder
83cbe586ac
Changes
...
- renamed Item::visibleActivity() to Item::isVisibleActivity() as this returns
a boolean value
- added some type-hints
- added some documentation
2022-06-30 14:18:13 +02:00
Michael
2064a2ce87
Avoid notice when a contact couldn't be fetched
2022-06-08 05:35:34 +00:00
Michael
4daae255d8
Performance: Avoid queries where there is no media or category
2022-05-16 17:06:58 +00:00
Michael
fae414fedd
Fix local avatar, improve speed for fetching cached photos
2022-05-10 18:18:24 +00:00
Michael
4d359b7de1
Move the plink functionality to the right function
2022-05-05 07:57:52 +00:00
Michael
f6218427a4
Use the uri-id to fetch the contact
2022-05-03 21:51:56 +00:00
Michael
1f43332a1d
Only fetch category when it exists
2022-04-30 06:57:22 +00:00
Michael
8dc0ab9bb3
Test: Disable magiclink in posts
2022-04-29 09:49:16 +00:00
Michael
5539e42743
API: Support for the "direct" visibility
2022-03-05 06:14:30 +00:00
Michael
f853d58198
API: Forum mentions are now working
2022-03-02 06:59:07 +00:00
Michael
8034a48ffe
"inform" functionality moved / unified functionality
2022-01-30 10:56:13 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
1bb25de287
Applied change from PR #10763
2021-09-26 12:17:30 +00:00
Michael
0ad904c185
The conversation functionality moved to a class
2021-09-23 21:18:36 +00:00
Michael Vogel
fa65c436f4
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-12 18:04:01 +02:00
Michael
473adaf463
Mark, file and starring does now work for all items
2021-08-12 05:28:47 +00:00
Hypolite Petovan
303c9d4a54
Check Content\Item::replaceTag return for false return value before using it
...
- Address https://github.com/friendica/friendica/issues/10169#issuecomment-835547443
- Remove unused code in Content\Item::replaceTag
2021-05-31 08:29:50 -04:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
d2ea3eabfb
Replace legacy file/category handling
2021-01-21 07:16:41 +00:00
Michael
e374aecc46
Changed parameter order for "getbyURLForUser"
2020-07-15 17:22:12 +00:00
Michael
fc0312451d
Changed parameter order for getByURL
2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Michael Vogel
af6f6d4957
Fix speed issues with the network page
2020-07-10 00:22:26 +02:00
Hypolite Petovan
e7f50a05d1
Move handle_tag() to Content\Item::replaceTag
2020-06-10 10:13:32 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Michael
b83f328983
Remove "f" parameter / network page parameter cleanup
2020-01-13 20:10:13 +00:00