friendica.git/.git
4 years agoMerge pull request #7266 from MrPetovan/bug/notices
Michael Vogel [Fri, 14 Jun 2019 13:03:30 +0000 (15:03 +0200)]
Merge pull request #7266 from MrPetovan/bug/notices

 Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion

4 years agoMerge pull request #7270 from MrPetovan/bug/7269-fetch-routes
Michael Vogel [Fri, 14 Jun 2019 11:24:43 +0000 (13:24 +0200)]
Merge pull request #7270 from MrPetovan/bug/7269-fetch-routes

Define expected /fetch module routes

4 years agoCheck for existing protocols.inbound value in Protocol\PortableContact
Hypolite Petovan [Fri, 14 Jun 2019 10:25:44 +0000 (06:25 -0400)]
Check for existing protocols.inbound value in Protocol\PortableContact

4 years agoDefine expected /fetch module routes
Hypolite Petovan [Fri, 14 Jun 2019 10:22:01 +0000 (06:22 -0400)]
Define expected /fetch module routes

4 years agoMerge pull request #7267 from annando/notice
Hypolite Petovan [Fri, 14 Jun 2019 10:01:52 +0000 (06:01 -0400)]
Merge pull request #7267 from annando/notice

Avoid a notice in AP Receiver

4 years agoAvoid a notice in AP Receiver
Michael [Fri, 14 Jun 2019 02:58:40 +0000 (02:58 +0000)]
Avoid a notice in AP Receiver

4 years agoAdd type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion
Hypolite Petovan [Thu, 13 Jun 2019 23:07:39 +0000 (19:07 -0400)]
Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion

4 years agoAdd type-hint for dynamic variables in DBA
Hypolite Petovan [Thu, 13 Jun 2019 23:07:04 +0000 (19:07 -0400)]
Add type-hint for dynamic variables in DBA

4 years agoMerge pull request #7265 from annando/issue-7264
Hypolite Petovan [Thu, 13 Jun 2019 20:51:03 +0000 (16:51 -0400)]
Merge pull request #7265 from annando/issue-7264

Issue 7264: Count local delivery as well

4 years agoIssue 7264: Count local delivery as well
Michael [Thu, 13 Jun 2019 20:24:49 +0000 (20:24 +0000)]
Issue 7264: Count local delivery as well

4 years agoMerge pull request #7263 from nupplaphil/bug/6917-php_warning
Hypolite Petovan [Thu, 13 Jun 2019 15:50:45 +0000 (11:50 -0400)]
Merge pull request #7263 from nupplaphil/bug/6917-php_warning

Add additional check for $links in Probe

4 years agoAdd additional check for $links in Probe
Philipp Holzer [Thu, 13 Jun 2019 13:01:24 +0000 (15:01 +0200)]
Add additional check for $links in Probe
see https://github.com/friendica/friendica/issues/6917#issuecomment-501661530

4 years agoMerge pull request #7262 from MrPetovan/bug/6410-normalize-message-button
Philipp [Thu, 13 Jun 2019 10:34:16 +0000 (12:34 +0200)]
Merge pull request #7262 from MrPetovan/bug/6410-normalize-message-button

Restore show_connect flag in Model\Profile::sidebar

4 years agoRestore show_connect flag in Model\Profile::sidebar
Hypolite Petovan [Thu, 13 Jun 2019 07:26:42 +0000 (03:26 -0400)]
Restore show_connect flag in Model\Profile::sidebar

4 years agoMerge pull request #7260 from annando/sanitize-input
Philipp [Thu, 13 Jun 2019 07:11:41 +0000 (09:11 +0200)]
Merge pull request #7260 from annando/sanitize-input

Sanitize the date for mails

4 years agoEmpty dates are now set to today as well
Michael [Thu, 13 Jun 2019 05:43:00 +0000 (05:43 +0000)]
Empty dates are now set to today as well

4 years agoMerge pull request #7261 from annando/issue-7142
Hypolite Petovan [Thu, 13 Jun 2019 05:32:20 +0000 (01:32 -0400)]
Merge pull request #7261 from annando/issue-7142

