friendica.git/.git
5 years agoChecking all values for $_SESSION
Philipp Holzer [Wed, 29 May 2019 17:55:18 +0000 (19:55 +0200)]
Checking all values for $_SESSION
See https://github.com/friendica/friendica/issues/6918#issuecomment-491492826

5 years agoAdding fallback route in case of a non valid route
Philipp Holzer [Wed, 29 May 2019 17:54:25 +0000 (19:54 +0200)]
Adding fallback route in case of a non valid route
see https://github.com/friendica/friendica/issues/6918#issuecomment-491009954

5 years agoMerge pull request #7203 from MrPetovan/bug/warnings
Philipp [Wed, 29 May 2019 05:06:06 +0000 (07:06 +0200)]
Merge pull request #7203 from MrPetovan/bug/warnings

Fix condition in dfrn_request_content() when $a->profile isn't set

5 years agoMerge pull request #7202 from MrPetovan/bug/fatal-errors
Philipp [Wed, 29 May 2019 05:05:05 +0000 (07:05 +0200)]
Merge pull request #7202 from MrPetovan/bug/fatal-errors

Prevent fatal error in ACL::getFullSelectorHTML when accessing a profile as a remote visitor

5 years agoMerge pull request #7204 from MrPetovan/bug/notices
Michael Vogel [Wed, 29 May 2019 05:04:46 +0000 (07:04 +0200)]
Merge pull request #7204 from MrPetovan/bug/notices

Check for array index existence

5 years agoMerge pull request #7199 from MrPetovan/bug/7171-filer-network
Philipp [Wed, 29 May 2019 05:03:44 +0000 (07:03 +0200)]
Merge pull request #7199 from MrPetovan/bug/7171-filer-network

Allow commas in saved folder names

5 years agoMerge pull request #7205 from annando/fix-protocol
Hypolite Petovan [Wed, 29 May 2019 04:36:36 +0000 (00:36 -0400)]
Merge pull request #7205 from annando/fix-protocol

Fix "Undefined index: protocol"

5 years agoFix "Undefined index: protocol"
Michael [Wed, 29 May 2019 04:30:01 +0000 (04:30 +0000)]
Fix "Undefined index: protocol"

5 years agoCheck for href existence for links in Protocol\PortableContact
Hypolite Petovan [Wed, 29 May 2019 01:27:13 +0000 (21:27 -0400)]
Check for href existence for links in Protocol\PortableContact

See https://github.com/friendica/friendica/issues/6918#issuecomment-495198587

5 years agoFix condition in dfrn_request_content() when $a->profile isn't set
Hypolite Petovan [Wed, 29 May 2019 01:14:21 +0000 (21:14 -0400)]
Fix condition in dfrn_request_content() when $a->profile isn't set

See https://github.com/friendica/friendica/issues/6917#issuecomment-494087890

5 years agoPrevent fatal error in ACL::getFullSelectorHTML when accessing a profile as a remote...
Hypolite Petovan [Wed, 29 May 2019 01:08:48 +0000 (21:08 -0400)]
Prevent fatal error in ACL::getFullSelectorHTML when accessing a profile as a remote visitor

See https://github.com/friendica/friendica/issues/6916#issuecomment-495724811

5 years agoAdd tests for Model\FileTag fileToArray and arrayToFile methods.
Hypolite Petovan [Tue, 28 May 2019 21:05:29 +0000 (17:05 -0400)]
Add tests for Model\FileTag fileToArray and arrayToFile methods.

5 years agoMerge pull request #7201 from annando/mail-db-error
Philipp [Tue, 28 May 2019 18:02:39 +0000 (20:02 +0200)]
Merge pull request #7201 from annando/mail-db-error

Fix Issue 7196

5 years agoMerge pull request #7200 from annando/tag-process
Philipp [Tue, 28 May 2019 17:43:23 +0000 (19:43 +0200)]
Merge pull request #7200 from annando/tag-process

Process incoming tag add requests

5 years agoFix Issue 7196
Michael [Tue, 28 May 2019 17:39:26 +0000 (17:39 +0000)]
Fix Issue 7196

