Commit Graph

28612 Commits

Author SHA1 Message Date
Michael Vogel f5993463e8
Merge pull request #8802 from MrPetovan/task/8314-api-capture-login
Update user.login_date for authenticated API calls
2020-06-23 21:23:08 +02:00
Tobias Diekershoff 2fc0b23b7c
Merge pull request #8801 from MrPetovan/task/8800-pre-whitespaces
[pre] blocks now preserve spaces
2020-06-23 17:01:44 +02:00
Hypolite Petovan 677eaf78ed Add API login capture 12h cooldown to spare database writes 2020-06-23 10:15:39 -04:00
Hypolite Petovan 43e6cec200 Update user.login_date for authenticated API calls 2020-06-23 09:09:23 -04:00
Hypolite Petovan faeffff8a3 [pre] blocks now preserve spaces
- Added test case
- Added English documentation
2020-06-23 07:53:18 -04:00
Hypolite Petovan 251a3791dd Keep spaces after non-tags in Content\BBCode::convert
- Added test case
2020-06-23 07:52:38 -04:00
Tobias Diekershoff 4e5c3157fe
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
2020-06-23 06:55:54 +02:00
Hypolite Petovan ad9bac8b07 Prevent propagation of escape key press when it was used to close autocomplete dropdown
- It was causing the modal window to unexpectedly close
2020-06-22 22:25:15 -04:00
Hypolite Petovan 2b83ec6784 Add more expected data to test fixtures 2020-06-22 17:49:20 -04:00
Hypolite Petovan b77896ed45 [frio] Add local post link to share block when guid attribute is present 2020-06-21 09:45:36 -04:00
Hypolite Petovan d2aa68106b Make guid attribute available to convertShare callback 2020-06-21 09:45:00 -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 5ec8025f69
Merge pull request #8791 from tobiasd/2020.06-rc
Update composer.phar to Version 1.10.7
2020-06-20 12:48:56 -04:00
Tobias Diekershoff 797eff853a
Merge pull request #8790 from MrPetovan/bug/notices
Fix latest notice messages
2020-06-20 18:07:54 +02:00
Tobias Diekershoff 7303920742 Update composer.phar to Version 1.10.7 2020-06-20 17:41:25 +02:00
Tobias Diekershoff 03b9a993f9
Merge pull request #8789 from MrPetovan/bug/fatal-errors
Account for contact.ffi_keyword_denylist field being NULL by default
2020-06-19 17:55:48 +02:00
Hypolite Petovan a83681e93a Use Contact::getDetailsByURL instead of custom query in Protocol\OStatus
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-646457104
2020-06-19 07:10:39 -04:00
Hypolite Petovan aafef02789 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
2020-06-19 07:10:27 -04:00
Hypolite Petovan 51bae35d2a Account for contact.ffi_keyword_denylist field being NULL by default in Protocol\Feed 2020-06-19 07:01:05 -04:00
Michael Vogel 87f2efff4b
Merge pull request #8786 from MrPetovan/task/composer
[Composer] Update dependencies ahead of release
2020-06-18 18:59:51 +02:00
Michael Vogel 5215e69f37
Merge pull request #8787 from MrPetovan/task/move-share-header
Replace share_header calls with BBCode::getShareOpeningTag
2020-06-18 17:56:23 +02:00
Hypolite Petovan 9281aece08 [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)
2020-06-18 11:44:17 -04:00
Hypolite Petovan 8c580e0c48 [Composer] Enforce minimum supported PHP version for package version selection 2020-06-18 11:44:16 -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 cd74fb8609 Add new Content\BBCode::getShareOpeningTag 2020-06-18 08:53:30 -04:00
Michael Vogel db9f798bcd
Merge pull request #8784 from MrPetovan/bug/8781-link-preview-unlabeled-links-scheme
Add constraints on Page Info URLs
2020-06-18 06:46:35 +02: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 4e7c45f835 Add PageInfo result panels to Debug\Babel 2020-06-17 13:24:44 -04:00
Hypolite Petovan f3323aff5e 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
2020-06-17 13:24:44 -04:00
Hypolite Petovan eba964ec12 Deprecate consume_feed() in favor of Protocol\Feed::consume 2020-06-17 13:24:44 -04:00
Hypolite Petovan e3d20b4366 Move subscribe_to_hub function to Worker/OnePoll from include/items
- It was its only usage
2020-06-17 13:24:44 -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 51925f2994 Add new endsWith method to Util\Strings 2020-06-17 13:24:44 -04:00
Michael Vogel df03b19a9d
Merge pull request #8783 from MrPetovan/bug/8488-exclude-img-tags
Exclude [img] tags from tag replacement
2020-06-17 08:20:50 +02:00
Hypolite Petovan 1abde8133a
Merge pull request #8782 from annando/notice
Hopefully fixes notice "Undefined index: gravity"
2020-06-16 17:10:52 -04:00
Michael 1a86167ac5 Possibly fix "Undefined index: url" 2020-06-16 20:41:34 +00: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 8707ced2f7 Hopefully fixes notice "Undefined index: gravity" 2020-06-16 20:30:25 +00:00
Hypolite Petovan 84c56c481a
Merge pull request #8779 from annando/max-comments
Different comment limits for single view
2020-06-16 08:43:28 -04:00
Michael Vogel c5e5defc29
Update src/Module/Admin/Site.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-06-16 14:37:36 +02:00
Michael 016c99935c Different comment limits for single view 2020-06-16 06:49:53 +00:00
Hypolite Petovan 6792eada0a
Merge pull request #8776 from annando/annando/issue8766
Categories are not showing up at the bottom of the post
2020-06-15 09:04:38 -04:00
Michael Vogel 9a62f109d8
Merge pull request #8777 from tobiasd/20200615-lng
Translation updates DE, ET, NL, PL, RU, ZH-CN
2020-06-15 06:47:58 +02:00
Tobias Diekershoff 5b13c9b1da Added Estonian translation THX Rain Hawk 2020-06-15 06:23:18 +02:00
Tobias Diekershoff cad8748105 RU translations THX Alexander An 2020-06-15 06:21:57 +02:00
Tobias Diekershoff 855a69325f PL translation update THX waldis 2020-06-15 06:21:16 +02:00
Tobias Diekershoff 2da9dca316 NL translation update THX Casper 2020-06-15 06:20:28 +02:00
Tobias Diekershoff 743885b4b0 update to the zh-cn translation THX steve jobs 2020-06-15 06:19:49 +02:00
Tobias Diekershoff f73ea4b621 DE translation update THX copis 2020-06-15 06:18:25 +02:00