]> git.mxchange.org Git - friendica.git/log
friendica.git
19 months agoTighten profile restriction feature
Hypolite Petovan [Wed, 30 Nov 2022 18:50:52 +0000 (13:50 -0500)]
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

19 months agoRemove unused theme info value "events_in_profile"
Hypolite Petovan [Wed, 30 Nov 2022 17:03:42 +0000 (12:03 -0500)]
Remove unused theme info value "events_in_profile"
All public events (event if they are ownded by other users) are visible

19 months agoMerge pull request #12298 from annando/api-suggestions
Hypolite Petovan [Thu, 1 Dec 2022 10:25:44 +0000 (05:25 -0500)]
Merge pull request #12298 from annando/api-suggestions

Contact suggestions are now cached

19 months agoMerge pull request #12306 from annando/api-doc
Hypolite Petovan [Thu, 1 Dec 2022 10:24:07 +0000 (05:24 -0500)]
Merge pull request #12306 from annando/api-doc

API: The "reports" endpoint is partially supported

19 months agoDon't fetch sugestions for the system user / catch error on contact timeline
Michael [Thu, 1 Dec 2022 07:07:59 +0000 (07:07 +0000)]
Don't fetch sugestions for the system user / catch error on contact timeline

19 months agoAvoid 'Undefined array key "last-activity"'
Michael [Thu, 1 Dec 2022 06:12:13 +0000 (06:12 +0000)]
Avoid 'Undefined array key "last-activity"'

19 months agoUpdate the last activity in OAuth
Michael [Thu, 1 Dec 2022 06:02:51 +0000 (06:02 +0000)]
Update the last activity in OAuth

19 months agoDeactivate setting last activity
Michael [Thu, 1 Dec 2022 05:57:29 +0000 (05:57 +0000)]
Deactivate setting last activity

19 months agoReenable last acttivity update
Michael [Thu, 1 Dec 2022 05:54:42 +0000 (05:54 +0000)]
Reenable last acttivity update

19 months agoReenable worker call
Michael [Thu, 1 Dec 2022 05:53:18 +0000 (05:53 +0000)]
Reenable worker call

19 months agoDebug the failing test
Michael [Thu, 1 Dec 2022 05:50:34 +0000 (05:50 +0000)]
Debug the failing test

19 months agoMerge pull request #12305 from MrPetovan/bug/notices
Michael Vogel [Thu, 1 Dec 2022 05:45:50 +0000 (06:45 +0100)]
Merge pull request #12305 from MrPetovan/bug/notices

Check post existence before accessing its properties in Model\Post\UserNotification

19 months agoAPI: The "reports" endpoint is partially supported
Michael [Thu, 1 Dec 2022 05:40:32 +0000 (05:40 +0000)]
API: The "reports" endpoint is partially supported

19 months agoCheck post existence before accessing its properties in Model\Post\UserNotification
Hypolite Petovan [Thu, 1 Dec 2022 00:30:36 +0000 (19:30 -0500)]
Check post existence before accessing its properties in Model\Post\UserNotification

19 months agoUse "utcNow"
Michael [Wed, 30 Nov 2022 22:36:58 +0000 (22:36 +0000)]
Use "utcNow"

19 months agoNew field to show the day of the last activity
Michael [Wed, 30 Nov 2022 22:34:50 +0000 (22:34 +0000)]
New field to show the day of the last activity

19 months agoMerge pull request #12304 from HankG/add-dismissed-field-to-mastodon-notifications
Hypolite Petovan [Wed, 30 Nov 2022 19:55:09 +0000 (14:55 -0500)]
Merge pull request #12304 from HankG/add-dismissed-field-to-mastodon-notifications

Add dismissed field to mastodon notifications

