]>
git.mxchange.org Git - friendica.git/log
Michael Vogel [Thu, 25 Jun 2020 17:22:49 +0000 (19:22 +0200)]
Merge pull request #8803 from MrPetovan/bug/8477-api-photo-item-selectfirstforuser
[API] Replace unwarranted Item::selectFirstForUser calls in photo endpoints
Hypolite Petovan [Thu, 25 Jun 2020 12:05:09 +0000 (08:05 -0400)]
Replace array_unique with GROUP BY clause in api_fr_photoalbum_delete()
Michael Vogel [Thu, 25 Jun 2020 06:39:28 +0000 (08:39 +0200)]
Merge pull request #8805 from MrPetovan/bug/notices
Add logging to rare condition in Model\Profile::sidebar
Michael Vogel [Thu, 25 Jun 2020 06:37:41 +0000 (08:37 +0200)]
Merge pull request #8804 from MrPetovan/bug/warnings
Add type hint to Database::insert
Michael Vogel [Thu, 25 Jun 2020 03:48:03 +0000 (05:48 +0200)]
Merge pull request #8809 from MrPetovan/bug/8808-db-error-contact
Add expected whitespace before Widget::unavailableNetworks() output
Hypolite Petovan [Wed, 24 Jun 2020 22:49:55 +0000 (18:49 -0400)]
Add expected whitespace before Widget::unavailableNetworks() output in Module\Contact
Hypolite Petovan [Wed, 24 Jun 2020 13:56:11 +0000 (09:56 -0400)]
Add logging to rare condition in Model\Profile::sidebar
- Adresses https://github.com/friendica/friendica/issues/8475#issuecomment-
647104375
Hypolite Petovan [Wed, 24 Jun 2020 13:36:34 +0000 (09:36 -0400)]
Add type hint to Database::insert
- Will escalate warning to fatal error in https://github.com/friendica/friendica/issues/8474#issuecomment-
646802016
Hypolite Petovan [Wed, 24 Jun 2020 12:14:45 +0000 (08:14 -0400)]
[API] Replace unwarranted Item::selectFirstForUser calls in photo endpoints
- Item::selectFirstForUser checks for item.visible = 1 which isn't necessarily set on photo-related items
Hypolite Petovan [Wed, 24 Jun 2020 12:11:47 +0000 (08:11 -0400)]
[API] Miscellaneous improvements
- Use empty() instead of isset($r) && $r in save_media_to_database()
- Use expected variable name for result array in api_fr_photo_delete()
- Use correct associative array references in prepare_photo_data()
- Replace a() call in api_fr_photoalbum_delete()
Michael Vogel [Tue, 23 Jun 2020 19:26:07 +0000 (21:26 +0200)]
Merge pull request #8792 from MrPetovan/task/share-block-guid
[frio] Add local post link to share block when guid attribute is present
Michael Vogel [Tue, 23 Jun 2020 19:23:08 +0000 (21:23 +0200)]
Merge pull request #8802 from MrPetovan/task/8314-api-capture-login
Update user.login_date for authenticated API calls
Tobias Diekershoff [Tue, 23 Jun 2020 15:01:44 +0000 (17:01 +0200)]
Merge pull request #8801 from MrPetovan/task/8800-pre-whitespaces
[pre] blocks now preserve spaces
Hypolite Petovan [Tue, 23 Jun 2020 14:15:39 +0000 (10:15 -0400)]
Add API login capture 12h cooldown to spare database writes
Hypolite Petovan [Tue, 23 Jun 2020 13:09:23 +0000 (09:09 -0400)]
Update user.login_date for authenticated API calls
Hypolite Petovan [Tue, 23 Jun 2020 11:53:18 +0000 (07:53 -0400)]
[pre] blocks now preserve spaces
- Added test case
- Added English documentation
Hypolite Petovan [Tue, 23 Jun 2020 11:52:38 +0000 (07:52 -0400)]
Keep spaces after non-tags in Content\BBCode::convert
- Added test case
Tobias Diekershoff [Tue, 23 Jun 2020 04:55:54 +0000 (06:55 +0200)]
Merge pull request #8799 from MrPetovan/bug/3084-text-complete-catch-escape
Prevent propagation of escape key press when it was used to close autocomplete dropdown
Hypolite Petovan [Tue, 23 Jun 2020 02:25:15 +0000 (22:25 -0400)]
Prevent propagation of escape key press when it was used to close autocomplete dropdown
- It was causing the modal window to unexpectedly close
Hypolite Petovan [Mon, 22 Jun 2020 21:49:20 +0000 (17:49 -0400)]
Add more expected data to test fixtures
Hypolite Petovan [Sun, 21 Jun 2020 13:45:36 +0000 (09:45 -0400)]
[frio] Add local post link to share block when guid attribute is present
Hypolite Petovan [Sun, 21 Jun 2020 13:45:00 +0000 (09:45 -0400)]
Make guid attribute available to convertShare callback
Hypolite Petovan [Sun, 21 Jun 2020 13:42:37 +0000 (09:42 -0400)]
Update getShareOpeningTag::getShareOpeningTag method signature
- Optional parameter $guid is now at the end
- Always provided parameter $posted is now mandatory
Hypolite Petovan [Sat, 20 Jun 2020 16:48:56 +0000 (12:48 -0400)]
Merge pull request #8791 from tobiasd/2020.06-rc
Update composer.phar to Version 1.10.7
Tobias Diekershoff [Sat, 20 Jun 2020 16:07:54 +0000 (18:07 +0200)]
Merge pull request #8790 from MrPetovan/bug/notices
Fix latest notice messages
Tobias Diekershoff [Sat, 20 Jun 2020 15:41:25 +0000 (17:41 +0200)]
Update composer.phar to Version 1.10.7
Tobias Diekershoff [Fri, 19 Jun 2020 15:55:48 +0000 (17:55 +0200)]
Merge pull request #8789 from MrPetovan/bug/fatal-errors
Account for contact.ffi_keyword_denylist field being NULL by default
Hypolite Petovan [Fri, 19 Jun 2020 11:10:39 +0000 (07:10 -0400)]
Use Contact::getDetailsByURL instead of custom query in Protocol\OStatus
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-
646457104
Hypolite Petovan [Fri, 19 Jun 2020 11:05:58 +0000 (07:05 -0400)]
Replace obsolete anonymity test with a slightly less obsolete one in Model\Item
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-
646457104
Hypolite Petovan [Fri, 19 Jun 2020 11:01:05 +0000 (07:01 -0400)]
Account for contact.ffi_keyword_denylist field being NULL by default in Protocol\Feed
Michael Vogel [Thu, 18 Jun 2020 16:59:51 +0000 (18:59 +0200)]
Merge pull request #8786 from MrPetovan/task/composer
[Composer] Update dependencies ahead of release
Michael Vogel [Thu, 18 Jun 2020 15:56:23 +0000 (17:56 +0200)]
Merge pull request #8787 from MrPetovan/task/move-share-header
Replace share_header calls with BBCode::getShareOpeningTag
Hypolite Petovan [Wed, 17 Jun 2020 17:23:28 +0000 (13:23 -0400)]
[Composer] Update dependencies ahead of release
- Updating ezyang/htmlpurifier (v4.7.0 => v4.12.0)
- Updating level-2/dice (4.0.1 => 4.0.2)
- Updating michelf/php-markdown (1.8.0 => 1.9.0)
- Updating psr/log (1.1.0 => 1.1.3)
- Updating monolog/monolog (1.25.1 => 1.25.4)
- Updating pear/text_languagedetect (v1.0.0 => v1.0.1)
- Updating smarty/smarty (v3.1.33 => v3.1.36)
- Updating bower-asset/base64 (1.0.2 => 1.1.0)
- Updating bower-asset/chart-js (v2.8.0 => v2.9.3)
- Updating bower-asset/vue (v2.6.10 => v2.6.11)
- Updating npm-asset/fullcalendar (3.10.1 => 3.10.2)
- Updating npm-asset/moment (2.24.0 => 2.26.0)
- Updating paragonie/sodium_compat (v1.11.1 => v1.13.0)
- Updating paragonie/constant_time_encoding (v2.2.3 => v2.3.0)
- Installing symfony/polyfill-php72 (v1.17.0)
- Installing symfony/polyfill-mbstring (v1.17.0)
- Installing symfony/polyfill-intl-idn (v1.17.0)
- Updating guzzlehttp/guzzle (6.3.3 => 6.5.5)
- Updating paragonie/certainty (v2.5.0 => v2.6.1)
- Updating npm-asset/php-date-formatter (v1.3.5 => v1.3.6)
- Updating symfony/polyfill-util (v1.12.0 => v1.17.0)
- Updating symfony/polyfill-php56 (v1.12.0 => v1.17.0)
Hypolite Petovan [Wed, 17 Jun 2020 17:22:25 +0000 (13:22 -0400)]
[Composer] Enforce minimum supported PHP version for package version selection
Hypolite Petovan [Thu, 18 Jun 2020 15:23:57 +0000 (11:23 -0400)]
Remove share_header() function from mod/share
Hypolite Petovan [Thu, 18 Jun 2020 12:53:57 +0000 (08:53 -0400)]
Replace share_header calls with BBCode::getShareOpeningTag
Hypolite Petovan [Thu, 18 Jun 2020 12:53:30 +0000 (08:53 -0400)]
Add new Content\BBCode::getShareOpeningTag
Michael Vogel [Thu, 18 Jun 2020 04:46:35 +0000 (06:46 +0200)]
Merge pull request #8784 from MrPetovan/bug/8781-link-preview-unlabeled-links-scheme
Add constraints on Page Info URLs
Hypolite Petovan [Thu, 18 Jun 2020 01:44:28 +0000 (21:44 -0400)]
Implement pull request feedback
- Improve formatting of drop_item in mod/item
- Replace deprecated Logger::log() calls in Protocol\Feed::consume
Hypolite Petovan [Wed, 17 Jun 2020 08:58:13 +0000 (04:58 -0400)]
Add PageInfo result panels to Debug\Babel
Hypolite Petovan [Wed, 17 Jun 2020 08:57:21 +0000 (04:57 -0400)]
Deprecate page_info functions to new PageInfo class
- Add tests for parts not using remote requests
- Add scheme requirement for page info URLs
- Add policy to keep label from stripped Page Info links
Hypolite Petovan [Wed, 17 Jun 2020 08:54:44 +0000 (04:54 -0400)]
Deprecate consume_feed() in favor of Protocol\Feed::consume
Hypolite Petovan [Wed, 17 Jun 2020 08:52:23 +0000 (04:52 -0400)]
Move subscribe_to_hub function to Worker/OnePoll from include/items
- It was its only usage
Hypolite Petovan [Wed, 17 Jun 2020 08:50:28 +0000 (04:50 -0400)]
Move drop_items and drop_item out of include/items
- They were only used in mod/item
Hypolite Petovan [Wed, 17 Jun 2020 06:02:13 +0000 (02:02 -0400)]
Add new endsWith method to Util\Strings
Michael Vogel [Wed, 17 Jun 2020 06:20:50 +0000 (08:20 +0200)]
Merge pull request #8783 from MrPetovan/bug/8488-exclude-img-tags
Exclude [img] tags from tag replacement
Hypolite Petovan [Tue, 16 Jun 2020 21:10:52 +0000 (17:10 -0400)]
Merge pull request #8782 from annando/notice
Hopefully fixes notice "Undefined index: gravity"
Michael [Tue, 16 Jun 2020 20:41:34 +0000 (20:41 +0000)]
Possibly fix "Undefined index: url"
Hypolite Petovan [Tue, 16 Jun 2020 20:34:16 +0000 (16:34 -0400)]
Exclude [img] tags from tag replacement
- It broke image captions by inserting an HTML link inside an HTML attribute
Michael [Tue, 16 Jun 2020 20:30:25 +0000 (20:30 +0000)]
Hopefully fixes notice "Undefined index: gravity"
Hypolite Petovan [Tue, 16 Jun 2020 12:43:28 +0000 (08:43 -0400)]
Merge pull request #8779 from annando/max-comments
Different comment limits for single view
Michael Vogel [Tue, 16 Jun 2020 12:37:36 +0000 (14:37 +0200)]
Update src/Module/Admin/Site.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
Michael [Tue, 16 Jun 2020 06:49:53 +0000 (06:49 +0000)]
Different comment limits for single view
Hypolite Petovan [Mon, 15 Jun 2020 13:04:38 +0000 (09:04 -0400)]
Merge pull request #8776 from annando/annando/issue8766
Categories are not showing up at the bottom of the post
Michael Vogel [Mon, 15 Jun 2020 04:47:58 +0000 (06:47 +0200)]
Merge pull request #8777 from tobiasd/
20200615 -lng
Translation updates DE, ET, NL, PL, RU, ZH-CN
Tobias Diekershoff [Mon, 15 Jun 2020 04:23:18 +0000 (06:23 +0200)]
Added Estonian translation THX Rain Hawk
Tobias Diekershoff [Mon, 15 Jun 2020 04:21:57 +0000 (06:21 +0200)]
RU translations THX Alexander An
Tobias Diekershoff [Mon, 15 Jun 2020 04:21:16 +0000 (06:21 +0200)]
PL translation update THX waldis
Tobias Diekershoff [Mon, 15 Jun 2020 04:20:28 +0000 (06:20 +0200)]
NL translation update THX Casper
Tobias Diekershoff [Mon, 15 Jun 2020 04:19:49 +0000 (06:19 +0200)]
update to the zh-cn translation THX steve jobs
Tobias Diekershoff [Mon, 15 Jun 2020 04:18:25 +0000 (06:18 +0200)]
DE translation update THX copis
Michael [Mon, 15 Jun 2020 03:43:51 +0000 (03:43 +0000)]
Categories are not showing up at the bottom of the post
Fixes friendica/friendica#8766
Hypolite Petovan [Sun, 14 Jun 2020 19:03:37 +0000 (15:03 -0400)]
Merge pull request #8774 from annando/annando/issue8769
redir - clicking on title of own post leads to access denied error
Hypolite Petovan [Sun, 14 Jun 2020 18:57:10 +0000 (14:57 -0400)]
Merge pull request #8772 from annando/post-update
Speed up post update for gsid
Hypolite Petovan [Sun, 14 Jun 2020 18:51:33 +0000 (14:51 -0400)]
Merge pull request #8771 from annando/annando/issue8663
Abuse mail received because of "unusual traffic"
Michael [Sun, 14 Jun 2020 18:40:02 +0000 (18:40 +0000)]
redir - clicking on title of own post leads to access denied error
Fixes friendica/friendica#8769
Michael Vogel [Sun, 14 Jun 2020 16:09:59 +0000 (18:09 +0200)]
Speed up post update for gsid
Michael [Sun, 14 Jun 2020 15:47:47 +0000 (15:47 +0000)]
Abuse mail received because of "unusual traffic"
Fixes friendica/friendica#8663
Hypolite Petovan [Sun, 14 Jun 2020 15:18:16 +0000 (11:18 -0400)]
Merge pull request #8770 from annando/probing
Reduced network request when probing
Tobias Diekershoff [Sun, 14 Jun 2020 14:51:22 +0000 (16:51 +0200)]
2020.06-rc
Michael Vogel [Sun, 14 Jun 2020 14:06:22 +0000 (16:06 +0200)]
Merge pull request #8617 from MrPetovan/task/8220-twitter-followers-list
(Re)Implement Twitter contact API endpoints
Michael [Sun, 14 Jun 2020 13:37:28 +0000 (13:37 +0000)]
Reduced network request when probing
Michael Vogel [Sat, 13 Jun 2020 06:19:16 +0000 (08:19 +0200)]
Merge pull request #8767 from MrPetovan/bug/8746-smarty-vars-leak
Clear all previous template variables before replacing Macros
Hypolite Petovan [Sat, 13 Jun 2020 02:06:09 +0000 (22:06 -0400)]
Clear all previous template variables before replacing Macros in FriendicaSmartyEngine
- Prevents variables leaking between replaceMacros() calls
Hypolite Petovan [Sat, 13 Jun 2020 02:05:12 +0000 (22:05 -0400)]
[frio] Remove duplicate page wrapper in auto_request
- [frio] Add page wrapper to minimal template (for sitewide theme settings)
Hypolite Petovan [Fri, 12 Jun 2020 20:42:16 +0000 (16:42 -0400)]
Merge pull request #8765 from annando/fix-pubkey
Fix providing the public key
Michael Vogel [Fri, 12 Jun 2020 19:51:42 +0000 (21:51 +0200)]
Fix providing the public key
Michael Vogel [Fri, 12 Jun 2020 04:58:20 +0000 (06:58 +0200)]
Merge pull request #8753 from MrPetovan/bug/fatal-errors
Remove dependency to App in Contact::createFromProbe
Michael Vogel [Fri, 12 Jun 2020 04:47:37 +0000 (06:47 +0200)]
Merge pull request #8761 from MrPetovan/bug/8743-frio-admin-users-table-order
[frio] Replace only the users table element when reordering on a column in mod_admin.js
Hypolite Petovan [Fri, 12 Jun 2020 00:26:29 +0000 (20:26 -0400)]
[frio] Replace only the users table element when reordering on a column in mod_admin.js
- Replace duplicate jQuery query with a variable
Michael Vogel [Thu, 11 Jun 2020 05:32:29 +0000 (07:32 +0200)]
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
[frio] Improve share blocks display
Michael Vogel [Thu, 11 Jun 2020 04:29:33 +0000 (06:29 +0200)]
Merge pull request #8754 from MrPetovan/task/8676-ap-attachments
Strip the link preview URL from the end of the body if any in ActivityPub\Processor
Michael Vogel [Wed, 10 Jun 2020 23:05:56 +0000 (01:05 +0200)]
Merge pull request #8758 from MrPetovan/bug/8726-mention-parsing
Add missing return variable while replacing tags in mod/item
Hypolite Petovan [Wed, 10 Jun 2020 21:23:07 +0000 (17:23 -0400)]
Add missing return variable while replacing tags in mod/item
Hypolite Petovan [Wed, 10 Jun 2020 19:33:03 +0000 (15:33 -0400)]
Merge pull request #8757 from annando/simplify-probe
Simplify the probing process
Michael [Wed, 10 Jun 2020 19:19:10 +0000 (19:19 +0000)]
Simplify the probing process
Michael Vogel [Wed, 10 Jun 2020 19:14:23 +0000 (21:14 +0200)]
Merge pull request #8755 from MrPetovan/bug/notices
Replace mention to $_SERVER with parameter in Content\Markdown::convert
Hypolite Petovan [Wed, 10 Jun 2020 15:40:18 +0000 (11:40 -0400)]
Replace mention to $_SERVER with parameter in Content\Markdown::convert
- $_SERVER key isn't always available, no idea what it was used for exactly
Hypolite Petovan [Wed, 10 Jun 2020 15:19:44 +0000 (11:19 -0400)]
Strip the link preview URL from the end of the body if any in ActivityPub\Processor
Hypolite Petovan [Wed, 10 Jun 2020 14:36:42 +0000 (10:36 -0400)]
Remove dependency to App in Contact::createFromProbe
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-
641259906
Hypolite Petovan [Wed, 10 Jun 2020 13:55:52 +0000 (09:55 -0400)]
Add no-parsing block escaping in BBCode::setMentions
Hypolite Petovan [Sat, 6 Jun 2020 21:31:23 +0000 (17:31 -0400)]
Remove superfluous code
- Remove explicit default parameter value in BBCode::convertShareCallback
- Remove Probe::$baseurl reset since the twitter probe sets the `baseurl` property
- Remove baseurl guessing in Probe::detect
Hypolite Petovan [Sat, 6 Jun 2020 18:37:07 +0000 (14:37 -0400)]
[frio] Improve shared content display
Hypolite Petovan [Sat, 6 Jun 2020 18:36:48 +0000 (14:36 -0400)]
Add mention support to shared content
Hypolite Petovan [Wed, 10 Jun 2020 14:13:32 +0000 (10:13 -0400)]
Move handle_tag() to Content\Item::replaceTag
Hypolite Petovan [Sat, 6 Jun 2020 18:36:04 +0000 (14:36 -0400)]
Add probe data return if Contact::getDetailsByURL didn't yield a result in Contact::getDetailsByAddr
Hypolite Petovan [Sat, 6 Jun 2020 18:32:51 +0000 (14:32 -0400)]
Fix issue with Probe returning local baseurl for probed Twitter accounts
Hypolite Petovan [Wed, 10 Jun 2020 04:11:51 +0000 (00:11 -0400)]
Merge pull request #8752 from annando/posts-from-id
Avoid unneeded database calls when showing posts of contacts
Hypolite Petovan [Wed, 10 Jun 2020 04:10:32 +0000 (00:10 -0400)]
Merge pull request #8751 from annando/notice
Fix notice "Undefined index: template in src/Network/Probe.php on line 598"
Michael [Tue, 9 Jun 2020 22:38:06 +0000 (22:38 +0000)]
Avoid unneeded database calls when showing posts of contacts