friendica.git/.git
3 years agoMove "View As" form at the bottom of the profile page
Hypolite Petovan [Tue, 28 Jul 2020 15:40:14 +0000 (11:40 -0400)]
Move "View As" form at the bottom of the profile page

3 years agoMerge pull request #8931 from MrPetovan/task/2020-performance-improvements
Michael Vogel [Tue, 28 Jul 2020 05:15:02 +0000 (07:15 +0200)]
Merge pull request #8931 from MrPetovan/task/2020-performance-improvements

Various performance improvements

3 years agoMerge pull request #8936 from annando/ap-probing
Hypolite Petovan [Mon, 27 Jul 2020 20:24:11 +0000 (16:24 -0400)]
Merge pull request #8936 from annando/ap-probing

Selective probing for AP

3 years agoMerge pull request #8930 from MrPetovan/task/4090-move-lockview-to-src
Michael Vogel [Mon, 27 Jul 2020 20:06:55 +0000 (22:06 +0200)]
Merge pull request #8930 from MrPetovan/task/4090-move-lockview-to-src

Move mod/lockview to Module\PermissionTooltip

3 years agoRemove unnecessary parent call in PermissionTooltip::rawContent
Hypolite Petovan [Mon, 27 Jul 2020 19:54:36 +0000 (15:54 -0400)]
Remove unnecessary parent call in PermissionTooltip::rawContent

3 years agoAdding OStatus as well
Michael [Mon, 27 Jul 2020 19:45:35 +0000 (19:45 +0000)]
Adding OStatus as well

3 years agoSelective probing for AP
Michael [Mon, 27 Jul 2020 19:36:11 +0000 (19:36 +0000)]
Selective probing for AP

3 years agoReduce number of calls to Hook::delete when uninstalling addons/themes
Hypolite Petovan [Mon, 27 Jul 2020 12:24:55 +0000 (08:24 -0400)]
Reduce number of calls to Hook::delete when uninstalling addons/themes

- Add a sweeping Hook deletion on theme uninstall (like for addons)

3 years agoMerge pull request #8934 from annando/fix-fatal
Hypolite Petovan [Mon, 27 Jul 2020 12:11:47 +0000 (08:11 -0400)]
Merge pull request #8934 from annando/fix-fatal

Fix fatal error because of unknown function "fetchUrl"

3 years agoMerge pull request #8933 from annando/Ensure-that-cached-avatar-fields-are-set
Hypolite Petovan [Mon, 27 Jul 2020 12:11:09 +0000 (08:11 -0400)]
Merge pull request #8933 from annando/Ensure-that-cached-avatar-fields-are-set

Ensure that cached avatar fields are set

3 years agoFix fatal error because of unknown function "fetchUrl"
Michael [Mon, 27 Jul 2020 11:50:36 +0000 (11:50 +0000)]
Fix fatal error because of unknown function "fetchUrl"

3 years agoChanged function name
Michael [Mon, 27 Jul 2020 10:22:02 +0000 (10:22 +0000)]
Changed function name

3 years agoEnsure that cached avatar fields are set
Michael [Mon, 27 Jul 2020 10:11:12 +0000 (10:11 +0000)]
Ensure that cached avatar fields are set

3 years agoRemove expected third parameter value to saveTimestamp() in Util\ProfilerLogger test
Hypolite Petovan [Mon, 27 Jul 2020 08:20:46 +0000 (04:20 -0400)]
Remove expected third parameter value to saveTimestamp() in Util\ProfilerLogger test

3 years agoUpdate App\Router-related tests after constructor signature change
Hypolite Petovan [Mon, 27 Jul 2020 05:58:12 +0000 (01:58 -0400)]
Update App\Router-related tests after constructor signature change

3 years agoAdd dispatch data caching in App\Router
Hypolite Petovan [Mon, 27 Jul 2020 05:57:44 +0000 (01:57 -0400)]
Add dispatch data caching in App\Router

- Add new cache key "routerDispatchData"
- Update Dice dependencies since Router constructor signature changed

3 years agoRefactor Hook and Addon to systematically use Hook::delete
Hypolite Petovan [Mon, 27 Jul 2020 05:33:24 +0000 (01:33 -0400)]
Refactor Hook and Addon to systematically use Hook::delete

3 years agoGenerate callstack value from inside Profiler::saveTimestamp
Hypolite Petovan [Mon, 27 Jul 2020 04:22:07 +0000 (00:22 -0400)]
Generate callstack value from inside Profiler::saveTimestamp

- Save a massive amount of time computing callstacks when profiling is disabled

