]> git.mxchange.org Git - friendica.git/log
friendica.git
22 months agoReplace deprecated use of "self" in callables
Hypolite Petovan [Thu, 19 Jan 2023 14:02:05 +0000 (09:02 -0500)]
Replace deprecated use of "self" in callables

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421

22 months agoThrow an exception when parse_url fails in HttpClient->request
Hypolite Petovan [Thu, 19 Jan 2023 13:44:06 +0000 (08:44 -0500)]
Throw an exception when parse_url fails in HttpClient->request

- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421

22 months agoMerge pull request #12711 from nupplaphil/bug/config_toString
Hypolite Petovan [Sat, 21 Jan 2023 19:25:01 +0000 (14:25 -0500)]
Merge pull request #12711 from nupplaphil/bug/config_toString

Config Fixings & Dice update

22 months agoAdd "Database::INSERT_IGNORE" for the initial value check
Philipp [Sat, 21 Jan 2023 19:02:40 +0000 (20:02 +0100)]
Add "Database::INSERT_IGNORE" for the initial value check

22 months agofix PHP-CS
Philipp [Sat, 21 Jan 2023 18:47:47 +0000 (19:47 +0100)]
fix PHP-CS

22 months agoUpdate tests/src/Core/Config/Util/ConfigFileTransformerTest.php
Philipp [Sat, 21 Jan 2023 18:44:27 +0000 (19:44 +0100)]
Update tests/src/Core/Config/Util/ConfigFileTransformerTest.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoAdd support for toString/Serializable
Philipp [Sat, 21 Jan 2023 16:19:35 +0000 (17:19 +0100)]
Add support for toString/Serializable

22 months agoReplace Level-2 Dice patch with new release
Philipp [Sat, 21 Jan 2023 15:58:09 +0000 (16:58 +0100)]
Replace Level-2 Dice patch with new release

22 months agoMerge pull request #12707 from MrPetovan/bug/contact-page
Philipp [Sat, 21 Jan 2023 18:38:59 +0000 (19:38 +0100)]
Merge pull request #12707 from MrPetovan/bug/contact-page

Fix connection acknowledgement not appearing on contact page

22 months agoUpdated main translation file after removing strings
Hypolite Petovan [Sat, 21 Jan 2023 14:29:08 +0000 (09:29 -0500)]
Updated main translation file after removing strings

22 months agoDon't select deleted contact when in Contact::createFromProbeForUser
Hypolite Petovan [Sat, 21 Jan 2023 03:12:24 +0000 (22:12 -0500)]
Don't select deleted contact when in Contact::createFromProbeForUser

22 months agoReset pending value when unfollowing a contact
Hypolite Petovan [Sat, 21 Jan 2023 03:11:14 +0000 (22:11 -0500)]
Reset pending value when unfollowing a contact

22 months agoApply changes to user-contact table first in Contact::update
Hypolite Petovan [Sat, 21 Jan 2023 03:09:51 +0000 (22:09 -0500)]
Apply changes to user-contact table first in Contact::update

- The truncateFieldsForTable call in the same method was potentially restricting the fields that could be updated in the user-contact table

22 months agoFix connection acknowledgement not appearing on contact page
Hypolite Petovan [Fri, 20 Jan 2023 17:13:17 +0000 (12:13 -0500)]
Fix connection acknowledgement not appearing on contact page

- Remove obsolete template variables
- Move contact_edit vier template to base template

22 months agoMerge pull request #12700 from Quix0r/features/blocklist-gserver
Hypolite Petovan [Sat, 21 Jan 2023 03:39:12 +0000 (22:39 -0500)]
Merge pull request #12700 from Quix0r/features/blocklist-gserver

Blocked domains flood gserver entries

22 months agoContinued:
Roland Häder [Sat, 21 Jan 2023 00:04:31 +0000 (01:04 +0100)]
Continued:
- moved if() block to suggested position by MrPetovan, for me I want to have all
  conditions checked at the start of the method, e.g. no unwanted null
  references or (in this case) if the URL is blacklisted
