Commit Graph

554 Commits

Author SHA1 Message Date
Hypolite Petovan 18cfd8dfaa Remove references to deprecated profile.is-default and profile.profile-name fields 2020-01-22 19:42:37 -05:00
Hypolite Petovan 04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
nupplaPhil ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
nupplaPhil 21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:42 +01:00
nupplaPhil 3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
nupplaPhil 6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Hypolite Petovan ab8997f9db
Merge pull request #8140 from annando/mail-probe
Don't update mail contacts when polling
2020-01-19 15:05:00 -05:00
Michael 3bd99bccba Don't update mail contacts when polling 2020-01-19 19:27:30 +00:00
nupplaPhil d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
nupplaPhil 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael cdbc94a9e1 Some more added lines 2020-01-19 09:51:37 +00:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Hypolite Petovan 58f69481e6
Merge pull request #8130 from nupplaphil/task/di_pconfig
Move PConfig to DI::pConfig()
2020-01-18 13:57:57 -05:00
nupplaPhil 800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil 9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01: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
Michael ccc7a71e54 Ensure that local contacts always are DFRN contacts 2020-01-16 06:43:21 +00:00
Philipp 33664ebb48
Merge pull request #8095 from annando/local-delivery
Ensure that local delivery is done via DFRN
2020-01-11 20:12:11 +01:00
Michael 28c54242a5 The value has to be assigned, not compared :-) 2020-01-11 18:28:04 +00:00
Michael e6a054696d Ensure that local delivery is done via DFRN 2020-01-11 18:25:48 +00:00
Philipp eba46e786a
Merge pull request #8094 from annando/deletecontact
Ensure that deleted contacts are really removed
2020-01-11 18:40:46 +01:00
Michael 0225e99d0a Ensure that deleted contacts are really removed 2020-01-11 17:22:37 +00:00
Hypolite Petovan 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
nupplaPhil 016cfcd846
Fixings
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +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 a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php 2020-01-07 00:51:02 +01:00
nupplaPhil fe078410a1
Move Cache::get() to DI::cache()->get() 2020-01-07 00:45:49 +01:00
nupplaPhil f68929633b
Move Cache::set() to DI::cache()->set() 2020-01-07 00:41:20 +01:00
nupplaPhil 182f390520
Move Cache::clear() to DI::cache()->clear() 2020-01-07 00:36:07 +01:00
nupplaPhil 48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory() 2020-01-05 00:04:55 +01:00
Michael fb550a0172 Relocated functions from PortableContact to GServer 2020-01-01 21:29:36 +00:00
Philipp 75c74e8562
Merge pull request #8044 from annando/contact-adding
Don't add contacts when not needed
2020-01-01 20:38:34 +01:00
Michael 73b82d1455 Don't add contacts when not needed 2020-01-01 17:54:36 +00:00
nupplaPhil 3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
nupplaPhil 50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-29 20:17:47 +01:00
nupplaPhil 388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +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
Michael c975d0f799 Added documentation 2019-12-21 20:18:44 +00:00
Michael 537da657cc Renamed functions 2019-12-21 18:57:00 +00:00
Michael 33cb241ed3 Renamed function 2019-12-21 18:24:43 +00:00
Michael 26ac9a0063 "CheckServer" is now "UpdateGServer" 2019-12-21 18:11:51 +00:00
Michael fab85255b6 Relocated functions 2019-12-21 06:39:22 +00:00
Michael 4024d725db Fixed logger call 2019-12-21 04:23:26 +00:00
Michael 01205f7d41 Merge remote-tracking branch 'upstream/2019.12-rc' into poco-cleanup 2019-12-20 22:25:32 +00:00
Michael c9c408d5e5 Fix notice because of a missing subject 2019-12-20 21:47:10 +00:00
Michael b4f690839a "CheckServer" added 2019-12-20 21:46:30 +00:00
Michael ef9bdfdff2 Fix some errors 2019-12-20 21:27:49 +00:00
Michael 3c4f44a4ab "FetchPoCo" added 2019-12-20 21:21:25 +00:00
Michael e5546dd40a "UpdateServers" added 2019-12-20 21:12:44 +00:00
Michael 5fee84f2e2 Added "DiscoverContacts" 2019-12-20 21:04:38 +00:00
Michael bf852cc096 "UpdateSuggestions" added 2019-12-20 20:49:09 +00:00
Michael a1ad549e0b Added UpdateServerDirectory 2019-12-20 20:37:21 +00:00
Michael 37f0519514 'SearchDirectory' created (moved out of 'DiscoverPoco' mess) 2019-12-20 20:30:13 +00:00
Michael 88a39ea999 "gprobe" removed 2019-12-20 06:47:18 +00:00
Michael Vogel eb4cfa65d8 Fixed warning 2019-12-14 06:42:40 +01:00
Michael 49767e0555 Issue 7418: connections to forums should now work again 2019-12-09 21:19:20 +00:00
Michael b8f81d5e7d Relocate check for announce 2019-12-08 22:04:32 +00:00
Michael fb64010d7a Missing "use" 2019-12-08 21:40:06 +00:00
Michael aa047278cc Reversed annouce check to have priority for AP 2019-12-08 09:01:06 +00:00
Michael 7ccbe3ee29 Transmit reshares and announce natively via Diaspora and AP whenever possible 2019-12-08 08:59:21 +00:00
Michael 41f8796ffc Delivery of reshares 2019-12-06 06:39:50 +00:00
Michael 22b89df348 Removed test logging 2019-11-27 22:00:43 +00:00
Michael a6a79d9c7e Only transfer posts via mail 2019-11-27 21:59:11 +00:00
Michael fda30bbb1f Removed test data 2019-11-23 11:44:25 +00:00
Michael e220698ea1 E-Mail import: The item is now provided to the hook 2019-11-23 11:42:03 +00:00
Michael 2dcf6d9e2b Now using the correct function call ... 2019-11-23 04:31:40 +00:00
Michael 37bdafcc96 Use the "reply-to" header of the original post when answering via mail 2019-11-22 22:15:04 +00:00
Michael d8da580869 Fix mail delivery via AP when the contact is hidden 2019-11-22 08:01:23 +00:00
Michael ade926afc6 Storing the mail header in the item 2019-11-21 15:28:18 +00:00
Philipp Holzer aa7be41728
Fix ACLFormatterTest
- Add nullable to expand() function again
- Add angle bracket support to toString()
2019-11-01 14:13:29 +01:00
Michael 44cc750f79 Some more warnings removed 2019-10-31 07:33:25 +00:00
Michael 422f0cbdbc Solve warning 2019-10-30 09:44:07 +00:00
Michael dc065eed42 Fix several warnings and errors 2019-10-30 06:50:20 +00:00
Philipp Holzer 3eda62bfa6
Check null for acl-fields 2019-10-28 18:16:10 +01:00
Philipp Holzer 3897c74deb
Add docs 2019-10-25 00:10:20 +02:00
Philipp Holzer 07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Philipp Holzer f65f7f11c3
Move expand_acl to ACLFormatter::expand()
- including tests
2019-10-23 00:40:14 +02:00
Hypolite Petovan 1997938ae7 Remove remaining Logger log level in explicit Logger::debug call 2019-10-16 22:39:31 -04:00
Hypolite Petovan 146646c4d4 Replace deprecated calls to defaults() by ?? and ?: in src/ 2019-10-16 08:38:52 -04:00
Michael 83f670e9e5 Test against the thread parent as well 2019-10-07 04:19:12 +00:00
Michael 9c6fd5fc35 Fix communication issues when a contact is able to speak AP, but uses Diaspora 2019-10-06 21:59:23 +00:00
Michael 8238081d87 Replace obsolete functionality in "PortableContact" 2019-10-05 23:30:47 +00:00
Michael a7e518acbd Readded the network parameter 2019-10-04 05:42:54 +00:00
Michael d9a74bd5dd Code transitioning from PortableContacts.php to GServer.php 2019-10-03 23:33:41 +00:00
Michael 21e9e9f3c2 Remove obsolete function to guess the base url of a contact 2019-10-02 15:10:42 +00:00
Michael aba23daeca Get rid of zombie introductions that reappear automatically 2019-09-22 10:51:34 +00:00
Michael cf569425c6 Avoid a notice 2019-09-21 13:00:53 +00:00
Michael c364a77d63 Always use direct DFRN transport on local contacts 2019-09-21 12:39:07 +00:00
Hypolite Petovan 6576f15164 Check the root directory is writable before copying .htaccess in Worker\Cron
- Addresses https://github.com/friendica/friendica/issues/7298#issuecomment-531454632
2019-09-14 06:30:41 -04:00
Michael 39133a1e0e Fix a notice because of invalid return data 2019-09-13 18:59:33 +00:00
Michael 323285216b We have to check for "0" in "rel" as well 2019-09-09 20:39:19 +00:00
Michael f185f6fd3d Pending contacts part 2: Fix contact deletion / added cron job for repairs 2019-09-09 20:03:11 +00:00
Michael 16a0afbbae Fixes the delivery counter for edits 2019-09-04 21:06:25 +00:00
Michael 52d8b618f0 Type hints 2019-09-03 03:59:46 +00:00
Michael db16f1a106 Increment the "failed" value on failed relay delivery 2019-09-02 03:37:45 +00:00
Michael 6af4c90dff Fix delivery counter / archive relay contacts 2019-09-02 03:25:05 +00:00
Michael Vogel 9b7432781b Don't transmit content to already archived contacts 2019-08-27 21:01:11 +02:00
Michael 7d50a086e0 Issue 7559: Merge contact duplicates 2019-08-26 15:51:56 +00:00
Michael 5a1a5a54dc Delivery count now counts the failed delivery attempts as well 2019-08-20 07:39:13 +00:00
Hypolite Petovan 0579252362 Add user meta-groups for followers and mutual contacts
- Both Group::expand and Item::enumeratePermissions now have a user id parameter to expand meta-groups
2019-07-29 20:31:46 -04:00