19 months agoUpdate src/Module/Api/Mastodon/Notifications.php
Hank G [Wed, 30 Nov 2022 19:39:00 +0000 (14:39 -0500)]
Update src/Module/Api/Mastodon/Notifications.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoUpdate src/Factory/Api/Mastodon/Notification.php
Hank G [Wed, 30 Nov 2022 19:38:53 +0000 (14:38 -0500)]
Update src/Factory/Api/Mastodon/Notification.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoMerge pull request #12303 from HankG/fix-mastodon-api-dismiss-endpoint
Hypolite Petovan [Wed, 30 Nov 2022 19:31:40 +0000 (14:31 -0500)]
Merge pull request #12303 from HankG/fix-mastodon-api-dismiss-endpoint

Fix broken dismiss endpoint on Mastodon notifications API

19 months agoAdd 'include_all' parameter on Mastodon API endpoint
Hank Grabowski [Wed, 30 Nov 2022 19:24:46 +0000 (14:24 -0500)]
Add 'include_all' parameter on Mastodon API endpoint
 Maintains old functionality of only returning non-dismissed notifications while adding ability to get list of dismissed and non-dismissed notifications

19 months agoAdd dismissed field to Mastodon API Notification types
Hank Grabowski [Wed, 30 Nov 2022 19:23:20 +0000 (14:23 -0500)]
Add dismissed field to Mastodon API Notification types

19 months agoFix broken dismiss endpoint on Mastodon notifications API
Hank Grabowski [Wed, 30 Nov 2022 19:11:39 +0000 (14:11 -0500)]
Fix broken dismiss endpoint on Mastodon notifications API

19 months agoMerge pull request #12267 from MarekBenjamin/show_image_upload_limit
Hypolite Petovan [Wed, 30 Nov 2022 17:24:51 +0000 (12:24 -0500)]
Merge pull request #12267 from MarekBenjamin/show_image_upload_limit

Show image size limit in Frio as "usagemessage" for photo_upload

19 months agoMerge branch 'friendica:develop' into show_image_upload_limit
MarekBenjamin [Wed, 30 Nov 2022 17:19:18 +0000 (18:19 +0100)]
Merge branch 'friendica:develop' into show_image_upload_limit

19 months agoUpdate src/Module/Media/Photo/Upload.php
MarekBenjamin [Wed, 30 Nov 2022 17:16:55 +0000 (18:16 +0100)]
Update src/Module/Media/Photo/Upload.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoUpdate src/Module/Media/Photo/Upload.php
MarekBenjamin [Wed, 30 Nov 2022 17:16:42 +0000 (18:16 +0100)]
Update src/Module/Media/Photo/Upload.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoChanges after code review
Michael [Wed, 30 Nov 2022 14:33:55 +0000 (14:33 +0000)]
Changes after code review

19 months agoIndention
Michael [Wed, 30 Nov 2022 13:35:57 +0000 (13:35 +0000)]
Indention

19 months agoMerge pull request #12299 from annando/auto-reshare-fix
Hypolite Petovan [Wed, 30 Nov 2022 13:34:10 +0000 (08:34 -0500)]
Merge pull request #12299 from annando/auto-reshare-fix

Check that an auto reshare is only done on the expected contact

19 months agoMerge pull request #12300 from matthiasmoritz/bug-noLocalPosts
Michael Vogel [Wed, 30 Nov 2022 12:37:40 +0000 (13:37 +0100)]
Merge pull request #12300 from matthiasmoritz/bug-noLocalPosts

Fix #12262 - shared friendica posts are filtered on status page

19 months agoMerge branch 'bug-noLocalPosts' of https://github.com/matthiasmoritz/friendica into...
Matthias Moritz [Wed, 30 Nov 2022 12:20:50 +0000 (13:20 +0100)]
Merge branch 'bug-noLocalPosts' of https://github.com/matthiasmoritz/friendica into bug-noLocalPosts

19 months agoUpdate Status.php
Matthias Moritz [Wed, 30 Nov 2022 12:19:31 +0000 (13:19 +0100)]
Update Status.php

