Commit graph

135 commits

Author SHA1 Message Date
Roland Häder
0cd241bcbe
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:44:40 +01:00
Hypolite Petovan
8a197055e3 Normalize App parameter declaration (mod folder, 1 out of 3) 2017-01-09 23:12:54 +11:00
Roland Häder
51716957b2 converted more to dbm::is_result() + added braces/space
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 15:37:27 +01:00
Roland Häder
4dce3d8224 changed to this:
---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 10:58:55 +01:00
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>
2016-12-20 10:10:33 +01:00
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>
2016-12-19 14:27:16 +01:00
Roland Häder
46d383369c Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-14 09:41:33 +01:00
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>
2016-12-13 10:44:13 +01:00
Michael Vogel
6f72bc8d3a Better implementation of "hidewall" 2016-05-06 11:04:21 +02:00
fabrixxm
b202e02fbf Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802.
2016-02-07 15:11:34 +01:00
Andrej Stieben
db949bb802 Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
2016-02-05 21:52:39 +01:00
Michael Vogel
62de6be495 Switched to static methods for DFRN 2016-01-25 15:20:58 +01:00
Michael Vogel
74ed37aa87 Some more removed code 2016-01-24 00:21:58 +01:00
Michael Vogel
444b417de0 New routines are now enabled 2016-01-23 02:44:30 +01:00
Michael Vogel
b53ae0d42a Bugfix: The own avatar was (sometimes?) changed back when it was changed. 2015-11-17 08:39:09 +01:00
Michael Vogel
030784ad35 Fix for issue "Field 'type' doesn't have a default value" in the challenge table. 2014-11-08 20:52:15 +01:00
Michael Vogel
53c06a3625 Several performance improvements. 2013-11-02 10:49:44 +01:00
friendica
36f2930e52 http status for disallowed feeds 2013-04-23 20:12:49 -07:00
Zach Prezkuta
cc38986c20 add 'quiet' paramter to redir and dfrn_poll to allow calls that don't produce a Welcome info 2013-02-04 20:34:42 -07:00
friendica
4d289574ca ensure that auto_redir does not loop 2012-11-21 15:41:14 -08:00
friendica
3303d9db75 put 1i8n position orders in welcome string 2012-11-03 14:43:48 -07:00
friendica
4cd8233f61 remote_user can now support multiple contacts being logged in at once 2012-09-04 22:50:28 -07:00
friendica
0a302e100d try and eliminate the openssl warnings for forums trying to talk back to fans 2012-06-20 21:09:52 -07:00
friendica
0fa932853c profile redir - goto correct profile page even if contact blocked, you just can't do anything. 2012-04-10 20:09:51 -07:00
Alexander Kampmann
355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
friendica
f63636ed14 well that was a stupid mistake... 2012-04-04 17:19:46 -07:00
friendica
b5d0315d55 preparation for some possibly killer features 2012-03-26 17:57:27 -07:00
friendica
cca524495c community discovery cont., cleanup of DB debugging 2012-03-18 22:12:36 -07:00
friendica
61246cbd1c some zot-id infrastructure 2012-01-29 15:47:25 -08:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
Friendika
2637831d90 some more zot changes migrating back to f9a mainline 2011-08-01 21:02:25 -07:00
Friendika
84d12c3e08 move hidewall to user table - queries are getting too complicated and servers falling over 2011-07-05 23:23:43 -07:00
Friendika
cd536731c3 minor string update 2011-05-25 17:20:41 -07:00
Fabio Comuni
e1107b55c6 add info() function. Works like notice() but show messages in a div with class info-message.
update code to use info() instead of notice() when appropriate (non-error message)
add info-message class style in themes
2011-05-23 11:39:57 +02:00
Friendika
9e19eef194 "firewall" setting - block all public pages from the public if configured to do so 2011-04-21 17:29:47 -07:00
Friendika
a1ef8f669d don't show connect link to authenticated visitors 2011-04-20 15:27:10 -07:00
Friendika
9341f2c4d6 little fix 2011-04-10 19:46:40 -07:00
Friendika
3d51518a13 set writable flag on dfrn_poll 2011-04-10 19:29:21 -07:00
Friendika
940d216395 initial dfrn update to pass perms 2011-04-10 18:38:55 -07:00
Friendika
793967a1d3 better handling of troublesome feeds. 2011-04-04 19:36:18 -07:00
Friendika
94881c15d3 missed merge conflict tag 2011-04-04 01:26:04 -07:00
Friendika
379af25215 Merge branch 'iconpopup' of https://github.com/fabrixxm/friendika into fabrixxm-iconpopup
Conflicts:
	mod/dfrn_poll.php
