]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoUsed `$this->isThreaded()` instead as suggested by @MrPetovan
Roland Häder [Wed, 26 Oct 2022 15:55:52 +0000 (17:55 +0200)]
Used `$this->isThreaded()` instead as suggested by @MrPetovan

2 years agoChanges:
Roland Häder [Tue, 25 Oct 2022 23:31:04 +0000 (01:31 +0200)]
Changes:
- made code more readable

2 years 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

2 years agoMerge pull request #12065 from Quix0r/cleanup/renaming-more-logging
Hypolite Petovan [Tue, 25 Oct 2022 21:17:46 +0000 (17:17 -0400)]
Merge pull request #12065 from Quix0r/cleanup/renaming-more-logging

Cleanups: renaming variables and more logging

2 years agoMerge pull request #12064 from Quix0r/phpunit/temporal-test
Hypolite Petovan [Tue, 25 Oct 2022 21:16:58 +0000 (17:16 -0400)]
Merge pull request #12064 from Quix0r/phpunit/temporal-test

Unit test added for Temporal utilities class

2 years agoFixed issues by `php-cs`
Roland Häder [Tue, 25 Oct 2022 21:07:49 +0000 (23:07 +0200)]
Fixed issues by `php-cs`

2 years agoFixed code-standards complain by php-cs, thanks to @MrPetovan
Roland Häder [Tue, 25 Oct 2022 20:44:54 +0000 (22:44 +0200)]
Fixed code-standards complain by php-cs, thanks to @MrPetovan

2 years agoChanged:
Roland Häder [Sun, 25 Sep 2022 16:43:00 +0000 (18:43 +0200)]
Changed:
- here `Logger::level()` is okay to use
- added more logging in wall_upload.php
- formatted array and put all $array['foo'] = $foo; into a single statement
- <include|require[_once]> are all no functions, but keywords

2 years agoChanged:
Roland Häder [Sun, 25 Sep 2022 16:15:28 +0000 (18:15 +0200)]
Changed:
- added logger for any reason when upload is aborted
- renamed variables a bit to camel-case style

2 years agoChanges:
Roland Häder [Sat, 24 Sep 2022 12:22:27 +0000 (14:22 +0200)]
Changes:
- added unit-test for `Temporal::getRelativeDate()` method

2 years agoMerge pull request #12063 from Quix0r/fixes/type-hints-reformatting
Hypolite Petovan [Tue, 25 Oct 2022 18:54:22 +0000 (14:54 -0400)]
Merge pull request #12063 from Quix0r/fixes/type-hints-reformatting

Added more type-hints + reformatted code

2 years agoChanges:
Roland Häder [Tue, 25 Oct 2022 18:22:19 +0000 (20:22 +0200)]
Changes:
- added more missing type-hints (checked them in body of the method)
- reformatted code a little (code-style)
- moved '/.well-known/host-meta' to constant Probe::HOST_META

2 years agoMerge pull request #12061 from annando/share-rework
Hypolite Petovan [Tue, 25 Oct 2022 13:04:16 +0000 (09:04 -0400)]
Merge pull request #12061 from annando/share-rework

The "share" handling is improved

2 years agoChanged function name
Michael [Tue, 25 Oct 2022 12:40:22 +0000 (12:40 +0000)]
Changed function name

2 years agoMerge pull request #12055 from nupplaphil/feat/usersess_decorator
Hypolite Petovan [Tue, 25 Oct 2022 11:52:23 +0000 (07:52 -0400)]
Merge pull request #12055 from nupplaphil/feat/usersess_decorator

Extend `IHandleUserSessions` from `IHandleSessions` and adapt classes

2 years agoImproved description
Michael [Tue, 25 Oct 2022 08:45:41 +0000 (08:45 +0000)]
Improved description

2 years agoMerge remote-tracking branch 'upstream/develop' into share-rework
Michael [Tue, 25 Oct 2022 08:31:01 +0000 (08:31 +0000)]
Merge remote-tracking branch 'upstream/develop' into share-rework

