Michael
b761760d65
Fix missing attached links in posts
2023-03-04 19:04:37 +00:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
Michael
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
Michael
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
Michael
cd3dbad2a8
Fix some warnings on item creation
2023-01-09 15:55:35 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Michael
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
Michael
62a0d55fc8
The friendica constants have been moved to the app class
2022-10-17 10:37:48 +00:00
Michael
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00: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
b6da15557b
The post-reason / protocol is now filled in most cases
2022-07-31 15:54:35 +00:00
Hypolite Petovan
eb8237dd89
Remove unused uid parameter in Item::newURI
2022-07-09 07:39:51 -04:00
Roland Häder
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
Roland Häder
101cd2dd10
Changes:
...
- added some documentation
- fixed some documentation
- changed more double-quotes to singl
2022-06-22 16:14:14 +02:00
Roland Häder
2dd7d465e8
Changes:
...
- added more type-hints
- updated documentation
- changed double-quotes to single
2022-06-22 14:36:47 +02:00
Roland Häder
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
Roland Häder
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
Roland Häder
d276f2c62b
Changes:
...
- added type-hints
- changed some double-quotes to single
2022-06-20 01:00:29 +02:00
Michael
7940b31685
Don't use the GUID value directly
2022-03-14 21:09:14 +00:00
Michael
ca086b880b
Some small improvements for importing feeds
2022-03-13 15:29:07 +00:00
Michael
4914ee423f
Issue 10914: Display events in the feed in the author's timezone
2022-02-05 11:29:50 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
d6c97dbde2
Fix attachment handling
2021-12-08 13:32:20 +00:00
Michael
3d65809a82
Fix media handling upon creation and display
2021-12-04 04:03:18 +00:00
Philipp
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
Michael
d20aa5f557
The legacy reshare functionality is removed
2021-10-05 18:58:35 +00:00
Hypolite Petovan
a4706e9521
Trim XML before emptiness check in Protocol\Feed::import
...
- Address https://github.com/friendica/friendica/issues/10791
2021-10-03 19:32:20 -04:00
Michael
9961943b73
Code Style: Replace "AS" with "as"
2021-10-03 10:34:41 +00:00
Hypolite Petovan
7cdd2d1336
Refactor User::getAvatarUrlForId into getAvatarUrl
...
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
Michael
865006682a
Merge remote-tracking branch 'upstream/develop' into user-contact
2021-10-02 11:57:43 +00:00
Hypolite Petovan
9d77958247
Ensure parent exists before adding reply to elements in OStatus and Feed
...
- Address https://github.com/friendica/friendica/issues/10474#issuecomment-927118628
2021-09-26 08:15:07 -04:00
Michael
3dddea96fa
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
2021-09-18 20:27:24 +00:00
Michael
a91e3f5dbc
Issue 10720: Use different path scheme for user avatars
2021-09-17 18:36:20 +00:00
Michael
9c14eb0c6b
Use centralized function to update contact entries
2021-09-10 18:21:19 +00:00
Philipp
b76634ea0c
Catch TransferExceptions for HTTPClient::finalUrl() in case the headers are empty
2021-08-29 13:37:08 +02:00
Philipp
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Michael
6a23b17c95
Respect the postopts values for scheduled posts
2021-08-06 18:49:17 +00:00
Michael
ec3eead034
Don't set the pconfig values on manual mode
2021-08-03 05:39:04 +00:00
Michael
afe3c8954c
Simplified functionality to load the profile in the sidebar
2021-07-23 12:39:37 +00:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
d8974c9a2a
Function renamed to better reflect the functionality
2021-07-09 06:29:24 +00:00
Michael
f29bd23ea8
New function to convert BBCode for a given ID
2021-07-08 13:47:46 +00:00
Michael
37a76e70ef
Providing the uri-id to "convert" when possible
2021-07-06 12:34:48 +00:00
Michael
3deb384c54
Replace the proxify function
2021-07-05 21:35:57 +00:00