Instead of removing AP, added Protocol::DFRN to the list of networks.

19 months agoMerge branch 'friendica:develop' into bug-noLocalPosts
Matthias Moritz [Wed, 30 Nov 2022 11:18:48 +0000 (12:18 +0100)]
Merge branch 'friendica:develop' into bug-noLocalPosts

19 months agoFix #12262 - shared friendica posts are filtered on status page
Matthias Moritz [Wed, 30 Nov 2022 11:15:58 +0000 (12:15 +0100)]
Fix #12262 - shared friendica posts are filtered on status page

Native shares from the same Instance (or maybe all Friendica instances) were filtered out from the users home. With this commit they now appear on the users Profile/Status

19 months agoCheck that an auto reshare is only done on the expected contact
Michael [Wed, 30 Nov 2022 09:28:27 +0000 (09:28 +0000)]
Check that an auto reshare is only done on the expected contact

19 months agoMerge pull request #12296 from MrPetovan/bug/deprecated
Michael Vogel [Wed, 30 Nov 2022 06:19:46 +0000 (07:19 +0100)]
Merge pull request #12296 from MrPetovan/bug/deprecated

Address some PHP 8.1 deprecation notices

19 months agoContact suggestions are now cached
Michael [Wed, 30 Nov 2022 05:59:27 +0000 (05:59 +0000)]
Contact suggestions are now cached

19 months agoRemoved redundant maximagesize = INF statements
Marek Bachmann [Wed, 30 Nov 2022 04:17:48 +0000 (05:17 +0100)]
Removed redundant maximagesize = INF statements

19 months agomessage.po
Marek Bachmann [Wed, 30 Nov 2022 03:39:00 +0000 (04:39 +0100)]
message.po

19 months agoCorrectly output binary prefix values since base 2 is used for conversion
Marek Bachmann [Wed, 30 Nov 2022 03:37:08 +0000 (04:37 +0100)]
Correctly output binary prefix values since base 2 is used for conversion

19 months agoCheck for inf values before try to converts bytes to binary prefix strings
Marek Bachmann [Wed, 30 Nov 2022 03:35:18 +0000 (04:35 +0100)]
Check for inf values before try to converts bytes to binary prefix strings

19 months agouse the existing function for format byte values to KiB, MiB, GiB
Marek Bachmann [Wed, 30 Nov 2022 03:34:40 +0000 (04:34 +0100)]
use the existing function for format byte values to KiB, MiB, GiB

19 months agoAdded getBytesFromShorthand at the remaining places.
Marek Bachmann [Wed, 30 Nov 2022 03:13:10 +0000 (04:13 +0100)]
Added getBytesFromShorthand at the remaining places.

19 months agoAddress some PHP 8.1 deprecation notices
Hypolite Petovan [Wed, 30 Nov 2022 00:31:16 +0000 (19:31 -0500)]
Address some PHP 8.1 deprecation notices

- Replace a strstr call by strpos in Model\APContact
- Simplify conditions in Protocol\DFRN
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1331012289

19 months agoAdded handling as infinity if maxfilesize is set to 0
Marek Bachmann [Wed, 30 Nov 2022 01:44:48 +0000 (02:44 +0100)]
Added handling as infinity if maxfilesize is set to 0

19 months agoMerge branch 'develop' into show_image_upload_limit
Marek Bachmann [Wed, 30 Nov 2022 01:28:15 +0000 (02:28 +0100)]
Merge branch 'develop' into show_image_upload_limit

19 months agoWrapped all occurrences of DI::config()->get('system', 'maximagesize') with Strings...
Marek Bachmann [Wed, 30 Nov 2022 01:26:56 +0000 (02:26 +0100)]
Wrapped all occurrences of DI::config()->get('system', 'maximagesize') with Strings::getBytesFromShorthand()