2 years agoThe "share" handling is improved
Michael [Tue, 25 Oct 2022 06:37:23 +0000 (06:37 +0000)]
The "share" handling is improved

2 years agoimplement feeback
Philipp [Tue, 25 Oct 2022 06:07:42 +0000 (08:07 +0200)]
implement feeback

2 years agoMerge pull request #12060 from MrPetovan/bug/9920-contact-export
Tobias Diekershoff [Tue, 25 Oct 2022 04:57:25 +0000 (06:57 +0200)]
Merge pull request #12060 from MrPetovan/bug/9920-contact-export

Fix condition for follows export

2 years agoUpdate main translation file after changing a string
Hypolite Petovan [Mon, 24 Oct 2022 22:21:50 +0000 (18:21 -0400)]
Update main translation file after changing a string

2 years agoFix condition for follows export
Hypolite Petovan [Mon, 24 Oct 2022 21:56:44 +0000 (17:56 -0400)]
Fix condition for follows export

- Select follows instead of followers
- Filter out archived contacts

2 years agoReformat Module\Settings\UserExport
Hypolite Petovan [Mon, 24 Oct 2022 21:56:05 +0000 (17:56 -0400)]
Reformat Module\Settings\UserExport

- Import IHandleUserSessions and DbaDefinition object in constructor
- Convert remaining double quotes to single quotes
- Convert static methods to dynamic to use class properties
- Remove unused POST permission from route

2 years agoMerge pull request #12057 from Quix0r/rewrites/type-hints
Hypolite Petovan [Mon, 24 Oct 2022 20:10:33 +0000 (16:10 -0400)]
Merge pull request #12057 from Quix0r/rewrites/type-hints

Added missing type-hints and formatted some arrays

2 years agoChanges:
Roland Häder [Sun, 11 Sep 2022 05:04:13 +0000 (07:04 +0200)]
Changes:
- added some missing type-hints
- no need for local array `$t` (changed to "anonymous" varriant)
- formatted some arrays

2 years agoMerge pull request #12058 from Quix0r/fixes/get-remote-userid
Philipp [Mon, 24 Oct 2022 17:40:02 +0000 (19:40 +0200)]
Merge pull request #12058 from Quix0r/fixes/get-remote-userid

Fixed: Undefined property: Friendica\Core\Session\Model\UserSession::$getRemoteUserId

2 years agoFixed:
Roland Häder [Mon, 24 Oct 2022 16:27:38 +0000 (18:27 +0200)]
Fixed:
- Added missing `()` to `getRemoteUserId` which is a method, and not a property
- `Undefined property: Friendica\Core\Session\Model\UserSession::$getRemoteUserId in /var/www/.../htdocs/mod/display.php on line 192`

2 years agoExtend `IHandleUserSessions` from `IHandleSessions` and adapt classes
Philipp [Sun, 23 Oct 2022 18:41:17 +0000 (20:41 +0200)]
Extend `IHandleUserSessions` from `IHandleSessions` and adapt classes

2 years agoMerge pull request #12051 from Quix0r/hotfix/one-dollar-to-much
Tobias Diekershoff [Sun, 23 Oct 2022 14:25:46 +0000 (16:25 +0200)]
Merge pull request #12051 from Quix0r/hotfix/one-dollar-to-much

Hotfix: One `$` to much ...

2 years agoMerge pull request #12050 from nupplaphil/bug/notf_session_fix
Tobias Diekershoff [Sun, 23 Oct 2022 14:23:01 +0000 (16:23 +0200)]
Merge pull request #12050 from nupplaphil/bug/notf_session_fix

Fix missing/wrong IHandleUserSessions usages

2 years agoHotfix: One `$` to much ...
Roland Häder [Sun, 23 Oct 2022 11:13:29 +0000 (13:13 +0200)]
Hotfix: One `$` to much ...

2 years agoFix missing/wrong IHandleUserSessions usages
Philipp [Sun, 23 Oct 2022 06:18:01 +0000 (08:18 +0200)]
Fix missing/wrong IHandleUserSessions usages

