friendica.git/.git
5 years agoforgotten $
Michael [Thu, 6 Sep 2018 21:10:48 +0000 (21:10 +0000)]
forgotten $

5 years agoPicture posts do work again - everything else should work as well
Michael [Thu, 6 Sep 2018 20:30:16 +0000 (20:30 +0000)]
Picture posts do work again - everything else should work as well

5 years agoFix: Posts with pictures will now look good again on connector networks
Michael [Thu, 6 Sep 2018 04:24:34 +0000 (04:24 +0000)]
Fix: Posts with pictures will now look good again on connector networks

5 years agoMerge pull request #5722 from annando/dissolve
Tobias Diekershoff [Wed, 5 Sep 2018 06:23:41 +0000 (08:23 +0200)]
Merge pull request #5722 from annando/dissolve

Restore the behaviour to remove the remote contact upon termination

5 years agoMerge pull request #5720 from MrPetovan/bug/fix-unfollow
Michael Vogel [Wed, 5 Sep 2018 05:42:00 +0000 (05:42 +0000)]
Merge pull request #5720 from MrPetovan/bug/fix-unfollow

Remove extraneous SQL condition part in mod/unfollow

5 years agoRestore the behaviour to remove the remote contact upon termination
Michael [Wed, 5 Sep 2018 05:02:06 +0000 (05:02 +0000)]
Restore the behaviour to remove the remote contact upon termination

5 years agoRemove extraneous SQL condition part in mod/unfollow
Hypolite Petovan [Tue, 4 Sep 2018 23:29:36 +0000 (19:29 -0400)]
Remove extraneous SQL condition part in mod/unfollow

5 years agoMerge pull request #5719 from annando/notices-yeah
Hypolite Petovan [Tue, 4 Sep 2018 23:09:11 +0000 (19:09 -0400)]
Merge pull request #5719 from annando/notices-yeah

Good news, everyone - again somce notices removed

5 years agoBeautified the code
Michael [Tue, 4 Sep 2018 21:24:30 +0000 (21:24 +0000)]
Beautified the code

5 years agoGood news, everyone - again somce notices removed
Michael [Tue, 4 Sep 2018 17:48:09 +0000 (17:48 +0000)]
Good news, everyone - again somce notices removed

5 years agoMerge pull request #5715 from MrPetovan/bug/fix-photo-attachment
Michael Vogel [Mon, 3 Sep 2018 22:00:53 +0000 (22:00 +0000)]
Merge pull request #5715 from MrPetovan/bug/fix-photo-attachment

Fix 'photo' attachment

5 years agoUpdate ParseUrl::getSiteinfo type recognition
Hypolite Petovan [Sun, 2 Sep 2018 21:50:27 +0000 (17:50 -0400)]
Update ParseUrl::getSiteinfo type recognition

- Added obsolete twitter card type provision

5 years agoFix formatting in Util/ParseUrl
Hypolite Petovan [Sun, 2 Sep 2018 21:35:55 +0000 (17:35 -0400)]
Fix formatting in Util/ParseUrl

- Remove commented out code
- Replace double quotes with simple quotes
- Remove parentheses for language construct
- Add spaces around operators
- Rename variables

5 years agoFix photo attachment display
Hypolite Petovan [Sun, 2 Sep 2018 21:26:05 +0000 (17:26 -0400)]
Fix photo attachment display

- Remove double image display
- Add domain link display to all attachments

5 years agoFix formatting in mod/parse_url
Hypolite Petovan [Sun, 2 Sep 2018 21:24:56 +0000 (17:24 -0400)]
Fix formatting in mod/parse_url

5 years agoMerge pull request #5714 from annando/removed-postupdate
Hypolite Petovan [Sun, 2 Sep 2018 20:54:56 +0000 (16:54 -0400)]
Merge pull request #5714 from annando/removed-postupdate

 Removed obsolete post update that sometimes never finishes