Issue 7142: Prevent respawn of "remote self" items

4 years agoIssue 7142: Prevent respawn of "remote self" items
Michael [Thu, 13 Jun 2019 05:06:52 +0000 (05:06 +0000)]
Issue 7142: Prevent respawn of "remote self" items

4 years agoSanitize the date for mails
Michael [Thu, 13 Jun 2019 03:22:15 +0000 (03:22 +0000)]
Sanitize the date for mails

4 years agoMerge pull request #7259 from MrPetovan/bug/7240-private-message-ap
Michael Vogel [Thu, 13 Jun 2019 03:21:53 +0000 (05:21 +0200)]
Merge pull request #7259 from MrPetovan/bug/7240-private-message-ap

 Normalize the datetime format of received activity before DB insertion

4 years agoNormalize the datetime format of received activity before DB insertion in ActivityPub...
Hypolite Petovan [Thu, 13 Jun 2019 01:02:37 +0000 (21:02 -0400)]
Normalize the datetime format of received activity before DB insertion in ActivityPub\Processor

- Restore private message storage

4 years agoFix formatting and PHPDoc in ActivityPub\Processor
Hypolite Petovan [Thu, 13 Jun 2019 01:01:44 +0000 (21:01 -0400)]
Fix formatting and PHPDoc in ActivityPub\Processor

Add expected return value to postMail method

4 years agoMerge pull request #7258 from annando/fix-notice
Hypolite Petovan [Wed, 12 Jun 2019 20:19:45 +0000 (16:19 -0400)]
Merge pull request #7258 from annando/fix-notice

Fix notice in Model\Profile

4 years agoFix notice in Model\Profile
Michael [Wed, 12 Jun 2019 19:41:15 +0000 (19:41 +0000)]
Fix notice in Model\Profile

4 years agoMerge pull request #7250 from MrPetovan/bug/6410-normalize-message-button
Philipp [Wed, 12 Jun 2019 15:56:05 +0000 (17:56 +0200)]
Merge pull request #7250 from MrPetovan/bug/6410-normalize-message-button

Normalize message button in profile sidebar

4 years agoUse App::getBaseURL instead of System::getBaseURL in Model\Profile::load
Hypolite Petovan [Wed, 12 Jun 2019 14:56:41 +0000 (10:56 -0400)]
Use App::getBaseURL instead of System::getBaseURL in Model\Profile::load

Co-Authored-By: Philipp <admin+Github@philipp.info>
4 years agoMerge pull request #7256 from MrPetovan/bug/7249-remote-logout
Philipp [Wed, 12 Jun 2019 05:37:42 +0000 (07:37 +0200)]
Merge pull request #7256 from MrPetovan/bug/7249-remote-logout

Fix remote logout

4 years agoNormalize logout link behavior across themes
Hypolite Petovan [Tue, 11 Jun 2019 23:42:08 +0000 (19:42 -0400)]
Normalize logout link behavior across themes

4 years agoRedirect remote visitors to their own profile after logout
Hypolite Petovan [Tue, 11 Jun 2019 23:41:11 +0000 (19:41 -0400)]
Redirect remote visitors to their own profile after logout

4 years agoMerge pull request #7255 from annando/issue-7223
Hypolite Petovan [Tue, 11 Jun 2019 22:36:30 +0000 (18:36 -0400)]
Merge pull request #7255 from annando/issue-7223

Issue 7223: Don't strip links

4 years agoAdded comment
Michael [Tue, 11 Jun 2019 21:40:44 +0000 (21:40 +0000)]
Added comment

4 years agoIssue 7223: Don't strip links
Michael [Tue, 11 Jun 2019 20:34:21 +0000 (20:34 +0000)]
Issue 7223: Don't strip links

4 years agoMerge pull request #7254 from annando/fix-plaintext
Hypolite Petovan [Tue, 11 Jun 2019 20:27:48 +0000 (16:27 -0400)]
Merge pull request #7254 from annando/fix-plaintext