2 years agoMerge pull request #12049 from nupplaphil/bug/ci
Hypolite Petovan [Sat, 22 Oct 2022 20:57:14 +0000 (16:57 -0400)]
Merge pull request #12049 from nupplaphil/bug/ci

Fix CI with Session

2 years agoFix CI with Session
Philipp [Sat, 22 Oct 2022 18:03:15 +0000 (20:03 +0200)]
Fix CI with Session

2 years agoMerge pull request #12048 from tobiasd/20221022-ru
Hypolite Petovan [Sat, 22 Oct 2022 12:13:12 +0000 (08:13 -0400)]
Merge pull request #12048 from tobiasd/20221022-ru

RU translation update THX SpcCw

2 years agoRU translation update THX SpcCw
Tobias Diekershoff [Sat, 22 Oct 2022 04:44:08 +0000 (06:44 +0200)]
RU translation update THX SpcCw

2 years agoMerge pull request #12039 from nupplaphil/feat/session_util_Modules
Hypolite Petovan [Fri, 21 Oct 2022 22:28:45 +0000 (18:28 -0400)]
Merge pull request #12039 from nupplaphil/feat/session_util_Modules

UserSession class [3] - Refactor src/ files excluding Module/Model

2 years agoMerge pull request #12047 from friendica/revert-12044-bug/woordpecker_ci
Hypolite Petovan [Fri, 21 Oct 2022 22:26:05 +0000 (18:26 -0400)]
Merge pull request #12047 from friendica/revert-12044-bug/woordpecker_ci

Revert "Fix CI pipeline"

2 years agoRevert "Fix CI pipeline"
Philipp [Fri, 21 Oct 2022 17:55:29 +0000 (19:55 +0200)]
Revert "Fix CI pipeline"

2 years agoRemove Core\Session
Philipp [Fri, 21 Oct 2022 17:36:42 +0000 (19:36 +0200)]
Remove Core\Session

2 years agoUpdate src/Content/Widget.php
Philipp [Fri, 21 Oct 2022 17:34:02 +0000 (19:34 +0200)]
Update src/Content/Widget.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoMove "submanage" Session value into own methods
Philipp [Fri, 21 Oct 2022 17:33:28 +0000 (19:33 +0200)]
Move "submanage" Session value into own methods

2 years agoReduce parentheses
Philipp [Fri, 21 Oct 2022 07:12:24 +0000 (09:12 +0200)]
Reduce parentheses

2 years agomake App\Router easier
Philipp [Fri, 21 Oct 2022 07:05:26 +0000 (09:05 +0200)]
make App\Router easier

2 years agoMove DI dependency for App class
Philipp [Thu, 20 Oct 2022 20:06:25 +0000 (22:06 +0200)]
Move DI dependency for App class

2 years agoMove DI dependency for Navigation\Notifications\Factory\Introduction class
Philipp [Thu, 20 Oct 2022 19:58:43 +0000 (21:58 +0200)]
Move DI dependency for Navigation\Notifications\Factory\Introduction class

2 years agoMove DI dependency for Navigation\Notifications\Factory\FormattedNotify class
Philipp [Thu, 20 Oct 2022 19:41:53 +0000 (21:41 +0200)]
Move DI dependency for Navigation\Notifications\Factory\FormattedNotify class

2 years agoMove DI dependency for Navigation\Notifications\Factory\FormattedNavNotification...
Philipp [Thu, 20 Oct 2022 19:39:06 +0000 (21:39 +0200)]
Move DI dependency for Navigation\Notifications\Factory\FormattedNavNotification class

2 years agoMove DI dependency for Content\Item class
Philipp [Thu, 20 Oct 2022 19:36:38 +0000 (21:36 +0200)]
Move DI dependency for Content\Item class

2 years agoMove DI dependency for App\Conversation class
Philipp [Thu, 20 Oct 2022 19:32:54 +0000 (21:32 +0200)]
Move DI dependency for App\Conversation class

