Commit graph

35162 commits

Author SHA1 Message Date
Roland Häder
03e09627e4
Used $this->isThreaded() instead as suggested by @MrPetovan 2022-10-26 17:59:07 +02:00
Hypolite Petovan
4189e01987
Merge pull request #12069 from tobiasd/20221026-de
DE translation update
2022-10-26 01:36:58 -04:00
Hypolite Petovan
80dc593159
Merge pull request #12068 from tobiasd/20221026-nofollow
add a nofollow to the blocklist export link
2022-10-26 01:36:15 -04:00
Tobias Diekershoff
606dd9f5e6 DE translation update 2022-10-26 07:33:51 +02:00
Tobias Diekershoff
80a897f2f3 add a nofollow to the blocklist export link 2022-10-26 07:30:46 +02:00
Michael Vogel
ff2af0a2e3
Merge pull request #12066 from MrPetovan/task/12062-revert-block-list-email
Revert "Add email notification to all users on server domain pattern block list update"
2022-10-26 05:35:25 +02:00
Roland Häder
3c50d5b70f
Changes:
- made code more readable
2022-10-26 01:31:34 +02:00
Roland Häder
2f1336339f
Changes:
- added missing type-hints
- added missing documentation
- changed double-quotes to single
- Setters do ALWAYS return void
2022-10-26 01:29:01 +02:00
Hypolite Petovan
42199d9264 Updated main translation file after removing strings 2022-10-25 19:07:55 -04:00
Hypolite Petovan
22bfd3b4d6 Revert "Add email notification to all users on server domain pattern block list update"
This reverts commit 5045f9e188 because the main stakeholder isn't using the feature and it's putting a strain on email server accountability vis-a-vis spam lists.

# Conflicts:
#	src/Moderation/DomainPatternBlocklist.php
2022-10-25 19:02:55 -04:00
Hypolite Petovan
3456ae7809
Merge pull request #12065 from Quix0r/cleanup/renaming-more-logging
Cleanups: renaming variables and more logging
2022-10-25 17:17:46 -04:00
Hypolite Petovan
158d21db14
Merge pull request #12064 from Quix0r/phpunit/temporal-test
Unit test added for Temporal utilities class
2022-10-25 17:16:58 -04:00
Roland Häder
039a4b8c72
Fixed issues by php-cs 2022-10-25 23:09:30 +02:00
Roland Häder
913a4a5dc0
Fixed code-standards complain by php-cs, thanks to @MrPetovan 2022-10-25 22:45:50 +02:00
Roland Häder
ceffd0ef6c
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
2022-10-25 21:36:59 +02:00
Roland Häder
71e82bc861
Changed:
- added logger for any reason when upload is aborted
- renamed variables a bit to camel-case style
2022-10-25 21:35:36 +02:00
Roland Häder
b1cf4cbbd5
Changes:
- added unit-test for `Temporal::getRelativeDate()` method
2022-10-25 21:30:56 +02:00
Hypolite Petovan
db82bdfc44
Merge pull request #12063 from Quix0r/fixes/type-hints-reformatting
Added more type-hints + reformatted code
2022-10-25 14:54:22 -04:00
Roland Häder
5306bb3e31
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
2022-10-25 20:25:13 +02:00
Hypolite Petovan
a7e9457ef2
Merge pull request #12061 from annando/share-rework
The "share" handling is improved
2022-10-25 09:04:16 -04:00
Michael
842a4bb904 Changed function name 2022-10-25 12:40:22 +00:00
Hypolite Petovan
2555596158
Merge pull request #12055 from nupplaphil/feat/usersess_decorator
Extend `IHandleUserSessions` from `IHandleSessions` and adapt classes
2022-10-25 07:52:23 -04:00
Michael
ebd175872d Improved description 2022-10-25 08:45:41 +00:00
Michael
1a0b63659b Merge remote-tracking branch 'upstream/develop' into share-rework 2022-10-25 08:31:01 +00:00
Michael
f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
Philipp
f03c5c7f89
implement feeback 2022-10-25 08:07:42 +02:00
Tobias Diekershoff
9b310b0dd7
Merge pull request #12060 from MrPetovan/bug/9920-contact-export
Fix condition for follows export
2022-10-25 06:57:25 +02:00
Hypolite Petovan
5f92473c6e Update main translation file after changing a string 2022-10-24 18:21:50 -04:00
Hypolite Petovan
dc2d96a502 Fix condition for follows export
- Select follows instead of followers
- Filter out archived contacts
2022-10-24 18:21:10 -04:00
Hypolite Petovan
142b399c84 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
2022-10-24 18:14:59 -04:00
Hypolite Petovan
a3651e464d
Merge pull request #12057 from Quix0r/rewrites/type-hints
Added missing type-hints and formatted some arrays
2022-10-24 16:10:33 -04:00
Roland Häder
bf9f09182e
Changes:
- added some missing type-hints
- no need for local array `$t` (changed to "anonymous" varriant)
- formatted some arrays
2022-10-24 20:32:24 +02:00
Philipp
05b15f2824
Merge pull request #12058 from Quix0r/fixes/get-remote-userid
Fixed: Undefined property: Friendica\Core\Session\Model\UserSession::$getRemoteUserId
2022-10-24 19:40:02 +02:00
Roland Häder
54b89365bb
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`
2022-10-24 18:29:28 +02:00
Philipp
b5bc1b0844
Extend IHandleUserSessions from IHandleSessions and adapt classes 2022-10-23 20:41:17 +02:00
Tobias Diekershoff
b72d727a06
Merge pull request #12051 from Quix0r/hotfix/one-dollar-to-much
Hotfix: One `$` to much ...
2022-10-23 16:25:46 +02:00
Tobias Diekershoff
19155a4bb2
Merge pull request #12050 from nupplaphil/bug/notf_session_fix
Fix missing/wrong IHandleUserSessions usages
2022-10-23 16:23:01 +02:00
Roland Häder
e8fe0c52e7
Hotfix: One $ to much ... 2022-10-23 13:15:34 +02:00
Philipp
b4b9f426db
Fix missing/wrong IHandleUserSessions usages 2022-10-23 11:32:43 +02:00
Hypolite Petovan
6040dfa5e8
Merge pull request #12049 from nupplaphil/bug/ci
Fix CI with Session
2022-10-22 16:57:14 -04:00
Philipp
c3df570324
Fix CI with Session 2022-10-22 20:03:15 +02:00
Hypolite Petovan
52cc6ff3cb
Merge pull request #12048 from tobiasd/20221022-ru
RU translation update THX SpcCw
2022-10-22 08:13:12 -04:00
Tobias Diekershoff
965314f213 RU translation update THX SpcCw 2022-10-22 06:44:08 +02:00
Hypolite Petovan
40f734da58
Merge pull request #12039 from nupplaphil/feat/session_util_Modules
UserSession class [3] - Refactor src/ files excluding Module/Model
2022-10-21 18:28:45 -04:00
Hypolite Petovan
854c8e6685
Merge pull request #12047 from friendica/revert-12044-bug/woordpecker_ci
Revert "Fix CI pipeline"
2022-10-21 18:26:05 -04:00
Philipp
4978765b90
Revert "Fix CI pipeline" 2022-10-21 19:55:29 +02:00
Philipp
a9963dc54b
Remove Core\Session 2022-10-21 19:36:42 +02:00
Philipp
7b3caca276
Update src/Content/Widget.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-21 19:35:34 +02:00
Philipp
44a9683008
Move "submanage" Session value into own methods 2022-10-21 19:35:34 +02:00
Philipp
cafb23f8f0
Reduce parentheses 2022-10-21 19:35:34 +02:00