5 years agoMerge pull request #7187 from MrPetovan/bug/7023-emailer-hooks
Philipp [Tue, 28 May 2019 06:02:48 +0000 (08:02 +0200)]
Merge pull request #7187 from MrPetovan/bug/7023-emailer-hooks

Enable addon using emailer hooks to skip default call to mail()

5 years agoRemove "f=&" nonsense from network module
Hypolite Petovan [Mon, 27 May 2019 21:19:38 +0000 (17:19 -0400)]
Remove "f=&" nonsense from network module

- Fixes wrong redirect when using the sidebar filters

5 years agoReplace build_querystring() by http_build_query() introduced in PHP 5
Hypolite Petovan [Mon, 27 May 2019 21:18:42 +0000 (17:18 -0400)]
Replace build_querystring() by http_build_query() introduced in PHP 5

5 years agoReplace deprecated string-bases Model\FileTag calls with array-based ones
Hypolite Petovan [Mon, 27 May 2019 21:17:53 +0000 (17:17 -0400)]
Replace deprecated string-bases Model\FileTag calls with array-based ones

5 years agoAdd new fileToArray and arrayToFile methods to Module\FileTag
Hypolite Petovan [Mon, 27 May 2019 21:16:46 +0000 (17:16 -0400)]
Add new fileToArray and arrayToFile methods to Module\FileTag

5 years agoFix formatting of Model\FileTag
Hypolite Petovan [Mon, 27 May 2019 21:12:19 +0000 (17:12 -0400)]
Fix formatting of Model\FileTag

- Normalize indent style
- Remove extraneous new lines after ifs/foreachs

5 years agoMerge pull request #7197 from MrPetovan/bug/6861-api-user-show
Philipp [Mon, 27 May 2019 20:12:08 +0000 (22:12 +0200)]
Merge pull request #7197 from MrPetovan/bug/6861-api-user-show

 [API] Convert user description to plain text

5 years ago[API] Convert user description to plain text
Hypolite Petovan [Mon, 27 May 2019 15:58:02 +0000 (11:58 -0400)]
[API] Convert user description to plain text

5 years ago[API] Ensures user_show includes a status the user actually authored
Hypolite Petovan [Mon, 27 May 2019 15:01:13 +0000 (11:01 -0400)]
[API] Ensures user_show includes a status the user actually authored

5 years agoMerge pull request #7193 from nupplaphil/bug/uimport_datetime
Hypolite Petovan [Mon, 27 May 2019 13:13:01 +0000 (09:13 -0400)]
Merge pull request #7193 from nupplaphil/bug/uimport_datetime

Fix NULL datetime for uimport/uexport

5 years agoEnable addon using emailer hooks to skip default call to mail()
Hypolite Petovan [Sun, 26 May 2019 03:45:10 +0000 (23:45 -0400)]
Enable addon using emailer hooks to skip default call to mail()

5 years agoMerge pull request #7194 from nupplaphil/bug/hover
Hypolite Petovan [Mon, 27 May 2019 01:20:21 +0000 (21:20 -0400)]
Merge pull request #7194 from nupplaphil/bug/hover

frio: Fix hovercard vanish

5 years agomoved composer-line
Philipp Holzer [Sun, 26 May 2019 20:02:38 +0000 (22:02 +0200)]
moved composer-line

5 years agoadded suggestions
Philipp Holzer [Sun, 26 May 2019 19:53:24 +0000 (21:53 +0200)]
added suggestions

5 years agoFix hovercard vanish
Philipp Holzer [Sun, 26 May 2019 19:42:49 +0000 (21:42 +0200)]
Fix hovercard vanish

5 years agoMerge pull request #7192 from nupplaphil/bug/edit_images
Hypolite Petovan [Sun, 26 May 2019 19:21:10 +0000 (15:21 -0400)]
Merge pull request #7192 from nupplaphil/bug/edit_images

Make edits of images possible again