2 years agoMove DI dependency for App\Router class
Philipp [Thu, 20 Oct 2022 19:29:52 +0000 (21:29 +0200)]
Move DI dependency for App\Router class

2 years agoMove DI dependency for App\Page class
Philipp [Thu, 20 Oct 2022 19:27:32 +0000 (21:27 +0200)]
Move DI dependency for App\Page class

2 years agoUserSession class [3] - Refactor src/ files excluding Module/Model
Philipp [Thu, 20 Oct 2022 19:22:47 +0000 (21:22 +0200)]
UserSession class [3] - Refactor src/ files excluding Module/Model

2 years agoMerge pull request #12042 from nupplaphil/feat/usersession_Module_DepInj
Hypolite Petovan [Fri, 21 Oct 2022 17:21:48 +0000 (13:21 -0400)]
Merge pull request #12042 from nupplaphil/feat/usersession_Module_DepInj

UserSession class [6] - Refactor src/Module/ files without DI

2 years agoMerge pull request #12046 from nupplaphil/bug/DI_missing
Hypolite Petovan [Fri, 21 Oct 2022 17:20:41 +0000 (13:20 -0400)]
Merge pull request #12046 from nupplaphil/bug/DI_missing

Add missing DI

2 years agoAdd missing DI
Philipp [Fri, 21 Oct 2022 17:16:25 +0000 (19:16 +0200)]
Add missing DI

2 years agoMerge pull request #12043 from nupplaphil/feat/usersession_view
Hypolite Petovan [Fri, 21 Oct 2022 15:13:32 +0000 (11:13 -0400)]
Merge pull request #12043 from nupplaphil/feat/usersession_view

UserSession class [7] - Refactor view/ files

2 years agoMerge pull request #12045 from nupplaphil/bug/messages_po
Hypolite Petovan [Fri, 21 Oct 2022 15:13:21 +0000 (11:13 -0400)]
Merge pull request #12045 from nupplaphil/bug/messages_po

Fix messages.po issue

2 years agoUpdate view/theme/vier/config.php
Philipp [Fri, 21 Oct 2022 06:38:45 +0000 (08:38 +0200)]
Update view/theme/vier/config.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoUpdate view/theme/quattro/config.php
Philipp [Fri, 21 Oct 2022 06:38:40 +0000 (08:38 +0200)]
Update view/theme/quattro/config.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoUserSession class [7] - Refactor view/ files
Philipp [Thu, 20 Oct 2022 21:45:14 +0000 (23:45 +0200)]
UserSession class [7] - Refactor view/ files

2 years agoUserSession class [6] - Refactor src/Module/ files without DI
Philipp [Thu, 20 Oct 2022 21:35:01 +0000 (23:35 +0200)]
UserSession class [6] - Refactor src/Module/ files without DI

2 years agoFix messages.po issue
Philipp [Fri, 21 Oct 2022 08:08:39 +0000 (10:08 +0200)]
Fix messages.po issue

2 years agoMerge pull request #12041 from nupplaphil/feat/usersession_Module
Hypolite Petovan [Fri, 21 Oct 2022 00:32:54 +0000 (20:32 -0400)]
Merge pull request #12041 from nupplaphil/feat/usersession_Module

UserSession class [5] - Refactor src/Module/ files with DI

2 years agoMerge pull request #12040 from nupplaphil/feat/usersession_Model
Hypolite Petovan [Fri, 21 Oct 2022 00:07:41 +0000 (20:07 -0400)]
Merge pull request #12040 from nupplaphil/feat/usersession_Model

UserSession class [4] - Refactor src/Model/ files

2 years agoMerge pull request #12044 from nupplaphil/bug/woordpecker_ci
Hypolite Petovan [Thu, 20 Oct 2022 23:52:56 +0000 (19:52 -0400)]
Merge pull request #12044 from nupplaphil/bug/woordpecker_ci

Fix CI pipeline

2 years agoFix CI pipeline
Philipp [Thu, 20 Oct 2022 22:49:38 +0000 (00:49 +0200)]
Fix CI pipeline