5 years agoRemoved obsolete post update that sometimes never finishes
Michael [Sun, 2 Sep 2018 17:48:25 +0000 (17:48 +0000)]
Removed obsolete post update that sometimes never finishes

5 years agoChanged documention
Michael [Sun, 2 Sep 2018 17:48:07 +0000 (17:48 +0000)]
Changed documention

5 years agoMerge pull request #5710 from annando/fix-api
Tobias Diekershoff [Sun, 2 Sep 2018 12:52:09 +0000 (14:52 +0200)]
Merge pull request #5710 from annando/fix-api

Fix for timeout issues when posting to the API

5 years agoMerge pull request #5711 from annando/and-again
Tobias Diekershoff [Sun, 2 Sep 2018 12:48:47 +0000 (14:48 +0200)]
Merge pull request #5711 from annando/and-again

The days are getting shorter, like the list of removed notices ...

5 years agoMerge pull request #5712 from annando/more-notices
Tobias Diekershoff [Sun, 2 Sep 2018 12:46:15 +0000 (14:46 +0200)]
Merge pull request #5712 from annando/more-notices

More notices ...

5 years agoMore notices ...
Michael [Sun, 2 Sep 2018 08:01:13 +0000 (08:01 +0000)]
More notices ...

5 years agoThe days are getting shorter, like the list of removed notices ...
Michael [Sun, 2 Sep 2018 07:47:48 +0000 (07:47 +0000)]
The days are getting shorter, like the list of removed notices ...

5 years agoTypo corrected / use the thread table instead
Michael [Sun, 2 Sep 2018 07:35:12 +0000 (07:35 +0000)]
Typo corrected / use the thread table instead

5 years agoFix for timeout issues when posting to the API
Michael [Sun, 2 Sep 2018 07:20:04 +0000 (07:20 +0000)]
Fix for timeout issues when posting to the API

5 years agoMerge pull request #5709 from annando/issue-5262
Hypolite Petovan [Sat, 1 Sep 2018 04:14:05 +0000 (00:14 -0400)]
Merge pull request #5709 from annando/issue-5262

Issue 5262: Comments to a forum post aren't distributed via push

5 years agoIssue 5262: Comments to a forum post aren't distributed via push
Michael [Sat, 1 Sep 2018 03:23:12 +0000 (03:23 +0000)]
Issue 5262: Comments to a forum post aren't distributed via push

5 years agoMerge pull request #5704 from MrPetovan/bug/fix-unfollow
Michael Vogel [Fri, 31 Aug 2018 15:40:51 +0000 (15:40 +0000)]
Merge pull request #5704 from MrPetovan/bug/fix-unfollow

Fix unfollow sharing-only contacts (except connector protocols)

5 years agoUse User::getOwnerDataById in mod/unfollow
Benjamin Lorteau [Fri, 31 Aug 2018 15:22:51 +0000 (11:22 -0400)]
Use User::getOwnerDataById in mod/unfollow

5 years agoMerge pull request #5706 from annando/width-notice
Hypolite Petovan [Fri, 31 Aug 2018 09:01:54 +0000 (05:01 -0400)]
Merge pull request #5706 from annando/width-notice

Invalid pictures could lead to notices, this is removed now

5 years agoInvalid pictures could lead to notices, this is removed now
Michael [Fri, 31 Aug 2018 07:48:44 +0000 (07:48 +0000)]
Invalid pictures could lead to notices, this is removed now

5 years agoMerge pull request #5705 from annando/still-notices
Tobias Diekershoff [Fri, 31 Aug 2018 05:56:01 +0000 (07:56 +0200)]
Merge pull request #5705 from annando/still-notices

Still there had been notices - must have a good camouflage

5 years agoStill there had been notices - must have a good camouflage
Michael [Fri, 31 Aug 2018 05:08:22 +0000 (05:08 +0000)]
Still there had been notices - must have a good camouflage

5 years agoAdd Protocol::NATIVE_SUPPORT constant usage to mod/contacts
Hypolite Petovan [Fri, 31 Aug 2018 01:03:57 +0000 (21:03 -0400)]
Add Protocol::NATIVE_SUPPORT constant usage to mod/contacts