5 years agoMerge pull request #7191 from nupplaphil/bug/logfile_permission
Hypolite Petovan [Sun, 26 May 2019 19:19:26 +0000 (15:19 -0400)]
Merge pull request #7191 from nupplaphil/bug/logfile_permission

Fixing logfile permission denied exceptions

5 years agofriendica-6950 uimport doesn't support `"pwdreset_time":null`
Philipp Holzer [Sun, 26 May 2019 13:49:44 +0000 (15:49 +0200)]
friendica-6950 uimport doesn't support `"pwdreset_time":null`

5 years agofriendica-7130 Edits of images not possible
Philipp Holzer [Sun, 26 May 2019 13:00:19 +0000 (15:00 +0200)]
friendica-7130 Edits of images not possible

5 years agoMerge pull request #7189 from MrPetovan/bug/7183-archives-profile-widget
Philipp [Sun, 26 May 2019 12:42:25 +0000 (14:42 +0200)]
Merge pull request #7189 from MrPetovan/bug/7183-archives-profile-widget

Ensures Widget::postedByYear uid parameter is integer in Module\Profile

5 years agofriendica-6379 Monolog - logfile permission denied
Philipp Holzer [Sun, 26 May 2019 12:33:09 +0000 (14:33 +0200)]
friendica-6379 Monolog - logfile permission denied

5 years agoEnsures Widget::postedByYear uid parameter is integer in Module\Profile
Hypolite Petovan [Sun, 26 May 2019 12:18:59 +0000 (08:18 -0400)]
Ensures Widget::postedByYear uid parameter is integer in Module\Profile

5 years agoProcess incoming tag add requests
Michael [Sun, 26 May 2019 11:20:03 +0000 (11:20 +0000)]
Process incoming tag add requests

5 years agoMerge pull request #7186 from MrPetovan/bug/7183-archives-profile-widget
Philipp [Sun, 26 May 2019 06:16:54 +0000 (08:16 +0200)]
Merge pull request #7186 from MrPetovan/bug/7183-archives-profile-widget

Restore profile archives widget

5 years agoMerge pull request #7184 from annando/add-tag
Philipp [Sun, 26 May 2019 06:14:18 +0000 (08:14 +0200)]
Merge pull request #7184 from annando/add-tag

AP: We now transmit "add tag" activity

5 years agoAdd profile archive URL pattern to Router
Hypolite Petovan [Sat, 25 May 2019 23:08:43 +0000 (19:08 -0400)]
Add profile archive URL pattern to Router

5 years agoMove posted date widget to Content\Widget
Hypolite Petovan [Sat, 25 May 2019 23:08:15 +0000 (19:08 -0400)]
Move posted date widget to Content\Widget

5 years agoAP: We now transmit "add tag" activity / On Diaspora this is now supressed
Michael [Sat, 25 May 2019 19:33:58 +0000 (19:33 +0000)]
AP: We now transmit "add tag" activity / On Diaspora this is now supressed

5 years agoMerge pull request #7170 from MrPetovan/bug/6981-contact-request-blocked
Philipp [Sat, 25 May 2019 18:20:36 +0000 (20:20 +0200)]
Merge pull request #7170 from MrPetovan/bug/6981-contact-request-blocked

Contact requests blocked

5 years agoMerge pull request #7156 from MrPetovan/task/add-relationship-filter
Philipp [Sat, 25 May 2019 18:17:05 +0000 (20:17 +0200)]
Merge pull request #7156 from MrPetovan/task/add-relationship-filter

Add contact relationship filter

5 years agoMerge pull request #7181 from AndyHee/AndyHee-patch-20190525-1
Hypolite Petovan [Fri, 24 May 2019 18:31:06 +0000 (14:31 -0400)]
Merge pull request #7181 from AndyHee/AndyHee-patch-20190525-1

Update FAQ.md

5 years agoUpdate FAQ.md
Andy H3 [Fri, 24 May 2019 18:10:00 +0000 (01:10 +0700)]
Update FAQ.md

Reworded and added line breaks after fullstops.

5 years agoUpdate FAQ.md
Andy H3 [Fri, 24 May 2019 17:26:56 +0000 (00:26 +0700)]
Update FAQ.md

