friendica.git
2 months agoCentralized functionality to store and delete the check-full-text-search table develop
Michael [Mon, 15 Jan 2024 22:28:42 +0000 (22:28 +0000)]
Centralized functionality to store and delete the check-full-text-search table

2 months agoConstant for undeterminded language
Michael [Mon, 15 Jan 2024 06:20:49 +0000 (06:20 +0000)]
Constant for undeterminded language

2 months agoFix regexp for search text generation
Michael [Sat, 13 Jan 2024 19:20:45 +0000 (19:20 +0000)]
Fix regexp for search text generation

2 months agoLink preview text and description added to search text.
Michael [Sat, 13 Jan 2024 15:46:37 +0000 (15:46 +0000)]
Link preview text and description added to search text.

2 months agoImproved handling of empty default languages
Michael [Fri, 12 Jan 2024 09:58:16 +0000 (09:58 +0000)]
Improved handling of empty default languages

2 months agoSimplify SQL check
Michael [Thu, 11 Jan 2024 20:40:24 +0000 (20:40 +0000)]
Simplify SQL check

2 months agoFix a problem with MySQL
Michael [Thu, 11 Jan 2024 07:01:48 +0000 (07:01 +0000)]
Fix a problem with MySQL

2 months agoProperty added
Michael [Thu, 11 Jan 2024 06:49:15 +0000 (06:49 +0000)]
Property added

2 months agoFix warning: E_WARNING: Undefined array key "publish"
Michael [Wed, 10 Jan 2024 22:04:02 +0000 (22:04 +0000)]
Fix warning: E_WARNING: Undefined array key "publish"

2 months agoCode clean up
Michael [Wed, 10 Jan 2024 21:51:34 +0000 (21:51 +0000)]
Code clean up

2 months agoImproved performance with full text search
Michael [Wed, 10 Jan 2024 21:17:21 +0000 (21:17 +0000)]
Improved performance with full text search

2 months agoValidate full search text
Michael [Wed, 10 Jan 2024 20:17:44 +0000 (20:17 +0000)]
Validate full search text

2 months agoLanguage check added
Michael [Wed, 10 Jan 2024 10:55:18 +0000 (10:55 +0000)]
Language check added

2 months agoHandle reshares / improved code
Michael [Tue, 9 Jan 2024 22:55:47 +0000 (22:55 +0000)]
Handle reshares / improved code

2 months agoCompare with lowered tags
Michael [Tue, 9 Jan 2024 06:40:07 +0000 (06:40 +0000)]
Compare with lowered tags

2 months agoTake language from quoted post
Michael [Mon, 8 Jan 2024 06:48:49 +0000 (06:48 +0000)]
Take language from quoted post

2 months agoExecute the language detection all the time
Michael [Mon, 8 Jan 2024 06:23:28 +0000 (06:23 +0000)]
Execute the language detection all the time

2 months agoFix warning, when the language is invalid
Michael [Sun, 7 Jan 2024 23:10:28 +0000 (23:10 +0000)]
Fix warning, when the language is invalid

2 months agoUpdated messages.po
Michael [Sun, 7 Jan 2024 19:57:53 +0000 (19:57 +0000)]
Updated messages.po

2 months agoNew option to disallow
Michael [Sun, 7 Jan 2024 19:22:56 +0000 (19:22 +0000)]
New option to disallow

2 months agoNew field "publish" for channels
Michael [Sun, 7 Jan 2024 18:36:47 +0000 (18:36 +0000)]
New field "publish" for channels

2 months agoImproved handling of undetected languages
Michael [Sun, 7 Jan 2024 12:45:08 +0000 (12:45 +0000)]
Improved handling of undetected languages

2 months agoSimplified language check
Michael [Sun, 7 Jan 2024 12:09:13 +0000 (12:09 +0000)]
Simplified language check

2 months agoImproved handling for undeterminded languages
Michael [Sun, 7 Jan 2024 10:11:52 +0000 (10:11 +0000)]
Improved handling for undeterminded languages

2 months agoUse owner instead of author
Michael [Sun, 7 Jan 2024 01:08:59 +0000 (01:08 +0000)]
Use owner  instead of author

