32e98327a1
Fix warning
2020-11-19 21:27:08 +00:00
d7fa58d81c
Ensure to never delete the "0" user
2020-11-18 05:24:04 +00:00
a69c98e32f
Merge pull request #9535 from annando/ap-relay
...
Relay code reworked to support AP delivery
2020-11-15 20:27:08 -05:00
0384bf3e76
Relay code reworked to support AP delivery
2020-11-15 23:28:05 +00:00
ff66633a44
Remove references to item.parent-uri in Worker\OnePoll
2020-11-14 10:08:51 -05:00
0f2a5daf09
Replace confusing uses of item.parent-uri with expected item.thr-parent
2020-11-14 10:08:50 -05:00
0c3a5c815e
Remove obsolete references to item.parent-uri
2020-11-14 10:08:50 -05:00
5956de645d
Improve expiry query
2020-10-30 20:26:16 +00:00
d9452588bd
Avoid deleting newly create item-uri entries
2020-10-25 07:41:01 +00:00
592ac53ffc
Worker priority / no shadow worker
2020-10-24 08:05:03 +00:00
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
2020-10-18 20:56:31 +02:00
009bf0d3ec
Merge remote-tracking branch 'upstream/develop' into dbclean-limit
2020-10-17 14:10:02 +00:00
7efd01880c
Define a maintenance window
2020-10-17 12:39:42 +00:00
5a685427ac
Post expiry: Limit for deletions
2020-10-17 08:16:17 +00:00
e8679a3a13
Fix DB Error "Column 'uri' in where clause is ambiguous"
2020-10-17 07:48:18 +00:00
2db7a4971c
Count removed, added logging for iten uri
2020-10-15 09:42:18 +00:00
53a9c65daa
Only set values if the uri isn't empty
2020-10-15 07:40:24 +00:00
9704a9bf25
Move the repair functionality to the daily cron
2020-10-15 07:34:21 +00:00
84b6c18b94
Replace "dbclean" with new expiry functionality
2020-10-15 06:02:17 +00:00
d504789c34
Reduce the amount of contact updates
2020-10-03 10:52:34 +00:00
d94e653030
Issue 9344: Update trending tags hourly
2020-10-03 06:10:39 +00:00
666c55f93a
Fix notive "Undefined index: author-network"
2020-09-29 20:12:19 +00:00
7a50ec4815
Only update public contacts that are in use
2020-09-27 11:55:31 +00:00
f30d1a6d70
Merge pull request #9278 from annando/issue-9276
...
Issue 9276: Cache the trending hashtags in the background
2020-09-26 08:24:54 -04:00
91ccdac652
Remove unneeded addon reload
2020-09-26 09:53:44 +00:00
f7cf8fe3d0
Issue 9276: Cache the trending hashtags in the background
2020-09-26 09:42:12 +00:00
c06e077c27
Ensure that the uri-id is always set
2020-09-23 18:55:16 +00:00
befc8c86ab
Merge pull request #9261 from annando/relay-distribution
...
Delayed relay distribution
2020-09-23 11:43:52 -04:00
8805348abc
Removed parameter
2020-09-23 15:20:16 +00:00
Michael Vogel
380828d78c
Delayed relay distribution
2020-09-22 22:14:37 +02:00
93cd85595c
Added foreign key
2020-09-22 07:19:44 +00:00
fb131027fa
Ensure author-link key has a value in Worker\Notifier
...
- Address https://github.com/friendica/friendica/issues/8875#issuecomment-691942457
2020-09-17 22:47:37 -04:00
64c6224968
Issue 8958: Ensure to have no foreign key violation
2020-09-17 19:10:45 +00:00
178455928a
We can now manage relay servers and can send content to them
2020-09-15 17:45:19 +00:00
31c55a6fa4
Rename class for PSR-0
2020-09-11 19:24:40 +02:00
1c5801ca8e
Renamed classes
2020-09-01 13:40:37 +00:00
3aa6d516bf
Changed priority
2020-09-01 12:55:46 +00:00
41e07a9ae2
Code cleanup
2020-09-01 08:32:53 +00:00
b1a9666e43
Splitting workerqueue cleanup
2020-09-01 08:30:12 +00:00
34cce68dc6
Replaced deprecated logger calls
2020-09-01 08:11:42 +00:00
4bb70d7593
Split cron tasks in several worker tasks
2020-09-01 08:09:16 +00:00
23b7da3664
Removed unused PoCo functionality
2020-08-31 12:40:23 +00:00
cdcdc135e8
Issue 9094: Avoid DFRN announces
2020-08-31 02:46:24 +00:00
5daec27cfb
Issue 9094: Prevent announces via DFRN
2020-08-30 10:09:54 +00:00
4316a95984
New database cleanup jobs
2020-08-26 05:33:37 +00:00
88eee2b9c1
Another foreign key added
2020-08-24 21:03:00 +00:00
7990d08ad6
Delete the photo entries when a user or contact is removed
2020-08-21 18:39:18 +00:00
3a1fef43b2
Fix: Feeds and mail accounts hadn't been fetched reliably
2020-08-20 08:37:56 +00:00
17dbffe824
Merge pull request #9032 from annando/local-access
...
Some more local network access are removed
2020-08-19 16:16:56 -04:00
67174f5762
fix reversed "if"
2020-08-19 19:41:22 +00:00
66bfb9e76f
Cache clearing rearrangements
2020-08-19 18:16:48 +00:00
52a933c4c9
Different check for being local
2020-08-19 12:47:14 +00:00
3d1829ede5
Don't poll locally / user self data
2020-08-19 05:18:19 +00:00
Michael Vogel
b5cca1ab93
Some small performance tweaks (indexes)
2020-08-18 12:50:18 +02:00
af47a9f36c
Fix parameter order
2020-08-17 08:55:20 +00:00
224ef91715
Simplify code
2020-08-17 07:44:59 +00:00
7370a075f8
New rating scale
2020-08-17 06:47:29 +00:00
df75a24dc7
Use config value to trigger automated rating
2020-08-16 21:38:26 +00:00
b136c5f32b
Split the CXronjobs class into separate classes
2020-08-16 08:39:04 +00:00
1f9b365f3b
Issue 9015: Reducing load of remote systems
2020-08-15 20:05:08 +00:00
25ea15de64
Prevent sending forum posts via AP
2020-08-10 19:44:37 +00:00
bf7128b4b2
AP Improvements for forums
2020-08-09 18:42:25 +00:00
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
2cbc935944
Renamed function
2020-08-06 10:31:05 +00:00
d4f7bfa676
New "fcontact" model class
2020-08-06 10:27:06 +00:00
d153db44ac
Periodically run an "optimize table" command for cache tables
2020-08-04 12:24:24 +00:00
afa9adda6e
Fiy fatal error
2020-08-04 03:18:34 +00:00
a74c547af4
Move ContactRelation class to Contact\Relation
...
- Update references in GContact
2020-08-03 13:38:26 -04:00
Michael Vogel
22db644295
Update src/Worker/UpdateServerDirectory.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-08-03 18:58:12 +02:00
cdf8a2f374
Fix Notice: " Undefined index: urls in /src/Worker/UpdateServerDirectory.php on line 64"
2020-08-03 16:03:51 +00:00
ff7b72cca3
Renamed function
2020-08-02 13:37:43 +00:00
d53f46b958
Removed temporary code
2020-08-02 01:38:10 +00:00
0c73531da1
Poco and gcontact (mostly) removed
2020-08-01 16:15:18 +00:00
bb70258d48
Discovery of peers of other servers
2020-08-01 05:55:27 +00:00
05bc59e445
Direytory sync: Update contact when it already exists
2020-07-31 14:30:33 +00:00
d9a9876ddd
Synchronize contacts with the directory server
2020-07-31 09:08:51 +00:00
4fbec33af0
Asynchronous contact relation check
2020-07-29 15:39:45 +00:00
18617f6c48
Fetch followers/followings of contacts
2020-07-26 07:34:33 +00:00
nupplaPhil
657d08f09f
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
2020-07-21 03:15:53 -04:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
1aa07f87a4
Make "HTTPRequest::fetchUrl" dynamic
2020-07-21 03:04:58 -04:00
nupplaPhil
8793096c16
Make "HTTPRequest::post" dynamic
2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
a1bbe36dd0
Fix wrong variable
2020-07-19 16:45:21 +00:00
31d2a74b0b
Merge pull request #8901 from annando/failed
...
New field in gserver, gcontact and contact for failed connections
2020-07-19 12:21:54 -04:00
1e6b5e8287
Another placed replaced with "failed"
2020-07-19 11:55:42 +00:00
5bf813d0ec
Use "failed" field
2020-07-19 11:42:23 +00:00
Michael Vogel
86bdb2d5b9
Add some logging to SpoolPost.php
2020-07-19 03:34:19 +02:00
b50f91b3e1
Merge remote-tracking branch 'upstream/develop' into failed
2020-07-19 01:18:35 +00:00
1532f0d529
New field "failed" for gserver, gcontact and contact
2020-07-19 01:15:57 +00:00
Michael Vogel
9f1d1db1ee
Database performance updates
2020-07-18 17:49:10 +02:00
70699878ee
Replaced more calls of "Probe::uri" with "Contact::getByURL"
2020-07-16 19:22:38 +00:00
d6bf7f2cda
Replace "Probe::uri" with "Contact::getByURL"
2020-07-16 10:22:14 +00:00
a13e004df0
Delete include/items.php
...
- Remove all references
2020-07-14 10:21:31 -04:00
a1d62734fa
Remove consume_feed in favor of Protocol\Feed::consume
2020-07-14 10:14:05 -04:00
9c6fbc6a74
Update references to the friendica/friendica stable branch
2020-06-30 15:25:16 -04:00
64dc3519a4
Fix notice "Undefined index: author-network"
2020-06-27 15:10:06 +00:00
de19f94aca
Prevent delivering AP comments to Diaspora
2020-06-27 12:18:36 +00:00
e3d20b4366
Move subscribe_to_hub function to Worker/OnePoll from include/items
...
- It was its only usage
2020-06-17 13:24:44 -04:00
a5a7855d39
Remove dependency to App in Contact::createFromProbe
...
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
46e2423af9
Fix wrong variable names
2020-05-30 17:06:59 +00:00
2eb371dcaf
Fix foreign key constraint with "post-tag" table
2020-05-30 16:36:09 +00:00
ba9cf32f36
The "item-activity" is removed
2020-05-26 05:18:50 +00:00
a77c0194dc
Issue 8663: Prevent abusive behaviour when probing servers
2020-05-20 06:57:46 +00:00
7a82171bfe
The "term" table is removed
2020-05-15 06:50:20 +00:00
cd82c527f5
Removed useless error handling
2020-05-12 09:05:37 +00:00
ae2288bc7d
Fix "Uncaught TypeError: Argument 1 passed to :incrementQueueDone()"
2020-05-11 18:28:41 +00:00
22be2cce8a
Issue 8586: Reduce the amount of item receivers
2020-05-06 15:20:49 +00:00
3d4ace7a9d
Merge branch 'no-term3' into no-term2
2020-05-05 16:09:50 +00:00
2ee14bf5fe
Merge remote-tracking branch 'upstream/develop' into post-delivery-data
2020-05-05 14:08:29 +00:00
b7e25d16e7
Removed usage of "tag" field
2020-05-05 05:11:59 +00:00
098ba4a667
"item-delivery-data" is now "post-delivery-data"
2020-05-02 19:34:02 +00:00
2a1cdfa36b
Diaspora participations are now atored as activities
2020-05-02 08:52:11 +00:00
f75009c20c
Some more forgotten DBA::close
2020-04-28 07:10:18 +00:00
4181eb37f5
More joins replaced by view calls
2020-04-24 11:55:46 +00:00
661dd43b0d
Term constants updated
2020-04-13 19:24:22 +00:00
552fd98657
The "sign" table had been removed
2020-04-13 16:27:40 +00:00
860d4654c1
Issue 8495: Only use "noreply" when no sender mail is defined
2020-04-04 20:26:09 +00:00
4aa89368ad
Prevent putting much stress on remote systems
2020-03-30 06:22:32 +00:00
b68a16e07a
"repair diaspora" fixed some problem long time ago. It is not needed anymore
2020-03-22 13:12:48 +00:00
737b04d7e2
Merge pull request #8401 from annando/gfollower-epilogue
...
Reduce the load of "gfollower"
2020-03-10 18:52:31 -04:00
f27900ad78
Reduce the load of "gfollower"
2020-03-10 21:10:59 +00:00
b10e334c53
Polling Mails is now done with a higher priority
2020-03-10 09:44:26 +00:00
03e8609e4e
Performance changes to the gcontact discovery
2020-03-08 19:48:26 +00:00
d6905e29cf
Query the same contact only once a month
2020-03-07 05:31:03 +00:00
a6e7b5f295
GContact discovery added
2020-03-05 22:03:24 +00:00
f047944b2d
Switch all item deletion logging to info level
2020-03-04 15:59:19 -05:00
86a6268aac
Add guid context to item deletion logging
2020-03-03 12:01:03 -05:00
6ae5f705b6
Rename Item::delete* methods to Item::markForDeletion*
2020-03-03 01:48:29 -05:00
dd613cda45
Merge pull request #8357 from annando/private
...
Support unlisted public posts
2020-03-03 01:19:07 -05:00
25dceccf77
Add debug for item deletion
2020-03-02 09:30:34 -05:00
ca1b92bb34
Support unlisted public posts
2020-03-02 07:57:23 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
4f362f6693
Asynchronously add contacts to avoid timeout problems
2020-02-06 00:00:00 +00:00
nupplaPhil
f21196df7c
improvements
2020-02-01 00:27:46 +01:00
nupplaPhil
34f4aedb87
Move mod/fsuggest to src/Module/SuggestFriends
2020-01-31 23:50:46 +01:00
18cfd8dfaa
Remove references to deprecated profile.is-default and profile.profile-name fields
2020-01-22 19:42:37 -05:00
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
...
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection)
2020-01-19 21:26:42 +01:00
3411ced833
Move Config::set() to DI::config()->set()
2020-01-19 21:21:53 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
ab8997f9db
Merge pull request #8140 from annando/mail-probe
...
Don't update mail contacts when polling
2020-01-19 15:05:00 -05:00
3bd99bccba
Don't update mail contacts when polling
2020-01-19 19:27:30 +00:00
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +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
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
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +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
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
28c54242a5
The value has to be assigned, not compared :-)
2020-01-11 18:28:04 +00:00
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
0225e99d0a
Ensure that deleted contacts are really removed
2020-01-11 17:22:37 +00: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
016cfcd846
Fixings
...
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +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
182f390520
Move Cache::clear() to DI::cache()->clear()
2020-01-07 00:36:07 +01:00
48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-05 00:04:55 +01:00
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
73b82d1455
Don't add contacts when not needed
2020-01-01 17:54:36 +00:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +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
c975d0f799
Added documentation
2019-12-21 20:18:44 +00:00
537da657cc
Renamed functions
2019-12-21 18:57:00 +00:00
33cb241ed3
Renamed function
2019-12-21 18:24:43 +00:00
26ac9a0063
"CheckServer" is now "UpdateGServer"
2019-12-21 18:11:51 +00:00
fab85255b6
Relocated functions
2019-12-21 06:39:22 +00:00
4024d725db
Fixed logger call
2019-12-21 04:23:26 +00:00
01205f7d41
Merge remote-tracking branch 'upstream/2019.12-rc' into poco-cleanup
2019-12-20 22:25:32 +00:00
c9c408d5e5
Fix notice because of a missing subject
2019-12-20 21:47:10 +00:00
b4f690839a
"CheckServer" added
2019-12-20 21:46:30 +00:00
ef9bdfdff2
Fix some errors
2019-12-20 21:27:49 +00:00
3c4f44a4ab
"FetchPoCo" added
2019-12-20 21:21:25 +00:00
e5546dd40a
"UpdateServers" added
2019-12-20 21:12:44 +00:00
5fee84f2e2
Added "DiscoverContacts"
2019-12-20 21:04:38 +00:00
bf852cc096
"UpdateSuggestions" added
2019-12-20 20:49:09 +00:00
a1ad549e0b
Added UpdateServerDirectory
2019-12-20 20:37:21 +00:00
37f0519514
'SearchDirectory' created (moved out of 'DiscoverPoco' mess)
2019-12-20 20:30:13 +00:00
88a39ea999
"gprobe" removed
2019-12-20 06:47:18 +00:00
Michael Vogel
eb4cfa65d8
Fixed warning
2019-12-14 06:42:40 +01:00
49767e0555
Issue 7418: connections to forums should now work again
2019-12-09 21:19:20 +00:00
b8f81d5e7d
Relocate check for announce
2019-12-08 22:04:32 +00:00
fb64010d7a
Missing "use"
2019-12-08 21:40:06 +00:00
aa047278cc
Reversed annouce check to have priority for AP
2019-12-08 09:01:06 +00:00
7ccbe3ee29
Transmit reshares and announce natively via Diaspora and AP whenever possible
2019-12-08 08:59:21 +00:00
41f8796ffc
Delivery of reshares
2019-12-06 06:39:50 +00:00
22b89df348
Removed test logging
2019-11-27 22:00:43 +00:00