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
Michael
90588ddb8e
Avoid proxyfying images that are removed or replaced later
2021-07-05 07:00:35 +00:00
Michael
98dd4e889a
Some more contact paths
2021-06-30 18:44:41 +00:00
Michael
4b12c54345
API: photos are now directly stored as attached data and not in the body anymore
2021-05-01 15:48:19 +00:00
Michael
688e056ad1
"post-reason" ends double usage of "post-type"
2021-04-07 06:02:06 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
08771d96c2
Remove unused parameter
2021-03-16 07:15:20 +00:00
Michael
ce6ad1aa73
Get rid of the "item" table, enhanced "post" tables
2021-02-13 19:56:03 +00:00
Michael
b892db0cf3
All item selects are now done by the post class
2021-01-19 07:23:01 +00:00
Michael
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00