Commit Graph

27830 Commits

Author SHA1 Message Date
Michael a0ee12aade Fix notice "Undefined index: forum" 2020-06-26 05:29:00 +00:00
Michael 019a9d44c5 New function to fetch contact data by url 2020-06-26 05:28:25 +00:00
Hypolite Petovan 7822238fe0
Merge pull request #8813 from annando/issue-8807
Issue 8807: Improved feed detecting
2020-06-25 17:04:50 -04:00
Michael d8f9bb1e0a Unify code structure 2020-06-25 20:41:34 +00:00
Michael 4d986526f9 Issue 8807: Improved feed detecting 2020-06-25 20:29:21 +00:00
Michael Vogel 0740782d58
Merge pull request #8803 from MrPetovan/bug/8477-api-photo-item-selectfirstforuser
[API] Replace unwarranted Item::selectFirstForUser calls in photo endpoints
2020-06-25 19:22:49 +02:00
Hypolite Petovan b6c7f247cc Replace array_unique with GROUP BY clause in api_fr_photoalbum_delete() 2020-06-25 08:05:09 -04:00
Michael Vogel 95ed81de5f
Merge pull request #8805 from MrPetovan/bug/notices
Add logging to rare condition in Model\Profile::sidebar
2020-06-25 08:39:28 +02:00
Michael Vogel 1625dfa0a4
Merge pull request #8804 from MrPetovan/bug/warnings
Add type hint to Database::insert
2020-06-25 08:37:41 +02:00
Tobias Diekershoff b916ec9733 double name 2020-06-25 07:42:03 +02:00
Tobias Diekershoff 8b52f8d1f2 credits for the 2020.06 release 2020-06-25 07:39:14 +02:00
Michael Vogel e1e06459b9
Merge pull request #8809 from MrPetovan/bug/8808-db-error-contact
Add expected whitespace before Widget::unavailableNetworks() output
2020-06-25 05:48:03 +02:00
Hypolite Petovan 06b992a5dd Add expected whitespace before Widget::unavailableNetworks() output in Module\Contact 2020-06-24 18:49:55 -04:00
Hypolite Petovan 192576f01a Add logging to rare condition in Model\Profile::sidebar
- Adresses https://github.com/friendica/friendica/issues/8475#issuecomment-647104375
2020-06-24 09:56:11 -04:00
Hypolite Petovan 5cf5869b04 Add type hint to Database::insert
- Will escalate warning to fatal error in https://github.com/friendica/friendica/issues/8474#issuecomment-646802016
2020-06-24 09:36:34 -04:00
Hypolite Petovan 8272b16647 [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
2020-06-24 08:14:45 -04:00
Hypolite Petovan ae6e9e7267 [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()
2020-06-24 08:11:47 -04:00
Michael Vogel 7fd2c00171
Merge pull request #8792 from MrPetovan/task/share-block-guid
[frio] Add local post link to share block when guid attribute is present
2020-06-23 21:26:07 +02:00
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