Roland Häder
4b221d216e
added more curly braces + space between "if" and brace
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
4dce3d8224
changed to this:
...
---------------------
function bla (App &$a) {
$a->bla = 'stuff';
}
---------------------
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
be35349495
added more curyl braces + spaces between "if" and brace
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
fb676335db
Coding convention applied:
...
- space between "if" and brace
- curly braces on conditional blocks
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
2c9d282136
Convention: SQL keywords all upper-case, columns and table names (better) lower-cased and always in back-ticks.
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
a85470b172
Opps, this has vanished by accident, thanks to @annando
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
042ed17826
removed own debug lines (no more needed).
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
036edc2fd0
added extra spaces to make it look nice. #3010
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
46d383369c
Cleanup for #3010 - added spaces, thanks to @annando .
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
6de232c60a
Cleanup for #3010 - removed all redundant lines found by @rabuzarus
...
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
Roland Häder
63610c7b73
Merge branch 'rewrites/dbm_is_result' of github.com:Quix0r/friendica into rewrites/dbm_is_result
...
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/Photo.php
include/api.php
include/cache.php
include/dbstructure.php
include/enotify.php
include/items.php
include/onepoll.php
include/queue_fn.php
include/session.php
include/text.php
mod/contacts.php
mod/dfrn_request.php
mod/display.php
mod/events.php
mod/item.php
mod/message.php
mod/msearch.php
mod/photos.php
mod/poco.php
mod/profile.php
mod/proxy.php
mod/videos.php
update.php
view/theme/diabook/theme.php
view/theme/vier/theme.php
6 years ago
Roland Häder
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
...
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago
rabuzarus
a208d2e72b
dfrn_request: include the graphic of the connection process into the doxygen header
6 years ago
rabuzarus
54f3867ebd
dfrn_request: fix forgotten value variable + added $blocked and $pending also for other queries
6 years ago
rabuzarus
0d223aa6f1
dfrn_request: added $blocked and $pending as variable to make code more understandable
6 years ago
rabuzarus
d0cdf863a1
fix accidentally deleted line with local_user()
6 years ago
rabuzarus
5458f40f6a
Bugfix: better detection dfrn_request of double connection requests
6 years ago
Roland Häder
c1a15befc5
Some improvements/fix:
...
- fixed curly brace bug (introduced by myself)
- make all SQL keywords upper-case, column and table names lower-case
- used some more dbm::is_result
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
e171a1cd22
Some fixes:
...
- avoids warning if no result is coming back
- brought back init variable before using it
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
c825cc8d0d
This merge brings back dbm::is_result() where I could find it.
...
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Michael Vogel
f27bc00464
Remove obsolote functions
7 years ago
Michael Vogel
4e5d335492
Removed the legacy function calls, removed unused functions
7 years ago
Michael Vogel
0b1188b7fe
Imrpoved avatar handling when storing them/partly use of "micro"
7 years ago
Roland Häder
738e22d3eb
Some fixes:
...
- Letting $profile_link and $hcard always been overwritten with newly found
entries has caused DFRN network detectio to fail and "connect" is no longer
working. This fix makes sure that these both variables are only set if they
are still empty.
- added more debug lines to see which URL was it before and after webfinger "detection"
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
3e701b90ac
Continued rewriting:
...
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
6177607bca
More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
3448437156
More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Michael Vogel
535f382c4e
Bugfix: "default_group" behaviour wasn't implemented correctly
7 years ago
Michael Vogel
d6a79abb68
Bugfix: "default_group" behaviour wasn't implemented correctly
7 years ago
Michael Vogel
8752ec11b2
Central function for default group, special setting for OStatus
7 years ago
Roland Häder
7d5166c9fe
Closed TODO: no .= needed here. #2392
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Roland Häder
76b042ddee
More logging in case of errors + logged network type + added TODO (for ugly E_NOTICE).
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
7 years ago
Tobias Diekershoff
75ed2f830d
moved include Scape to top of the file
7 years ago
Michael Vogel
2ed3ae1aab
Bugfix: The request process from DFRN hadn't worked anymore since the last pull request
7 years ago
Michael Vogel
72f7ee7fd3
Support for remote subscription in Diaspora
7 years ago
Michael Vogel
602821279a
scrape_dfrn now scrapes the address as well.
7 years ago
fabrixxm
b988aa7cb4
fix warning in /dfrn_request
8 years ago
Michael Vogel
123ad84689
Make the hardcoded path to dir.friendica.com configurable
8 years ago
Michael Vogel
f6ea872986
The behaviour when following a new contact is now unified.
8 years ago
Fabrixxm
f7cf72e450
fix use of $->query_string
9 years ago
fabrixxm
1bdddebd44
connection confirm notification mail via notification()
...
remove unused email templates
add a check for unexpected reponse from server
9 years ago
Michael Vogel
2b182b2dcf
After a new friendica contact is added, the user is directed to the contact page of the new contact. (Instead of the remote profile)
9 years ago
Michael Vogel
d23d26f44d
Reduced options when adding a friendica contact and an address was provided via URL parameter.
9 years ago
Michael Vogel
6e7bd68ebb
More "LIMIT 1" removed - and some other SQL improvements.
9 years ago
Michael Vogel
b0dd16696a
Solving some more SQL warnings ("limit" must never be used in update statements)
9 years ago
Zach Prezkuta
e684324032
use explicit include paths
10 years ago
friendica
e98dc70008
sn subscription fix
10 years ago
friendica
5c0f0df59a
provide local_block - block_public as far as content but can connect with the grid.
11 years ago
friendica
eeceecc9ba
unterminated sql string
11 years ago