1
1
Fork 0
Commit graph

134 commits

Author SHA1 Message Date
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
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
8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
3bb10b82a1 Remove ternary operators from converted .po plural condition
- Thanks @sunchaserinfo for most of the work
2021-01-29 20:01:14 -05:00
4cfcaa82c0 Fix relay handling 2021-01-09 19:19:20 +00:00
1e27396851 Improved help texts 2020-12-20 16:22:25 +00:00
246a90b0e6 Replaced tabs with spaces 2020-12-20 14:04:00 +00:00
6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
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
61ff99c410 Command line option to check initial values 2020-11-23 18:58:18 +00:00
eff4d18209 Force removal from relay list 2020-09-29 05:06:37 +00:00
60b33cd3b1 Fix a type / add "list" command to relay cli 2020-09-21 07:42:53 +00:00
144ee09c43 Improved description 2020-09-17 04:36:32 +00:00
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
178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
50b5483ee1 Ability to set the database version 2020-09-13 15:57:24 +00:00
e8cae80460 Fix fatal error in storage list console when default backend is used 2020-09-03 16:06:52 -04:00
a213619365 removed additional / from comment block 2020-08-29 17:50:15 +02:00
321121f213 change the search subcommand so that it fits the documentation 2020-08-26 09:31:21 +02:00
3c0968a692 indentation 2020-08-08 15:49:25 +02:00
ef0ecf243a fopen error messages 2020-08-08 08:47:21 +02:00
1834f24c9f some small stuff 2020-08-08 08:35:34 +02:00
afb167602b remove empty line 2020-08-07 12:51:14 +02:00
97df01c938 update the test of the help text 2020-08-07 11:49:25 +02:00
b191c8c11c spaces instead of tabs here 2020-07-19 09:58:31 +02:00
c6c7c4e841 added CSV import/export of server blocklist 2020-07-19 09:49:17 +02:00
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
779099a491 Improve language of console globalcommunitysilence help line 2020-06-03 00:03:58 -04:00
184fa9f980 Skip user removal if it's already been removed in Console\User 2020-05-09 11:05:20 -04:00
7d111e2a6f Duplicated fields renamed 2020-04-25 07:29:02 +00:00
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
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
3b16829484
fix forgotten use DI namespaces ... 2020-01-19 16:31:35 +01:00
846007d031
adapt pattern for extract command 2020-01-19 16:31:34 +01:00
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper) 2020-01-19 16:31:30 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
424c87195b
CleanUp Cache namespace
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
71985de5d5
Fix Storage list 2020-01-18 10:46:53 +01:00
e5eeaf78f2
Fix Storage move command 2020-01-18 00:08:48 +01:00
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
31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock 2020-01-07 00:24:10 +01:00
634e657d23
Replace Lock::acquire() with DI::lock()->acquire() 2020-01-07 00:20:31 +01:00
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
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
Philipp Holzer
d56bd28a07
Refactor Cache/Lock to DICE
- Refactor Cache classes
- Refactor Lock classes
- Improved test speed (removed some seperate class annotations)
2019-08-03 20:51:58 +02:00
Philipp Holzer
5935e69d33
Adding Configuration dependency 2019-07-31 19:43:00 +02:00
Philipp Holzer
a60eb9e33d
Use DICE for Console
- Use Friendica\Core\Console as Controller for DI-library
- Refactor every console command to use DICE (when possible)
- Adjusting tests
2019-07-31 19:37:42 +02:00
1dbdb9dd15 Update server block console help text to reflect the addition of shell wildcard syntax 2019-07-25 22:37:14 -04:00
Philipp Holzer
a8e6a57e9b
Fixing installer 2019-07-21 14:21:02 +02:00
Philipp Holzer
92fb0a82ca
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
2019-07-12 22:53:37 +02:00
50fa6b7e02 Use Contact::getIdForURL instead of Probe::uri and manual contact table lookup
- Address https://forum.friendi.ca/display/0b6b25a8-215d-1bab-29c9-77a221796252
- Normalize quote style
- Remove deprecated get_app() call
2019-07-02 19:25:24 -04:00
da56e0a541 Add tests folder to typo console coverage
- Use correct config object in Console\Typo
2019-06-15 22:27:20 -04:00
8b3592b08c Revert renaming variable in Console\GlobalCommunityBlock 2019-05-16 08:42:07 -04:00
dbedcdbf69 Add reason editing to console globalcommunityblock command 2019-05-15 19:30:48 -04:00
d716a3326f
Move Console namespace one level up 2019-05-02 23:17:35 +02:00