6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
5d294e8be8
Move Config::load() to DI::config()->load()
2020-01-19 21:20:10 +01:00
8138b05032
fix L10n path after move
2020-01-19 17:11:48 +01:00
174129af94
add missing namespaces/fix wrong class-names
2020-01-19 16:31:35 +01:00
0e6a675cb5
cleanups
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
d3255afa66
Move L10n::withLang() calls to DI::l10n()->withLang() calls
2020-01-19 16:31:18 +01:00
a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls
2020-01-19 16:31:17 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
cdbc94a9e1
Some more added lines
2020-01-19 09:51:37 +00:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
8536b313a1
Merge pull request #8131 from nupplaphil/task/cleanup_lock
...
CleanUp Lock namespace
2020-01-18 14:13:14 -05:00
41ff43dcdd
CleanUp Lock namespace
...
- introduce enum Lock - "Type"
- Move Lock/Lock to BaseLock
2020-01-18 20:15:46 +01:00
58f69481e6
Merge pull request #8130 from nupplaphil/task/di_pconfig
...
Move PConfig to DI::pConfig()
2020-01-18 13:57:57 -05:00
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete()
2020-01-18 16:56:46 +01:00
88bb66371c
Move PConfig::set() to DI::pConfig()->set()
2020-01-18 16:54:50 +01:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
6e2880c679
Move PConfig::load() to DI::pConfig()->load()
2020-01-18 15:59:01 +01:00
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
ca8ca05051
Add legacy backend storage functionality
2020-01-17 23:55:19 +01:00
732992a296
Improve impossible exception-handler for storage move
2020-01-17 23:55:18 +01:00
0af83e6f7c
Rename bool flag for user backend
2020-01-17 23:55:08 +01:00
9bb5891645
Fix loading SystemResource files
2020-01-17 19:31:34 +01:00
36190d1e79
Merge pull request #8072 from nupplaphil/task/Cache_to_DI
...
Replace Core\Cache wrapper with DI::cache() method
2020-01-10 08:46:03 -05:00
bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
...
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00
dbd5b5bb6e
- Fixing SystemResource
...
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +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
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php
2020-01-07 00:51:02 +01:00
fe078410a1
Move Cache::get() to DI::cache()->get()
2020-01-07 00:45:49 +01:00
f68929633b
Move Cache::set() to DI::cache()->set()
2020-01-07 00:41:20 +01:00
3369dfaad9
Remove unused function Cache::delete()
2020-01-07 00:37:01 +01:00
182f390520
Move Cache::clear() to DI::cache()->clear()
2020-01-07 00:36:07 +01:00
f7ca437ba6
Remove unused method Cache::getAllKeys()
2020-01-07 00:36:06 +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
64c8855407
Allow special groups in default user permissions
...
- Use ACLFormatter in ACL::getDefaultUserPermissions
- Remove ACL::fixACL
- Add return value to Contact::pruneUnavailable
2020-01-05 17:09:14 -05:00
393a671501
Merge pull request #8055 from nupplaphil/task/remove_get_server
...
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-04 20:10:50 -05:00
48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-05 00:04:55 +01:00
244f440d97
Remove unused killme()
2020-01-04 23:43:13 +01:00
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
fb550a0172
Relocated functions from PortableContact to GServer
2020-01-01 21:29:36 +00:00
e2dc1d7477
Remove deprecated call
2019-12-30 23:08:06 +01:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
6f199ab7b3
Add missing return statement in Core\L10n
...
- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569560492
2019-12-29 22:47:32 -05:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
4835f1185f
Remove deprecated App::module - replace with DI::module()->getName()
2019-12-29 20:17:52 +01:00
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
2019-12-29 20:17:45 +01:00