2 years agoMerge pull request #12038 from nupplaphil/feat/session_util_2
Hypolite Petovan [Thu, 20 Oct 2022 22:13:48 +0000 (18:13 -0400)]
Merge pull request #12038 from nupplaphil/feat/session_util_2

UserSession class [2] - Refactor mod/ files

2 years agoUserSession class [5] - Refactor src/Module/ files with DI
Philipp [Thu, 20 Oct 2022 20:59:12 +0000 (22:59 +0200)]
UserSession class [5] - Refactor src/Module/ files with DI

2 years agoUserSession class [4] - Refactor src/Model/ files
Philipp [Thu, 20 Oct 2022 20:14:50 +0000 (22:14 +0200)]
UserSession class [4] - Refactor src/Model/ files

2 years agoRemove unnecessary "use"
Philipp [Thu, 20 Oct 2022 19:06:06 +0000 (21:06 +0200)]
Remove unnecessary "use"

2 years agoUserSession class [2] - Refactor mod/ files
Philipp [Thu, 20 Oct 2022 19:02:49 +0000 (21:02 +0200)]
UserSession class [2] - Refactor mod/ files

2 years agoMerge pull request #12021 from nupplaphil/feat/session_util
Hypolite Petovan [Thu, 20 Oct 2022 18:54:42 +0000 (14:54 -0400)]
Merge pull request #12021 from nupplaphil/feat/session_util

UserSession class [1] - Add class and tests

2 years agoUpdate tests/src/Core/Session/UserSessionTest.php
Philipp [Thu, 20 Oct 2022 18:47:43 +0000 (20:47 +0200)]
Update tests/src/Core/Session/UserSessionTest.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoMove Session "exists" and "expire" to new class
Philipp [Thu, 20 Oct 2022 18:26:54 +0000 (20:26 +0200)]
Move Session "exists" and "expire" to new class

2 years agoAdd SessionUsers class including tests
Philipp [Tue, 18 Oct 2022 20:20:04 +0000 (22:20 +0200)]
Add SessionUsers class including tests

2 years agoMerge pull request #12037 from MrPetovan/bug/blocklist-clobbered
Michael Vogel [Thu, 20 Oct 2022 13:57:22 +0000 (15:57 +0200)]
Merge pull request #12037 from MrPetovan/bug/blocklist-clobbered

Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile

2 years agoFix using wrong variable in DomainPatterBlocklist::extractFromCSVFile
Hypolite Petovan [Thu, 20 Oct 2022 13:45:40 +0000 (09:45 -0400)]
Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile

- This was clobbering the internal block list structure from an associative array to a simple list

2 years agoMerge pull request #12036 from tobiasd/20221020-breakingnote
Michael Vogel [Thu, 20 Oct 2022 08:29:38 +0000 (10:29 +0200)]
Merge pull request #12036 from tobiasd/20221020-breakingnote

added a breaking note for custom addons to the CHANGELOG

2 years agoMerge pull request #12034 from annando/no-include
Tobias Diekershoff [Thu, 20 Oct 2022 07:57:38 +0000 (09:57 +0200)]
Merge pull request #12034 from annando/no-include

Legacy "include" fragments have been removed

2 years agoadded a breaking note for custom addons to the CHANGELOG
Tobias Diekershoff [Thu, 20 Oct 2022 07:46:59 +0000 (09:46 +0200)]
added a breaking note for custom addons to the CHANGELOG

With the movement of all the function from the boot.php into fitting classes
custom addons will break (e.g. local_user() calls). The note in the CHANGELOG
should be a warning and a reminder for the release notes of 2022.12.

2 years agoLegacy "include" fragments have been removed
Michael [Thu, 20 Oct 2022 04:21:00 +0000 (04:21 +0000)]
Legacy "include" fragments have been removed

2 years agoMerge pull request #12033 from annando/no-boot
Hypolite Petovan [Wed, 19 Oct 2022 20:53:51 +0000 (16:53 -0400)]
Merge pull request #12033 from annando/no-boot

