Commit Graph

162 Commits

Author SHA1 Message Date
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
nupplaPhil 2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper) 2020-01-19 16:31:30 +01:00
nupplaPhil 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
nupplaPhil 424c87195b
CleanUp Cache namespace
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
nupplaPhil 71985de5d5
Fix Storage list 2020-01-18 10:46:53 +01:00
nupplaPhil e5eeaf78f2
Fix Storage move command 2020-01-18 00:08:48 +01:00
nupplaPhil 08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
nupplaPhil 31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock 2020-01-07 00:24:10 +01:00
nupplaPhil 634e657d23
Replace Lock::acquire() with DI::lock()->acquire() 2020-01-07 00:20:31 +01:00
nupplaPhil f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
nupplaPhil c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
nupplaPhil 1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Philipp Holzer ca36ea17f9
Fix Auto-Installer 2019-09-23 12:51:07 +02:00
Philipp Holzer 290dd2ab39
moved rest of BaseURL 2019-08-15 17:36:07 +02:00
Philipp Holzer d95457cf61
Add Lock test 2019-08-15 14:26:05 +02:00
Philipp Holzer 41e2031e6b
Console Lock
WIP
2019-08-15 14:26:04 +02:00
Philipp Holzer 3834d5e129
Renamed __toString() to getName() 2019-08-04 16:14:19 +02:00
Philipp Holzer d2211bd6dd
Removed some leftovers 2019-08-04 15:58:53 +02:00
Philipp Holzer 7cdcad9f6c
Remove unused class variable 2019-08-04 15:54:37 +02:00
Philipp Holzer 34e4968c06
Adding possibility to use a different cache-backend for locking and caching
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
2019-08-04 15:42:39 +02:00
Philipp Holzer 86bf2ee45a
Rename *CacheDriver to *Cache because they don't act as driver anymore 2019-08-04 10:26:53 +02:00