friendica.git/.git
4 years agoUse User:: API insteadd of direct database read
Dean Townsley [Sat, 22 Jun 2019 23:56:33 +0000 (18:56 -0500)]
Use User:: API insteadd of direct database read

4 years agoEnable multi-auth in dfrn autoRedir
Dean Townsley [Sat, 22 Jun 2019 17:34:54 +0000 (12:34 -0500)]
Enable multi-auth in dfrn autoRedir

Update checks to account for a user being authenticated to multiple
contacts on the local server at the same time.
It was also necessary to remove a looping procection to make this work
correcly with browsers that open multiple connections because the
information about what contacts are authenticated is stored in the PHP
session.

4 years agoAdd auth to load sequence for photos
Dean Townsley [Sat, 22 Jun 2019 17:24:30 +0000 (12:24 -0500)]
Add auth to load sequence for photos

This allows private photos to load on any page.  Previously auth
depended on some other thing like the enclosing page triggering the
authentication of the specific contact for the photo owner.

4 years agoMerge pull request #7291 from MrPetovan/bug/2209-update-default-log-location
Michael Vogel [Sat, 22 Jun 2019 10:56:25 +0000 (12:56 +0200)]
Merge pull request #7291 from MrPetovan/bug/2209-update-default-log-location

Update default log location

4 years agoMerge pull request #7286 from MrPetovan/bug/invading-smilies
Michael Vogel [Sat, 22 Jun 2019 10:51:49 +0000 (12:51 +0200)]
Merge pull request #7286 from MrPetovan/bug/invading-smilies

Escape all the HTML pre-formatted blocks in Smilies::replaceFromArray

4 years agoEscape all the HTML pre-formatted blocks in Smilies::replaceFromArray
Hypolite Petovan [Fri, 21 Jun 2019 00:22:26 +0000 (20:22 -0400)]
Escape all the HTML pre-formatted blocks in Smilies::replaceFromArray

4 years agoAdd log folder to project gitignore
Hypolite Petovan [Sat, 22 Jun 2019 07:49:58 +0000 (03:49 -0400)]
Add log folder to project gitignore

4 years agoMerge pull request #7294 from annando/public-dfrn
Hypolite Petovan [Sat, 22 Jun 2019 07:28:51 +0000 (03:28 -0400)]
Merge pull request #7294 from annando/public-dfrn

Fix receiving of DFRN posts with public envelope

4 years agoMerge pull request #7295 from tobiasd/20190622-lang
Michael Vogel [Sat, 22 Jun 2019 06:56:36 +0000 (08:56 +0200)]
Merge pull request #7295 from tobiasd/20190622-lang

core translation update

4 years agoEN US translation update THX AndyH3
Tobias Diekershoff [Sat, 22 Jun 2019 06:04:46 +0000 (08:04 +0200)]
EN US translation update THX AndyH3

4 years agoEN GB translation update THX AndyH3
Tobias Diekershoff [Sat, 22 Jun 2019 05:43:24 +0000 (07:43 +0200)]
EN GB translation update THX AndyH3

4 years agoupdate FR translations THX Valvin A.
Tobias Diekershoff [Sat, 22 Jun 2019 05:40:10 +0000 (07:40 +0200)]
update FR translations THX Valvin A.

4 years agoDE translation update THX Copis
Tobias Diekershoff [Sat, 22 Jun 2019 05:29:52 +0000 (07:29 +0200)]
DE translation update THX Copis

4 years agoPL translation update THX waldis
Tobias Diekershoff [Sat, 22 Jun 2019 05:29:03 +0000 (07:29 +0200)]
PL translation update THX waldis

4 years agoCS translation update THX Aditoo
Tobias Diekershoff [Sat, 22 Jun 2019 05:23:39 +0000 (07:23 +0200)]
CS translation update THX Aditoo

4 years agoFix receiving of DFRN posts with public envelope
Michael [Sat, 22 Jun 2019 04:17:38 +0000 (04:17 +0000)]
Fix receiving of DFRN posts with public envelope

4 years agoMerge pull request #7292 from annando/notice
Hypolite Petovan [Fri, 21 Jun 2019 19:42:27 +0000 (15:42 -0400)]
Merge pull request #7292 from annando/notice

Fix a notice when the author is missing

4 years agoFix a notice when the author is missing
Michael [Fri, 21 Jun 2019 17:57:26 +0000 (17:57 +0000)]
Fix a notice when the author is missing

