Commit graph

6050 commits

Author SHA1 Message Date
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
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
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
5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Michael
5bf813d0ec Use "failed" field 2020-07-19 11:42:23 +00:00
Michael Vogel
2ad5bd9b9c Add some more useful fields for ping hook 2020-07-18 22:48:40 +02:00
Michael Vogel
9f1d1db1ee Database performance updates 2020-07-18 17:49:10 +02:00
Michael
d6bf7f2cda Replace "Probe::uri" with "Contact::getByURL" 2020-07-16 10:22:14 +00:00
Michael
b8682190de Fix fallback on unknown contact 2020-07-16 04:18:33 +00:00
Michael
b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
Hypolite Petovan
631095eefd
Merge pull request #8883 from annando/replace-getdetails
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 13:49:27 -04:00
Michael
6d3949d54a Changed default value 2020-07-15 17:29:52 +00:00
Michael
e374aecc46 Changed parameter order for "getbyURLForUser" 2020-07-15 17:22:12 +00:00
Michael
fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
Hypolite Petovan
a13e004df0 Delete include/items.php
- Remove all references
2020-07-14 10:21:31 -04:00
Hypolite Petovan
3e25fc3a72 Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:15:04 -04:00
Hypolite Petovan
a1d62734fa Remove consume_feed in favor of Protocol\Feed::consume 2020-07-14 10:14:05 -04:00
Hypolite Petovan
0816e0330f Move export public calendar additional feature to core 2020-07-12 23:08:38 -04:00
Hypolite Petovan
6ad8bf0cca Remove network tabs additional features
- Remove New network tab
- Remove Bookmark network tab
2020-07-12 22:41:12 -04:00
Hypolite Petovan
01911d9fc6 Add default value for potentially missing keyhash property in mod/salmon 2020-07-11 09:16:05 -04:00
Hypolite Petovan
d9b8a1fccd Add missing $a->profile initialization in mod/cal 2020-07-09 15:09:07 -04:00
Hypolite Petovan
5ce13b210e Add check for exif data existence in mod/photos 2020-07-09 15:03:14 -04:00
Michael
e121db8108 Rework "follow" to fix probing issues 2020-07-06 19:49:29 +00:00
Hypolite Petovan
416f6c8c10 Ensure $contact_record is an array in mod/item 2020-07-04 15:33:54 -04:00
Hypolite Petovan
6ead246ce2 Account for falsy values for $forum_contact in mod/item
- Rare condition can make it false
- Simplify notification sending condition
2020-07-04 15:33:35 -04:00
Hypolite Petovan
9c6fbc6a74 Update references to the friendica/friendica stable branch 2020-06-30 15:25:16 -04:00
Michael
c947b7f211 "print_r" in logging replaced / obsolete stuff removed 2020-06-29 20:22:00 +00:00
Hypolite Petovan
50d05cec83 Ensure url property of Probe::uri result is used authoritatively
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
Hypolite Petovan
912ff069c0 Update getShareOpeningTag::getShareOpeningTag method signature
- Optional parameter $guid is now at the end
- Always provided parameter $posted is now mandatory
2020-06-21 09:42:37 -04:00
Hypolite Petovan
b9117ceddc Remove share_header() function from mod/share 2020-06-18 11:23:57 -04:00
Hypolite Petovan
1f20111c80 Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 08:53:57 -04:00
Hypolite Petovan
f544c8383b Implement pull request feedback
- Improve formatting of drop_item in mod/item
- Replace deprecated Logger::log() calls in Protocol\Feed::consume
2020-06-17 21:44:28 -04:00
Hypolite Petovan
3d55ef1546 Move drop_items and drop_item out of include/items
- They were only used in mod/item
2020-06-17 13:24:44 -04:00
Hypolite Petovan
f9ecbbd743 Exclude [img] tags from tag replacement
- It broke image captions by inserting an HTML link inside an HTML attribute
2020-06-16 16:34:16 -04:00
Michael
da82c3aea4 redir - clicking on title of own post leads to access denied error
Fixes friendica/friendica#8769
2020-06-14 18:40:02 +00:00
Michael Vogel
aedbb0d627
Merge pull request #8753 from MrPetovan/bug/fatal-errors
Remove dependency to App in Contact::createFromProbe
2020-06-12 06:58:20 +02:00
Michael Vogel
9b85d0b16e
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
[frio] Improve share blocks display
2020-06-11 07:32:29 +02:00
Hypolite Petovan
7b3581320b Add missing return variable while replacing tags in mod/item 2020-06-10 17:23:07 -04:00
Hypolite Petovan
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
Hypolite Petovan
e7f50a05d1 Move handle_tag() to Content\Item::replaceTag 2020-06-10 10:13:32 -04:00
Hypolite Petovan
89b3ae2657 Add null/empty string parameter value case in BBCode::convert
- Remove obsolete coalesce operator uses
2020-06-08 19:15:08 -04:00
Hypolite Petovan
0c1e876ee0 Remove superfluous indentation level in mod/poco 2020-06-08 18:58:05 -04:00
Hypolite Petovan
31d6a6157c Add tag escaping to tag handling in mod/item 2020-06-08 18:40:21 -04:00
Hypolite Petovan
76460ddd2d Add tag escaping to Item::setHashtags
- Add return value to Item::setHashtags
2020-06-08 18:40:21 -04:00
Hypolite Petovan
d6fd5b273b Ensure $categories is set in mod/item
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-639052328
2020-06-04 21:32:47 -04:00
Michael
117d0e7362 Removed unused parts 2020-06-03 10:33:54 +00:00
Michael
b36fb80eb9 File ending, Error Message 2020-06-03 09:40:43 +00:00
Michael
1ca804b638 Issue 8714: Make redirects more secure 2020-06-03 05:14:45 +00:00