Fix pixture posts to connectors / fix delivery counter for connector posts

4 years agoFix pixture posts to connectors / fix delivery counter for connector posts
Michael [Tue, 11 Jun 2019 19:35:03 +0000 (19:35 +0000)]
Fix pixture posts to connectors / fix delivery counter for connector posts

4 years agoMerge pull request #7251 from annando/fix-fatal
Philipp [Tue, 11 Jun 2019 06:45:49 +0000 (08:45 +0200)]
Merge pull request #7251 from annando/fix-fatal

Avoid fatal error when AP contact has no photo

4 years agoFix another fatal error
Michael [Tue, 11 Jun 2019 06:02:18 +0000 (06:02 +0000)]
Fix another fatal error

4 years agoAvoid fatal error when AP contact has no photo
Michael [Tue, 11 Jun 2019 05:26:16 +0000 (05:26 +0000)]
Avoid fatal error when AP contact has no photo

4 years agoMerge pull request #7248 from nupplaphil/bugs/6916-fatal-network
Hypolite Petovan [Tue, 11 Jun 2019 01:57:13 +0000 (21:57 -0400)]
Merge pull request #7248 from nupplaphil/bugs/6916-fatal-network

Fixing Network::post() caused by wrong argument

4 years agoNormalize the contact sidebar with the profile sidebar
Hypolite Petovan [Tue, 11 Jun 2019 01:40:44 +0000 (21:40 -0400)]
Normalize the contact sidebar with the profile sidebar

- Remove un/follow text links in contact status window

4 years agoRework Profile::sidebar profile link conditions
Hypolite Petovan [Tue, 11 Jun 2019 01:33:25 +0000 (21:33 -0400)]
Rework Profile::sidebar profile link conditions

- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect

4 years agoAdd new Model\Contact::canReceivePrivateMessages method
Hypolite Petovan [Tue, 11 Jun 2019 01:29:11 +0000 (21:29 -0400)]
Add new Model\Contact::canReceivePrivateMessages method

4 years agoPrevents an endless loop when only the non-public contact is available in Contact...
Hypolite Petovan [Mon, 10 Jun 2019 23:10:39 +0000 (19:10 -0400)]
Prevents an endless loop when only the non-public contact is available in Contact::magicLinkByContact

4 years agoFixing Network::post() caused by wrong argument
Philipp Holzer [Mon, 10 Jun 2019 17:12:00 +0000 (19:12 +0200)]
Fixing Network::post() caused by wrong argument

4 years agoMerge pull request #7247 from annando/fix-7242
Hypolite Petovan [Mon, 10 Jun 2019 17:30:33 +0000 (13:30 -0400)]
Merge pull request #7247 from annando/fix-7242

Fixes PR 7242: Now the "post" function works again

4 years agoFixes PR 7242: Now the "post" function works again
Michael [Mon, 10 Jun 2019 16:58:00 +0000 (16:58 +0000)]
Fixes PR 7242: Now the "post" function works again

4 years agoMerge pull request #7246 from annando/fix-post-detection
Philipp [Mon, 10 Jun 2019 16:56:18 +0000 (18:56 +0200)]
Merge pull request #7246 from annando/fix-post-detection

Fix the detection of image posts

4 years agoFix the detection of image posts
Michael [Mon, 10 Jun 2019 16:06:54 +0000 (16:06 +0000)]
Fix the detection of image posts

4 years agoMerge pull request #7245 from annando/unify-constants
Hypolite Petovan [Mon, 10 Jun 2019 15:59:40 +0000 (11:59 -0400)]
Merge pull request #7245 from annando/unify-constants

Fix delivery counter for poking / unify delivery commands

4 years agoMerge pull request #7244 from nupplaphil/task/hidden_string
Hypolite Petovan [Mon, 10 Jun 2019 14:50:41 +0000 (10:50 -0400)]
Merge pull request #7244 from nupplaphil/task/hidden_string

Introduce HiddenString for Config-Values