4 years agoUpdate default log location
Hypolite Petovan [Fri, 21 Jun 2019 12:52:22 +0000 (08:52 -0400)]
Update default log location

- Prevents conflict with /friendica module

4 years agoMerge pull request #7289 from tobiasd/20190621-credits
Philipp [Fri, 21 Jun 2019 06:56:03 +0000 (08:56 +0200)]
Merge pull request #7289 from tobiasd/20190621-credits

updated the credits for 2019.06

4 years agoupdated the credits for 2019.06
Tobias Diekershoff [Fri, 21 Jun 2019 04:45:20 +0000 (06:45 +0200)]
updated the credits for 2019.06

4 years agoMerge pull request #7288 from annando/fix-search
Hypolite Petovan [Thu, 20 Jun 2019 23:33:00 +0000 (19:33 -0400)]
Merge pull request #7288 from annando/fix-search

Fix searching for contacts

4 years agoMerge pull request #7287 from annando/issue-6477
Hypolite Petovan [Thu, 20 Jun 2019 23:32:02 +0000 (19:32 -0400)]
Merge pull request #7287 from annando/issue-6477

Issue 6477: Use the correct content-type to resize the images

4 years agoFix searching for contacts
Michael [Thu, 20 Jun 2019 21:56:18 +0000 (21:56 +0000)]
Fix searching for contacts

4 years agoIssue 6477: Use the correct content-type to resize the images
Michael [Thu, 20 Jun 2019 20:09:33 +0000 (20:09 +0000)]
Issue 6477: Use the correct content-type to resize the images

4 years agoMerge pull request #7284 from annando/fix-fatal
Hypolite Petovan [Thu, 20 Jun 2019 03:42:21 +0000 (23:42 -0400)]
Merge pull request #7284 from annando/fix-fatal

Don't send activities to "null" endpoints

4 years agoDon't send activities to "null" endpoints
Michael [Thu, 20 Jun 2019 03:06:34 +0000 (03:06 +0000)]
Don't send activities to "null" endpoints

4 years agoMerge pull request #7282 from annando/issue-6477
Hypolite Petovan [Wed, 19 Jun 2019 20:12:56 +0000 (16:12 -0400)]
Merge pull request #7282 from annando/issue-6477

 Issue 6477: Automatically repair self contact avatar

4 years agoMerge pull request #7283 from annando/7280-fix
Michael Vogel [Wed, 19 Jun 2019 18:40:19 +0000 (20:40 +0200)]
Merge pull request #7283 from annando/7280-fix

Self merging due to critical bug fixes

4 years agoFix for PR 7280
Michael [Wed, 19 Jun 2019 18:38:22 +0000 (18:38 +0000)]
Fix for PR 7280

4 years agoit is poll, not notify
Michael [Wed, 19 Jun 2019 18:32:38 +0000 (18:32 +0000)]
it is poll, not notify

4 years agoMerge remote-tracking branch 'upstream/2019.06-rc' into issue-6477
Michael [Wed, 19 Jun 2019 18:26:59 +0000 (18:26 +0000)]
Merge remote-tracking branch 'upstream/2019.06-rc' into issue-6477

4 years agoMerge pull request #7280 from annando/contact-baseurl
Hypolite Petovan [Wed, 19 Jun 2019 18:12:47 +0000 (14:12 -0400)]
Merge pull request #7280 from annando/contact-baseurl

Fix the base url detection of AP profiles

4 years agoNormalise it
Michael [Wed, 19 Jun 2019 17:21:35 +0000 (17:21 +0000)]
Normalise it

4 years agoIssue 6477: Automatically repair self contact avatar
Michael [Wed, 19 Jun 2019 17:05:29 +0000 (17:05 +0000)]
Issue 6477: Automatically repair self contact avatar

4 years agoAdded timeout
Michael [Tue, 18 Jun 2019 08:05:45 +0000 (08:05 +0000)]
Added timeout

4 years agoFix the base url detection of AP profiles
Michael [Tue, 18 Jun 2019 07:47:21 +0000 (07:47 +0000)]
Fix the base url detection of AP profiles

4 years agoMerge pull request #7277 from annando/ignore-resharer
Hypolite Petovan [Mon, 17 Jun 2019 13:01:31 +0000 (09:01 -0400)]
Merge pull request #7277 from annando/ignore-resharer

Issue #5983: Ignore reshares from blocked and ignored contacts

