Commit graph

12701 commits

Author SHA1 Message Date
Roland Haeder
5a439a31f3
Fixes E_WARNING from foreach() because count() seem to return TRUE even when $r is no array ?!
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 22:46:30 +01:00
Roland Haeder
d88606321d
Just easier code ...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 22:39:08 +01:00
Roland Haeder
425665795d
Merge branch 'fixes/poller-warning' into rhaeder-develop 2016-03-04 22:38:47 +01:00
Roland Haeder
d5c1ce490b
No processing if error or empty array
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 22:38:18 +01:00
Roland Haeder
cc4349777a
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-04 20:05:24 +01:00
Michael Vogel
2edf4548dc Retractions could work now. 2016-03-03 23:34:17 +01:00
Michael Vogel
5adecf5b50 Some beautification 2016-03-02 23:39:50 +01:00
Michael Vogel
66919761ab Some work at the retractions. 2016-03-02 23:28:20 +01:00
fabrixxm
3184a6263b Merge pull request #2392 from Quix0r/minor/logging
Minor: Some more logging to trace down bugs
2016-03-02 12:21:18 +01:00
Michael Vogel
1f7f964bb7 Merge remote-tracking branch 'upstream/develop' into 1602-diaspora 2016-03-02 11:59:13 +01:00
Tobias Diekershoff
73f4c3c8da Merge pull request #2394 from annando/1603-federation
Small bugfix: Fixes problen when version number contains linebreaks
2016-03-02 10:41:02 +01:00
Tobias Diekershoff
40209b2554 Merge pull request #2393 from annando/1603-api-speed
API: Some small speed improvement when calling the home timeline.
2016-03-02 10:40:23 +01:00
Michael Vogel
f1dae26df8 Likes would now work with unlikes and with likes on comments. 2016-03-01 23:21:56 +01:00
Michael Vogel
411566f48b API: Some small speed improvement when calling the home timeline. 2016-03-01 19:17:01 +01:00
Michael Vogel
ce5f6fae51 Small bugfix: Fixes problen when version number contains linebreaks 2016-03-01 19:14:45 +01:00
Michael Vogel
009cadf63b Just another commit message :-) 2016-03-01 19:10:35 +01:00
Roland Haeder
902a3fdfe9 Merge branch 'rhaeder-develop' of github.com:Quix0r/friendica into rhaeder-develop 2016-03-01 18:32:21 +01:00
Roland Haeder
2d154ae72f Closed TODO: no .= needed here. #2392
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:49 +01:00
Roland Haeder
8cb011a07e More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:49 +01:00
Roland Haeder
24cbac1a5b Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:49 +01:00
Roland Haeder
4ec377008d Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:49 +01:00
Roland Haeder
95bfa17254
Merge branch 'rhaeder-develop' of github.com:Quix0r/friendica into rhaeder-develop
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:31:33 +01:00
Roland Haeder
6318d28435
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop 2016-03-01 18:29:34 +01:00
Roland Haeder
51a2d31f54 Closed TODO: no .= needed here. #2392
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
f05c1e82f0 Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
0c1cc0d32f Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
0510b31b7b <form> and <html> or <head> are not self-closing tags.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
2247d85b28 Don't miss to add exit() after header('Location: bla') as header() does *NOT*
exit the script quickly enough. Always use an explicit exit() or you get real
trouble.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
cf50bb3471 More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
118d428013 Prevent some E_NOTICE in identity.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
0142ff7f0f Prevent some E_NOTICE in boot.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
1f2bf81844 No need to set $a->theme_info = array() everywhere if you can define it in App
itself.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:29:09 +01:00
Roland Haeder
7d5166c9fe
Closed TODO: no .= needed here. #2392
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 18:28:06 +01:00
Roland Haeder
858438daec
More calls replaced with is_filled_array(), ticket #2390
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 16:04:18 +01:00
fabrixxm
04ccd9a776 Merge pull request #2388 from Quix0r/fixes/prevent-e_notice_boot_php
Prevent some E_NOTICE
2016-03-01 15:50:20 +01:00
fabrixxm
be3fa8f8b1 Merge pull request #2391 from Quix0r/fixes/http-security
Missing exit() after header('Location: bla') is bad news
2016-03-01 15:33:31 +01:00
fabrixxm
11310aa93b Merge pull request #2389 from Quix0r/rewrites/theme_info_array_init
$a->theme_info = array() should be avoided
2016-03-01 15:32:34 +01:00
fabrixxm
fd316fe720 Merge pull request #2387 from Quix0r/fixes/html-errors
Some tags should not be self-closed
2016-03-01 15:31:28 +01:00
Roland Haeder
7e485f25ab <form> and <html> or <head> are not self-closing tags.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
2626182016 Don't miss to add exit() after header('Location: bla') as header() does *NOT*
exit the script quickly enough. Always use an explicit exit() or you get real
trouble.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
438026aafd More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
f53af9732c Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
962536330a Prevent some E_NOTICE in identity.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
2c37eab808 Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
c54e38fddb Prevent some E_NOTICE in boot.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
f7a0260129 No need to set $a->theme_info = array() everywhere if you can define it in App
itself.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:53:35 +01:00
Roland Haeder
08abdfda68
<form> and <html> or <head> are not self-closing tags.
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:49:56 +01:00
Roland Haeder
8616f0cc35
Don't miss to add exit() after header('Location: bla') as header() does *NOT*
exit the script quickly enough. Always use an explicit exit() or you get real
trouble.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:49:07 +01:00
Roland Haeder
76b042ddee
More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:42:55 +01:00
Roland Haeder
78e6569b27
Also use is_filled_array() here, too. if $contacts is FALSE count() issues are E_WARNING
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:38:02 +01:00