1
1
Fork 0
Commit graph

6441 commits

Author SHA1 Message Date
e89e0e1694 API: Resize upßloaded images if they exceed the maximum size 2021-03-07 14:13:46 +00:00
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael Vogel
e8a4d9af14
Merge pull request #9935 from MrPetovan/bug/9929-harden-parse-url
Harden /parseurl
2021-02-19 07:22:33 +01:00
2a909516e2 Use correct Contact\User::setBlocked instead of Contact::block for /item/block endpoint 2021-02-18 18:05:23 -05:00
3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
69802554fd Add native media types and expiration to getSiteInfo 2021-02-18 09:06:11 -05:00
312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
07c07ec499 More "item" traces removed 2021-02-14 09:43:27 +00:00
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
bf127c97ff Remove mod/subthread file 2021-01-31 17:36:18 -05:00
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
a7fac5a76f
Merge pull request #9858 from annando/notify-ignored
New setting that controls notifications for ignored contacts
2021-01-24 08:59:18 -05:00
0cd02631ce New setting that controls notifications for ignored contacts 2021-01-24 11:40:09 +00:00
6b0df74ed7 Add blocking author from an item context feature 2021-01-23 05:30:03 -05:00
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
65c8f33754 Post class introduced in "mod" and "include" 2021-01-16 04:11:28 +00:00
6401bd7503 Mark if post was received via relay 2021-01-09 16:56:42 +00:00
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
f0267fc441 Simplify user public contact id retrieval in mod/events 2020-12-30 21:10:39 -05:00
c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
a294c19d6e Fix several notices 2020-12-29 21:38:23 +00:00
241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
Michael Vogel
ae386a78a4
Merge pull request #9696 from MrPetovan/bug/9306-poke-privacy
Use correct request parameter type for poke privacy
2020-12-22 17:11:37 +01:00
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
49c1f5c55c Improve handling of the visibility parameter of the new ACL
- Add backward compatibility with old ACL parameters
2020-12-21 22:23:13 -05:00
42d05bcc1b Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:27:16 -05:00
a7b8c4f8d5 Append author's contact id to allowed contacts to prevent empty ACL for private events 2020-12-21 00:27:12 -05:00
3f32d04c44 Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:26:48 -05:00
61aa4efa89 Account for missing contact in dfrn_request_post
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
bd9f36622e Cast field data when ATTR_EMULATE_PREPARES is enabled 2020-11-27 11:24:31 +00:00
21af40b2f9 Merge remote-tracking branch 'upstream/develop' into rework-notifications 2020-11-26 05:57:59 +00:00
ce6969c346 Unneded "use" removed 2020-11-25 20:26:00 +00:00
e6ede539d5 Fix missing introduction notifications 2020-11-25 20:25:16 +00:00
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
055192bd19 Fix wrong variable name in ping_init 2020-11-21 23:09:27 -05:00
4370d0b967 Add missing activity toggle capability to photos 2020-11-21 11:10:04 -05:00
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
bd0e2dc0a8 Avoid problems with uid=0 2020-11-19 17:19:14 +00:00
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
c36ca3cffe Fix null value for item.parent column 2020-11-14 10:08:51 -05:00
eebcf1ae86 Separate $parent_item and $toplevel_item in mod/item 2020-11-14 10:08:51 -05:00
0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
0c3a5c815e Remove obsolete references to item.parent-uri 2020-11-14 10:08:50 -05:00
52c88ae414 Fix contact import with Frio 2020-11-10 06:37:27 +00:00
2055ee872c Group registration requests in a single line for users without detailed_notif 2020-11-09 10:08:14 -05:00
8357d94800 Set thread notifications as seen in mod/display
- Only for users without detailed notifications
2020-11-09 10:08:14 -05:00
01b2694aa0 Update the target URL for pending registration notifications 2020-11-08 12:53:12 -05:00
8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
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
9e143287d6 Use CurlResult->getHeaderArray instead of custom conversion 2020-10-23 02:03:28 -04:00
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
bffef1e36e The single click does not work with legacy DFRN 2020-10-20 05:47:14 +00:00
c6a23f1272 Move auto-follow/unfollow after the checks 2020-10-20 04:05:04 +00:00
33575a94fa Follow/Unfollow contact with a single click 2020-10-20 03:49:58 +00:00
c19f1a83ce
Remove option 'novalidate' flag from HTTPRequest options 2020-10-18 22:23:07 +02:00
61da51c2d5
Add HTTPRequest::head() function 2020-10-18 22:15:53 +02:00
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
44ae9add4f Remove obsolete mod/network and mod/update_network files 2020-10-13 07:52:13 -04:00
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
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
2d4a3f482b Use new function for validity check 2020-10-10 07:14:43 +00:00
4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
5998c3995e Issue-9358 (now for real) commenting and updating on contact now work 2020-10-06 18:47:23 +00:00
4debd8bdcb Fix notice "Undefined offset: 1" 2020-10-05 20:34:57 +00:00
6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
2bfd9851d3
Merge pull request #9314 from annando/suggestions
New function for contact suggestions
2020-10-03 13:32:21 -04:00
fe653b652a
Move library\OAuth1.php to class structure Friendica\Security\OAuth1 2020-09-30 11:21:58 +02:00
8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security 2020-09-30 11:14:01 +02:00
fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
3a94625470 "o" has to be initialized 2020-09-26 22:52:01 +00:00
79d5e3f6cb Network page: reworked infinite scrolling 2020-09-26 22:44:34 +00:00
99fc97f337 Removing the page number from the infinite scrolling 2020-09-26 21:46:22 +00:00
84a9a5b174 Fixes several notices 2020-09-19 03:16:26 +00:00
dc90984106 Remove obsolete uses of Strings::escapeTags in mod/item 2020-09-13 20:01:55 -04:00
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
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
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
f1e36eac7d Update capitalization of "Permissions" translation string 2020-09-07 21:25:04 -04:00
5730da264b Add a self-only ACL block to personal notes jot 2020-09-07 19:27:51 -04:00
c4267bbca0 Remove unused jot.tpl template variables 2020-09-07 19:27:23 -04:00
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
23b7da3664 Removed unused PoCo functionality 2020-08-31 12:40:23 +00:00
0e3ca91854 clarification of the options hint for setting the accounts email 2020-08-30 17:56:27 +02:00
2b5b202200 Issue 8994: Mail contacts can now be added again 2020-08-26 19:46:01 +00:00
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
ce2af84cba Use a constant for the contact photos / dom't cache them 2020-08-18 22:18:48 +00:00
d9fc0ae0ea Using a constant value for the default avatar 2020-08-18 20:30:24 +00:00
ba868ea7d7
Merge pull request #9024 from annando/fix-db-error
Fix database error (wrong field name)
2020-08-17 16:17:11 -04:00
2bf848ccfc Fix database error (wrong field name) 2020-08-17 19:59:16 +00:00
e5fecbb406 Remove unused "rating" functionality 2020-08-16 18:55:06 +00:00
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
11c3e4aefc Renamed condition arrays 2020-08-15 16:56:53 +00:00
71d9037970 Some further cleaning up 2020-08-15 12:06:18 +00:00
d46359a891 Use the correct table 2020-08-15 11:54:37 +00:00
17bc81d36e Simplifying the code 2020-08-15 11:47:11 +00:00
24b5396b1d Using a view for the network page 2020-08-15 11:31:34 +00:00
7c80e93ea8 Issue 9013: In "post" order only load new toplevel posts 2020-08-15 06:04:09 +00:00
740f2e4cec Simplify the update functionality 2020-08-14 08:09:36 +00:00
dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
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
7b13b7e9c8 Reworked "getIdForURL" 2020-08-07 13:49:59 +00:00
e64dcc5b5b Remove obsolete modules common and allfriends
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
f5ea07c731 Remove unused App parameter from Module\Contact::getTabsHTML 2020-08-06 22:59:09 -04:00
a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
d925397b17 Fix SQL error 2020-08-03 18:29:11 +00:00
91c360638a Ensure contact tabs will use the correct id 2020-08-02 13:34:49 +00:00
03e2cbbf3d Merge remote-tracking branch 'upstream/develop' into remove-poco 2020-08-02 01:28:47 +00:00
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
4c089a1f87 "gcign" is removed 2020-07-31 17:58:25 +00:00
ce7f192f35 "id" is not needed as a parameter 2020-07-31 04:28:26 +00:00
893f6bd692 Use the function from the contact template instead 2020-07-31 03:55:01 +00:00
91b0f2c486 Use a single function to create the template data for contacts 2020-07-30 21:16:15 +00:00
c260471de1 Remove unused "use" 2020-07-30 14:14:30 +00:00
cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
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
b79bb0d2cb Fetch photo fields, ensuring that they are filled 2020-07-28 12:58:19 +00:00
e6cd5a4d66 Merge remote-tracking branch 'upstream/develop' into personal-copy 2020-07-28 05:40:37 +00:00
6749b2c887 Remove obsolete mod/lockview.php file 2020-07-27 02:01:42 -04:00
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
cb830c9ad3 Translation function added 2020-07-23 06:32:31 +00:00
0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
ca9f8e7420 New function "Item::storeForUserByUriId" 2020-07-23 03:26:54 +00:00
d0ef6f2b08 Store personal copy of public item upon commenting 2020-07-21 23:26:01 +00:00
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
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
d6bf7f2cda Replace "Probe::uri" with "Contact::getByURL" 2020-07-16 10:22:14 +00:00
b8682190de Fix fallback on unknown contact 2020-07-16 04:18:33 +00:00
b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
631095eefd
Merge pull request #8883 from annando/replace-getdetails
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 13:49:27 -04:00
6d3949d54a Changed default value 2020-07-15 17:29:52 +00:00
e374aecc46 Changed parameter order for "getbyURLForUser" 2020-07-15 17:22:12 +00:00
fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00
d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
a13e004df0 Delete include/items.php
- Remove all references
2020-07-14 10:21:31 -04:00
3e25fc3a72 Replace *_page_info function calls with Content\PageInfo equivalent 2020-07-14 10:15:04 -04:00
a1d62734fa Remove consume_feed in favor of Protocol\Feed::consume 2020-07-14 10:14:05 -04:00
0816e0330f Move export public calendar additional feature to core 2020-07-12 23:08:38 -04:00
6ad8bf0cca Remove network tabs additional features
- Remove New network tab
- Remove Bookmark network tab
2020-07-12 22:41:12 -04:00
01911d9fc6 Add default value for potentially missing keyhash property in mod/salmon 2020-07-11 09:16:05 -04:00
d9b8a1fccd Add missing $a->profile initialization in mod/cal 2020-07-09 15:09:07 -04:00
5ce13b210e Add check for exif data existence in mod/photos 2020-07-09 15:03:14 -04:00
e121db8108 Rework "follow" to fix probing issues 2020-07-06 19:49:29 +00:00
416f6c8c10 Ensure $contact_record is an array in mod/item 2020-07-04 15:33:54 -04:00
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
9c6fbc6a74 Update references to the friendica/friendica stable branch 2020-06-30 15:25:16 -04:00
c947b7f211 "print_r" in logging replaced / obsolete stuff removed 2020-06-29 20:22:00 +00:00
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
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
b9117ceddc Remove share_header() function from mod/share 2020-06-18 11:23:57 -04:00
1f20111c80 Replace share_header calls with BBCode::getShareOpeningTag 2020-06-18 08:53:57 -04:00
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
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
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
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
7b3581320b Add missing return variable while replacing tags in mod/item 2020-06-10 17:23:07 -04:00
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
e7f50a05d1 Move handle_tag() to Content\Item::replaceTag 2020-06-10 10:13:32 -04:00
89b3ae2657 Add null/empty string parameter value case in BBCode::convert
- Remove obsolete coalesce operator uses
2020-06-08 19:15:08 -04:00
0c1e876ee0 Remove superfluous indentation level in mod/poco 2020-06-08 18:58:05 -04:00
31d6a6157c Add tag escaping to tag handling in mod/item 2020-06-08 18:40:21 -04:00
76460ddd2d Add tag escaping to Item::setHashtags
- Add return value to Item::setHashtags
2020-06-08 18:40:21 -04:00
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
117d0e7362 Removed unused parts 2020-06-03 10:33:54 +00:00
b36fb80eb9 File ending, Error Message 2020-06-03 09:40:43 +00:00
1ca804b638 Issue 8714: Make redirects more secure 2020-06-03 05:14:45 +00:00
20b93306ad Handling situations where "vid" is empty 2020-05-31 14:38:00 +00:00
Michael Vogel
235f4eaa89
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
2020-05-29 15:33:24 +02:00
0acb5d4558 "parent = id" is replaced with gravity check 2020-05-28 16:02:36 +00:00
9ebb2c6527 Implement existing force query string parameter in mod/update_display
- Prevented single item display update when "like" interactions were removed because the item wasn't "unseen"
2020-05-27 08:28:09 -04:00
973abb6196 Replace "id = parent" checks with "gravity" checks 2020-05-27 12:19:06 +00:00
ba9cf32f36 The "item-activity" is removed 2020-05-26 05:18:50 +00:00
62f3c1f4b8
Merge pull request #8647 from annando/annando/issue8619
Issue 8619: Limit the tag query to a range of one day
2020-05-17 14:00:55 -04:00
3b1d89252a Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582
2020-05-17 15:01:27 +00:00
c8954a25ba Limit the tag query to a range of one day
Fixes #8619
2020-05-17 05:24:51 +00:00
bf8bb47d7d
Merge pull request #8633 from annando/notice
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
2020-05-15 08:46:57 -04:00
a1fc9df4ee Fix: Undefined index: uri-id in src/Model/Tag.php on line 403 2020-05-14 20:44:03 +00:00
75977ee72b Remove remaining references to cirtual field item.tag 2020-05-13 22:35:13 -04:00
b2ce9601da
Merge pull request #8616 from annando/annando/issue8614
Order of filed items in saved folders seems to be random
2020-05-09 20:10:57 -04:00
cd214102af Order of filed items in saved folders seems to be random
Fixes #8614
2020-05-09 18:47:56 +00:00
258e9df064 Moved the check for a comment to a different place 2020-05-09 15:50:49 +00:00
221a659abe Unused variables removed 2020-05-09 09:38:49 +00:00
556cc3fb13 Always mention the parent author 2020-05-09 08:08:33 +00:00
d5f64e1156 Issue 8610: Implicit mentions work again 2020-05-09 06:33:59 +00:00
856cf7f664 Don't count and fetch "follow" activities 2020-05-07 18:39:39 +00:00
180b4e51df fix a fatal error when displaying photos 2020-05-06 04:58:25 +00:00
d33f6fc167 Renamed function 2020-05-05 21:58:25 +00:00
980de37047 Removed legacy usage of the "tag" field 2020-05-05 19:54:25 +00:00
3d4ace7a9d Merge branch 'no-term3' into no-term2 2020-05-05 16:09:50 +00:00
b7e25d16e7 Removed usage of "tag" field 2020-05-05 05:11:59 +00:00
875d6b36e9 File and category aren't using "term" anymore 2020-05-03 15:13:40 +00:00
b0cb6536dd The old tag handling is removed 2020-05-02 05:08:05 +00:00
729c6b67aa the "term" field now is called "name", workaround removed 2020-05-01 15:18:48 +00:00
74081a71ff Removed unused "use" 2020-05-01 13:26:13 +00:00
029a379060 Move "isType" to Tag.php 2020-05-01 12:39:41 +00:00
ac2957c4dd Some more "term" to "tag" conversion 2020-05-01 10:57:32 +00:00
1f64e672ba Subscribed tags are now based on the tags as well 2020-05-01 07:18:15 +00:00
8c44f535b7 Merge remote-tracking branch 'upstream/develop' into write-tags 2020-04-29 02:38:33 +00:00
10ffd3a374 Iissue 8560: Wrong value for parent in mail notification 2020-04-28 20:32:39 +00:00
70e5639e29 Merge 2020-04-28 13:33:03 +00:00
f75009c20c Some more forgotten DBA::close 2020-04-28 07:10:18 +00:00
7f5f68a904 More preparations for term to tag transition 2020-04-26 16:15:39 +00:00
a5aa43469b Some more places with owner-view 2020-04-24 13:41:11 +00:00
c4f7f3e26e And some more view calls added 2020-04-24 12:59:19 +00:00
0950e4bada Another view 2020-04-24 12:09:51 +00:00
4181eb37f5 More joins replaced by view calls 2020-04-24 11:55:46 +00:00
43b8bdea07
Merge pull request #8520 from annando/term2tag
We now store tags in "tag"
2020-04-22 22:56:07 -04:00
16f48731b1 Remove album name bin2hex conversion in file browser
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Michael Vogel
ee098277b9
Merge pull request #8530 from MrPetovan/task/8498-move-poke-to-src
Move poke module to src/
2020-04-21 05:56:59 +02:00
7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
9e9a104320 Tags can now be added and removed from photos 2020-04-18 20:46:41 +00:00
060503eb44 Tagger is now storing the tag as well 2020-04-17 13:36:55 +00:00
3ff607deee Store tags for locally created posts 2020-04-15 19:46:47 +00:00
661dd43b0d Term constants updated 2020-04-13 19:24:22 +00:00
1e32f74b0b Rework Module/Objects
- Merge two item queries into one
- Add ETag check
- Use Router parameter
2020-04-05 18:00:46 -04:00
594db70a72
Merge pull request #8500 from lynn-stephenson/develop
Fix Password Reset Token Security
2020-04-05 08:15:31 -04:00
Lynn Stephenson
6cbcea1aac
Update lostpass.php
reduce info leakage on password reset tokens
2020-04-04 08:10:39 +00:00
Lynn Stephenson
f459a35cf4
Update lostpass.php
use CSPRNG for password reset token generation
2020-04-04 08:06:49 +00:00
40a7a43bd2 [frio] Add link to Compose page in jot 2020-04-03 16:33:00 -04:00
5ce404f517 Refactor user settings page
- Fix header hierarchy
- [frio] Fix panel display
- Move checkbox sub-template calls to template
2020-04-01 19:06:00 -04:00
3c50f985a9 Remove modal window for default post permission setting 2020-04-01 09:21:26 -04:00
d3722c945b Improved Mime Type detection 2020-04-01 05:42:44 +00:00
Steffen K9
6ea9c1764c
remove default from match.php 2020-03-29 11:37:23 +02:00
Steffen K9
0ddda6160b
Remove multi profile mention in settings
Remove multi/default profile mention in settings privacy.
2020-03-29 11:17:08 +02:00
7fabafdce6 Enable visibility request parameter to override default user permissions in mod/item 2020-03-24 16:34:19 -04:00
8bde222fca Issue 8371: Use correct user id for photo upload 2020-03-22 14:07:34 +00:00
505aa95c3d Fixed wrong contact permisssion 2020-03-22 10:05:52 +00:00
6de2b0f6d4 Reworked permission stuff 2020-03-21 18:30:40 +00:00
2234a095c6 Issue 8371 again: Fallback for item permissions 2020-03-20 04:52:04 +00:00
29bd37cda2 Issue 8371: Ensure to always have permissions 2020-03-19 21:55:31 +00:00
37376fa715 Issue 8371: Improvements for picture permissions 2020-03-08 13:16:59 +00:00
a55057d974 Function renamed to better reflect the purpose 2020-03-05 08:03:05 +00:00
825a7f9f93 Issue 8321: Follow items now work again 2020-03-05 07:16:47 +00:00
55f43be92a Changed setting description 2020-03-03 04:03:37 +00:00
a19151fa6a Improved description, support for "unlisted" via DFRN as well. 2020-03-02 22:35:25 +00:00
72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
31f912b78e Warning removed 2020-03-02 14:51:53 +00:00
4bf04dd6ee Fixed fatal error 2020-03-02 12:29:08 +00:00
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Philipp
27b60b200e
Merge pull request #8352 from MrPetovan/bug/8002-album-drop-cancel
Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos
2020-03-01 22:21:33 +01:00
Michael Vogel
057df09ffb
Merge pull request #8353 from MrPetovan/bug/8219-frio-fix-contact-csv-import
[frio] Enable file upload in settings form
2020-03-01 21:08:19 +01:00
ad2b9198a4 Remove last on/off data occurrences in additional features
- Address https://github.com/friendica/friendica/issues/7999#issuecomment-589808923
2020-03-01 14:15:08 -05:00
7ef3308a8d Improve feedback in mod/settings 2020-03-01 10:15:35 -05:00
f814ca30d3 Use sensible URLs for return after album actions instead of $_SESSION['photo_return'] in mod/photos 2020-03-01 09:56:02 -05:00
nupplaPhil
4f2bea5cb1
Move "regmod" functionality into Admin Users page 2020-02-29 17:10:29 +01:00
nupplaPhil
b4f6e8fda1
Move "User::deny()" to own method and update usages 2020-02-29 17:10:28 +01:00
nupplaPhil
6aee153bbd
Move "User::allow()" to own method and update usages 2020-02-29 17:10:27 +01:00
Philipp
b0690077aa
Merge pull request #8329 from MrPetovan/bug/notices
Remove unused conversation response code
2020-02-25 21:45:13 +01:00
e94911620a Expand system.no_auto_update to community, profile statuses and contact conversations pages
- Update setting name and description
2020-02-23 19:38:24 -05:00
452d7e6404 Remove unused conversation response code
- Remove get_responses()
- Remove get_response_button_text()
- Remove title key from $conv_responses array
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-589263329
2020-02-22 20:41:12 -05:00
b2bfec3381 Remove unused template variable in mod/photos 2020-02-22 20:30:28 -05:00
9cbea34fa4 Clean the profile URL when follow 2020-02-22 12:29:33 +00:00
d03fb89494 Replace "hidewall" with "net-publish" / other "hidewall" stuff 2020-02-20 17:24:41 +00:00
637e38e535 User hide_dislike user setting to hide dislike button and conversation responses 2020-02-20 05:37:07 -05:00
1a8110234f Move /settings/display module to src/ 2020-02-20 05:37:06 -05:00
5ea27b1fd5 "fetch" instead of "add" 2020-02-19 20:34:25 +00:00
7ee9aad6ca Some more unneeded settings removed 2020-02-19 19:31:55 +00:00
c57246450f "Delegations" is renamed to "Accounts" 2020-02-19 07:09:29 +00:00
1d3586623c Replace "suggestme" with "net-publish" 2020-02-17 07:16:45 +00:00
101251668c Reworked expiration settings 2020-02-16 20:44:55 +00:00
Philipp
da124af6ed
Merge pull request #8293 from MrPetovan/task/5562-community-pagination
Improve community pagination
2020-02-16 19:38:49 +01:00
e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -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
682fb7e4e2 Move community module to src/
- Use boundaries pagination instead of number pages
- Trim down community update module output
- Part of https://github.com/friendica/friendica/issues/4090
2020-02-16 04:41:22 -05:00
5d169a4098 Add System::htmlUpdateExit() method to refactor update modules 2020-02-16 04:32:56 -05:00
0b0309ce8f Remove pager parameter from conversation()
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
95b09aaec4 [frio] Add loading animation on comment form submit 2020-02-11 23:45:47 -05:00
Michael Vogel
13a10b8f20
Merge pull request #8277 from MrPetovan/task/8251-use-about-for-pdesc
Remove profile about field double HTML escaping
2020-02-12 05:23:04 +01:00
1ce5b1d65b Remove profile about field double HTML escaping
- Add BBcode conversion for profile.about in widget/vcard.tpl
2020-02-11 21:38:42 -05:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
2ec3a97393
Merge pull request #8263 from annando/remote-follow
New page for remote follow requests
2020-02-09 17:53:13 -05:00
2eebeeaa32 New page for remote follow requests 2020-02-09 17:04:35 +00:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
6bcb96982a Switch to second person in dfrn_request "know you" field 2020-02-09 01:01:11 -05:00
2fb1819e57 Simplify dfrn_request and auto_request templates
- Limit template variables
2020-02-08 17:08:01 -05:00
7f402da40f Fix undefined variable in contact import n mod/settings 2020-02-07 21:27:35 -05:00
b53f2f2933
Merge pull request #8250 from annando/issue-8233
Issue 8233: Fix remote subscriptions
2020-02-06 20:00:13 -05:00
150c74be69 Issue 8233: Fix remote subscriptions 2020-02-06 22:45:22 +00:00
557ece7d5a Remove unused translated yes/no labels in converted checkbox field definitions 2020-02-06 10:25:36 -05:00
4f362f6693 Asynchronously add contacts to avoid timeout problems 2020-02-06 00:00:00 +00:00
nupplaPhil
a78e19ea76
Move Notify::TYPE_POKE 2020-02-05 21:41:05 +01:00
nupplaPhil
51260f234f
Move Notify::TYPE_TAGSELF 2020-02-05 21:41:04 +01:00
nupplaPhil
88dc3efdc9
Move Notify::TYPE_SUGGEST 2020-02-05 21:41:03 +01:00
nupplaPhil
9435cc4b88
Move Notify::TYPE_MAIL 2020-02-05 21:41:02 +01:00
nupplaPhil
e6fb044e60
Move Notify::TYPE_COMMENT 2020-02-05 21:41:02 +01:00
nupplaPhil
b86ad37001
Move Notify::TYPE_WALL 2020-02-05 21:41:01 +01:00
nupplaPhil
6e45514e2c
Move Notify::TYPE_CONFIRM 2020-02-05 21:41:00 +01:00
nupplaPhil
cfd50f9abb
Move Notify::TYPE_INTRO 2020-02-05 21:41:00 +01:00
3f57e16a1a
Merge pull request #8236 from annando/a11y-1
Accessibility: A checkbox is a checkbox
2020-02-05 12:10:16 -05:00
07148ecf6b Acessibility: A checkbox is a checkbox 2020-02-05 08:08:32 +00:00
nupplaPhil
0b94b84dc7
simplify mail creation 2020-02-04 21:05:33 +01:00
nupplaPhil
262c94f12f
Fix indents 2020-02-02 22:43:43 +01:00
nupplaPhil
6700467ed4
switched intend 2020-02-02 22:43:43 +01:00
nupplaPhil
97e708f2e2
Remove DI::app() dependency again 2020-02-02 22:43:41 +01:00
nupplaPhil
9428466d1d
Set Sitename / site email as sender for system emails 2020-02-02 22:43:39 +01:00
nupplaPhil
16d9b9ff7d
Fixed wrong email field 2020-02-02 22:43:36 +01:00
nupplaPhil
3291728059
Extract System emails from enotify
- Removed every SYSTEM_EMAIL occurrence in enotify
- Introduced a "SystemMailBuilder" for build system emails
- Replaced every SYSTEM_EMAIL usage in the classes with calling this builder
- Added tests for this new Builder
- Split the email templates between "base" template for email and concrete usages for different use cases
2020-02-02 22:43:35 +01:00
a3028e69aa
Merge pull request #8211 from nupplaphil/task/mod_crepair
Move mod/crepair to src/Module/Contact/Repair
2020-02-01 08:28:29 -05:00
96b9619608
Merge pull request #8210 from nupplaphil/task/mod_fsuggest
Move mod/fsuggest to src/Module/SuggestFriend
2020-01-31 18:43:32 -05:00
nupplaPhil
f565d590f6
Move mod/crepair to src/Module/Contact/Repair 2020-02-01 00:20:50 +01:00
nupplaPhil
d4e836855b
Remove deprecated code 2020-02-01 00:05:27 +01:00
nupplaPhil
17389de261
Move mod/worker to src\Module\Worker 2020-01-31 22:38:49 +01:00
Philipp
4c07c725b6
Merge pull request #8203 from MrPetovan/task/4599-frio-jot-async
[frio] Add new asynchronous submission of modal form
2020-01-30 06:42:12 +01:00
ada9e2a0f2 Suppress Countable type warning messages in mod/dfrn_request
- Address https://github.com/friendica/friendica/issues/8192
2020-01-29 23:19:03 -05:00
b2143cae53 [frio] Add new asynchronous submission of modal form
- Add loading state for jot submit buttons
2020-01-29 22:50:10 -05:00
3370300376 Add new info messages to mod/item 2020-01-29 22:45:13 -05:00
b86083de06 Remove superfluous code in mod/item 2020-01-29 22:44:09 -05:00
4faad5a47c Replace exit calls with exception throwing in mod/item 2020-01-29 22:43:37 -05:00
b03796957b Improve logging in mod/item
- Set legacy Logger constants as deprecated
2020-01-29 22:42:49 -05:00
c17b2efb7a Normalize redirect in item_post() 2020-01-29 22:34:32 -05:00
694d93ded9 Replace json_encode + exit by System::jsonExit in mod/item 2020-01-29 22:31:13 -05:00
c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
a7dd0173a7 Remove obsolete profile_id parameter in Model\Profile::load 2020-01-27 22:01:12 -05:00
a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
589b7e718d
Merge pull request #8178 from nupplaphil/task/mod_noscrape
Move mod/noscrape to Module\Noscrape
2020-01-26 17:14:26 -05:00
4260b94fec
Move mod/noscrape to Module\Noscrape 2020-01-26 23:43:47 +01:00
Philipp
9827e933a2
Merge pull request #8179 from MrPetovan/bug/notices
Various notice fixes
2020-01-26 23:10:56 +01:00
fb2f8dcb9c
Improve formatting in mod/display
Co-Authored-By: Philipp <admin+Github@philipp.info>
2020-01-26 16:59:02 -05:00
0736e4e42c Check for $a->user["nickname"] existence before retrieving its value in mod/display
- Addresses part of https://github.com/friendica/friendica/issues/8000#issuecomment-573883153
2020-01-26 16:44:02 -05:00
2b8f067715
Introduce interface for emailing and create email classes 2020-01-26 21:35:04 +01:00
915abe8a33
Add explicit parameters to Sender::send() method signature 2020-01-26 21:35:03 +01:00
ea9d3b7438
Make EMailer util dynamic 2020-01-26 21:35:03 +01:00
Philipp
9269221825
Merge pull request #8175 from MrPetovan/task/revert-profile-default-tab
Revert profile base URL behavior
2020-01-26 20:33:27 +01:00
f2d917114f Move Model\Profile::getTabs to new Module\BaseProfile class 2020-01-26 14:21:18 -05:00
0840938dff
Rename classes
- Repository/Model Notification => Notify
- Factory/Object Notification => Notification
2020-01-26 20:30:24 +01:00
0850fb88dd
ReWork Notification Model/Module/Object/Repository/Factory
- Introduce Repository for interaction with "notify" table
- Introduce Factory for read-only notification objects (they're just loosely based on notification the table!)
- Introduce Objects for type-safe usage at the presentation layer
- Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
2020-01-25 19:58:22 +01:00
5a9ec841af
Make Notification bubble work again 2020-01-25 17:25:11 +01:00
Philipp
09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
18cfd8dfaa Remove references to deprecated profile.is-default and profile.profile-name fields 2020-01-22 19:42:37 -05:00
f6f4cbab9d Remove multi profiles feature
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05:00
d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
fa6c33d3ac
Move mod/notifications to Module\Notification 2020-01-22 23:18:14 +01:00
3c1f174c7f
Merge pull request #8150 from nupplaphil/task/prepare_enotify
Prepare Model\Notify for include/enotify.php (Part 1)
2020-01-22 14:18:59 -05:00
011a64cde5
Make non-deterministic redirect in case of unknown visitor for redir.php dynamic 2020-01-22 20:34:07 +01:00
7984965183
Add DI:: call 2020-01-22 00:14:14 +01:00
26d6afd27f
Move "Notify::getTab()" to notification module since it's presentation layer logic 2020-01-22 00:03:57 +01:00
Philipp
b7527a803a
Merge pull request #8148 from annando/remote-comment
Remotely commenting on Peertube posts now does work
2020-01-21 09:27:21 +01:00
fbe5de7c55 Remotely commenting on Peertube posts now does work 2020-01-21 06:26:07 +00:00
db518e7ef2 Fix birthday display and setting
- Add new translation string
2020-01-20 07:47:10 -05:00
6d7f0a6fd8 Remove duplicate profile_uid key in App->profile array 2020-01-20 07:32:46 -05:00
0d1befdf2d Move /profile_photo to Module\Settings\Profile\Photo 2020-01-20 07:27:12 -05:00
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:42 +01:00
3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
174129af94
add missing namespaces/fix wrong class-names 2020-01-19 16:31:35 +01:00
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
67f2066b8b
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls 2020-01-19 16:31:20 +01:00
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls 2020-01-19 16:31:19 +01:00
d3255afa66
Move L10n::withLang() calls to DI::l10n()->withLang() calls 2020-01-19 16:31:18 +01:00
a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls 2020-01-19 16:31:17 +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
b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:46 +01:00
88bb66371c
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:50 +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
8215c493cf The archive functionality is working again 2020-01-15 04:06:30 +00:00
b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
ac04ff88b8 Improved code 2020-01-13 17:10:11 +00:00
1c9fa4451a Improved query 2020-01-13 17:07:05 +00:00
c65a5cc0d5 Use "http_build_query" to build queries 2020-01-13 17:03:04 +00:00
b12c646503 Initial event share status doesn't depend on the user's default permissions anymore 2020-01-12 12:16:56 -05:00
36190d1e79
Merge pull request #8072 from nupplaphil/task/Cache_to_DI
Replace Core\Cache wrapper with DI::cache() method
2020-01-10 08:46:03 -05:00
6b8db5ad13 Update the Introductions domain to use repository, model and collection 2020-01-06 21:39:05 -05: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