3 years agoAdd offset parameter to System::callstack
Hypolite Petovan [Mon, 27 Jul 2020 04:20:30 +0000 (00:20 -0400)]
Add offset parameter to System::callstack

- Enable its use in centralized methods without polluting the stack

3 years agoRemove obsolete mod/lockview.php file
Hypolite Petovan [Mon, 27 Jul 2020 06:01:42 +0000 (02:01 -0400)]
Remove obsolete mod/lockview.php file

3 years agoMove mod/lockview to Module\PermissionTooltip
Hypolite Petovan [Sun, 26 Jul 2020 22:35:02 +0000 (18:35 -0400)]
Move mod/lockview to Module\PermissionTooltip

- Add explicit type parameter to lockview() in main.js

3 years agoMerge pull request #8927 from annando/discover-followers
Hypolite Petovan [Sun, 26 Jul 2020 22:35:58 +0000 (18:35 -0400)]
Merge pull request #8927 from annando/discover-followers

Fetch followers/followings of contacts

3 years agoUpdate src/Model/ContactRelation.php
Michael Vogel [Sun, 26 Jul 2020 21:39:47 +0000 (23:39 +0200)]
Update src/Model/ContactRelation.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoUpdate src/Model/ContactRelation.php
Michael Vogel [Sun, 26 Jul 2020 21:39:30 +0000 (23:39 +0200)]
Update src/Model/ContactRelation.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoFetch followers/followings of contacts
Michael [Sun, 26 Jul 2020 07:34:33 +0000 (07:34 +0000)]
Fetch followers/followings of contacts

3 years agoMerge pull request #8926 from annando/avatar-cache
Hypolite Petovan [Sat, 25 Jul 2020 12:33:31 +0000 (08:33 -0400)]
Merge pull request #8926 from annando/avatar-cache

Store avatar cache fields only when needed

3 years agoStore avatar cache fields only when needed
Michael [Sat, 25 Jul 2020 11:48:52 +0000 (11:48 +0000)]
Store avatar cache fields only when needed

3 years agoMerge pull request #8924 from annando/notice
Hypolite Petovan [Sat, 25 Jul 2020 11:07:43 +0000 (07:07 -0400)]
Merge pull request #8924 from annando/notice

Fix Notice:  "Undefined index: host"

3 years agoFix Notice: "Undefined index: host"
Michael [Sat, 25 Jul 2020 08:07:22 +0000 (08:07 +0000)]
Fix Notice:  "Undefined index: host"

3 years agoMerge pull request #8911 from MrPetovan/task/curl_DI
Michael Vogel [Sat, 25 Jul 2020 07:50:20 +0000 (09:50 +0200)]
Merge pull request #8911 from MrPetovan/task/curl_DI

Introduce "HTTPRequest" class

3 years agoMerge pull request #8919 from annando/notice-info
Hypolite Petovan [Thu, 23 Jul 2020 10:31:14 +0000 (06:31 -0400)]
Merge pull request #8919 from annando/notice-info

Useless info messages removed

3 years agoTranslation function added
Michael [Thu, 23 Jul 2020 06:32:31 +0000 (06:32 +0000)]
Translation function added

3 years agoEOL removed
Michael [Thu, 23 Jul 2020 06:25:01 +0000 (06:25 +0000)]
EOL removed

3 years agoUseless info messages removed
Michael [Thu, 23 Jul 2020 06:11:21 +0000 (06:11 +0000)]
Useless info messages removed

3 years agoMerge pull request #8917 from MrPetovan/task/8914-replace-jquery-textcomplete
Michael Vogel [Thu, 23 Jul 2020 03:16:40 +0000 (05:16 +0200)]
Merge pull request #8917 from MrPetovan/task/8914-replace-jquery-textcomplete

Replace jquery-textcomplete with yuku/old-textcomplete

3 years agoRemove obsolete view/js/jquery-textcomplete folder
Hypolite Petovan [Wed, 22 Jul 2020 14:48:30 +0000 (10:48 -0400)]
Remove obsolete view/js/jquery-textcomplete folder

3 years agoReplace jquery-textcomplete with yuku/old-textcomplete
Hypolite Petovan [Wed, 22 Jul 2020 14:48:02 +0000 (10:48 -0400)]
Replace jquery-textcomplete with yuku/old-textcomplete

- Add a jQuery wrapper to minimize code changes
- Improve local autocomplete jQuery plugin to allow chaining

3 years ago[Composer] Update Composer lock file
Hypolite Petovan [Wed, 22 Jul 2020 14:43:05 +0000 (10:43 -0400)]
[Composer] Update Composer lock file