19 months agoAdded info that shorthands can be used for maxfilesize Admin Site
Marek Bachmann [Wed, 30 Nov 2022 01:16:48 +0000 (02:16 +0100)]
Added info that shorthands can be used for maxfilesize Admin Site

19 months agoFixed meaning of "maximagesize" = 0 --> infinity
Marek Bachmann [Wed, 30 Nov 2022 01:16:04 +0000 (02:16 +0100)]
Fixed meaning of "maximagesize" = 0 --> infinity

19 months agoMerge remote-tracking branch 'origin/show_image_upload_limit' into show_image_upload_...
Marek Bachmann [Wed, 30 Nov 2022 00:58:32 +0000 (01:58 +0100)]
Merge remote-tracking branch 'origin/show_image_upload_limit' into show_image_upload_limit

19 months agoUse previously already available field.5 for short hand pattern ad admin page for...
Marek Bachmann [Wed, 30 Nov 2022 00:58:22 +0000 (01:58 +0100)]
Use previously already available field.5 for short hand pattern ad admin page for maximagesize

19 months agoUpdate src/Module/Admin/Site.php
MarekBenjamin [Wed, 30 Nov 2022 00:49:53 +0000 (01:49 +0100)]
Update src/Module/Admin/Site.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoRemoved Trends.php which for what ever reason found its way in my branch under src...
Marek Bachmann [Wed, 30 Nov 2022 00:40:21 +0000 (01:40 +0100)]
Removed Trends.php which for what ever reason found its way in my branch under src/Module/Api/Mastodon but is not present in friendica:develop

19 months agoMerge pull request #12294 from annando/tag-warnings
Hypolite Petovan [Wed, 30 Nov 2022 00:36:51 +0000 (19:36 -0500)]
Merge pull request #12294 from annando/tag-warnings

Fix warning 'Undefined array key "name"'

19 months agoMerge remote-tracking branch 'origin/show_image_upload_limit' into show_image_upload_...
Marek Bachmann [Wed, 30 Nov 2022 00:26:37 +0000 (01:26 +0100)]
Merge remote-tracking branch 'origin/show_image_upload_limit' into show_image_upload_limit

19 months agoAdded Strings::getBytesFromShorthand() for file size check at upload and new message.po
Marek Bachmann [Wed, 30 Nov 2022 00:22:38 +0000 (01:22 +0100)]
Added Strings::getBytesFromShorthand() for file size check at upload and new message.po

19 months agowanted to use a constant for the shorthand regex to be used in the form input templat...
Marek Bachmann [Wed, 30 Nov 2022 00:15:42 +0000 (01:15 +0100)]
wanted to use a constant for the shorthand regex to be used in the form input templates and to check maximagesize post value. But Input field seems to require the regex without enclosing "/.../", so remove const for now

19 months agosplit-off! Trends.php allow shorthands in the system.maximagesize
Marek Bachmann [Wed, 30 Nov 2022 00:05:32 +0000 (01:05 +0100)]
split-off! Trends.php allow shorthands in the system.maximagesize

19 months agoallow shorthands in the system.maximagesize
Marek Bachmann [Wed, 30 Nov 2022 00:05:32 +0000 (01:05 +0100)]
allow shorthands in the system.maximagesize

19 months agoAdded Strings::getBytesFromShorthand() for file size check at upload and new message.po
Marek Bachmann [Wed, 30 Nov 2022 00:22:38 +0000 (01:22 +0100)]
Added Strings::getBytesFromShorthand() for file size check at upload and new message.po

19 months agowanted to use a constant for the shorthand regex to be used in the form input templat...
Marek Bachmann [Wed, 30 Nov 2022 00:15:42 +0000 (01:15 +0100)]
wanted to use a constant for the shorthand regex to be used in the form input templates and to check maximagesize post value. But Input field seems to require the regex without enclosing "/.../", so remove const for now