All references to boot.php are now removed

2 years agoAll references to boot.php are now removed
Michael [Wed, 19 Oct 2022 20:38:25 +0000 (20:38 +0000)]
All references to boot.php are now removed

2 years agoMerge pull request #12032 from annando/error
Hypolite Petovan [Wed, 19 Oct 2022 19:20:07 +0000 (15:20 -0400)]
Merge pull request #12032 from annando/error

Fix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found"

2 years agoFix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found"
Michael [Wed, 19 Oct 2022 19:16:01 +0000 (19:16 +0000)]
Fix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found"

2 years agoMerge pull request #12028 from annando/no-boot-src-module-4
Hypolite Petovan [Wed, 19 Oct 2022 13:48:29 +0000 (09:48 -0400)]
Merge pull request #12028 from annando/no-boot-src-module-4

 old boot.php functions replaced in src/module (4)

2 years agoUpdated messages.po
Michael [Wed, 19 Oct 2022 08:57:05 +0000 (08:57 +0000)]
Updated messages.po

2 years agoold boot.php functions replaced in src/module (4)
Michael [Wed, 19 Oct 2022 04:43:47 +0000 (04:43 +0000)]
old boot.php functions replaced in src/module (4)

2 years agoMerge pull request #12027 from annando/no-boot-src-module-3
Hypolite Petovan [Wed, 19 Oct 2022 13:22:41 +0000 (09:22 -0400)]
Merge pull request #12027 from annando/no-boot-src-module-3

old boot.php functions replaced in src/module (3)

2 years agoAlign pConfig calls in Module\Settings\Display
Hypolite Petovan [Wed, 19 Oct 2022 13:20:48 +0000 (09:20 -0400)]
Align pConfig calls in Module\Settings\Display

2 years agoSuppress repetitive "missing cache key ping:events:XX" when there are no upcoming...
Hypolite Petovan [Wed, 19 Oct 2022 13:17:28 +0000 (09:17 -0400)]
Suppress repetitive "missing cache key ping:events:XX" when there are no upcoming events

2 years agoold boot.php functions replaced in src/module (3)
Michael [Wed, 19 Oct 2022 04:40:06 +0000 (04:40 +0000)]
old boot.php functions replaced in src/module (3)

2 years agoMerge pull request #12026 from annando/no-boot-src-module-2
Hypolite Petovan [Wed, 19 Oct 2022 13:13:45 +0000 (09:13 -0400)]
Merge pull request #12026 from annando/no-boot-src-module-2

old boot.php functions replaced in src/module (2)

2 years agoold boot.php functions replaced in src/module (2)
Michael [Wed, 19 Oct 2022 04:35:37 +0000 (04:35 +0000)]
old boot.php functions replaced in src/module (2)

2 years agoMerge pull request #12025 from annando/no-boot-src-module
Hypolite Petovan [Wed, 19 Oct 2022 13:03:20 +0000 (09:03 -0400)]
Merge pull request #12025 from annando/no-boot-src-module

old boot.php functions replaced in src/module

2 years agoAdd missing use statements in modules classes
Hypolite Petovan [Wed, 19 Oct 2022 13:00:43 +0000 (09:00 -0400)]
Add missing use statements in modules classes

2 years agoold boot.php functions replaced in src/module
Michael [Wed, 19 Oct 2022 04:31:58 +0000 (04:31 +0000)]
old boot.php functions replaced in src/module

2 years agoMerge pull request #12024 from annando/no-boot-src-1
Hypolite Petovan [Wed, 19 Oct 2022 12:05:56 +0000 (08:05 -0400)]
Merge pull request #12024 from annando/no-boot-src-1

 old boot.php functions replaced in varous placed under /src

2 years agoSimplify boolean statements in Content\Conversation
Hypolite Petovan [Wed, 19 Oct 2022 12:05:31 +0000 (08:05 -0400)]
Simplify boolean statements in Content\Conversation