3 years ago[Composer] Add new dependency npm-asset/textcomplete
Hypolite Petovan [Wed, 22 Jul 2020 14:42:53 +0000 (10:42 -0400)]
[Composer] Add new dependency npm-asset/textcomplete

3 years agoMerge pull request #8915 from annando/store-on-comment
Hypolite Petovan [Wed, 22 Jul 2020 14:33:47 +0000 (10:33 -0400)]
Merge pull request #8915 from annando/store-on-comment

Store personal copy of public item upon commenting

3 years agoFix "!="
Michael [Wed, 22 Jul 2020 05:34:56 +0000 (05:34 +0000)]
Fix "!="

3 years agoStore copy on activities
Michael [Wed, 22 Jul 2020 05:16:57 +0000 (05:16 +0000)]
Store copy on activities

3 years agoReplace remaining occurrences of Network::curl
Hypolite Petovan [Wed, 22 Jul 2020 01:39:59 +0000 (21:39 -0400)]
Replace remaining occurrences of Network::curl

3 years agoStore personal copy of public item upon commenting
Michael [Tue, 21 Jul 2020 23:26:01 +0000 (23:26 +0000)]
Store personal copy of public item upon commenting

3 years agoMerge pull request #8913 from annando/notice
Hypolite Petovan [Tue, 21 Jul 2020 20:14:44 +0000 (16:14 -0400)]
Merge pull request #8913 from annando/notice

Fix notice "Undefined index: parent-uri"

3 years agoFix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on...
Michael [Tue, 21 Jul 2020 19:55:24 +0000 (19:55 +0000)]
Fix notice "Undefined index: gravity in /src/Protocol/ActivityPub/Processor.php on line 556"

3 years agoFix notice "Undefined index: parent-uri"
Michael [Tue, 21 Jul 2020 19:43:07 +0000 (19:43 +0000)]
Fix notice "Undefined index: parent-uri"

3 years agoMerge pull request #8904 from MrPetovan/task/ap-conversion-admin-module
Michael Vogel [Tue, 21 Jul 2020 19:32:06 +0000 (21:32 +0200)]
Merge pull request #8904 from MrPetovan/task/ap-conversion-admin-module

Add new admin debug module for ActivityPub

3 years agoMerge pull request #8903 from MrPetovan/task/8676-ap-multiple-link-image
Michael Vogel [Tue, 21 Jul 2020 19:29:32 +0000 (21:29 +0200)]
Merge pull request #8903 from MrPetovan/task/8676-ap-multiple-link-image

ActivityPub: Add support for multiple Link as urls of Images attachments

3 years agoMerge pull request #8912 from annando/subscribed-tags
Hypolite Petovan [Tue, 21 Jul 2020 19:10:40 +0000 (15:10 -0400)]
Merge pull request #8912 from annando/subscribed-tags

Posts with subscribed tags will now be stored for the user

3 years agoCorrected variable in condition
Michael [Tue, 21 Jul 2020 18:53:01 +0000 (18:53 +0000)]
Corrected variable in condition

3 years agoAdded logging
Michael [Tue, 21 Jul 2020 18:30:45 +0000 (18:30 +0000)]
Added logging

3 years agoDon't load tag postings on the network page anymore
Michael [Tue, 21 Jul 2020 14:13:19 +0000 (14:13 +0000)]
Don't load tag postings on the network page anymore

3 years agoPosts with subscribed tags will now be stored for the user
Michael [Tue, 21 Jul 2020 08:35:57 +0000 (08:35 +0000)]
Posts with subscribed tags will now be stored for the user

3 years agoFix fatal execution path for found Network::get() parameter execption
nupplaPhil [Sat, 7 Mar 2020 12:39:09 +0000 (13:39 +0100)]
Fix fatal execution path for found Network::get() parameter execption

3 years agoFix tests
nupplaPhil [Wed, 4 Mar 2020 22:36:46 +0000 (23:36 +0100)]
Fix tests

3 years agoCleanup dependencies
nupplaPhil [Wed, 4 Mar 2020 22:28:41 +0000 (23:28 +0100)]
Cleanup dependencies

3 years agoIntroduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementat...
nupplaPhil [Wed, 4 Mar 2020 21:56:16 +0000 (22:56 +0100)]
Introduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementations)

3 years agoRename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
nupplaPhil [Wed, 4 Mar 2020 21:35:40 +0000 (22:35 +0100)]
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"

