Commit Graph

183 Commits

Author SHA1 Message Date
Philipp c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp 7c38647573
Cleanup namespace 2021-10-27 20:06:04 +02:00
Philipp 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp 58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
Philipp b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Hypolite Petovan 8af86af3d9 Add new developer test console command 2021-10-26 11:42:22 -04:00
Hypolite Petovan f05fecaec1
Merge pull request #10867 from annando/replace-p
replace "p" with higher level database functions
2021-10-13 19:33:59 -04:00
Michael 27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Hypolite Petovan ca2d0178fc Improve po2php transformation
- Use Geekwright\Po for po file parsing to catch corner case with multi-line message
- Switch from risky double quoted strings to safer single quoted strings in the output file
2021-10-09 15:46:58 -04:00
Hypolite Petovan 5028258c3b Remove exception throwing on null protocol action result in Console\Contact 2021-10-09 02:09:49 -04:00
Michael 9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +00:00
Hypolite Petovan 797391e1d8 Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael 9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
Hypolite Petovan 7a8d800024 Add probe support to @user@domain.tld search string format 2021-08-24 12:46:01 -04:00
Philipp 99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp 29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Philipp b52c9215f6
AutomaticInstallation - Fix last example 2021-08-15 21:36:05 +02:00
Michael b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Tobias Diekershoff cfc08cbc11 console autoinstall used parameter U twice
The parameter "-U" was used twice for the database user and for the URL.
As all other database parameters are using the lowercase letter for the
parameter, this was adopted for the dbuser as well.
2021-06-23 18:05:39 +02:00
Michael 84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
fabrixxm c45a1d1e4d autoinstall: compact output 2021-05-24 15:27:23 +02:00
fabrixxm 613cdf7ee1 autoinstall: handle -f/--file as single config file
as help string says.
2021-05-24 15:21:24 +02:00
Matthew Exon 1ce7c337f5
Simplify test for empty network selection
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-04 13:16:00 +02:00
Matthew Exon 312de957f4
Fix assignment statement alignment
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-05-03 20:56:49 +02:00
Matthew Exon 7a8f9f382e
Fix assignment statement alignment
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-05-03 20:56:41 +02:00
Matthew Exon 05481cab3d fix formatting issues 2021-05-03 20:30:44 +02:00
Matthew Exon ba4492ea81 Add console contact command 2021-05-03 18:00:36 +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
Matthew Exon 18762c8e6e When comparing config values, use strict string comparison 2021-05-01 21:46:30 +02:00
Matthew Exon 4858993024 Add error message when setting config to existing value 2021-05-01 21:10:10 +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
Tobias Diekershoff 2a431b580f Merge branch 'develop' of https://github.com/friendica/friendica into develop 2021-04-26 09:49:48 +02:00
Matthew Exon 471bb53746 Refactor user console command to re-use common code 2021-04-25 19:27:10 +02:00
Hypolite Petovan d666b6cb42
Merge pull request #10116 from mexon/mat/addon-console-command
Add "addon" console command to enable and disable addons
2021-04-02 14:34:23 -04:00
Matthew Exon 492ac0c387 Remove unneeded parameters to console addon command 2021-04-02 20:17:12 +02:00
Matthew Exon 3545e9cfa8 Add "addon" console command to enable and disable addons 2021-04-02 18:56:24 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
fabrixxm a861eb65af Storage: small fixes to 'storage move'
- stop command if current storage backend is still "legacy"
- write destination backend name in log
2021-03-12 18:24:45 +01:00
Hypolite Petovan 3c4d3dc2d0 Skip empty message strings in Console\PoToPhp
- Fix issue with empty plurals not displaying the defaut translation string
2021-01-31 08:36:57 -05:00
Michael Vogel 56a77f5275
Merge pull request #9882 from MrPetovan/bug/po2php-plural-conversion
Remove ternary operators from converted .po plural condition
2021-01-31 11:43:25 +01:00
Michael 8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
Hypolite Petovan 3bb10b82a1 Remove ternary operators from converted .po plural condition
- Thanks @sunchaserinfo for most of the work
2021-01-29 20:01:14 -05:00
Michael 4cfcaa82c0 Fix relay handling 2021-01-09 19:19:20 +00:00
Michael 1e27396851 Improved help texts 2020-12-20 16:22:25 +00:00
Michael 246a90b0e6 Replaced tabs with spaces 2020-12-20 14:04:00 +00:00
Michael 6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
Hypolite Petovan 5f148dcb42 Add temporary console command to fix workerqueue row with corrupted parameter data
- It should be reverted just before the 2020.12 release
2020-12-15 00:20:49 -05:00
Michael 61ff99c410 Command line option to check initial values 2020-11-23 18:58:18 +00:00
Michael eff4d18209 Force removal from relay list 2020-09-29 05:06:37 +00:00
Michael 60b33cd3b1 Fix a type / add "list" command to relay cli 2020-09-21 07:42:53 +00:00
Michael 144ee09c43 Improved description 2020-09-17 04:36:32 +00:00
Michael c8f02350b6 Changed class description 2020-09-16 18:38:36 +00:00
Michael Vogel 6c6cfa939d
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-16 20:23:27 +02:00
Michael 178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
Michael 50b5483ee1 Ability to set the database version 2020-09-13 15:57:24 +00:00
Hypolite Petovan e8cae80460 Fix fatal error in storage list console when default backend is used 2020-09-03 16:06:52 -04:00
Tobias Diekershoff a213619365 removed additional / from comment block 2020-08-29 17:50:15 +02:00
Tobias Diekershoff 321121f213 change the search subcommand so that it fits the documentation 2020-08-26 09:31:21 +02:00
Tobias Diekershoff 3c0968a692 indentation 2020-08-08 15:49:25 +02:00
Tobias Diekershoff ef0ecf243a fopen error messages 2020-08-08 08:47:21 +02:00
Tobias Diekershoff 1834f24c9f some small stuff 2020-08-08 08:35:34 +02:00
Tobias Diekershoff afb167602b remove empty line 2020-08-07 12:51:14 +02:00
Tobias Diekershoff 97df01c938 update the test of the help text 2020-08-07 11:49:25 +02:00
Tobias Diekershoff b191c8c11c spaces instead of tabs here 2020-07-19 09:58:31 +02:00
Tobias Diekershoff c6c7c4e841 added CSV import/export of server blocklist 2020-07-19 09:49:17 +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 779099a491 Improve language of console globalcommunitysilence help line 2020-06-03 00:03:58 -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
Michael 01c6179feb Check for Antelope and convert to Barracuda 2020-04-01 18:11:06 +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
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
nupplaPhil d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
nupplaPhil cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
nupplaPhil 3b16829484
fix forgotten use DI namespaces ... 2020-01-19 16:31:35 +01:00
nupplaPhil 846007d031
adapt pattern for extract command 2020-01-19 16:31:34 +01:00
nupplaPhil d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00