Commit graph

366 commits

Author SHA1 Message Date
66f5e7c0f8 Don't store URL with hashtags / OStatus-Diaspora-Improvements 2020-04-19 07:24:36 +00:00
3ce9386cb1 Improved body scanning, increased length 2020-04-18 10:05:30 +00:00
db657b0149 We now store the tags in two separate tables 2020-04-17 06:35:20 +00:00
126b95d873 Added documentation header 2020-04-15 20:59:45 +00:00
472518f0b5 Use the name as name 2020-04-15 20:45:04 +00:00
a4fd5033dd Function had been moved 2020-04-15 19:42:02 +00:00
2e0501e7c5 New model class for tag 2020-04-15 16:37:09 +00:00
cb593226bf Spaces and newlines 2020-04-15 11:39:00 +00:00
f52614e249 Merge remote-tracking branch 'upstream/develop' into term2tag 2020-04-15 11:31:52 +00:00
fe48b078e4 The old fields don't exist anymore 2020-04-15 05:51:06 +00:00
6fa43ffa71 Store tags for Diaspora - shorten tags when needed 2020-04-14 07:56:53 +00:00
67a67200a7 Storing mentions in Diaspora and AP 2020-04-13 23:54:28 +00:00
661dd43b0d Term constants updated 2020-04-13 19:24:22 +00:00
52e6f97b61 Removed wrong comment 2020-03-25 18:27:35 +00:00
1e9d793d74 Socialhome added 2020-03-25 17:25:23 +00:00
6249b674dc Issue 7892: Improve "plink" generation for Diaspora posts 2020-03-25 16:42:53 +00:00
d6ed0068e6
Merge pull request #8388 from annando/fetch
Additional logging and additional path for fetching posts
2020-03-09 07:20:13 +01:00
Michael Vogel
a0b00aee30 Additional logging and additional path for fetching posts 2020-03-09 06:50:01 +01:00
6ae5f705b6 Rename Item::delete* methods to Item::markForDeletion* 2020-03-03 01:48:29 -05:00
72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
0f85f5d167 Convert outgoing profile description to Markdown in Protocol\Diaspora 2020-02-24 07:59:53 -05:00
bfea5d42ad Simplify about field conversion to plaintext in Protocol\Diaspora 2020-02-23 20:35:36 -05:00
ee6cceba30 Clarify the effect of "net-publish" 2020-02-16 15:39:44 +00:00
3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18: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
dcbd44ab88 Removed the rest of the @brief fields 2020-01-19 20:44:01 +00:00
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01: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
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
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
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
4b2acb74d5 Fix a notice about an undefined "attach" index 2019-12-06 04:34:20 +00:00
4e77321be8 Replaced all preg calls in the calls with the new function 2019-12-05 06:42:10 +00:00
838a233bfc Handling reshares of Friendica posts with titles via Diaspora 2019-12-05 05:11:14 +00:00
20dc285f9d
Merge pull request #7858 from annando/diaspora-date
Don't use the creation date when transmitting to Diaspora
2019-11-22 15:36:27 -05:00
Michael Vogel
f0ffc6df38 Don't use the creation date when transmitting to Diaspora 2019-11-22 21:24:02 +01:00
d3e12c58e2 Fix some notices/warnings again 2019-11-21 22:40:54 +00:00
7c1f8a0597 Renamed config name 2019-11-19 16:31:22 +00:00
fa876d770e Make the automatic title appending optional 2019-11-19 12:59:21 +00:00
Michael Vogel
287c55722e Show title for posts with attached pages 2019-11-18 19:52:00 +01:00
48ab31f451 Fix a notice 2019-11-06 19:17:40 +00:00
17704d2458 Diaspora: Use the standard function for adding a relationship 2019-11-03 13:35:41 +00:00
44cc750f79 Some more warnings removed 2019-10-31 07:33:25 +00:00
Philipp Holzer
7343ee5108
Move Namespace of ActivityNamespace 2019-10-25 00:41:48 +02:00
Philipp Holzer
dc2858938d
Renamed to ActivityNamespace 2019-10-25 00:32:35 +02:00
Philipp Holzer
3897c74deb
Add docs 2019-10-25 00:10:20 +02:00
Philipp Holzer
2fba7ed477
Rename namespace 2019-10-24 21:40:13 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Philipp Holzer
7716374593
Move mod/receive to src/Module/Diaspora/receive
- Added routes
- Make Diaspora::decode(Raw) more explicit
- Add new User::getByGuid() method
2019-10-20 13:07:16 +02:00
5eeca432fe removed unused "f" parameter 2019-09-29 18:59:03 +00:00
888f7ffd1c Use correct data key to compare authors before appending mention in Protocol\Diaspora 2019-09-15 07:05:47 -04:00
69752fd945 Prevent prepending implicit mention if replied to item is ours in Protocol\Diaspora 2019-09-14 17:42:02 -04:00
33006d8455 Merge remote-tracking branch 'upstream/2019.09-rc' into performance 2019-09-03 15:02:16 +00:00
52d8b618f0 Type hints 2019-09-03 03:59:46 +00:00
Michael Vogel
046b5a1eac Fix performance issues due to relay contact requests 2019-09-02 15:11:07 +02:00
6af4c90dff Fix delivery counter / archive relay contacts 2019-09-02 03:25:05 +00:00
Michael Vogel
ef02a1cb7b Check fpr duplicated contacts upon inserting them 2019-08-29 06:07:07 +02:00
Michael Vogel
9b7432781b Don't transmit content to already archived contacts 2019-08-27 21:01:11 +02:00
f5cb6148cf Improved documentation 2019-07-27 21:45:36 +00:00
264936100f New functions to check if a contact supports that protocol 2019-07-27 11:09:12 +00:00
105378f5a4 Changed regexp 2019-07-22 06:03:18 +00:00
53ffe5a2e1 Fetch Diaspora posts by url 2019-07-21 07:37:50 +00:00
9ba3ee13a8 Use an insert to avoid duplicates and for analyzing 2019-07-14 10:22:19 +00:00
5bba0e7d39 Hopefully avoiding duplicated relay entries 2019-07-13 23:53:15 +00:00
8cbdc7939e Fetch more comtact data from probing, remove duplicated contacts 2019-07-12 14:55:23 +00:00
ef5be9668f New fields in contact table / don't update on probe 2019-07-04 04:08:55 +00:00
75894fa275 Use item created date if edited doesn't exist in Protocol\Diaspora::buildStatus
- Addresses https://github.com/friendica/friendica/issues/6918#issuecomment-502347886
2019-06-15 17:11:01 -04:00
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
44a49a8d7d Ensure that pokes are always send only via DFRN 2019-06-06 04:26:02 +00:00
ecf809c7ae The delivery counter now counts only successful deliveries 2019-06-01 06:54:47 +00:00
19e95ebdda Fix edited messages for Diaspora 2019-05-30 18:56:31 +00:00
824d35774b Fix "Undefined index: protocol" 2019-05-29 04:30:01 +00:00
32b1f75ece AP: We now transmit "add tag" activity / On Diaspora this is now supressed 2019-05-25 19:33:58 +00:00
55557a8f18 Contacts with protocol = AP are now delivered only via AP 2019-05-11 05:58:22 +00:00
b8a23369b6 Mail storing is now centralized 2019-05-08 05:44:22 +00:00
41f781c52a Replace System::httpExit() by HTTPException throwing 2019-05-02 11:37:09 -04:00
46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
01bb05b502 Avoid repeated transmitting of profile updates 2019-04-05 04:42:04 +00:00
e3caf0f4f5 Use deferred workers instead of the queue mechanism 2019-04-04 20:51:12 +00:00
455616b52c Add "announce" activity for incoming Diaspora reshares 2019-04-01 22:07:23 +00:00
704cb052ca Add server block provision to Diaspora::postAllow 2019-03-08 22:40:08 -05:00
fc47a07801 Fix Diaspora outgoing implicit mention
- Use name instead of nick for implicit mention
- Rename $parent to $toplevel_item in Diaspora::constructComment
- Use thread parent to retrieve the expected mention instead of the top level item
2019-02-23 17:32:12 -05:00
8c1db51a76 Improve Logger calls
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
199fac3397 Prepend implicit author mentions in outgoing Diaspora comments
- Add Diaspora::prependParentAuthorMention method
2019-02-08 23:10:36 -05:00
64847e7cc8 Fix types in doc blocks/prototypes 2019-01-23 09:06:58 -05:00
722284ca8e Fix unused $kw variable in Protocol\Diaspora 2019-01-21 11:12:51 -05:00
3d839bb176 Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00