- normalized URLs are without SSL, means http://host/path/file.ext so they exist
  only once for contacts and servers (aka. instances)
- documented returned type `void`

22 months agoContinued:
Roland Häder [Fri, 20 Jan 2023 01:43:26 +0000 (02:43 +0100)]
Continued:
- just for consistency ...

22 months agoContinued:
Roland Häder [Fri, 20 Jan 2023 00:49:11 +0000 (01:49 +0100)]
Continued:
- some trolls managed to flood gserver with useless URLs. They can be blocked
  by domain blocking them, but still it floods gserver table with dead entries
- this hack tries to change that so they won't enter gserver at all. Let's hope
  these trolls as `activitypub-trolls.cf` learn a lesson (and get adults soon)

Signed-off-by: Roland Häder <roland@mxchange.org>
22 months agoMerge pull request #12699 from damianwajer/frio-ux-improvements
Hypolite Petovan [Thu, 19 Jan 2023 22:05:22 +0000 (17:05 -0500)]
Merge pull request #12699 from damianwajer/frio-ux-improvements

[frio] Various UX improvements (mostly larger clickable areas)

22 months ago[frio] Regular size profile extra links
Damian Wajer [Thu, 19 Jan 2023 11:56:25 +0000 (12:56 +0100)]
[frio] Regular size profile extra links

22 months agoRegular-size primary buttons on compose page
Damian Wajer [Wed, 18 Jan 2023 21:29:14 +0000 (22:29 +0100)]
Regular-size primary buttons on compose page

22 months ago[frio] Ensure access to all user menu items on low screens
Damian Wajer [Wed, 18 Jan 2023 18:08:36 +0000 (19:08 +0100)]
[frio] Ensure access to all user menu items on low screens

22 months ago[frio] Adjust font-size
Damian Wajer [Wed, 18 Jan 2023 17:37:16 +0000 (18:37 +0100)]
[frio] Adjust font-size

22 months ago[frio] Contact actions size
Damian Wajer [Wed, 18 Jan 2023 17:13:05 +0000 (18:13 +0100)]
[frio] Contact actions size

22 months ago[frio] Larger clickable area for batch actions
Damian Wajer [Wed, 18 Jan 2023 17:08:49 +0000 (18:08 +0100)]
[frio] Larger clickable area for batch actions

22 months ago[frio] Improve responses markup and alignment
Damian Wajer [Wed, 18 Jan 2023 12:50:12 +0000 (13:50 +0100)]
[frio] Improve responses markup and alignment

Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups

22 months ago[frio] New design for mobile responses
Damian Wajer [Wed, 18 Jan 2023 12:32:57 +0000 (13:32 +0100)]
[frio] New design for mobile responses

22 months ago[frio] Improve spacing for responses items
Damian Wajer [Wed, 18 Jan 2023 12:30:20 +0000 (13:30 +0100)]
[frio] Improve spacing for responses items

22 months ago[frio] Regular size thread action buttons on mobile
Damian Wajer [Tue, 17 Jan 2023 19:39:01 +0000 (20:39 +0100)]
[frio] Regular size thread action buttons on mobile

22 months ago[frio] Regular size comment button
Damian Wajer [Tue, 17 Jan 2023 19:25:20 +0000 (20:25 +0100)]
[frio] Regular size comment button

22 months ago[frio] Larger clickable area for off-canvas user menu
Damian Wajer [Tue, 17 Jan 2023 19:23:37 +0000 (20:23 +0100)]
[frio] Larger clickable area for off-canvas user menu

22 months ago[frio] Larger clickable area for dropdown menus
Damian Wajer [Tue, 17 Jan 2023 19:01:34 +0000 (20:01 +0100)]
[frio] Larger clickable area for dropdown menus

22 months ago[frio] Use regular font-size for comments
Damian Wajer [Tue, 17 Jan 2023 18:47:01 +0000 (19:47 +0100)]
[frio] Use regular font-size for comments