19 months agoallow shorthands in the system.maximagesize
Marek Bachmann [Wed, 30 Nov 2022 00:05:32 +0000 (01:05 +0100)]
allow shorthands in the system.maximagesize

19 months agoFix warning 'Undefined array key "name"'
Michael [Tue, 29 Nov 2022 23:21:27 +0000 (23:21 +0000)]
Fix warning 'Undefined array key "name"'

19 months agoMerge branch 'friendica:develop' into show_image_upload_limit
MarekBenjamin [Tue, 29 Nov 2022 20:58:46 +0000 (21:58 +0100)]
Merge branch 'friendica:develop' into show_image_upload_limit

19 months agoMerge pull request #12293 from annando/report-status
Hypolite Petovan [Tue, 29 Nov 2022 20:01:57 +0000 (15:01 -0500)]
Merge pull request #12293 from annando/report-status

Added status to the report

19 months agoAdded status to the report
Michael [Tue, 29 Nov 2022 19:50:12 +0000 (19:50 +0000)]
Added status to the report

19 months agoMerge pull request #12290 from MrPetovan/bug/frio-contact-follow
Michael Vogel [Tue, 29 Nov 2022 18:59:10 +0000 (19:59 +0100)]
Merge pull request #12290 from MrPetovan/bug/frio-contact-follow

[frio] Add page wrapper to contact follow page

19 months agoMerge pull request #12292 from annando/api-speed
Hypolite Petovan [Tue, 29 Nov 2022 18:55:33 +0000 (13:55 -0500)]
Merge pull request #12292 from annando/api-speed

API: Speed improvements

19 months agoAPI: Speed improvements
Michael [Tue, 29 Nov 2022 18:45:30 +0000 (18:45 +0000)]
API: Speed improvements

19 months ago[frio] Add page wrapper to contact follow page
Hypolite Petovan [Tue, 29 Nov 2022 11:37:41 +0000 (06:37 -0500)]
[frio] Add page wrapper to contact follow page

19 months agoMerge branch 'develop' into show_image_upload_limit
Marek Bachmann [Mon, 28 Nov 2022 23:28:05 +0000 (00:28 +0100)]
Merge branch 'develop' into show_image_upload_limit

19 months agoMerge pull request #12289 from annando/fatal
Hypolite Petovan [Mon, 28 Nov 2022 21:46:19 +0000 (16:46 -0500)]
Merge pull request #12289 from annando/fatal

Fix fatal errors because of unknown function/variable names

19 months agoFix fatal errors because of unknown function/variable names
Michael [Mon, 28 Nov 2022 21:22:21 +0000 (21:22 +0000)]
Fix fatal errors because of unknown function/variable names

19 months agoMerge pull request #12288 from annando/api-tags
Hypolite Petovan [Mon, 28 Nov 2022 21:13:37 +0000 (16:13 -0500)]
Merge pull request #12288 from annando/api-tags

API: Added trending links

19 months agoUpdate src/Module/Api/Mastodon/Trends/Links.php
Michael Vogel [Mon, 28 Nov 2022 20:42:34 +0000 (21:42 +0100)]
Update src/Module/Api/Mastodon/Trends/Links.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoUpdated database.sql
Michael [Mon, 28 Nov 2022 20:22:08 +0000 (20:22 +0000)]
Updated database.sql

19 months agoAPI: Added trending links
Michael [Mon, 28 Nov 2022 20:19:57 +0000 (20:19 +0000)]
API: Added trending links

19 months agoMerge pull request #12283 from annando/api-tags
Hypolite Petovan [Mon, 28 Nov 2022 19:52:29 +0000 (14:52 -0500)]
Merge pull request #12283 from annando/api-tags

Issue 12191: API tag handling

19 months agoMerge pull request #12287 from nupplaphil/bug/fix_router
Hypolite Petovan [Mon, 28 Nov 2022 19:52:01 +0000 (14:52 -0500)]
Merge pull request #12287 from nupplaphil/bug/fix_router

