Commit graph

20609 commits

Author SHA1 Message Date
Hypolite Petovan 1eaa523e61 Remove unused App->page['end']
- Remove unused empty templates
2018-09-20 21:02:28 -04:00
Hypolite Petovan 55f1d7b90e Add new footer hook
- Add new App->footerScripts array
- Add footer.tpl template
- Add documentation
- Rework App->init_page_end to App->initFooter
2018-09-20 21:01:05 -04:00
Hypolite Petovan 7dd6fb3b3c Rewrite JS hooks
- Use event listeners instead of homebrew hooks
- Remove view/js/addon-hooks.js and its references
- Update Addon docs
2018-09-19 22:51:51 -04:00
Hypolite Petovan 68c6895e1a
Merge pull request #5734 from nupplaphil/friendica-5716-followup
LockDriverFixings
2018-09-06 11:50:47 -04:00
Philipp Holzer bd2b3b1ef5
LockDriverFixings
- release Locks in case of failures
- adding some cache tests
2018-09-06 08:11:18 +02:00
Hypolite Petovan 164c05e953
Merge pull request #5730 from nupplaphil/friendica-5716
CacheLockDriverTest Fixings
2018-09-05 20:00:20 -04:00
Philipp Holzer f148dcabc4
CacheLockDriverTest Fixings
- Changing test behaviour
2018-09-05 22:16:23 +02:00
Michael Vogel 01451f788f Added documentation about the limits of the user import (#5683)
* Converting file endings

* Added documentation about the limits of the user import
2018-08-27 16:00:59 -04:00
Jeroen De Meerleer 9ddb6abe08 Added widget class to invitationsbox (#5675) 2018-08-27 13:36:44 -04:00
Michael Vogel f7953a2b02 Issue 1490: User import is now only possible on open sites or via an administrator. (#5680) 2018-08-27 07:55:08 -04:00
Michael Vogel 2022d0e812
Merge pull request #5681 from tobiasd/20180827-lng
CS, DE, PL translation update
2018-08-27 09:09:19 +00:00
Tobias Diekershoff c8840ba418 PL translation update THX waldis 2018-08-27 10:24:01 +02:00
Tobias Diekershoff d75b79aa36 CS translation update THX Aditoo 2018-08-27 10:23:37 +02:00
Tobias Diekershoff dbc1841586 DE translation update 2018-08-27 10:23:24 +02:00
Tobias Diekershoff df3b1be3b7
Merge pull request #5679 from annando/neverending-notices
The neverending story of removing notices continues ...
2018-08-27 09:12:38 +02:00
Michael 8d911b1465 The neverending story of removing notices continues ... 2018-08-27 05:37:10 +00:00
Tobias Diekershoff 6c8ed888f5
Merge pull request #5676 from annando/issue-3501
Issue 3501: Mail contacts can be added again
2018-08-27 06:16:42 +02:00
Philipp 2838e4ebaf 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
2018-08-27 00:15:55 -04:00
Michael 2079caea14 Issue 3501: Mail contacts can be added again 2018-08-26 19:49:39 +00:00
Michael Vogel 31d47ade78
Merge pull request #5667 from miqrogroove/patch-1
Update doc/Install.md to Describe host-meta
2018-08-26 17:33:19 +00:00
miqrogroove 8ee5137ce1
Style changes in doc/Install.md
Attempting to generalize the instructions for a broader audience.
2018-08-26 08:55:47 -04:00
Tobias Diekershoff ff16a6a9d1
Merge pull request #5672 from annando/issue-5670
Issue 5670: Jump to the unassigned contacts
2018-08-26 11:50:26 +02:00
Tobias Diekershoff 13f50581fe
Merge pull request #5671 from annando/needless-updates
Avoid useless contact updates
2018-08-26 11:09:30 +02:00
Michael 4406677576 Issue 5670: Jump to the unassigned contacts as a starting point for group edit 2018-08-26 08:24:45 +00:00
Michael 5e82323456 Avoid useless contact updates 2018-08-26 07:56:33 +00:00
Tobias Diekershoff c1933fcb13
Merge pull request #5669 from annando/notices-in-notifications
Removed notices in notifications
2018-08-26 07:47:10 +02:00
Michael Vogel 63c4f7d444
Merge pull request #5668 from MrPetovan/task/2800-frio-ios-prevent-input-zoom
[frio] Prevent Safari iOS input zoom
2018-08-26 05:32:30 +00:00
Michael 1280bb56df Removed notices in notifications 2018-08-26 05:27:50 +00:00
Hypolite Petovan 0d8e5eace5 [frio] Mobile: force input font size to 16px 2018-08-25 19:30:18 -04:00
Hypolite Petovan 3bfd0ceed6 [frio] Fix HTML warnings
- Add missing space between attributes
- Add missing closing tag to logo SVG mask
2018-08-25 19:30:18 -04:00
Michael Vogel 3d5ac950e3 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 :-)
2018-08-25 18:31:22 -04:00
Michael Vogel 49dad00570 Issue 5260: Ensure that user data is really deleted (#5666)
* Issue 5260: Ensure that user data is really deleted

* Missing files
2018-08-25 17:48:50 -04:00
Michael Vogel 3b50e94a1a Issue 5320: Deleting of events returned a wrong message (#5663)
* Issue 5320: Deleting of events returned a wrong message

* Remove unneeded variable
2018-08-25 17:38:54 -04:00
miqrogroove 879348e7ff
Update Install.md 2018-08-25 16:48:50 -04:00
Michael Vogel dc4b6ba559
Merge pull request #5665 from tobiasd/20180825-nl
NL translation update THX Jeroen
2018-08-25 19:35:01 +00:00
Tobias Diekershoff 67d6fae92e NL translation update THX Jeroen 2018-08-25 20:39:21 +02:00
Tobias Diekershoff 39c7fe6d45
Merge pull request #5664 from annando/issue-4726
Isse 4726: Fixes the condition for showing hidden contacts
2018-08-25 19:55:36 +02:00
Michael 927e0ee0a2 Isse 4726: Fixes the condition for showing hidden contacts 2018-08-25 16:38:26 +00:00
Tobias Diekershoff 5d0fdd0e06
Merge pull request #5662 from annando/messages-po
Added strings
2018-08-25 18:31:24 +02:00
Michael 20c9942b21 Added strings 2018-08-25 15:38:34 +00:00
Michael Vogel edcd0a3744 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
2018-08-25 09:48:00 -04:00
Tobias Diekershoff 6a549d4cfb
Merge pull request #5659 from annando/notices-oh-no
Oh no ... there are still some notices that want to be removed ...
2018-08-24 14:46:21 +02:00
Michael 82d097879b Oh no ... there are still some notices that want to be removed ... 2018-08-24 11:09:58 +00:00
Roland Häder 61693419e8 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
2018-08-24 01:05:49 -04:00
fabrixxm 93ba393559 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
2018-08-23 10:09:50 -04:00
Michael Vogel dc3d2d5988 "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
2018-08-23 09:51:58 -04:00
Michael Vogel d29cb1acaf Fix: Mail notifications arrive again (#5654)
* Fix: Mail notifications arrive again

* Ensure that user data is always there
2018-08-23 10:00:25 +02:00
Michael Vogel 20127a77b3 Removing a small notice in the network.php (#5652) 2018-08-22 18:46:44 -04:00
Michael Vogel 29b73877a9 Fix the settings in frio (#5650) 2018-08-22 00:14:16 -04:00
rabuzarus 1eb147cb48 fix redirection - don't dfrn auth when contact is still pending (#5648) 2018-08-21 23:58:09 -04:00