5 years agoMerge pull request #7180 from MrPetovan/bug/fatal-errors
Philipp [Fri, 24 May 2019 14:31:42 +0000 (16:31 +0200)]
Merge pull request #7180 from MrPetovan/bug/fatal-errors

Ensures Search methods return an empty ResultList instead of null

5 years agoEnsures Search methods return an empty ResultList instead of null
Hypolite Petovan [Fri, 24 May 2019 12:13:36 +0000 (08:13 -0400)]
Ensures Search methods return an empty ResultList instead of null

- Addresses https://github.com/friendica/friendica/issues/6916#issuecomment-494876901

5 years agoMerge pull request #7179 from friendica/MrPetovan-patch-module-contact
Philipp [Thu, 23 May 2019 18:31:03 +0000 (20:31 +0200)]
Merge pull request #7179 from friendica/MrPetovan-patch-module-contact

Fix typo in Module\Contact

5 years agoFix typo in Module\Contact
Hypolite Petovan [Thu, 23 May 2019 17:01:40 +0000 (13:01 -0400)]
Fix typo in Module\Contact

Follow-up to #7154, thanks to @AlfredSK

5 years agoMerge pull request #7177 from MrPetovan/bug/admin-summary-sql
Philipp [Wed, 22 May 2019 04:31:16 +0000 (06:31 +0200)]
Merge pull request #7177 from MrPetovan/bug/admin-summary-sql

Fix SQL error in Module\Admin\Summary

5 years agoFix SQL error in Module\Admin\Summary
Hypolite Petovan [Mon, 20 May 2019 20:15:39 +0000 (16:15 -0400)]
Fix SQL error in Module\Admin\Summary

5 years agoMerge pull request #7175 from annando/db-table-escape
Hypolite Petovan [Tue, 21 May 2019 20:56:56 +0000 (16:56 -0400)]
Merge pull request #7175 from annando/db-table-escape

Fix table name sanitation / enable table schemes

5 years agoIdentifier have to be escaped different than values
Michael [Tue, 21 May 2019 05:34:41 +0000 (05:34 +0000)]
Identifier have to be escaped different than values

5 years agoFix table name sanitation / enable table schemes
Michael [Mon, 20 May 2019 20:38:18 +0000 (20:38 +0000)]
Fix table name sanitation / enable table schemes

5 years agoUse self::isBlocked and self:isBlockedByUser in Model\Contact::addRelationship
Hypolite Petovan [Mon, 20 May 2019 20:34:17 +0000 (16:34 -0400)]
Use self::isBlocked and self:isBlockedByUser in Model\Contact::addRelationship

5 years agoRevert sending ActivityPub follow reject on Model\Contact::addRelationship failure
Hypolite Petovan [Mon, 20 May 2019 20:33:09 +0000 (16:33 -0400)]
Revert sending ActivityPub follow reject on Model\Contact::addRelationship failure

5 years agoPrevent contact relationships with node- or user-level blocked contacts
Hypolite Petovan [Sun, 19 May 2019 22:46:58 +0000 (18:46 -0400)]
Prevent contact relationships with node- or user-level blocked contacts

5 years agoAdd return value to Model\Contact::addRelationship to remove protocol-specific code...
Hypolite Petovan [Sun, 19 May 2019 22:46:29 +0000 (18:46 -0400)]
Add return value to Model\Contact::addRelationship to remove protocol-specific code from it

5 years agoEnsure follow reject/accept object IDs are strings to avoid JsonLD normalize errors...
Hypolite Petovan [Sun, 19 May 2019 22:44:57 +0000 (18:44 -0400)]
Ensure follow reject/accept object IDs are strings to avoid JsonLD normalize errors in ActivityPub\Transmitter

5 years agoRefactor Model\Contact::addRelationship
Hypolite Petovan [Sun, 19 May 2019 22:43:19 +0000 (18:43 -0400)]
Refactor Model\Contact::addRelationship

- Remove unused parameter $item
- Replace q() call with DBA::insert
- Update check on $contact that can only be an array now
- Add moethod doc block

