Art4
4b971f84fd
Fix returns in Console commands
2024-11-05 12:13:18 +00:00
Art4
01ba276455
Add missing return
...
This needs some refactoring: returning nothing implicit returns null, thas will be convert to int 0.
I return false instead of nothing to keep this behaviour for BC.
2024-11-05 11:52:23 +00:00
Tobias Diekershoff
30a5ef33b0
REUSE src directory
2024-08-24 15:27:00 +02:00
Matthew Exon
36c37e0c62
Allow setting user avatar in the console at creation
2024-01-14 16:19:20 +01:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Josh Soref
1c223319b7
spelling: denies
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 18:59:11 -04:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
1d8c9276f3
Issue 10518: "last-activity" instead of "login_date"
2022-12-04 07:03:11 +00:00
Roland Häder
cf8698afe6
This is the correct way:
...
<?php
if (!isset($foo['account_removed) || $foo['account_removed'])
?>
2022-07-19 18:08:18 +02:00
Roland Häder
4cb5cadba8
Added returned type-int "int"
2022-07-13 21:10:50 +02:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Matthew Exon
023fb38a75
Check return values with empty()
2021-05-02 20:05:07 +02:00
Matthew Exon
ac4f62f556
Remove database dependency from user console command
2021-05-02 20:05:07 +02:00
Matthew Exon
19a86fd8f2
Fix console user config set command
2021-05-02 20:05:07 +02:00
Philipp
020d893260
Fix PHP-Code-Style
2021-04-28 22:13:00 +02:00
Philipp
d1d5cb2857
Fixed new "user config" console feature
...
- Replaced "DI::" call with constructor injection
- Added return value for IPConfig::load() and PreloadPConfig::load()
2021-04-28 22:13:00 +02:00
Matthew Exon
5421f53a76
Add "user config" console command to administer user-specific configuration
2021-04-27 19:46:16 +02:00
Hypolite Petovan
53e38b0313
Merge pull request #10166 from mexon/mat/refactor-user-arguments
...
Refactor user console command to re-use common code
2021-04-26 13:00:07 -04:00
Matthew Exon
471bb53746
Refactor user console command to re-use common code
2021-04-25 19:27:10 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Tobias Diekershoff
321121f213
change the search subcommand so that it fits the documentation
2020-08-26 09:31:21 +02:00
Hypolite Petovan
b4910066b6
Rename -q option to -y for user delete console command
...
- Name was misleading, it isn't quiet mode but non-interactive mode
2020-07-06 15:25:49 -04:00
Hypolite Petovan
184fa9f980
Skip user removal if it's already been removed in Console\User
2020-05-09 11:05:20 -04:00
Michael
7d111e2a6f
Duplicated fields renamed
2020-04-25 07:29:02 +00:00
nupplaPhil
811f075aa1
Rename method name
2020-02-29 17:10:34 +01:00
nupplaPhil
ed422be734
Improve start/count parameter
2020-02-29 17:10:33 +01:00
nupplaPhil
d950a3241b
Add basic search
2020-02-29 17:10:32 +01:00
nupplaPhil
3a317c5c0d
More list sub commands
2020-02-29 17:10:32 +01:00
nupplaPhil
2adc6a0974
Add list command
2020-02-29 17:10:31 +01:00
nupplaPhil
bb47624bf2
Add "User::remove()" to console command
2020-02-29 17:10:29 +01:00
nupplaPhil
0c3f8b124b
Add "User::block()" to console command
2020-02-29 17:10:28 +01:00
nupplaPhil
b4f6e8fda1
Move "User::deny()" to own method and update usages
2020-02-29 17:10:28 +01:00
nupplaPhil
6aee153bbd
Move "User::allow()" to own method and update usages
2020-02-29 17:10:27 +01:00
nupplaPhil
f3f764bc39
Add new possibility to add a user per console
2020-02-29 17:10:27 +01:00
nupplaPhil
4d436c10df
Move "NewPassword" to a common "user" console command
2020-02-29 17:10:26 +01:00