2011-04-04 01:22:05 -07:00
Friendika
b5bcf44354 profile not set 2011-04-04 01:18:28 -07:00
Fabio Comuni
afa0d8ff70 fix profile redirect url in dfrn_poll 2011-04-04 09:50:25 +02:00
Friendika
4b356e59ec allow other destinations according to protocol 2011-04-01 14:39:09 -07:00
Friendika
e33b6e0b5a redirect to symbolic rather than absolute URL locations 2011-04-01 00:59:10 -07:00
Friendika
0fe997490d dfrn remote profile protocol revision 2011-03-30 15:04:18 -07:00
Friendika
04cd865cc9 placeholder arg in dfrn conversations 2011-03-30 04:20:40 -07:00
Friendika
f198c5cff8 secure profile failure 2011-03-30 04:07:47 -07:00
fabrixxm
9f7878057f update source strings 2011-03-11 00:22:21 +01:00
Friendika
18c5d1ff90 feed cleanup 2011-02-07 17:06:04 -08:00
Friendika
e8d52d879b more debugging to see if the google push hub is even trying to publish our content. 2011-01-30 15:28:50 -08:00
Friendika
64628c800d provide "return home" key 2011-01-04 05:06:10 -08:00
Friendika
d6a75a0391 secure profile redirect failed with duplex relationship 2010-12-25 13:51:39 -08:00
Friendika
3ba322889f undo one of the hooks from last checkin - passing objects led to error 2010-12-24 19:04:40 -08:00
Friendika
e70551eeec set encryption vars to empty when contact not found 2010-12-10 14:21:33 -08:00
Friendika
e241c401cf significantly enhanced profile security 2010-12-07 19:40:12 -08:00
Friendika
4d84a87ce4 cache result of (expensive) security check for visitor rights
begin tightening x-profile security
2010-12-02 21:09:55 -08:00
Friendika
a1458f899a change remote welcome message 2010-11-25 18:22:54 -08:00
Mike Macgirvin
f0b6400584 more lint 2010-10-31 16:38:22 -07:00
Mike Macgirvin
511c761fec group/community/celebrity pages 2010-10-18 00:43:49 -07:00
Mike Macgirvin
bf77043b51 set correct content-type on feeds, status.net is fussy and ignores the one declared in the xrd 2010-10-13 19:06:52 -07:00
Mike Macgirvin
033935c194 cleanup to ensure protocol version is passed properly. We will need it if/when any incompatible protocol changes are introduced. 2010-10-12 20:29:04 -07:00
Mike Macgirvin
34eedb503a stronger type checking on comparisons 2010-09-26 17:24:20 -07:00
Mike Macgirvin
cd61b46009 polling horked on certain relationships 2010-09-20 20:26:55 -07:00
Mike Macgirvin
a50947a4bc like, dislike, activity streams, etc. 2010-09-17 03:10:19 -07:00
Mike Macgirvin
2c96ad7739 tag each side of the duplex 2010-09-12 21:25:37 -07:00
Mike Macgirvin
a587d550b9 doco 2010-09-09 17:25:08 -07:00
Mike Macgirvin
440a3fea3f redirection to wrong profile in multi-user mode 2010-09-09 17:09:38 -07:00
Mike Macgirvin
ffb1997902 mistpark 2.0 infrasturcture lands 2010-09-08 20:14:17 -07:00
Mike Macgirvin
b49858b038 start on 2way comms, 2.0 dev 2010-09-02 00:31:11 -07:00
Mike Macgirvin
e0045a43e2 mongo checkin, global directory, redir rework, location basics 2010-08-19 04:59:31 -07:00
Mike Macgirvin
4d34ec85cf misc little fixes 2010-08-16 22:05:04 -07:00
Mike Macgirvin
35e29e10e6 installer changes, pe sync 2010-08-15 21:49:29 -07:00
Mike Macgirvin
9662c44a17 even more fixes 2010-08-10 21:22:36 -07:00
Mike Macgirvin
69fe1efa98 added hearts 2010-08-06 17:02:05 -07:00
Mike Macgirvin
40a06771ff reciprocal verification on notify, poll 2010-08-05 02:57:03 -07:00
Mike Macgirvin
93d0ef4042 fixup image on wall 2010-08-02 19:06:36 -07:00
Mike Macgirvin
6695b4a203 more bugs 2010-07-19 06:58:03 -07:00
Mike Macgirvin
21f0cd206d more poll stuff ahead of item revamp 2010-07-18 20:49:10 -07:00
Mike Macgirvin
5bdff4d44c more dfrn_poll 2010-07-18 06:02:19 -07:00
Mike Macgirvin
95d0a9e2bf dfrn_poll underway 2010-07-18 02:49:38 -07:00
Mike Macgirvin
059e090b53 sorting out visitor sessions 2010-07-16 06:24:41 -07:00
Mike Macgirvin
f5826105bf group work, dfrn_poll 2010-07-05 03:33:02 -07:00
Mike Macgirvin
6348e70daa Initial checkin 2010-07-01 16:48:07 -07:00