5 years agoAdd exception message chain, string trace and original object to JsonLD normalize...
Hypolite Petovan [Sun, 19 May 2019 22:18:14 +0000 (18:18 -0400)]
Add exception message chain, string trace and original object to JsonLD normalize error logging

5 years agoAdd query string to API "call not implemented" log message
Hypolite Petovan [Sun, 19 May 2019 21:57:53 +0000 (17:57 -0400)]
Add query string to API "call not implemented" log message

5 years agoRemove obsolete TODO comment in Module\Profile\Contacts
Hypolite Petovan [Mon, 20 May 2019 19:10:34 +0000 (15:10 -0400)]
Remove obsolete TODO comment in Module\Profile\Contacts

5 years agoAdd current tab parameter to Model\Profile::getTabs
Hypolite Petovan [Mon, 20 May 2019 19:09:33 +0000 (15:09 -0400)]
Add current tab parameter to Model\Profile::getTabs

5 years agoMove /viewcontacts to /profile/{nickname}/contacts[/{type}]
Hypolite Petovan [Sat, 18 May 2019 15:47:39 +0000 (11:47 -0400)]
Move /viewcontacts to /profile/{nickname}/contacts[/{type}]

- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget

5 years agoAdd contact relationship filter to /contact module
Hypolite Petovan [Sat, 18 May 2019 15:44:04 +0000 (11:44 -0400)]
Add contact relationship filter to /contact module

5 years agoMerge pull request #7165 from nupplaphil/task/mod_dirfind
Hypolite Petovan [Mon, 20 May 2019 18:45:19 +0000 (14:45 -0400)]
Merge pull request #7165 from nupplaphil/task/mod_dirfind

Move mod/dirfind to src/Module/Search/Directory

5 years agoMerge pull request #7173 from nupplaphil/task/mod_newmember
Hypolite Petovan [Mon, 20 May 2019 18:14:58 +0000 (14:14 -0400)]
Merge pull request #7173 from nupplaphil/task/mod_newmember

Move mod/newmember to src/Module/Welcome

5 years agoMove mod/newmember to src/Module/Welcome
Philipp Holzer [Mon, 20 May 2019 18:12:20 +0000 (20:12 +0200)]
Move mod/newmember to src/Module/Welcome

5 years agosimplification
Philipp Holzer [Mon, 20 May 2019 17:27:53 +0000 (19:27 +0200)]
simplification

5 years agoFixing method signature
Philipp Holzer [Mon, 20 May 2019 17:19:57 +0000 (19:19 +0200)]
Fixing method signature

5 years agorefactor method signature
Philipp Holzer [Mon, 20 May 2019 17:15:47 +0000 (19:15 +0200)]
refactor method signature

5 years agoAdd PhpDoc / Code Standards
Philipp Holzer [Mon, 20 May 2019 17:14:39 +0000 (19:14 +0200)]
Add PhpDoc / Code Standards

5 years agoAdd search types
Philipp Holzer [Mon, 20 May 2019 17:13:37 +0000 (19:13 +0200)]
Add search types

5 years agoAdd PhpDoc
Philipp Holzer [Mon, 20 May 2019 16:44:44 +0000 (18:44 +0200)]
Add PhpDoc

5 years agoMoving Search to Core, Refactor Objects
Philipp Holzer [Mon, 20 May 2019 16:42:27 +0000 (18:42 +0200)]
Moving Search to Core, Refactor Objects

5 years agoMerge pull request #7172 from nupplaphil/task/mod_notice_rm
Hypolite Petovan [Mon, 20 May 2019 16:26:28 +0000 (12:26 -0400)]
Merge pull request #7172 from nupplaphil/task/mod_notice_rm

Remove src/Module/Notice

5 years agoRemove src/Module/Notice
Philipp Holzer [Mon, 20 May 2019 16:22:34 +0000 (18:22 +0200)]
Remove src/Module/Notice
see https://github.com/friendica/friendica/pull/7159#issuecomment-493744623