5 years agoPrevent unfollowing contacts from networks not supported natively
Hypolite Petovan [Thu, 30 Aug 2018 21:53:23 +0000 (17:53 -0400)]
Prevent unfollowing contacts from networks not supported natively

5 years agoReorganize Protocol constants
Hypolite Petovan [Thu, 30 Aug 2018 21:47:48 +0000 (17:47 -0400)]
Reorganize Protocol constants

- Add ActivityPub protocol constant
- Add Protocol::NATIVE_SUPPORT
- Sort/group constant names

5 years agoSource cleaning mod/unfollow.php
Hypolite Petovan [Thu, 30 Aug 2018 12:54:12 +0000 (08:54 -0400)]
Source cleaning mod/unfollow.php

- Normalize quotes
- Remove unneeded EOL
- Use DBA method where tasteful

5 years agoEnable unfollowing contacts from all networks (but Statusnet)
Hypolite Petovan [Thu, 30 Aug 2018 12:52:15 +0000 (08:52 -0400)]
Enable unfollowing contacts from all networks (but Statusnet)

5 years agoFix unfollow for sharing-only contacts
Hypolite Petovan [Thu, 30 Aug 2018 12:27:31 +0000 (08:27 -0400)]
Fix unfollow for sharing-only contacts

- Add removal when unfollowing sharing-only contacts

5 years agoMerge pull request #5703 from annando/fix-missing-server
Hypolite Petovan [Thu, 30 Aug 2018 12:09:18 +0000 (08:09 -0400)]
Merge pull request #5703 from annando/fix-missing-server

Fix: Missing gserver entries - show correct server platform

5 years agoFix: Missing gserver entries - show correct server platform
Michael [Thu, 30 Aug 2018 09:52:38 +0000 (09:52 +0000)]
Fix: Missing gserver entries - show correct server platform

5 years agoMerge pull request #5702 from annando/and-a-notice
Tobias Diekershoff [Thu, 30 Aug 2018 04:37:39 +0000 (06:37 +0200)]
Merge pull request #5702 from annando/and-a-notice

and now for something completely different: A removed notice

5 years agoand now for something completely different: A removed notice
Michael [Thu, 30 Aug 2018 04:05:32 +0000 (04:05 +0000)]
and now for something completely different: A removed notice

5 years agoMerge pull request #5700 from annando/issue-5653
Hypolite Petovan [Thu, 30 Aug 2018 00:17:15 +0000 (20:17 -0400)]
Merge pull request #5700 from annando/issue-5653

Issue 5653: The mastodonemoji addon hadn't got all needed data.

5 years agoIssue 5653: The mastodonemoji addon hadn't got all needed data.
Michael [Wed, 29 Aug 2018 20:46:52 +0000 (20:46 +0000)]
Issue 5653: The mastodonemoji addon hadn't got all needed data.

5 years agoMerge pull request #5699 from annando/issue-5691
Hypolite Petovan [Wed, 29 Aug 2018 20:08:54 +0000 (16:08 -0400)]
Merge pull request #5699 from annando/issue-5691

Issue 5691: Post dates of feeds sometimes had been wrong

5 years agoMerge pull request #5698 from annando/issue-5696
Hypolite Petovan [Wed, 29 Aug 2018 20:07:57 +0000 (16:07 -0400)]
Merge pull request #5698 from annando/issue-5696

Issue 5696: Removed old forum link

5 years agoIssue 5691: Post dates of feeds sometimes had been wrong
Michael [Wed, 29 Aug 2018 19:11:43 +0000 (19:11 +0000)]
Issue 5691: Post dates of feeds sometimes had been wrong

5 years agoIssue 5696: Removed old forum link
Michael [Wed, 29 Aug 2018 18:52:48 +0000 (18:52 +0000)]
Issue 5696: Removed old forum link