4 years agoFix delivery counter for poking / unify delivery commands
Michael [Mon, 10 Jun 2019 14:19:24 +0000 (14:19 +0000)]
Fix delivery counter for poking / unify delivery commands

4 years agoBugfixing wrong typed password setting
Philipp Holzer [Mon, 10 Jun 2019 13:46:34 +0000 (15:46 +0200)]
Bugfixing wrong typed password setting

4 years agoBugfixing empty password setting
Philipp Holzer [Mon, 10 Jun 2019 13:39:21 +0000 (15:39 +0200)]
Bugfixing empty password setting

4 years agoMerge pull request #7242 from nupplaphil/bugs/6917-php_warning
Hypolite Petovan [Mon, 10 Jun 2019 13:22:27 +0000 (09:22 -0400)]
Merge pull request #7242 from nupplaphil/bugs/6917-php_warning

Add typed parameter for methods in `Friendica\Util\Network`

4 years agoIntroduce HiddenString for Config-Values
Philipp Holzer [Mon, 10 Jun 2019 12:43:25 +0000 (14:43 +0200)]
Introduce HiddenString for Config-Values

4 years agoMove internal recursion-counter to the end of all cur/fetchUrl parameters
Philipp Holzer [Mon, 10 Jun 2019 12:34:54 +0000 (14:34 +0200)]
Move internal recursion-counter to the end of all cur/fetchUrl parameters

4 years agoAdd App parameter to Module\Profile::sidebar method prototype
Hypolite Petovan [Mon, 10 Jun 2019 12:21:06 +0000 (08:21 -0400)]
Add App parameter to Module\Profile::sidebar method prototype

4 years agoMerge pull request #7243 from nupplaphil/bugs/6918-php_notices
Hypolite Petovan [Mon, 10 Jun 2019 12:01:28 +0000 (08:01 -0400)]
Merge pull request #7243 from nupplaphil/bugs/6918-php_notices

Check Contact ID (fix PHP notice)

4 years agoCheck $contact['id']
Philipp Holzer [Mon, 10 Jun 2019 10:36:42 +0000 (12:36 +0200)]
Check $contact['id']
- see https://github.com/friendica/friendica/issues/6918#issuecomment-498043313

4 years agoAdd typed parameter for methods in `Friendica\Util\Network`
Philipp Holzer [Mon, 10 Jun 2019 10:06:41 +0000 (12:06 +0200)]
Add typed parameter for methods in `Friendica\Util\Network`

4 years agoMerge pull request #7237 from deantownsley/multiremotefix
Hypolite Petovan [Mon, 10 Jun 2019 03:25:03 +0000 (23:25 -0400)]
Merge pull request #7237 from deantownsley/multiremotefix

expand permission check to remote array

4 years agoUse accessing function for session variable
Dean Townsley [Sun, 9 Jun 2019 01:24:51 +0000 (20:24 -0500)]
Use accessing function for session variable

4 years agoremove leftover logging
Dean Townsley [Sun, 9 Jun 2019 01:23:12 +0000 (20:23 -0500)]
remove leftover logging

4 years agoexpand permission check to remote array
Dean Townsley [Sat, 8 Jun 2019 15:11:02 +0000 (10:11 -0500)]
expand permission check to remote array

This check was preventing multiple private images from different
users on the same server from loading on the same page.
It was only checking for permission for the single id returned by the
remote_user() function rather than the multiple possible autheniticated
id's stored in the remote arry session variable.

4 years agoMerge pull request #7233 from nupplaphil/bug/installer_replace_macro
Hypolite Petovan [Fri, 7 Jun 2019 00:37:11 +0000 (20:37 -0400)]
Merge pull request #7233 from nupplaphil/bug/installer_replace_macro

Fixing Installer - ReplaceMacro

4 years agoFixing Installer - ReplaceMacro
Philipp Holzer [Thu, 6 Jun 2019 22:36:10 +0000 (00:36 +0200)]
Fixing Installer - ReplaceMacro

