Commit graph

27961 commits

Author SHA1 Message Date
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Hypolite Petovan
71820db023
Merge pull request #8919 from annando/notice-info
Useless info messages removed
2020-07-23 06:31:14 -04:00
Michael
cb830c9ad3 Translation function added 2020-07-23 06:32:31 +00:00
Michael
0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
Michael
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Michael
ca9f8e7420 New function "Item::storeForUserByUriId" 2020-07-23 03:26:54 +00:00
Michael Vogel
0a6bb20bc2
Merge pull request #8917 from MrPetovan/task/8914-replace-jquery-textcomplete
Replace jquery-textcomplete with yuku/old-textcomplete
2020-07-23 05:16:40 +02:00
Hypolite Petovan
08384ecf59 Remove obsolete view/js/jquery-textcomplete folder 2020-07-22 10:48:30 -04:00
Hypolite Petovan
f4afd56fa5 Replace jquery-textcomplete with yuku/old-textcomplete
- Add a jQuery wrapper to minimize code changes
- Improve local autocomplete jQuery plugin to allow chaining
2020-07-22 10:48:02 -04:00
Hypolite Petovan
0bfe5966ae [Composer] Update Composer lock file 2020-07-22 10:43:05 -04:00
Hypolite Petovan
8572cec0cb [Composer] Add new dependency npm-asset/textcomplete 2020-07-22 10:42:53 -04:00
Hypolite Petovan
0b423b73ac
Merge pull request #8915 from annando/store-on-comment
Store personal copy of public item upon commenting
2020-07-22 10:33:47 -04:00
Michael
abdcf7ca88 Fix "!=" 2020-07-22 05:34:56 +00:00
Michael
da349a1814 Store copy on activities 2020-07-22 05:16:57 +00:00
Hypolite Petovan
ec3ec3b78a Replace remaining occurrences of Network::curl 2020-07-21 21:39:59 -04:00
Michael
d0ef6f2b08 Store personal copy of public item upon commenting 2020-07-21 23:26:01 +00:00
Hypolite Petovan
f6428cf2bc
Merge pull request #8913 from annando/notice
Fix notice "Undefined index: parent-uri"
2020-07-21 16:14:44 -04:00
Michael
5545bafdee Fix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on line 556" 2020-07-21 19:55:24 +00:00
Michael
990c70807d Fix notice "Undefined index: parent-uri" 2020-07-21 19:43:07 +00:00
Michael Vogel
41141965fc
Merge pull request #8904 from MrPetovan/task/ap-conversion-admin-module
Add new admin debug module for ActivityPub
2020-07-21 21:32:06 +02:00
Michael Vogel
660cab9427
Merge pull request #8903 from MrPetovan/task/8676-ap-multiple-link-image
ActivityPub: Add support for multiple Link as urls of Images attachments
2020-07-21 21:29:32 +02:00
Hypolite Petovan
a98957eeb2
Merge pull request #8912 from annando/subscribed-tags
Posts with subscribed tags will now be stored for the user
2020-07-21 15:10:40 -04:00
Michael
1d9ef1a3d8 Corrected variable in condition 2020-07-21 18:53:01 +00:00
Michael
e2826a98d3 Added logging 2020-07-21 18:30:45 +00:00
Michael
186bc46721 Don't load tag postings on the network page anymore 2020-07-21 14:13:19 +00:00
Michael
ab8eef24c5 Posts with subscribed tags will now be stored for the user 2020-07-21 08:35:57 +00:00
nupplaPhil
1998b7811b Fix fatal execution path for found Network::get() parameter execption 2020-07-21 03:19:05 -04:00
nupplaPhil
c51128ad20 Fix tests 2020-07-21 03:19:05 -04:00
nupplaPhil
1124090dbc Cleanup dependencies 2020-07-21 03:19:04 -04:00
nupplaPhil
0a421064a5 Introduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementations) 2020-07-21 03:17:05 -04: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
e5649d6dbf Move "HTTPRequest::finalUrl" dynamic 2020-07-21 03:10:10 -04:00
nupplaPhil
60e18736b0 Move "Network::finalUrl" to "HTTPRequest" class 2020-07-21 03:09:40 -04:00
nupplaPhil
57587efe58 Move "getUserAgent()" to "HTTPRequest" class 2020-07-21 03:04:58 -04:00
nupplaPhil
cebdcb6599 Fixing post() 2020-07-21 03:04:58 -04:00
nupplaPhil
1aa07f87a4 Make "HTTPRequest::fetchUrl" dynamic 2020-07-21 03:04:58 -04:00
nupplaPhil
3b4cf87c95 Make "HTTPRequest::fetchUrlFull" dynamic 2020-07-21 03:02:52 -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
9d00e4f1bc Introduce HTPPRequest DI call and constructor 2020-07-21 02:56:10 -04:00
nupplaPhil
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Hypolite Petovan
2889d59b83
Merge pull request #8905 from annando/remove-output
Remove debug output
2020-07-20 07:48:04 -04:00
Michael
39ffb3e745 Remove debug output 2020-07-20 08:02:34 +00:00
Hypolite Petovan
0a71495fa4 Add new admin debug module for ActivityPub 2020-07-20 00:39:17 -04:00
Hypolite Petovan
c26cc5b75e Expand scope of prepareObjectData in ActivityPub\Receiver 2020-07-20 00:38:45 -04:00
Hypolite Petovan
259a62f9dd Separate concerns between postItem and createItem in ActivityPub\Processor
- postItem now only posts items created with createItem without altering it
- createItem  now only creates an item array from an activity without posting it
- postItem scope is now public
2020-07-20 00:37:43 -04:00
Hypolite Petovan
3894976a2d Add support for image preview in attachments in ActivityPub\Processor
- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955
2020-07-20 00:28:11 -04:00
Hypolite Petovan
05bd0d0b67 Add support for multiple Link as urls of Images in ActivityPub\Receiver
- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955
2020-07-20 00:28:11 -04:00
Hypolite Petovan
664b7c5df2
Merge pull request #8902 from annando/fix-notice
Fix wrong variable
2020-07-19 17:18:53 -04:00