3 years agoRename "HTTPRequest::curl()" to HTTPRequest::get()
nupplaPhil [Wed, 4 Mar 2020 21:35:09 +0000 (22:35 +0100)]
Rename "HTTPRequest::curl()" to HTTPRequest::get()

3 years agoMove "HTTPRequest::finalUrl" dynamic
nupplaPhil [Wed, 4 Mar 2020 21:33:31 +0000 (22:33 +0100)]
Move "HTTPRequest::finalUrl" dynamic

3 years agoMove "Network::finalUrl" to "HTTPRequest" class
nupplaPhil [Wed, 4 Mar 2020 21:30:24 +0000 (22:30 +0100)]
Move "Network::finalUrl" to "HTTPRequest" class

3 years agoMove "getUserAgent()" to "HTTPRequest" class
nupplaPhil [Wed, 4 Mar 2020 21:26:38 +0000 (22:26 +0100)]
Move "getUserAgent()" to "HTTPRequest" class

3 years agoFixing post()
nupplaPhil [Wed, 4 Mar 2020 21:20:50 +0000 (22:20 +0100)]
Fixing post()

3 years agoMake "HTTPRequest::fetchUrl" dynamic
nupplaPhil [Wed, 4 Mar 2020 21:20:28 +0000 (22:20 +0100)]
Make "HTTPRequest::fetchUrl" dynamic

3 years agoMake "HTTPRequest::fetchUrlFull" dynamic
nupplaPhil [Wed, 4 Mar 2020 21:19:59 +0000 (22:19 +0100)]
Make "HTTPRequest::fetchUrlFull" dynamic

3 years agoMake "HTTPRequest::post" dynamic
nupplaPhil [Wed, 4 Mar 2020 21:18:28 +0000 (22:18 +0100)]
Make "HTTPRequest::post" dynamic

3 years agoMake "HTTPRequest::curl" dynamic
nupplaPhil [Wed, 4 Mar 2020 21:15:46 +0000 (22:15 +0100)]
Make "HTTPRequest::curl" dynamic

3 years agoIntroduce HTPPRequest DI call and constructor
nupplaPhil [Wed, 4 Mar 2020 21:11:01 +0000 (22:11 +0100)]
Introduce HTPPRequest DI call and constructor

3 years agoMove post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
nupplaPhil [Wed, 4 Mar 2020 21:07:05 +0000 (22:07 +0100)]
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"

3 years agoMerge pull request #8905 from annando/remove-output
Hypolite Petovan [Mon, 20 Jul 2020 11:48:04 +0000 (07:48 -0400)]
Merge pull request #8905 from annando/remove-output

Remove debug output

3 years agoRemove debug output
Michael [Mon, 20 Jul 2020 08:02:34 +0000 (08:02 +0000)]
Remove debug output

3 years agoAdd new admin debug module for ActivityPub
Hypolite Petovan [Mon, 20 Jul 2020 04:39:17 +0000 (00:39 -0400)]
Add new admin debug module for ActivityPub

3 years agoExpand scope of prepareObjectData in ActivityPub\Receiver
Hypolite Petovan [Mon, 20 Jul 2020 04:38:45 +0000 (00:38 -0400)]
Expand scope of prepareObjectData in ActivityPub\Receiver

3 years agoSeparate concerns between postItem and createItem in ActivityPub\Processor
Hypolite Petovan [Mon, 20 Jul 2020 04:37:43 +0000 (00:37 -0400)]
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

3 years agoAdd support for image preview in attachments in ActivityPub\Processor
Hypolite Petovan [Mon, 20 Jul 2020 04:27:36 +0000 (00:27 -0400)]
Add support for image preview in attachments in ActivityPub\Processor

- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955

3 years agoAdd support for multiple Link as urls of Images in ActivityPub\Receiver
Hypolite Petovan [Mon, 20 Jul 2020 04:26:42 +0000 (00:26 -0400)]
Add support for multiple Link as urls of Images in ActivityPub\Receiver

- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955

3 years agoMerge pull request #8902 from annando/fix-notice
Hypolite Petovan [Sun, 19 Jul 2020 21:18:53 +0000 (17:18 -0400)]
Merge pull request #8902 from annando/fix-notice

Fix wrong variable

3 years agoFix wrong variable
Michael [Sun, 19 Jul 2020 16:45:21 +0000 (16:45 +0000)]
Fix wrong variable

3 years agoMerge pull request #8901 from annando/failed
Hypolite Petovan [Sun, 19 Jul 2020 16:21:54 +0000 (12:21 -0400)]
Merge pull request #8901 from annando/failed

New field in gserver, gcontact and contact for failed connections