4 years agoMerge pull request #7228 from annando/poke-dfrn
Hypolite Petovan [Thu, 6 Jun 2019 18:53:27 +0000 (14:53 -0400)]
Merge pull request #7228 from annando/poke-dfrn

Ensure that pokes are always send only via DFRN

4 years agoAdded comments
Michael [Thu, 6 Jun 2019 17:58:49 +0000 (17:58 +0000)]
Added comments

4 years agoEnsure that pokes are always send only via DFRN
Michael [Thu, 6 Jun 2019 04:26:02 +0000 (04:26 +0000)]
Ensure that pokes are always send only via DFRN

4 years agoMerge pull request #7227 from annando/composer
Hypolite Petovan [Wed, 5 Jun 2019 04:46:07 +0000 (00:46 -0400)]
Merge pull request #7227 from annando/composer

Updated composer lock file

4 years agoUpdated composer
Michael [Wed, 5 Jun 2019 03:35:10 +0000 (03:35 +0000)]
Updated composer

4 years agoMerge pull request #7225 from MrPetovan/bug/7194-frio-hovercard-modal-button
Philipp [Mon, 3 Jun 2019 16:52:54 +0000 (18:52 +0200)]
Merge pull request #7225 from MrPetovan/bug/7194-frio-hovercard-modal-button

Fix frio hovercard modal buttons

4 years ago[frio] Add .add-to-modal delegated event on anchors
Hypolite Petovan [Mon, 3 Jun 2019 12:31:43 +0000 (08:31 -0400)]
[frio] Add .add-to-modal delegated event on anchors

- Improve hovercard button accessibility

4 years agoAdd global Javascript Element.matches polyfill
Hypolite Petovan [Mon, 3 Jun 2019 12:30:24 +0000 (08:30 -0400)]
Add global Javascript Element.matches polyfill

4 years agoMerge pull request #7221 from annando/issue-6799
Philipp [Sun, 2 Jun 2019 09:28:43 +0000 (11:28 +0200)]
Merge pull request #7221 from annando/issue-6799

Issue #6799 - remove linefeeds inside of a table structure

4 years agoIssue #6799 - remove linefeeds inside of a table structure
Michael [Sun, 2 Jun 2019 04:18:38 +0000 (04:18 +0000)]
Issue #6799 - remove linefeeds inside of a table structure

4 years agoMerge pull request #7218 from nupplaphil/bug/remove_queue_summary
Hypolite Petovan [Sun, 2 Jun 2019 02:26:58 +0000 (22:26 -0400)]
Merge pull request #7218 from nupplaphil/bug/remove_queue_summary

Remove queue from Admin/Summary

4 years agoMerge pull request #7219 from nupplaphil/task/remove_well_known_hardening
Hypolite Petovan [Sun, 2 Jun 2019 02:26:09 +0000 (22:26 -0400)]
Merge pull request #7219 from nupplaphil/task/remove_well_known_hardening

Remove .well-known hardening

4 years agoRemove queue from Admin/Summary
Philipp Holzer [Sun, 2 Jun 2019 01:16:18 +0000 (03:16 +0200)]
Remove queue from Admin/Summary

4 years agoRemove .well-known hardening
Philipp Holzer [Sun, 2 Jun 2019 01:19:44 +0000 (03:19 +0200)]
Remove .well-known hardening

4 years agoMerge pull request #7215 from annando/fix-defer
Philipp [Sat, 1 Jun 2019 11:35:02 +0000 (13:35 +0200)]
Merge pull request #7215 from annando/fix-defer

The only reason we don't defer is when it was a post to a relay

4 years agoThe only reason we don't defer is when it was a post to a relay
Michael [Sat, 1 Jun 2019 11:28:37 +0000 (11:28 +0000)]
The only reason we don't defer is when it was a post to a relay

4 years agoMerge pull request #7213 from annando/fix-counter
Hypolite Petovan [Sat, 1 Jun 2019 11:12:31 +0000 (07:12 -0400)]
Merge pull request #7213 from annando/fix-counter

The delivery counter now counts only successful deliveries

