Commit graph

222 commits

Author SHA1 Message Date
e8a3be6820 OStatus support removed 2024-09-11 03:44:40 +00:00
30a5ef33b0 REUSE src directory 2024-08-24 15:27:00 +02:00
fd3386fe20 Improved hostname handling with feeds 2024-05-28 05:20:53 +00:00
4066a5403c Improved summary handling for feeds 2024-05-23 19:45:42 +00:00
9ae4a17977
Merge pull request #14152 from annando/feed-no-html
Log the feed fix only if it has an effect.
2024-05-13 06:29:02 +02:00
21fc28029a Probing for Zot improved and Pumpio removed 2024-05-13 00:58:54 +00:00
52b11856fa Log the feed fix only if it has an effect. 2024-05-13 00:36:30 +00:00
d788cb82cc
Merge pull request #14148 from annando/summary
Use the field for the summary instead of the "abstract" element
2024-05-11 18:14:32 -04:00
e43f96740b Use the field for the summary instead of the "abstract" element 2024-05-11 20:14:01 +00:00
bca86beda0 Support for non HTML content for feed imports 2024-05-11 20:03:19 +00:00
c82a1ed467 Performance improvements when displaying local posts 2024-04-17 19:16:47 +00:00
bae7644d6f Issue 13955: Check for publish date upon receival 2024-03-02 19:21:14 +00:00
Michael Vogel
14e5b06029
Image handling reworked, new image formats added (#13900)
* Image handling reworked, new image formats added

* Updated messages.po

* The dot is now part of the file extension

* Added WebP in install documentation

* Handle unhandled mime types

* Fixed animated picture detected
2024-02-17 07:45:41 +01:00
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
d0a2357fbd Add constants for the Fetch Further Information field 2023-08-02 21:53:09 +02:00
add913da27 Remove misleading concatenation in XPath expression in Protocol\Feed
- Variable could be directly interpolated
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1543335001
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1545074703
2023-05-12 06:06:34 -04:00
Michael Vogel
46d3778ee8
Merge pull request #13099 from MrPetovan/bug/warnings
Address several warnings
2023-05-07 08:25:44 +02:00
91a7217fb8 Fix: Feeds had been imported with the wrong body 2023-05-07 06:13:28 +00:00
32688d34b6 Ensure $atomns is always set in Protocol\Feed
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1537162173
2023-05-07 00:00:55 -04:00
d4f0c1a8dc Improved ATOM distinction, added OPML 2023-05-06 13:52:39 +00:00
74bcc33fdb Support for feeds that follow the ATOM 0.3 specification 2023-05-06 11:35:34 +00:00
Josh Soref
935e57c280 spelling: than
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
d41ec728e4 We only need a link here 2023-03-04 21:36:19 +00:00
b761760d65 Fix missing attached links in posts 2023-03-04 19:04:37 +00:00
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
f078b6bc18 Issue 12753: For remote-self feed items the plink mustn't point to the original feed link 2023-01-30 06:58:36 +00:00
ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +00:00
Daniel Siepmann
da58b894a4
Properly handle feed item creation date with surrounding whitespace
Some feeds might have whitespace around the creation date.
This can't be parsed by DateTimeFormat methods.
Therefore the incoming creation date is trimmed to not contain any
surrounding whitespace for proper handling.

Relates: #12686
2023-01-17 07:18:47 +01:00
cd3dbad2a8 Fix some warnings on item creation 2023-01-09 15:55:35 +00:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
fc246424a9 Provide default host value to hash() in Model\Item::guidFromUri
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:37 -05:00
303d556ab0 Fix last reference of replaced variable $owner_nick in Protocol\Feed::atom()
- Address https://github.com/friendica/friendica/issues/11994#issuecomment-1336146405
2022-12-03 10:19:04 -05:00
b83526ad0b Tighten profile restriction feature
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
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
b6da15557b The post-reason / protocol is now filled in most cases 2022-07-31 15:54:35 +00:00
eb8237dd89 Remove unused uid parameter in Item::newURI 2022-07-09 07:39:51 -04:00
82bb36e13d
Changes:
- Made Item::guidFromUri()'s $host parameter optional (allowing null)
- added some type-hints
- added documentation
- this may fix reported issue in #11630
2022-06-24 03:17:57 +02:00
101cd2dd10
Changes:
- added some documentation
- fixed some documentation
- changed more double-quotes to singl
2022-06-22 16:14:14 +02:00
2dd7d465e8
Changes:
- added more type-hints
- updated documentation
- changed double-quotes to single
2022-06-22 14:36:47 +02:00
abd0d9f3fd
Changes
- added type-hints
- added some documentation
- added default: block for unknown 'rel' value
- changed return type void to empty array
2022-06-22 14:36:45 +02:00
0c12e947dd
Changes:
- null was 2nd argument's value before, an empty string is basically the same here
2022-06-20 20:01:59 +02:00
d276f2c62b
Changes:
- added type-hints
- changed some double-quotes to single
2022-06-20 01:00:29 +02:00
7940b31685 Don't use the GUID value directly 2022-03-14 21:09:14 +00:00
ca086b880b Some small improvements for importing feeds 2022-03-13 15:29:07 +00:00