22 months ago[frio] Make the whole accordion area clickable
Damian Wajer [Tue, 17 Jan 2023 18:44:18 +0000 (19:44 +0100)]
[frio] Make the whole accordion area clickable

22 months ago[frio] Larger clickable area for aside links
Damian Wajer [Tue, 17 Jan 2023 18:36:36 +0000 (19:36 +0100)]
[frio] Larger clickable area for aside links

22 months ago[frio] Larger clickable area for tabs
Damian Wajer [Tue, 17 Jan 2023 18:05:24 +0000 (19:05 +0100)]
[frio] Larger clickable area for tabs

22 months agoMerge pull request #12695 from MrPetovan/bug/fatal-errors
Philipp [Thu, 19 Jan 2023 07:09:03 +0000 (08:09 +0100)]
Merge pull request #12695 from MrPetovan/bug/fatal-errors

Address a few fatal errors

22 months agoMerge pull request #12694 from MrPetovan/task/allow-colon
Philipp [Thu, 19 Jan 2023 07:08:35 +0000 (08:08 +0100)]
Merge pull request #12694 from MrPetovan/task/allow-colon

Allow colon in password

22 months agoDefault maintenance reason to empty string in Module\Maintenance
Hypolite Petovan [Thu, 19 Jan 2023 02:01:07 +0000 (21:01 -0500)]
Default maintenance reason to empty string in Module\Maintenance

- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383250546

22 months agoTruncate integer values before inserting them
Hypolite Petovan [Thu, 19 Jan 2023 01:58:49 +0000 (20:58 -0500)]
Truncate integer values before inserting them

- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383250353

22 months agoCreate base `sub/direction.tpl` template from vier
Hypolite Petovan [Thu, 19 Jan 2023 01:49:08 +0000 (20:49 -0500)]
Create base `sub/direction.tpl` template from vier

- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383249754

22 months agoUpdated main translation file after editing strings
Hypolite Petovan [Thu, 19 Jan 2023 01:42:10 +0000 (20:42 -0500)]
Updated main translation file after editing strings

22 months agoAllow colon in password
Hypolite Petovan [Thu, 19 Jan 2023 01:33:39 +0000 (20:33 -0500)]
Allow colon in password

- It was disallowed because of a too strict intepretation of RFC2617

22 months agoFix wrong logic in password allowed regular expression
Hypolite Petovan [Thu, 19 Jan 2023 01:27:29 +0000 (20:27 -0500)]
Fix wrong logic in password allowed regular expression

22 months agoMerge pull request #12690 from annando/statistics
Hypolite Petovan [Wed, 18 Jan 2023 13:37:20 +0000 (08:37 -0500)]
Merge pull request #12690 from annando/statistics

Nodeinfo data has moved to key values

22 months agoNodeinfo data has moved to key values
Michael [Wed, 18 Jan 2023 05:04:37 +0000 (05:04 +0000)]
Nodeinfo data has moved to key values

22 months agoMerge pull request #12680 from nupplaphil/feat/addon_logger
Hypolite Petovan [Tue, 17 Jan 2023 21:37:03 +0000 (16:37 -0500)]
Merge pull request #12680 from nupplaphil/feat/addon_logger

Introduce new Hook logic

22 months agoMerge pull request #12688 from annando/blocked-server
Hypolite Petovan [Tue, 17 Jan 2023 21:02:21 +0000 (16:02 -0500)]
Merge pull request #12688 from annando/blocked-server

News "blocked" field on the gserver table

22 months agoMerge remote-tracking branch 'upstream/develop' into blocked-server
Michael [Tue, 17 Jan 2023 19:25:09 +0000 (19:25 +0000)]
Merge remote-tracking branch 'upstream/develop' into blocked-server

22 months agoFix Introspection
Philipp [Tue, 17 Jan 2023 19:11:48 +0000 (20:11 +0100)]
Fix Introspection

22 months agoAdd whitespace ..
Philipp [Tue, 17 Jan 2023 18:23:20 +0000 (19:23 +0100)]
Add whitespace ..

22 months agoAdhere feedback
Philipp [Tue, 17 Jan 2023 18:15:37 +0000 (19:15 +0100)]
Adhere feedback