4 years agoThe delivery counter now counts only successful deliveries
Michael [Sat, 1 Jun 2019 06:54:47 +0000 (06:54 +0000)]
The delivery counter now counts only successful deliveries

4 years agoMerge pull request #7211 from MrPetovan/bug/7209-admin-forbidden
Philipp [Fri, 31 May 2019 09:49:40 +0000 (11:49 +0200)]
Merge pull request #7211 from MrPetovan/bug/7209-admin-forbidden

Add themed themed error page or login page for /admin[/*]

4 years agoMerge pull request #7208 from nupplaphil/bug/6916-filetag
Hypolite Petovan [Fri, 31 May 2019 05:47:52 +0000 (01:47 -0400)]
Merge pull request #7208 from nupplaphil/bug/6916-filetag

Adding null checks before FileTag method (fix fatal)

4 years agoUpdate base translation strings
Hypolite Petovan [Fri, 31 May 2019 04:35:42 +0000 (00:35 -0400)]
Update base translation strings

4 years agoAdd themed themed error page or login page for /admin[/*]
Hypolite Petovan [Fri, 31 May 2019 04:16:07 +0000 (00:16 -0400)]
Add themed themed error page or login page for /admin[/*]

4 years agoMerge pull request #7210 from annando/diaspora-edit
Hypolite Petovan [Thu, 30 May 2019 19:25:29 +0000 (15:25 -0400)]
Merge pull request #7210 from annando/diaspora-edit

Fix edited messages for Diaspora

4 years agoFix edited messages for Diaspora
Michael [Thu, 30 May 2019 18:56:31 +0000 (18:56 +0000)]
Fix edited messages for Diaspora

4 years agoMerge pull request #7207 from nupplaphil/bug/6917-php_warnings
Hypolite Petovan [Thu, 30 May 2019 13:31:50 +0000 (09:31 -0400)]
Merge pull request #7207 from nupplaphil/bug/6917-php_warnings

Add hexadecimal check (fix warnings)

4 years agoMerge pull request #7206 from nupplaphil/issue/6918-php_notices
Hypolite Petovan [Thu, 30 May 2019 13:30:26 +0000 (09:30 -0400)]
Merge pull request #7206 from nupplaphil/issue/6918-php_notices

Fixing PHP Notices

4 years agocatching nulls for FileTag
Philipp Holzer [Thu, 30 May 2019 11:54:17 +0000 (13:54 +0200)]
catching nulls for FileTag

4 years agoChange fallback logic
Philipp Holzer [Thu, 30 May 2019 11:45:39 +0000 (13:45 +0200)]
Change fallback logic

4 years agonormal comparison
Philipp Holzer [Thu, 30 May 2019 11:38:00 +0000 (13:38 +0200)]
normal comparison

4 years agoAdd test for Strings::isHex()
Philipp Holzer [Thu, 30 May 2019 10:26:29 +0000 (12:26 +0200)]
Add test for Strings::isHex()

4 years agoAdd more Strings::isHex() checks to photos
Philipp Holzer [Thu, 30 May 2019 08:30:15 +0000 (10:30 +0200)]
Add more Strings::isHex() checks to photos

4 years agoReplace $_SESSION with Session::get()
Philipp Holzer [Thu, 30 May 2019 08:18:52 +0000 (10:18 +0200)]
Replace $_SESSION with Session::get()

4 years agoBugfix - `author-network` (adding to unset list during insert)
Philipp Holzer [Wed, 29 May 2019 19:48:03 +0000 (21:48 +0200)]
Bugfix - `author-network` (adding to unset list during insert)

4 years agoBugfix - `item_id`
Philipp Holzer [Wed, 29 May 2019 19:40:21 +0000 (21:40 +0200)]
Bugfix - `item_id`

4 years agoAdding hexadecimal check for parse_rul
Philipp Holzer [Wed, 29 May 2019 18:32:16 +0000 (20:32 +0200)]
Adding hexadecimal check for parse_rul
see https://github.com/friendica/friendica/issues/6917#issuecomment-475461338