3 years agoMerge pull request #8899 from annando/item-fields
Hypolite Petovan [Sun, 19 Jul 2020 16:19:53 +0000 (12:19 -0400)]
Merge pull request #8899 from annando/item-fields

Ensure to only store valid item fields

3 years agoMerge pull request #8897 from annando/block-separator
Hypolite Petovan [Sun, 19 Jul 2020 12:43:13 +0000 (08:43 -0400)]
Merge pull request #8897 from annando/block-separator

Support newline as block contact separator

3 years agoAnother placed replaced with "failed"
Michael [Sun, 19 Jul 2020 11:55:42 +0000 (11:55 +0000)]
Another placed replaced with "failed"

3 years agoUse "failed" field
Michael [Sun, 19 Jul 2020 11:42:23 +0000 (11:42 +0000)]
Use "failed" field

3 years agodatabase.sql updates
Michael [Sun, 19 Jul 2020 10:04:50 +0000 (10:04 +0000)]
database.sql updates

3 years agoPost update added
Michael [Sun, 19 Jul 2020 10:03:33 +0000 (10:03 +0000)]
Post update added

3 years agoMerge pull request #8898 from annando/spool-log
Tobias Diekershoff [Sun, 19 Jul 2020 08:01:06 +0000 (10:01 +0200)]
Merge pull request #8898 from annando/spool-log

Add some logging to SpoolPost.php

3 years agoEnsure to only store valid item fields
Michael Vogel [Sun, 19 Jul 2020 01:40:40 +0000 (03:40 +0200)]
Ensure to only store valid item fields

3 years agoAdd some logging to SpoolPost.php
Michael Vogel [Sun, 19 Jul 2020 01:34:19 +0000 (03:34 +0200)]
Add some logging to SpoolPost.php

3 years agoSupport newline as block contact separator
Michael Vogel [Sun, 19 Jul 2020 01:21:15 +0000 (03:21 +0200)]
Support newline as block contact separator

3 years agoMerge remote-tracking branch 'upstream/develop' into failed
Michael [Sun, 19 Jul 2020 01:18:35 +0000 (01:18 +0000)]
Merge remote-tracking branch 'upstream/develop' into failed

3 years agoNew field "failed" for gserver, gcontact and contact
Michael [Sun, 19 Jul 2020 01:15:57 +0000 (01:15 +0000)]
New field "failed" for gserver, gcontact and contact

3 years agoMerge pull request #8895 from annando/performance
Hypolite Petovan [Sun, 19 Jul 2020 01:05:56 +0000 (21:05 -0400)]
Merge pull request #8895 from annando/performance

Database performance updates

3 years agoAdd some more useful fields for ping hook
Michael Vogel [Sat, 18 Jul 2020 20:48:40 +0000 (22:48 +0200)]
Add some more useful fields for ping hook

3 years agoMerge pull request #8893 from MrPetovan/task/8797-strip-label-shortened-url
Michael Vogel [Sat, 18 Jul 2020 16:06:01 +0000 (18:06 +0200)]
Merge pull request #8893 from MrPetovan/task/8797-strip-label-shortened-url

Add shortened URL link label stripping to PageInfo::stripTrailingUrlFromBody

3 years agoDatabase performance updates
Michael Vogel [Sat, 18 Jul 2020 15:49:10 +0000 (17:49 +0200)]
Database performance updates

3 years agoMerge pull request #8894 from MrPetovan/task/8788-pageinfo-activitypub-processor
Michael Vogel [Sat, 18 Jul 2020 07:52:26 +0000 (09:52 +0200)]
Merge pull request #8894 from MrPetovan/task/8788-pageinfo-activitypub-processor

Use PageInfo::appendDataToBody in ActivityPub\Processor::constructAttachList

3 years agoUse PageInfo::appendDataToBody in ActivityPub\Processor::constructAttachList
Hypolite Petovan [Fri, 17 Jul 2020 23:39:12 +0000 (19:39 -0400)]
Use PageInfo::appendDataToBody in ActivityPub\Processor::constructAttachList

3 years agoAdd intermediate method PageInfo::appendDataToBody
Hypolite Petovan [Fri, 17 Jul 2020 23:38:28 +0000 (19:38 -0400)]
Add intermediate method PageInfo::appendDataToBody

- It handles the already existing attachment in the body case

3 years agoEnsure ParseUrl::getSiteinfo always returns the url and type keys
Hypolite Petovan [Fri, 17 Jul 2020 23:18:27 +0000 (19:18 -0400)]
Ensure ParseUrl::getSiteinfo always returns the url and type keys