Commit Graph

6102 Commits

Author SHA1 Message Date
Michael e6ede539d5 Fix missing introduction notifications 2020-11-25 20:25:16 +00:00
Michael 818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Hypolite Petovan 055192bd19 Fix wrong variable name in ping_init 2020-11-21 23:09:27 -05:00
Hypolite Petovan 4370d0b967 Add missing activity toggle capability to photos 2020-11-21 11:10:04 -05:00
Hypolite Petovan 8b3ab4e6bb Refactor builtin_activity_puller() and format_like()
- Simplify output array
- Rename format_like() to format_activity()
- Remove duplicate parameters in format_activity()
2020-11-21 11:08:44 -05:00
Michael bd0e2dc0a8 Avoid problems with uid=0 2020-11-19 17:19:14 +00:00
Hypolite Petovan bbd3e44bb2 Escape user names in notifications
- The HTML notification message interpolation is unfiltered by the template

# Conflicts:
#	mod/ping.php
2020-11-16 18:20:23 -05:00
Hypolite Petovan c36ca3cffe Fix null value for item.parent column 2020-11-14 10:08:51 -05:00
Hypolite Petovan eebcf1ae86 Separate $parent_item and $toplevel_item in mod/item 2020-11-14 10:08:51 -05:00
Hypolite Petovan 0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
Hypolite Petovan 0c3a5c815e Remove obsolete references to item.parent-uri 2020-11-14 10:08:50 -05:00
Michael 52c88ae414 Fix contact import with Frio 2020-11-10 06:37:27 +00:00
Hypolite Petovan 2055ee872c Group registration requests in a single line for users without detailed_notif 2020-11-09 10:08:14 -05:00
Hypolite Petovan 8357d94800 Set thread notifications as seen in mod/display
- Only for users without detailed notifications
2020-11-09 10:08:14 -05:00
Hypolite Petovan 01b2694aa0 Update the target URL for pending registration notifications 2020-11-08 12:53:12 -05:00
Michael 8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Michael 592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Hypolite Petovan 4c21d6ec2c Add new format parameter to parse_link hook data
- Add new handling of hook result with JSON format
2020-10-23 02:04:07 -04:00
Hypolite Petovan 9e143287d6 Use CurlResult->getHeaderArray instead of custom conversion 2020-10-23 02:03:28 -04:00
Hypolite Petovan 4719af6724
Merge pull request #9440 from annando/one-click-follow
Follow/Unfollow contact with a single click
2020-10-20 11:09:56 -04:00
Michael bffef1e36e The single click does not work with legacy DFRN 2020-10-20 05:47:14 +00:00
Michael c6a23f1272 Move auto-follow/unfollow after the checks 2020-10-20 04:05:04 +00:00
Michael 33575a94fa Follow/Unfollow contact with a single click 2020-10-20 03:49:58 +00:00
Philipp c19f1a83ce
Remove option 'novalidate' flag from HTTPRequest options 2020-10-18 22:23:07 +02:00
Philipp 61da51c2d5
Add HTTPRequest::head() function 2020-10-18 22:15:53 +02:00
Philipp 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
Hypolite Petovan 44ae9add4f Remove obsolete mod/network and mod/update_network files 2020-10-13 07:52:13 -04:00
Philipp 069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp 933ea7c9ce
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Michael 2d4a3f482b Use new function for validity check 2020-10-10 07:14:43 +00:00
Michael 4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Michael a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
Michael 5998c3995e Issue-9358 (now for real) commenting and updating on contact now work 2020-10-06 18:47:23 +00:00
Michael 4debd8bdcb Fix notice "Undefined offset: 1" 2020-10-05 20:34:57 +00:00
Michael 6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Michael b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
Hypolite Petovan 2bfd9851d3
Merge pull request #9314 from annando/suggestions
New function for contact suggestions
2020-10-03 13:32:21 -04:00
Philipp fe653b652a
Move library\OAuth1.php to class structure Friendica\Security\OAuth1 2020-09-30 11:21:58 +02:00
Philipp 8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security 2020-09-30 11:14:01 +02:00
Michael fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
Michael 3a94625470 "o" has to be initialized 2020-09-26 22:52:01 +00:00
Michael 79d5e3f6cb Network page: reworked infinite scrolling 2020-09-26 22:44:34 +00:00
Michael 99fc97f337 Removing the page number from the infinite scrolling 2020-09-26 21:46:22 +00:00
Michael 84a9a5b174 Fixes several notices 2020-09-19 03:16:26 +00:00
Hypolite Petovan dc90984106 Remove obsolete uses of Strings::escapeTags in mod/item 2020-09-13 20:01:55 -04:00
Hypolite Petovan bbefc61a0c Use Arguments->getCommand() where it makes more sense than getQueryString()
- Remove a couple of intermediary query string variables
2020-09-12 09:09:15 -04:00
Hypolite Petovan 043e04f484 Remove confirm template obsolete uses (except for contacts)
- Remove obsolete explode_querystring() function
- Remove $extra_inputs template variable
2020-09-12 09:09:15 -04:00
Hypolite Petovan 4065f71382 Fix qcomment addon
- Initialize $qcomment template variable everywhere it is expected
- Remove addon Javascript from core head template
2020-09-09 16:49:03 -04:00
Michael Vogel 065ab017c7
Merge pull request #9161 from MrPetovan/bug/9140-private-note-self-only
Add a self-only ACL block to personal notes jot
2020-09-08 03:57:11 +02:00
Hypolite Petovan f1e36eac7d Update capitalization of "Permissions" translation string 2020-09-07 21:25:04 -04:00
Hypolite Petovan 5730da264b Add a self-only ACL block to personal notes jot 2020-09-07 19:27:51 -04:00
Hypolite Petovan c4267bbca0 Remove unused jot.tpl template variables 2020-09-07 19:27:23 -04:00
Hypolite Petovan 4a4d0f04cb Fix new private message recipient input
- Add new private message recipient ACL template
- Remove now redundant theme private message templates
2020-09-03 10:01:58 -04:00
Michael 23b7da3664 Removed unused PoCo functionality 2020-08-31 12:40:23 +00:00
Tobias Diekershoff 0e3ca91854 clarification of the options hint for setting the accounts email 2020-08-30 17:56:27 +02:00
Michael 2b5b202200 Issue 8994: Mail contacts can now be added again 2020-08-26 19:46:01 +00:00
Tobias Diekershoff 0d1fa70e2e
Merge pull request #9039 from MrPetovan/task/frio-accent-scheme
[frio] Add accented schemes including dark scheme and black scheme
2020-08-20 07:01:40 +02:00
Michael ce2af84cba Use a constant for the contact photos / dom't cache them 2020-08-18 22:18:48 +00:00
Michael d9fc0ae0ea Using a constant value for the default avatar 2020-08-18 20:30:24 +00:00
Hypolite Petovan ba868ea7d7
Merge pull request #9024 from annando/fix-db-error
Fix database error (wrong field name)
2020-08-17 16:17:11 -04:00
Michael 2bf848ccfc Fix database error (wrong field name) 2020-08-17 19:59:16 +00:00
Michael e5fecbb406 Remove unused "rating" functionality 2020-08-16 18:55:06 +00:00
Hypolite Petovan 2e286d6a57 Move calendar/event stylesheets/scripts registration to modules
- Add media parameter to Page->registerStylesheet
- Fixes CSS precedence with custom theme stylesheet
2020-08-15 18:56:17 -04:00
Michael 11c3e4aefc Renamed condition arrays 2020-08-15 16:56:53 +00:00
Michael 71d9037970 Some further cleaning up 2020-08-15 12:06:18 +00:00
Michael d46359a891 Use the correct table 2020-08-15 11:54:37 +00:00
Michael 17bc81d36e Simplifying the code 2020-08-15 11:47:11 +00:00
Michael 24b5396b1d Using a view for the network page 2020-08-15 11:31:34 +00:00
Michael 7c80e93ea8 Issue 9013: In "post" order only load new toplevel posts 2020-08-15 06:04:09 +00:00
Michael 740f2e4cec Simplify the update functionality 2020-08-14 08:09:36 +00:00
Michael dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
Michael bf7128b4b2 AP Improvements for forums 2020-08-09 18:42:25 +00:00
Michael Vogel f0a0c6b822
Merge pull request #8982 from MrPetovan/task/8918-move-mod-common
Move mod/common.php to src/ Part 3: Add Module\Contact\Contacts class
2020-08-07 20:51:02 +02:00
Michael 7b13b7e9c8 Reworked "getIdForURL" 2020-08-07 13:49:59 +00:00
Hypolite Petovan e64dcc5b5b Remove obsolete modules common and allfriends
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
Hypolite Petovan f5ea07c731 Remove unused App parameter from Module\Contact::getTabsHTML 2020-08-06 22:59:09 -04:00
Michael a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael d925397b17 Fix SQL error 2020-08-03 18:29:11 +00:00
Michael 91c360638a Ensure contact tabs will use the correct id 2020-08-02 13:34:49 +00:00
Michael 03e2cbbf3d Merge remote-tracking branch 'upstream/develop' into remove-poco 2020-08-02 01:28:47 +00:00
Michael 0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael 4c089a1f87 "gcign" is removed 2020-07-31 17:58:25 +00:00
Michael ce7f192f35 "id" is not needed as a parameter 2020-07-31 04:28:26 +00:00
Michael 893f6bd692 Use the function from the contact template instead 2020-07-31 03:55:01 +00:00
Michael 91b0f2c486 Use a single function to create the template data for contacts 2020-07-30 21:16:15 +00:00
Michael c260471de1 Remove unused "use" 2020-07-30 14:14:30 +00:00
Michael cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael 71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Hypolite Petovan 418c2edb50
Merge pull request #8938 from annando/get-avatar
Fetch photo fields, ensuring that they are filled
2020-07-28 11:41:48 -04:00
Michael b79bb0d2cb Fetch photo fields, ensuring that they are filled 2020-07-28 12:58:19 +00:00
Michael e6cd5a4d66 Merge remote-tracking branch 'upstream/develop' into personal-copy 2020-07-28 05:40:37 +00:00
Hypolite Petovan 6749b2c887 Remove obsolete mod/lockview.php file 2020-07-27 02:01:42 -04:00
Michael 9b86f40a5f Store avatar cache fields only when needed 2020-07-25 11:48:52 +00:00
Michael Vogel 398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02: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 d0ef6f2b08 Store personal copy of public item upon commenting 2020-07-21 23:26:01 +00:00
Michael 186bc46721 Don't load tag postings on the network page anymore 2020-07-21 14:13:19 +00:00