2 months agoImproved code / updated messages.po
Michael [Sat, 6 Jan 2024 22:04:30 +0000 (22:04 +0000)]
Improved code / updated messages.po

2 months agoLimited settings for the relay account type
Michael [Sat, 6 Jan 2024 21:52:28 +0000 (21:52 +0000)]
Limited settings for the relay account type

2 months agoNew user account type "Channel Relay"
Michael [Sat, 6 Jan 2024 17:27:42 +0000 (17:27 +0000)]
New user account type "Channel Relay"

3 months agoAdded note
Roland Häder [Wed, 17 Jan 2024 00:50:31 +0000 (01:50 +0100)]
Added note

3 months agoBetter description (@MrPetovan)
Roland Häder [Wed, 17 Jan 2024 00:11:06 +0000 (01:11 +0100)]
Better description (@MrPetovan)

3 months agoRenamed 'http_client' -> 'performance'
Roland Häder [Tue, 16 Jan 2024 19:32:17 +0000 (20:32 +0100)]
Renamed 'http_client' -> 'performance'

3 months agoContinued:
Roland Häder [Tue, 16 Jan 2024 19:11:59 +0000 (20:11 +0100)]
Continued:
- moved to new configuration category 'http_client' (thanks to @MrPetovan)

3 months agoContinued:
Roland Häder [Tue, 16 Jan 2024 18:58:43 +0000 (19:58 +0100)]
Continued:
- added max_response_data_size to default configuration with hard-coded value
  from code

3 months agoMake hard-coded max response configurable:
Roland Häder [Tue, 16 Jan 2024 18:52:06 +0000 (19:52 +0100)]
Make hard-coded max response configurable:
- see discussion started by @schmaker@schmaker.eu at https://schmaker.eu/display/c83e3896-1265-a3d6-0ab5-a78119129626
- this allows servers with lower RAM amount to still run without OOMs (or much lesser)

3 months agoReverted from upstream/develop
Roland Häder [Tue, 16 Jan 2024 18:49:28 +0000 (19:49 +0100)]
Reverted from upstream/develop

3 months agoComposer
Michael [Sun, 14 Jan 2024 18:40:32 +0000 (18:40 +0000)]
Composer

3 months agoComposer
Michael [Sun, 14 Jan 2024 18:38:22 +0000 (18:38 +0000)]
Composer