22 months agoApply suggestions from code review
Philipp [Tue, 17 Jan 2023 18:12:33 +0000 (19:12 +0100)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
22 months agoNews "blocked" field on the gserver table
Michael [Tue, 17 Jan 2023 17:25:19 +0000 (17:25 +0000)]
News "blocked" field on the gserver table

22 months agoMerge pull request #12687 from DanielSiepmann/12686-fix-feed-creation-date-with-white...
Hypolite Petovan [Tue, 17 Jan 2023 15:19:02 +0000 (10:19 -0500)]
Merge pull request #12687 from DanielSiepmann/12686-fix-feed-creation-date-with-whitespace

Properly handle feed item creation date with surrounding whitespace

22 months agoProperly handle feed item creation date with surrounding whitespace
Daniel Siepmann [Tue, 17 Jan 2023 06:17:01 +0000 (07:17 +0100)]
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

22 months agoAdhere PHP-CS..
Philipp [Mon, 16 Jan 2023 21:25:26 +0000 (22:25 +0100)]
Adhere PHP-CS..

22 months agoIntroduce new Hook logic
Philipp [Sun, 15 Jan 2023 21:31:19 +0000 (22:31 +0100)]
Introduce new Hook logic
- InstanceManager for computing strategies and to allow decorators
- Adapting Core\Logger to use it

22 months agoAdd Dice.php patch
Philipp [Mon, 16 Jan 2023 20:12:47 +0000 (21:12 +0100)]
Add Dice.php patch

22 months agoMerge pull request #12679 from nupplaphil/feat/reduce_config_dependency
Hypolite Petovan [Sun, 15 Jan 2023 16:13:41 +0000 (11:13 -0500)]
Merge pull request #12679 from nupplaphil/feat/reduce_config_dependency

Replace Config-Cache dependency with Config-Model

22 months agoReplace Config-Cache dependency with Config-Model (no more DB-waiting necessary)
Philipp [Sun, 15 Jan 2023 15:12:25 +0000 (16:12 +0100)]
Replace Config-Cache dependency with Config-Model (no more DB-waiting necessary)

22 months agoRemove BasePath dependency from App\Mode
Philipp [Sun, 15 Jan 2023 12:46:01 +0000 (13:46 +0100)]
Remove BasePath dependency from App\Mode

22 months agoMerge pull request #12678 from MrPetovan/bug/12677-addon_admin
Philipp [Sun, 15 Jan 2023 14:55:08 +0000 (15:55 +0100)]
Merge pull request #12678 from MrPetovan/bug/12677-addon_admin

Remove App dependency from addon admin form method

22 months agoRemove App dependency from addon admin form method
Hypolite Petovan [Sun, 15 Jan 2023 14:42:18 +0000 (09:42 -0500)]
Remove App dependency from addon admin form method

22 months agoMerge pull request #12674 from nupplaphil/bug/config_typesafe
Hypolite Petovan [Sun, 15 Jan 2023 14:38:29 +0000 (09:38 -0500)]
Merge pull request #12674 from nupplaphil/bug/config_typesafe

Config: Improve the node.config.php transformation

22 months agoApply feedback and describe the encoding method
Philipp [Sun, 15 Jan 2023 10:57:43 +0000 (11:57 +0100)]
Apply feedback and describe the encoding method

22 months agoMerge pull request #12673 from annando/andstatus-api
Philipp [Sun, 15 Jan 2023 00:01:06 +0000 (01:01 +0100)]
Merge pull request #12673 from annando/andstatus-api

API: Accept "redirect_uris" as both array and string

22 months agoConfig: Improve the node.config.php transformation
Philipp [Sat, 14 Jan 2023 23:53:51 +0000 (00:53 +0100)]
Config: Improve the node.config.php transformation
- Add more types
- Improvement for assoziative arrays and key-value arrays
- Add a lot more tests

22 months agoAdded Documentation, updated messages.po
Michael [Sat, 14 Jan 2023 21:20:04 +0000 (21:20 +0000)]
Added Documentation, updated messages.po

22 months agoAPI: Accept "redirect_uris" as both array and string
Michael [Sat, 14 Jan 2023 21:07:47 +0000 (21:07 +0000)]
API: Accept "redirect_uris" as both array and string

22 months agoMerge pull request #12666 from MrPetovan/bug/12661-public-calendar-export
Philipp [Sat, 14 Jan 2023 18:20:20 +0000 (19:20 +0100)]
Merge pull request #12666 from MrPetovan/bug/12661-public-calendar-export

Enable calendar export for public_calendar = true

22 months agoMerge pull request #12667 from MrPetovan/bug/12665-monolog
Michael Vogel [Sat, 14 Jan 2023 16:07:33 +0000 (17:07 +0100)]
Merge pull request #12667 from MrPetovan/bug/12665-monolog

Remove App dependency from Hook::callSingle

22 months agoEnable calendar export for public_calendar = true
Hypolite Petovan [Sat, 14 Jan 2023 00:20:55 +0000 (19:20 -0500)]
Enable calendar export for public_calendar = true

22 months agoUpdate tests after removing App dependency from hook calls
Hypolite Petovan [Sat, 14 Jan 2023 14:46:49 +0000 (09:46 -0500)]
Update tests after removing App dependency from hook calls

22 months agoRemove App dependency from Hook::callSingle
Hypolite Petovan [Sat, 14 Jan 2023 02:10:59 +0000 (21:10 -0500)]
Remove App dependency from Hook::callSingle

- This was causing a circular dependency with the logger_instance hook

22 months agoMerge pull request #12671 from annando/lock-config
Hypolite Petovan [Sat, 14 Jan 2023 14:50:38 +0000 (09:50 -0500)]
Merge pull request #12671 from annando/lock-config

Added default config for the lock driver

22 months agoMerge pull request #12670 from annando/fix-avatar-cache
Hypolite Petovan [Sat, 14 Jan 2023 14:47:21 +0000 (09:47 -0500)]
Merge pull request #12670 from annando/fix-avatar-cache

Ensure to reset the avatar paths when deleting avatar cache

22 months agoAdded default config for the lock driver
Michael [Sat, 14 Jan 2023 14:44:49 +0000 (14:44 +0000)]
Added default config for the lock driver

22 months agoEnsure to reset the avatar paths when deleting avatar cache
Michael [Sat, 14 Jan 2023 13:10:43 +0000 (13:10 +0000)]
Ensure to reset the avatar paths when deleting avatar cache

22 months agoMerge pull request #12663 from nupplaphil/sec/xss_404
Hypolite Petovan [Fri, 13 Jan 2023 18:57:41 +0000 (13:57 -0500)]
Merge pull request #12663 from nupplaphil/sec/xss_404

Security: Use htmlspecialchars() for user input in Arguments class

22 months agoSecurity: Use htmlspecialchars() for user input in Arguments class
Philipp [Wed, 11 Jan 2023 22:09:40 +0000 (23:09 +0100)]
Security: Use htmlspecialchars() for user input in Arguments class

22 months agoMerge pull request #12659 from DanielSiepmann/12658-fix-feed-urls-with-whitespace
Hypolite Petovan [Thu, 12 Jan 2023 12:57:30 +0000 (07:57 -0500)]
Merge pull request #12659 from DanielSiepmann/12658-fix-feed-urls-with-whitespace

Properly handle feed item urls with surrounding whitespace

22 months agoMerge pull request #12657 from annando/display-blocked
Hypolite Petovan [Thu, 12 Jan 2023 12:48:44 +0000 (07:48 -0500)]
Merge pull request #12657 from annando/display-blocked

Mode depending control for the behaviour with blocked contacts

22 months agoProperly handle feed item urls with surrounding whitespace
Daniel Siepmann [Thu, 12 Jan 2023 12:43:49 +0000 (13:43 +0100)]
Properly handle feed item urls with surrounding whitespace

Some feeds might have whitespace around the URLs of each item.
This can't be handled by parse_url.
Therefore the incoming url is trimmed to not contain any surrounding
whitespace for proper handling.

Relates: #12658

22 months agoUpdated messages.po - again
Michael [Thu, 12 Jan 2023 07:06:24 +0000 (07:06 +0000)]
Updated messages.po - again

22 months agoFix "Undefined constant Friendica\Content\Conversation::PARCEL_DIASPORA"
Michael [Thu, 12 Jan 2023 06:57:31 +0000 (06:57 +0000)]
Fix "Undefined constant Friendica\Content\Conversation::PARCEL_DIASPORA"

22 months agoUpdated messages.po
Michael [Thu, 12 Jan 2023 06:35:49 +0000 (06:35 +0000)]
Updated messages.po

22 months agoMode depending control for the behaviour with blocked contacts
Michael [Thu, 12 Jan 2023 06:25:55 +0000 (06:25 +0000)]
Mode depending control for the behaviour with blocked contacts

22 months agoMerge pull request #12655 from annando/fix-communication
Hypolite Petovan [Wed, 11 Jan 2023 22:04:41 +0000 (17:04 -0500)]
Merge pull request #12655 from annando/fix-communication

Fix: Forum posts from some contacts weren't distributed

22 months agoFix: Forum posts from some contacts weren't distributed
Michael [Wed, 11 Jan 2023 21:55:32 +0000 (21:55 +0000)]
Fix: Forum posts from some contacts weren't distributed

22 months agoMerge pull request #12653 from nupplaphil/bug/config_revert_null
Hypolite Petovan [Wed, 11 Jan 2023 21:06:28 +0000 (16:06 -0500)]
Merge pull request #12653 from nupplaphil/bug/config_revert_null

Revert Cache delete() behavior to stable version

22 months agoImprove encapsulation
Philipp [Wed, 11 Jan 2023 21:00:29 +0000 (22:00 +0100)]
Improve encapsulation

22 months agoAssure that deleted cat/keys are working as expected
Philipp [Wed, 11 Jan 2023 20:53:34 +0000 (21:53 +0100)]
Assure that deleted cat/keys are working as expected
- A deleted cache-key would delete a merged cache-key as well
- Deleting a key in the Model results in reloading the config to assure any value from underlying files

22 months agoRevert Cache delete() behavior to stable version
Philipp [Wed, 11 Jan 2023 20:10:59 +0000 (21:10 +0100)]
Revert Cache delete() behavior to stable version

22 months agoMerge pull request #12635 from MrPetovan/task/12629-contact-threads-tab
Philipp [Wed, 11 Jan 2023 18:50:38 +0000 (19:50 +0100)]
Merge pull request #12635 from MrPetovan/task/12629-contact-threads-tab

Replace remaining mentions of "Status" by "Conversations" or "Posts"

22 months agoUpdate main translation file after changing strings
Hypolite Petovan [Sun, 8 Jan 2023 06:37:24 +0000 (01:37 -0500)]
Update main translation file after changing strings

22 months agoReplace remaining mentions of "Status" by "Conversations" or "Posts"
Hypolite Petovan [Sun, 8 Jan 2023 06:32:18 +0000 (01:32 -0500)]
Replace remaining mentions of "Status" by "Conversations" or "Posts"

22 months agoConvert Content\Nav to dynamic object
Hypolite Petovan [Sun, 8 Jan 2023 06:17:06 +0000 (01:17 -0500)]
Convert Content\Nav to dynamic object

- Remove DI dependency in Module\Apps

22 months agoMerge pull request #12647 from MrPetovan/bug/12607-image-user-theme
Michael Vogel [Wed, 11 Jan 2023 06:44:57 +0000 (07:44 +0100)]
Merge pull request #12647 from MrPetovan/bug/12607-image-user-theme

Enable profile user theme on single photo display

22 months agoEnable profile user theme on single photo display
Hypolite Petovan [Wed, 11 Jan 2023 01:40:35 +0000 (20:40 -0500)]
Enable profile user theme on single photo display