5 years agoOh no, even more notices ... (#5697)
Michael Vogel [Wed, 29 Aug 2018 18:28:13 +0000 (18:28 +0000)]
Oh no, even more notices ... (#5697)

5 years agoMerge pull request #5695 from annando/does-is-perform
Tobias Diekershoff [Wed, 29 Aug 2018 13:48:59 +0000 (15:48 +0200)]
Merge pull request #5695 from annando/does-is-perform

"Does" is now "perform"

5 years ago"Does" is now "perform"
Michael [Wed, 29 Aug 2018 13:06:56 +0000 (13:06 +0000)]
"Does" is now "perform"

5 years agoRemoved notice - pokes do now work mostly (#5693)
Michael Vogel [Wed, 29 Aug 2018 13:00:01 +0000 (13:00 +0000)]
Removed notice - pokes do now work mostly (#5693)

5 years agoMerge pull request #5692 from annando/postupdate-reset
Tobias Diekershoff [Wed, 29 Aug 2018 12:58:42 +0000 (14:58 +0200)]
Merge pull request #5692 from annando/postupdate-reset

The post update version can now be set

5 years agoThe post update version can now be set.
Michael [Wed, 29 Aug 2018 11:48:40 +0000 (11:48 +0000)]
The post update version can now be set.

5 years agoPoke is fixed (#5689)
Michael Vogel [Tue, 28 Aug 2018 19:38:28 +0000 (19:38 +0000)]
Poke is fixed (#5689)

* Fix: Poke hasn't worked. It does work now partially

* Poke are now displayed good again

* removed code

5 years agoFix: The profile page is now ordered after the creation date again (#5690)
Michael Vogel [Tue, 28 Aug 2018 18:15:25 +0000 (18:15 +0000)]
Fix: The profile page is now ordered after the creation date again (#5690)

5 years agoMerge pull request #5688 from tobiasd/20180828-cs
Michael Vogel [Tue, 28 Aug 2018 17:49:06 +0000 (17:49 +0000)]
Merge pull request #5688 from tobiasd/20180828-cs

CS translation update THX Aditoo

5 years agoCS translation update THX Aditoo
Tobias Diekershoff [Tue, 28 Aug 2018 15:41:09 +0000 (17:41 +0200)]
CS translation update THX Aditoo

5 years agoEnsure that the post update doesn't end prematurely (#5684)
Michael Vogel [Tue, 28 Aug 2018 11:56:25 +0000 (11:56 +0000)]
Ensure that the post update doesn't end prematurely (#5684)

5 years agowelcome 2018.08-rc
Tobias Diekershoff [Tue, 28 Aug 2018 04:48:57 +0000 (06:48 +0200)]
welcome 2018.08-rc

5 years ago Added documentation about the limits of the user import (#5683)
Michael Vogel [Mon, 27 Aug 2018 20:00:59 +0000 (20:00 +0000)]
 Added documentation about the limits of the user import  (#5683)

* Converting file endings

* Added documentation about the limits of the user import

5 years agoAdded widget class to invitationsbox (#5675)
Jeroen De Meerleer [Mon, 27 Aug 2018 17:36:44 +0000 (19:36 +0200)]
Added widget class to invitationsbox (#5675)

5 years agoIssue 1490: User import is now only possible on open sites or via an administrator...
Michael Vogel [Mon, 27 Aug 2018 11:55:08 +0000 (11:55 +0000)]
Issue 1490: User import is now only possible on open sites or via an administrator. (#5680)

5 years agoMerge pull request #5681 from tobiasd/20180827-lng
Michael Vogel [Mon, 27 Aug 2018 09:09:19 +0000 (09:09 +0000)]
Merge pull request #5681 from tobiasd/20180827-lng

CS, DE, PL translation update

5 years agoPL translation update THX waldis
Tobias Diekershoff [Mon, 27 Aug 2018 08:24:01 +0000 (10:24 +0200)]
PL translation update THX waldis

5 years agoCS translation update THX Aditoo
Tobias Diekershoff [Mon, 27 Aug 2018 08:23:37 +0000 (10:23 +0200)]
CS translation update THX Aditoo

5 years agoDE translation update
Tobias Diekershoff [Mon, 27 Aug 2018 08:23:24 +0000 (10:23 +0200)]
DE translation update

5 years agoMerge pull request #5679 from annando/neverending-notices
Tobias Diekershoff [Mon, 27 Aug 2018 07:12:38 +0000 (09:12 +0200)]
Merge pull request #5679 from annando/neverending-notices

The neverending story of removing notices continues ...

5 years agoThe neverending story of removing notices continues ...
Michael [Mon, 27 Aug 2018 05:37:10 +0000 (05:37 +0000)]
The neverending story of removing notices continues ...

5 years agoMerge pull request #5676 from annando/issue-3501
Tobias Diekershoff [Mon, 27 Aug 2018 04:16:42 +0000 (06:16 +0200)]
Merge pull request #5676 from annando/issue-3501

Issue 3501: Mail contacts can be added again

5 years agoAutomatic Install Tests & Doku (#5674)
Philipp [Mon, 27 Aug 2018 04:15:55 +0000 (06:15 +0200)]
Automatic Install Tests & Doku (#5674)

* Automatic Installation Testing
- New dev-library "mikey179/vfsStream"
- created "reload" method for App-Reloads
- ConsoleTest now using virtual directory
- Adding Automatic Installation Tests
- Fixing some probable install-failures

* Updating README for Automatic Installation

* Updating README for Automatic Installation

* Bugfix normal installation

* Fixing copying of config files

5 years agoIssue 3501: Mail contacts can be added again
Michael [Sun, 26 Aug 2018 19:49:39 +0000 (19:49 +0000)]
Issue 3501: Mail contacts can be added again

5 years agoMerge pull request #5667 from miqrogroove/patch-1
Michael Vogel [Sun, 26 Aug 2018 17:33:19 +0000 (17:33 +0000)]
Merge pull request #5667 from miqrogroove/patch-1

Update doc/Install.md to Describe host-meta

5 years agoStyle changes in doc/Install.md
miqrogroove [Sun, 26 Aug 2018 12:55:47 +0000 (08:55 -0400)]
Style changes in doc/Install.md

Attempting to generalize the instructions for a broader audience.

5 years agoMerge pull request #5672 from annando/issue-5670
Tobias Diekershoff [Sun, 26 Aug 2018 09:50:26 +0000 (11:50 +0200)]
Merge pull request #5672 from annando/issue-5670

Issue 5670: Jump to the unassigned contacts

5 years agoMerge pull request #5671 from annando/needless-updates
Tobias Diekershoff [Sun, 26 Aug 2018 09:09:30 +0000 (11:09 +0200)]
Merge pull request #5671 from annando/needless-updates

Avoid useless contact updates

5 years agoIssue 5670: Jump to the unassigned contacts as a starting point for group edit
Michael [Sun, 26 Aug 2018 08:24:45 +0000 (08:24 +0000)]
Issue 5670: Jump to the unassigned contacts as a starting point for group edit

5 years agoAvoid useless contact updates
Michael [Sun, 26 Aug 2018 07:56:33 +0000 (07:56 +0000)]
Avoid useless contact updates

5 years agoMerge pull request #5669 from annando/notices-in-notifications
Tobias Diekershoff [Sun, 26 Aug 2018 05:47:10 +0000 (07:47 +0200)]
Merge pull request #5669 from annando/notices-in-notifications

Removed notices in notifications

5 years agoMerge pull request #5668 from MrPetovan/task/2800-frio-ios-prevent-input-zoom
Michael Vogel [Sun, 26 Aug 2018 05:32:30 +0000 (05:32 +0000)]
Merge pull request #5668 from MrPetovan/task/2800-frio-ios-prevent-input-zoom

[frio] Prevent Safari iOS input zoom

5 years agoRemoved notices in notifications
Michael [Sun, 26 Aug 2018 05:27:50 +0000 (05:27 +0000)]
Removed notices in notifications

5 years ago[frio] Mobile: force input font size to 16px
Hypolite Petovan [Sat, 25 Aug 2018 23:28:40 +0000 (19:28 -0400)]
[frio] Mobile: force input font size to 16px

5 years ago[frio] Fix HTML warnings
Hypolite Petovan [Sat, 25 Aug 2018 23:28:04 +0000 (19:28 -0400)]
[frio] Fix HTML warnings

- Add missing space between attributes
- Add missing closing tag to logo SVG mask

5 years agoIssue 5660: Check if .well-known is reachable (#5661)
Michael Vogel [Sat, 25 Aug 2018 22:31:22 +0000 (22:31 +0000)]
Issue 5660: Check if .well-known is reachable (#5661)

* Issue 5660: Check if .well-known is reachable

* Fixes ".."

* Some text correction

* Some more correction

* Anf again some changed text :-)

5 years agoIssue 5260: Ensure that user data is really deleted (#5666)
Michael Vogel [Sat, 25 Aug 2018 21:48:50 +0000 (21:48 +0000)]
Issue 5260: Ensure that user data is really deleted (#5666)

* Issue 5260: Ensure that user data is really deleted

* Missing files

5 years agoIssue 5320: Deleting of events returned a wrong message (#5663)
Michael Vogel [Sat, 25 Aug 2018 21:38:54 +0000 (21:38 +0000)]
Issue 5320: Deleting of events returned a wrong message (#5663)

* Issue 5320: Deleting of events returned a wrong message

* Remove unneeded variable

5 years agoUpdate Install.md
miqrogroove [Sat, 25 Aug 2018 20:48:50 +0000 (16:48 -0400)]
Update Install.md

5 years agoMerge pull request #5665 from tobiasd/20180825-nl
Michael Vogel [Sat, 25 Aug 2018 19:35:01 +0000 (19:35 +0000)]
Merge pull request #5665 from tobiasd/20180825-nl

NL translation update THX Jeroen

5 years agoNL translation update THX Jeroen
Tobias Diekershoff [Sat, 25 Aug 2018 18:39:21 +0000 (20:39 +0200)]
NL translation update THX Jeroen

5 years agoMerge pull request #5664 from annando/issue-4726
Tobias Diekershoff [Sat, 25 Aug 2018 17:55:36 +0000 (19:55 +0200)]
Merge pull request #5664 from annando/issue-4726

Isse 4726: Fixes the condition for showing hidden contacts

5 years agoIsse 4726: Fixes the condition for showing hidden contacts
Michael [Sat, 25 Aug 2018 16:38:26 +0000 (16:38 +0000)]
Isse 4726: Fixes the condition for showing hidden contacts

5 years agoMerge pull request #5662 from annando/messages-po
Tobias Diekershoff [Sat, 25 Aug 2018 16:31:24 +0000 (18:31 +0200)]
Merge pull request #5662 from annando/messages-po

Added strings

5 years agoAdded strings
Michael [Sat, 25 Aug 2018 15:38:34 +0000 (15:38 +0000)]
Added strings

5 years agoIssue 4960: Ignoring and blocking of contacts should work again (#5657)
Michael Vogel [Sat, 25 Aug 2018 13:48:00 +0000 (13:48 +0000)]
Issue 4960: Ignoring and blocking of contacts should work again (#5657)

* Issue 4960: Ignoring and blocking of contacts should work again

* Renamed functions

* This function should be renamed as well.

* We now have a frontend to block and ignore public contacts

* Hide some parts for public contacts

* Removed notices, public contact is now accessible from dirfind as well

* We now show contact conversations and contact posts

* We now use a new conversation mode

* The update functionality is disabled until it will work completely

* Fixing tabs chaos

* Update after posts on the contacts page will now work

* Show connect link

5 years agoMerge pull request #5659 from annando/notices-oh-no
Tobias Diekershoff [Fri, 24 Aug 2018 12:46:21 +0000 (14:46 +0200)]
Merge pull request #5659 from annando/notices-oh-no

Oh no ... there are still some notices that want to be removed ...

5 years agoOh no ... there are still some notices that want to be removed ...
Michael [Fri, 24 Aug 2018 11:09:58 +0000 (11:09 +0000)]
Oh no ... there are still some notices that want to be removed ...

5 years agoCleanups: isResult() more used, readability improved (#5608)
Roland Häder [Fri, 24 Aug 2018 05:05:49 +0000 (07:05 +0200)]
Cleanups: isResult() more used, readability improved (#5608)

* [diaspora]: Maybe SimpleXMLElement is the right type-hint?

* Changes proposed + pre-renaming:
- pre-renamed $db -> $connection
- added TODOs for not allowing bad method invocations (there is a
  BadMethodCallException in SPL)

* If no record is found, below $r[0] will fail with a E_NOTICE and the code
doesn't behave as expected.

* Ops, one more left ...

* Continued:
- added documentation for Contact::updateSslPolicy() method
- added type-hint for $contact of same method
- empty lines added + TODO where the bug origins that $item has no element 'body'

* Added empty lines for better readability

* Cleaned up:
- no more x() (deprecated) usage but empty() instead
- fixed mixing of space/tab indending
- merged else/if block goether in elseif() (lesser nested code blocks)

* Re-fixed DBM -> DBA switch

* Fixes/rewrites:
- use empty()/isset() instead of deprecated x()
- merged 2 nested if() blocks into one
- avoided nested if() block inside else block by rewriting it to elseif()
- $contact_id is an integer, let's test on > 0 here
- added a lot spaces and some empty lines for better readability

* Rewrite:
- moved all CONTACT_* constants from boot.php to Contact class

* CR request:
- renamed Contact::CONTACT_IS_* -> Contact::* ;-)

* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class
- fixed mixure with "Contact::* rewrite"

* Ops, one still there (return is no function)

* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
  functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
  will do this for us
- renamed those proxy_*() functions to better names:
  + proxy_init()           -> Proxy::init()         (public)
  + proxy_url()            -> Proxy::proxifyUrl()   (public)
  + proxy_parse_html()     -> Proxy::proxifyHtml()  (public)
  + proxy_is_local_image() -> Proxy::isLocalImage() (private)
  + proxy_parse_query()    -> Proxy::parseQuery()   (private)
  + proxy_img_cb()         -> Proxy::replaceUrl()   (private)

* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes

* Ops, need to set $a here ...

* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule

* Ops, no need for own instance of $a when self::getApp() is around.

* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
  methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module

* No instances from utility classes

* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`

* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.

* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.

* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.

* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...

* Ops, was added accidentally ...

* Ops, why these wrong moves?

* Ops, one to much (thanks to MrPetovan)

* Ops, wrong moving ...

* moved back to original place ...

* spaces added

* empty lines add for better readability.

* convertered spaces -> tab for code indenting.

* CR request: Add space between if and brace.

* CR requests fixed + move reverted
- ops, src/Module/*.php has been moved to src/Network/ accidentally
- reverted some parts in src/Database/DBA.php as pointed out by Annando
- removed internal TODO items
- added some spaces for better readability

5 years agoAPI: add private value (bool) to item results (#5647)
fabrixxm [Thu, 23 Aug 2018 14:09:50 +0000 (16:09 +0200)]
API: add private value (bool) to item results (#5647)

* API: add private value (bool) to item results

friendica:private for xml
friendica_privarte for json

* API Docs: add a section about custom value returned in status data

5 years ago"dba" is now "DBA". This hadn't been respected at some places (#5655)
Michael Vogel [Thu, 23 Aug 2018 13:51:58 +0000 (15:51 +0200)]
"dba" is now "DBA". This hadn't been respected at some places (#5655)

* "dba" is now "DBA". This hadn't been respected at some places

* Cleaning up unneeded stuff