4 years agoIssue #5983: Ignore reshares from blocked and ignored contacts
Michael [Mon, 17 Jun 2019 11:55:19 +0000 (11:55 +0000)]
Issue #5983: Ignore reshares from blocked and ignored contacts

4 years agoMerge pull request #7276 from MrPetovan/bug/7275-share-new-lines
Michael Vogel [Mon, 17 Jun 2019 06:13:59 +0000 (08:13 +0200)]
Merge pull request #7276 from MrPetovan/bug/7275-share-new-lines

Fix reshare new lines display

4 years agoMove share conversion at the end of Text\BBCode::convert
Hypolite Petovan [Mon, 17 Jun 2019 03:13:26 +0000 (23:13 -0400)]
Move share conversion at the end of Text\BBCode::convert

4 years agoMerge pull request #7274 from MrPetovan/bug/7271-allow-brackets-in-urls
Philipp [Sun, 16 Jun 2019 13:27:17 +0000 (15:27 +0200)]
Merge pull request #7274 from MrPetovan/bug/7271-allow-brackets-in-urls

Perform link replacement at the end of BBCode::convert

4 years agoAdd tests folder to typo console coverage
Hypolite Petovan [Sun, 16 Jun 2019 02:27:20 +0000 (22:27 -0400)]
Add tests folder to typo console coverage

- Use correct config object in Console\Typo

4 years agoAllow brackets in URLs
Hypolite Petovan [Sun, 16 Jun 2019 02:26:29 +0000 (22:26 -0400)]
Allow brackets in URLs

- Remove obsolete $URLSearchString variable
- Add related tests

4 years agoMove link conversion to the end of BBCode::convert
Hypolite Petovan [Sun, 16 Jun 2019 02:24:51 +0000 (22:24 -0400)]
Move link conversion to the end of BBCode::convert

- Addresses https://github.com/friendica/friendica/issues/7271
- Add related tests

4 years agoMerge pull request #7273 from MrPetovan/bug/notices
Philipp [Sat, 15 Jun 2019 22:58:22 +0000 (00:58 +0200)]
Merge pull request #7273 from MrPetovan/bug/notices

Fix various notices 2019.06

4 years agoFix undefined index addr notices in Model\Contact::getIdForURL
Hypolite Petovan [Sat, 15 Jun 2019 21:16:10 +0000 (17:16 -0400)]
Fix undefined index addr notices in Model\Contact::getIdForURL

- Addresses https://github.com/friendica/friendica/issues/6918#issuecomment-502393030

4 years agoFix variable by reference notice in Module\Admin\Federation
Hypolite Petovan [Sat, 15 Jun 2019 21:12:36 +0000 (17:12 -0400)]
Fix variable by reference notice in Module\Admin\Federation

- Addresses https://github.com/friendica/friendica/issues/6918#issuecomment-502347979

4 years agoUse item created date if edited doesn't exist in Protocol\Diaspora::buildStatus
Hypolite Petovan [Sat, 15 Jun 2019 21:11:01 +0000 (17:11 -0400)]
Use item created date if edited doesn't exist in Protocol\Diaspora::buildStatus

- Addresses https://github.com/friendica/friendica/issues/6918#issuecomment-502347886

4 years agoMerge pull request #7268 from annando/issue-5983
Hypolite Petovan [Sat, 15 Jun 2019 20:53:41 +0000 (16:53 -0400)]
Merge pull request #7268 from annando/issue-5983

Issue 5983: Central check for blocked and ignored contacts added

4 years agoMerge pull request #7272 from MrPetovan/bug/directory-links
Philipp [Sat, 15 Jun 2019 13:17:20 +0000 (15:17 +0200)]
Merge pull request #7272 from MrPetovan/bug/directory-links

Fix directory entry display (including wrong links)

4 years agoUse correct entry list in Module\Directory
Hypolite Petovan [Sat, 15 Jun 2019 12:44:55 +0000 (08:44 -0400)]
Use correct entry list in Module\Directory

4 years agoRemove unused Module\Directory::init method
Hypolite Petovan [Sat, 15 Jun 2019 12:44:36 +0000 (08:44 -0400)]
Remove unused Module\Directory::init method

4 years agoIgnored stuff must be stored.
Michael [Fri, 14 Jun 2019 18:34:17 +0000 (18:34 +0000)]
Ignored stuff must be stored.

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 agoIssue 5983: Central check for blocked and ignored contacts added
Michael [Fri, 14 Jun 2019 05:25:10 +0000 (05:25 +0000)]
Issue 5983: Central check for blocked and ignored contacts added

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