3 months ago[Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
Hypolite Petovan [Fri, 12 Jan 2024 06:12:48 +0000 (01:12 -0500)]
[Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices

- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type

3 months agoContinued:
Roland Häder [Sun, 7 Jan 2024 06:40:51 +0000 (07:40 +0100)]
Continued:
- restored (maybe due to bad rebasing)
- replaced double-quotes with single

3 months agoContinued:
Roland Häder [Sun, 7 Jan 2024 03:27:07 +0000 (04:27 +0100)]
Continued:
- renamed parameter (didn't repeat it when the change was introduced upstream)

3 months agoContinued:
Roland Häder [Thu, 7 Dec 2023 06:52:31 +0000 (07:52 +0100)]
Continued:
- added missing 'author-alias'

Signed-off-by: Roland Häder <roland@mxchange.org>
3 months agoReversed:
Roland Häder [Wed, 18 Oct 2023 20:36:08 +0000 (22:36 +0200)]
Reversed:
- ops?

3 months agoOps, double/redundant code!
Roland Häder [Wed, 18 Oct 2023 17:48:27 +0000 (19:48 +0200)]
Ops, double/redundant code!

3 months agoNetwork, Channels and Community are children of timeline
Michael [Sat, 9 Sep 2023 09:14:36 +0000 (09:14 +0000)]
Network, Channels and Community are children of timeline

3 months agoLanguage specific median calculations / collection
Michael [Fri, 8 Sep 2023 05:06:27 +0000 (05:06 +0000)]
Language specific median calculations / collection

3 months agoFixes the score calculation concerning the relation-cid / cid interaction
Michael [Thu, 7 Sep 2023 12:34:46 +0000 (12:34 +0000)]
Fixes the score calculation concerning the relation-cid / cid interaction

3 months agoContinued:
Roland Häder [Sat, 12 Aug 2023 16:10:01 +0000 (18:10 +0200)]
Continued:
- adapted from upstream/develop

3 months agoContinued:
Roland Häder [Sun, 11 Jun 2023 23:16:51 +0000 (01:16 +0200)]
Continued:
- added `border-radius: 3px` for buttons

3 months agoContinued:
Roland Häder [Wed, 7 Jun 2023 14:44:18 +0000 (16:44 +0200)]
Continued:
- re-colored more

3 months agoContinued:
Roland Häder [Wed, 7 Jun 2023 00:49:00 +0000 (02:49 +0200)]
Continued:
- fixed some colors

3 months agoContinued:
Roland Häder [Wed, 7 Jun 2023 00:32:32 +0000 (02:32 +0200)]
Continued:
- also re-colored some parts into #StolzMonat

3 months agoContinued:
Roland Häder [Tue, 6 Jun 2023 23:25:43 +0000 (01:25 +0200)]
Continued:
- hover background color is black now

3 months agoAdded #Stolzmonat sub-theme for Germany
Roland Häder [Tue, 6 Jun 2023 23:13:14 +0000 (01:13 +0200)]
Added #Stolzmonat sub-theme for Germany

3 months agoContinued:
Roland Häder [Fri, 26 May 2023 15:49:51 +0000 (17:49 +0200)]
Continued:
- someone removed these checks, if the GServer's url is blocked, flooders like
  activitypub-troll.cf will then be able to flood your gserver table again

Signed-off-by: Roland Häder <roland@mxchange.org>
3 months agoContinued:
Roland Häder [Thu, 11 May 2023 23:37:40 +0000 (01:37 +0200)]
Continued:
- it is $this->config now (ops)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 months agoOps, my bad
Roland Häder [Fri, 20 Jan 2023 00:07:05 +0000 (01:07 +0100)]
Ops, my bad

3 months agoOps, double-added.
Roland Häder [Tue, 25 Oct 2022 23:25:12 +0000 (01:25 +0200)]
Ops, double-added.

3 months agoAdded sample pre-commit hook to give you an idea how to start to include:
Roland Häder [Tue, 25 Oct 2022 20:55:15 +0000 (22:55 +0200)]
Added sample pre-commit hook to give you an idea how to start to include:
- lint check by `php -l $CHANGED_FILE`
- code-style check by php-cs --dry-run
- executing unit-tests (non-fatal)

Please feel free to modify it.

3 months agoDon't cherry-pick:
Roland Häder [Tue, 25 Oct 2022 17:34:12 +0000 (19:34 +0200)]
Don't cherry-pick:
- changing the word "blacklist" to "denylist" won't stop racism from happening,
  "someone" thinks it does and it is his right to believe it. But making it
  part of a software and naming-convention, that's ideologically driven, means
  it has nothing to do with reality.
- PS: My girlfriend comes from Zambia, so how can I be a racist?

3 months agoRewrite:
Roland Häder [Mon, 12 Sep 2022 21:12:11 +0000 (23:12 +0200)]
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

3 months agoChanges:
Roland Häder [Mon, 24 Oct 2022 00:42:19 +0000 (02:42 +0200)]
Changes:
- converted many `$array['foo'] = $foo;` to a single $array = ['foo' => $foo];
  statement
- changed more double-quotes to single
- added spaces for better readability
- added missing type-hints (both parameters and returned value) if possible
- added/removed empty lines for better readability
- added missing documentation

3 months agoReverted:
Roland Häder [Sun, 23 Oct 2022 11:58:33 +0000 (13:58 +0200)]
Reverted:
- $post -> $item

3 months agoChanges:
Roland Häder [Mon, 26 Sep 2022 08:20:56 +0000 (10:20 +0200)]
Changes:
- on local networks (LANs) you may not always have valid email addresses, e.g.
  mine here are structured as user@host.local which are not valid and won't
  pass validation check.
- for these rare cases you can bypass the regex check but be warned to NEVER
  do this on a public server!!!

3 months agoChanges:
Roland Häder [Thu, 15 Sep 2022 00:29:46 +0000 (02:29 +0200)]
Changes:
- Parameter `$nodeinfo_url` was no longer present, instead an instance of
  `ICanHandleHttpResponses` is now given (documentation updated)
- sorted a bit setting array values

3 months agoChanges:
Roland Häder [Wed, 14 Sep 2022 23:23:38 +0000 (01:23 +0200)]
Changes:
- added missing type-hints
- added missing documentation
- changed double-quotes to single
- Setters do ALWAYS return void

3 months agoChanged:
Roland Häder [Wed, 14 Sep 2022 22:39:39 +0000 (00:39 +0200)]
Changed:
- I was to lazy at that time to name my variable/parameter correctly!

3 months agoChanges:
Roland Häder [Tue, 13 Sep 2022 13:00:23 +0000 (15:00 +0200)]
Changes:
- added 3rd parameter to send Pragma/Cache-Control headers
- maybe there is a better one in some composer package?

3 months agoRewrite:
Roland Häder [Mon, 12 Sep 2022 21:12:11 +0000 (23:12 +0200)]
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

3 months agoDon't merge:
Roland Häder [Mon, 18 Jul 2022 23:45:44 +0000 (01:45 +0200)]
Don't merge:
- updated database structure files from reverted commit #BlacklistIsNoRacism

3 months agoChanged type from varbinary (Adminer and Co. do HEX() calls around those
Roland Häder [Tue, 1 Dec 2020 21:55:05 +0000 (22:55 +0100)]
Changed type from varbinary (Adminer and Co. do HEX() calls around those
columns) to varchar.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 months agoRevert "Rename system config value to db_log_index_denylist"
Roland Häder [Mon, 31 Aug 2020 23:20:18 +0000 (01:20 +0200)]
Revert "Rename system config value to db_log_index_denylist"

This reverts commit 530ff5189853c22348f7c79c22b92075145f4c25.

3 months agoRevert "Rename contact table column to ffi_keyword_denylist"
Roland Häder [Mon, 31 Aug 2020 23:19:58 +0000 (01:19 +0200)]
Revert "Rename contact table column to ffi_keyword_denylist"

This reverts commit 34463f37e4a3226709853bd3e35e6c22da45502c.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 months agoMerge pull request #13831 from friendica/warning
Hypolite Petovan [Mon, 15 Jan 2024 19:17:06 +0000 (14:17 -0500)]
Merge pull request #13831 from friendica/warning

Fix warning concerning a missing "created" field

3 months agoMerge pull request #13835 from annando/no-any-value
Hypolite Petovan [Mon, 15 Jan 2024 19:16:12 +0000 (14:16 -0500)]
Merge pull request #13835 from annando/no-any-value

"ANY_VALUE" is removed

3 months agoImprove query
Michael [Mon, 15 Jan 2024 17:00:32 +0000 (17:00 +0000)]
Improve query

3 months agoUpdated messages.po
Michael [Mon, 15 Jan 2024 16:53:24 +0000 (16:53 +0000)]
Updated messages.po

3 months ago"ANY_VALUE" is removed
Michael [Mon, 15 Jan 2024 16:45:24 +0000 (16:45 +0000)]
"ANY_VALUE" is removed

3 months agoMerge pull request #13824 from toddy15/php-cs-fixer
Hypolite Petovan [Mon, 15 Jan 2024 12:53:39 +0000 (07:53 -0500)]
Merge pull request #13824 from toddy15/php-cs-fixer

Update and install PHP-CS-Fixer

3 months agoMerge pull request #13832 from mexon/console-set-password
Hypolite Petovan [Mon, 15 Jan 2024 12:43:23 +0000 (07:43 -0500)]
Merge pull request #13832 from mexon/console-set-password

Update use of PasswordExposed API

3 months agoAdd license header to php-cs-fixer configuration file
Dr. Tobias Quathamer [Mon, 15 Jan 2024 12:31:29 +0000 (13:31 +0100)]
Add license header to php-cs-fixer configuration file

3 months agoRegenerate composer.lock
Dr. Tobias Quathamer [Mon, 15 Jan 2024 11:52:28 +0000 (12:52 +0100)]
Regenerate composer.lock

3 months agoDo not reformat addon directory
Dr. Tobias Quathamer [Thu, 11 Jan 2024 19:17:40 +0000 (20:17 +0100)]
Do not reformat addon directory

3 months agoUpdate .gitignore for new php-cs-fixer filename
Dr. Tobias Quathamer [Thu, 11 Jan 2024 19:16:20 +0000 (20:16 +0100)]
Update .gitignore for new php-cs-fixer filename

3 months agoRemove unneeded requirement of autoload file
Dr. Tobias Quathamer [Thu, 11 Jan 2024 19:12:44 +0000 (20:12 +0100)]
Remove unneeded requirement of autoload file

3 months agoCopy php-cs-fixer configuration file to currently expected name
Dr. Tobias Quathamer [Thu, 11 Jan 2024 19:12:01 +0000 (20:12 +0100)]
Copy php-cs-fixer configuration file to currently expected name

3 months agoAdd new script commands for php-cs-fixer
Dr. Tobias Quathamer [Thu, 11 Jan 2024 19:10:43 +0000 (20:10 +0100)]
Add new script commands for php-cs-fixer

3 months agoAdd friendsofphp/php-cs-fixer to development packages
Dr. Tobias Quathamer [Sun, 14 Jan 2024 13:47:19 +0000 (14:47 +0100)]
Add friendsofphp/php-cs-fixer to development packages

3 months agoMerge pull request #13833 from mexon/create-user-photo
Hypolite Petovan [Mon, 15 Jan 2024 06:09:01 +0000 (01:09 -0500)]
Merge pull request #13833 from mexon/create-user-photo

Allow setting user avatar in the console at creation

3 months agoMerge pull request #13827 from annando/ocr
Hypolite Petovan [Mon, 15 Jan 2024 06:06:50 +0000 (01:06 -0500)]
Merge pull request #13827 from annando/ocr

Use OCR to fetch text in images

3 months agoMove to addon
Michael [Sun, 14 Jan 2024 19:18:41 +0000 (19:18 +0000)]
Move to addon

3 months agoComposer
Michael [Sun, 14 Jan 2024 18:40:32 +0000 (18:40 +0000)]
Composer

3 months agoComposer
Michael [Sun, 14 Jan 2024 18:38:22 +0000 (18:38 +0000)]
Composer

3 months agoMerge remote-tracking branch 'upstream/develop' into ocr
Michael [Sun, 14 Jan 2024 18:33:02 +0000 (18:33 +0000)]
Merge remote-tracking branch 'upstream/develop' into ocr

3 months agoUpdate use of PasswordExposed API
Matthew Exon [Sun, 14 Jan 2024 15:20:11 +0000 (16:20 +0100)]
Update use of PasswordExposed API

3 months agoAllow setting user avatar in the console at creation
Matthew Exon [Sun, 14 Jan 2024 15:19:20 +0000 (16:19 +0100)]
Allow setting user avatar in the console at creation

3 months agoMerge remote-tracking branch 'upstream/develop' into warning
Michael [Sun, 14 Jan 2024 12:13:10 +0000 (12:13 +0000)]
Merge remote-tracking branch 'upstream/develop' into warning

3 months agoFix warning concerning a missing "created" field
Michael [Sun, 14 Jan 2024 11:58:06 +0000 (11:58 +0000)]
Fix warning concerning a missing "created" field

3 months agoIssue 13828: Use the alias as profile link if present (#13829)
Michael Vogel [Sun, 14 Jan 2024 09:08:00 +0000 (10:08 +0100)]
Issue 13828: Use the alias as profile link if present (#13829)

* Issue 13828: Use the alias as profile link if present

* Updated messages.po

3 months agoMerge pull request #13826 from MrPetovan/bug/deprecated
Michael Vogel [Sat, 13 Jan 2024 20:38:22 +0000 (21:38 +0100)]
Merge pull request #13826 from MrPetovan/bug/deprecated

[Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices

3 months agoImproved config description
Michael [Sat, 13 Jan 2024 19:37:24 +0000 (19:37 +0000)]
Improved config description