Fix Legacy Router class routing

19 months agoAdded changelog entry
Michael [Mon, 28 Nov 2022 19:31:04 +0000 (19:31 +0000)]
Added changelog entry

19 months agoFix Legacy Router class routing
Philipp [Mon, 28 Nov 2022 19:13:38 +0000 (20:13 +0100)]
Fix Legacy Router class routing

19 months agoOnly use items that had originally been posted in the last week
Michael [Mon, 28 Nov 2022 14:51:37 +0000 (14:51 +0000)]
Only use items that had originally been posted in the last week

19 months agoCode standards
Michael [Mon, 28 Nov 2022 10:54:26 +0000 (10:54 +0000)]
Code standards

19 months agoMerge branch 'friendica:develop' into show_image_upload_limit
MarekBenjamin [Mon, 28 Nov 2022 09:53:50 +0000 (10:53 +0100)]
Merge branch 'friendica:develop' into show_image_upload_limit

19 months agoAPI: Tredning statuses added
Michael [Mon, 28 Nov 2022 09:30:41 +0000 (09:30 +0000)]
API: Tredning statuses added

19 months agoMerge pull request #12284 from tobiasd/20221128-de
Philipp [Mon, 28 Nov 2022 07:12:53 +0000 (08:12 +0100)]
Merge pull request #12284 from tobiasd/20221128-de

DE translation update THX  MarekBenjamin

19 months agoAPI: Trending tags are added
Michael [Mon, 28 Nov 2022 07:08:01 +0000 (07:08 +0000)]
API: Trending tags are added

19 months agoCoding styles
Michael [Mon, 28 Nov 2022 06:52:55 +0000 (06:52 +0000)]
Coding styles

19 months agoUpdated documentation
Michael [Mon, 28 Nov 2022 06:46:18 +0000 (06:46 +0000)]
Updated documentation

19 months agoDE translation update THX MarekBenjamin
Tobias Diekershoff [Mon, 28 Nov 2022 06:00:11 +0000 (07:00 +0100)]
DE translation update THX  MarekBenjamin

19 months agoStandards
Michael [Mon, 28 Nov 2022 04:07:25 +0000 (04:07 +0000)]
Standards

19 months agoMerge branch 'api-tags' of github.com:annando/friendica into api-tags
Michael [Mon, 28 Nov 2022 04:04:35 +0000 (04:04 +0000)]
Merge branch 'api-tags' of github.com:annando/friendica into api-tags

19 months agoTrim the tag
Michael [Mon, 28 Nov 2022 04:04:27 +0000 (04:04 +0000)]
Trim the tag

19 months agoUpdate src/Module/Api/Mastodon/FollowedTags.php
Michael Vogel [Mon, 28 Nov 2022 04:00:08 +0000 (05:00 +0100)]
Update src/Module/Api/Mastodon/FollowedTags.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
19 months agoIssue 12191: We can now follow and unfollow tags via API
Michael [Mon, 28 Nov 2022 03:29:43 +0000 (03:29 +0000)]
Issue 12191: We can now follow and unfollow tags via API

19 months agoMerge remote-tracking branch 'upstream/develop' into api-tags
Michael [Mon, 28 Nov 2022 02:13:20 +0000 (02:13 +0000)]
Merge remote-tracking branch 'upstream/develop' into api-tags

19 months agoand the messages.po
Marek Bachmann [Mon, 28 Nov 2022 00:23:00 +0000 (01:23 +0100)]
and the messages.po

19 months agoand now the missing ')' at the correct position
Marek Bachmann [Mon, 28 Nov 2022 00:16:54 +0000 (01:16 +0100)]
and now the missing  ')' at the correct position

19 months agoAdded missing ')'
Marek Bachmann [Mon, 28 Nov 2022 00:11:02 +0000 (01:11 +0100)]
Added missing ')'