5 years agoVersion 2019.06-rc
Tobias Diekershoff [Mon, 20 May 2019 08:53:32 +0000 (10:53 +0200)]
Version 2019.06-rc

5 years agoMerge pull request #7167 from MrPetovan/bug/7150-unescape-xml-entities
Michael Vogel [Mon, 20 May 2019 04:36:59 +0000 (06:36 +0200)]
Merge pull request #7167 from MrPetovan/bug/7150-unescape-xml-entities

 Add Unicode support to autolink regular expression

5 years agoAdd test for bug 7150
Hypolite Petovan [Sun, 19 May 2019 18:57:28 +0000 (14:57 -0400)]
Add test for bug 7150

5 years agoImprove Diaspora raw text support in /babel module
Hypolite Petovan [Sun, 19 May 2019 12:45:54 +0000 (08:45 -0400)]
Improve Diaspora raw text support in /babel module

5 years agoAdd Unicode support to autolink regular expression
Hypolite Petovan [Sun, 19 May 2019 12:45:29 +0000 (08:45 -0400)]
Add Unicode support to autolink regular expression

- Explicitly exclude non-breaking spaces from URLs as \s doesn't include them

5 years agoMerge pull request #7160 from nupplaphil/task/mod_probe
Hypolite Petovan [Sun, 19 May 2019 19:06:13 +0000 (15:06 -0400)]
Merge pull request #7160 from nupplaphil/task/mod_probe

Move mod/probe to src/Module/Probe

5 years agoMerge pull request #7169 from annando/send-suggest
Hypolite Petovan [Sun, 19 May 2019 18:59:28 +0000 (14:59 -0400)]
Merge pull request #7169 from annando/send-suggest

 Sending contact suggestions does work again

5 years agoMerge pull request #7168 from annando/suggest-receive
Hypolite Petovan [Sun, 19 May 2019 18:58:30 +0000 (14:58 -0400)]
Merge pull request #7168 from annando/suggest-receive

Suggestions can be processed again

5 years agoMerge pull request #7154 from MrPetovan/task/refactor-widgets
Philipp [Sun, 19 May 2019 18:52:00 +0000 (20:52 +0200)]
Merge pull request #7154 from MrPetovan/task/refactor-widgets

Refactor widgets

5 years agoSending contact suggestions does work again
Michael [Sun, 19 May 2019 17:59:37 +0000 (17:59 +0000)]
Sending contact suggestions does work again

5 years agoSuggestions can be processed again
Michael Vogel [Sun, 19 May 2019 17:58:20 +0000 (19:58 +0200)]
Suggestions can be processed again

5 years agoMerge remote-tracking branch 'upstream/develop' into send-suggest
Michael [Sun, 19 May 2019 17:03:50 +0000 (17:03 +0000)]
Merge remote-tracking branch 'upstream/develop' into send-suggest

5 years agoMerge pull request #7166 from annando/revert-7158
Hypolite Petovan [Sun, 19 May 2019 11:37:01 +0000 (07:37 -0400)]
Merge pull request #7166 from annando/revert-7158

Revert PR 7158 since it breaks umlauts

5 years agoRevert PR 7158 since it breaks umlauts
Michael [Sun, 19 May 2019 09:34:49 +0000 (09:34 +0000)]
Revert PR 7158 since it breaks umlauts

5 years agoFixed contact suggestion
Michael [Sun, 19 May 2019 08:54:26 +0000 (08:54 +0000)]
Fixed contact suggestion

5 years agorenaming
Philipp Holzer [Sun, 19 May 2019 03:13:06 +0000 (05:13 +0200)]
renaming

5 years agoSplit Directory Search as a base for further changes
Philipp Holzer [Sun, 19 May 2019 03:06:02 +0000 (05:06 +0200)]
Split Directory Search as a base for further changes

5 years agoSplit Directory Search as a base for further changes
Philipp Holzer [Sun, 19 May 2019 03:01:46 +0000 (05:01 +0200)]
Split Directory Search as a base for further changes

5 years agosome small improvements
Philipp Holzer [Sun, 19 May 2019 02:43:09 +0000 (04:43 +0200)]
some small improvements