From b69fca14e76a2f5db0cd0924fe5e7056e94771b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 15:49:37 -0800 Subject: initial doco --- doc/html/security_8php.html | 452 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 452 insertions(+) create mode 100644 doc/html/security_8php.html (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html new file mode 100644 index 000000000..4805bbc8d --- /dev/null +++ b/doc/html/security_8php.html @@ -0,0 +1,452 @@ + + + + + + +The Red Project: include/security.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Project +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
security.php File Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

 authenticate_success ($user_record, $login_initial=false, $interactive=false, $return=false, $update_lastlog=false)
 
 change_channel ($change_channel)
 
 permissions_sql ($owner_id, $remote_verified=false, $groups=null)
 
 item_permissions_sql ($owner_id, $remote_verified=false, $groups=null)
 
 public_permissions_sql ($observer_hash)
 
 get_form_security_token ($typename= '')
 
 check_form_security_token ($typename= '', $formname= 'form_security_token')
 
 check_form_security_std_err_msg ()
 
 check_form_security_token_redirectOnErr ($err_redirect, $typename= '', $formname= 'form_security_token')
 
 check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')
 
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
authenticate_success ( $user_record,
 $login_initial = false,
 $interactive = false,
 $return = false,
 $update_lastlog = false 
)
+
+ +

Referenced by api_login(), and register_post().

+ +
+
+ +
+
+ + + + + + + + +
change_channel ( $change_channel)
+
+
+ +
+
+ + + + + + + +
check_form_security_std_err_msg ()
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
check_form_security_token ( $typename = '',
 $formname = 'form_security_token' 
)
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
check_form_security_token_ForbiddenOnErr ( $typename = '',
 $formname = 'form_security_token' 
)
+
+ +

Referenced by group_content().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
check_form_security_token_redirectOnErr ( $err_redirect,
 $typename = '',
 $formname = 'form_security_token' 
)
+
+
+ +
+
+ + + + + + + + +
get_form_security_token ( $typename = '')
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
item_permissions_sql ( $owner_id,
 $remote_verified = false,
 $groups = null 
)
+
+

Construct permissions

+

default permissions - anonymous user

+

Profile owner - everything is visible

+

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

+ +

Referenced by channel_content(), and zot_feed().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
permissions_sql ( $owner_id,
 $remote_verified = false,
 $groups = null 
)
+
+

Construct permissions

+

default permissions - anonymous user

+

Profile owner - everything is visible

+

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

+ +

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), and photos_content().

+ +
+
+ +
+
+ + + + + + + + +
public_permissions_sql ( $observer_hash)
+
+ +

Referenced by display_content().

+ +
+
+ +
+
+ + + + + + + + +
if (!function_exists('init_groups_visitor')) stream_perms_api_uids ( $perms_min = PERMS_SITE)
+
+
+
+
+ + + + -- cgit v1.2.3 From 0ee1e83a3c6bb48064789a622f5eb7331733cb64 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 16:04:28 -0800 Subject: small doco update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 4805bbc8d..52ad629c3 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -443,7 +443,7 @@ Functions - - - - + -- cgit v1.2.3 From 4cfbdfa6dbed878565bab5172efaf67c8fda0886 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 3 Mar 2013 23:38:08 -0800 Subject: cleanup affinity tool --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 9a8a09fa4..b6073ced0 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -397,7 +397,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), and photos_content().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), photos_content(), and z_readdir().

-- cgit v1.2.3 From 9e22ec928b9534ea9db0d18bf685fb0d357fbad2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 18 Apr 2013 21:06:31 -0700 Subject: more umbilical cutting --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index b6073ced0..8973639b3 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -28,7 +28,7 @@ - + - +
The Red Project
-- cgit v1.2.3 From 946554ff4b03d81f32375832b8b50883a3ffeedf Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:52:06 -0700 Subject: doc update --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 8973639b3..e5fba1065 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions
 
 check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')
 
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
 

Function Documentation

@@ -424,7 +424,7 @@ Functions
- + -- cgit v1.2.3 From 34526e82531c67995e25cf04abce0d927ce22ffd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:59:11 -0700 Subject: doc cleanup --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index e5fba1065..3b01a491c 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -4,7 +4,7 @@ -The Red Project: include/security.php File Reference +The Red Matrix: include/security.php File Reference @@ -30,7 +30,7 @@ -- cgit v1.2.3 From 5e4b9d7766ceffd19785f14443cc1b4d4f675d4e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 14 May 2013 21:25:58 -0700 Subject: disable pcss when installing since modules don't yet work and pcss uses the view module, plus weekly doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 3b01a491c..20b7a90c1 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -28,7 +28,7 @@
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
-
The Red Project +
The Red Matrix
- +

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), photos_content(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

-- cgit v1.2.3 From 765d6e0a97f135755d6ec1322f6e3272bc0ae620 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 14 Jun 2013 16:54:58 -0700 Subject: push refresh messages, performance work on conversations and configs, doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index e5ac4346c..8424ba7e1 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -359,7 +359,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), and zot_feed().

-- cgit v1.2.3 From 28e0665caddb84598ab2fc74abcd70267d3be7f1 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 29 Jun 2013 02:04:44 -0700 Subject: doc update, plus possible fix to "complex delivery chains" issue. Basically when the top-level post creator replies to a thread he sent to a forum via tags, it isn't getting redelivered to the forum members. --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 8424ba7e1..1d91cb7cf 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -303,7 +303,7 @@ Functions
The Red Matrix
-- cgit v1.2.3 From 6cafab10e6e168da73a9916c04e54fa43e2ae85b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 3 Jun 2013 16:29:33 -0700 Subject: fix pager, doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 20b7a90c1..e5ac4346c 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -397,7 +397,7 @@ Functions
-- cgit v1.2.3 From ade81747503fe64fc3c7f99e0e3ff34b7d6cc3e7 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 19 Jul 2013 01:20:51 -0700 Subject: private pokes - perhaps a little *too* private. --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 1d91cb7cf..9bb4371e3 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -196,7 +196,7 @@ Functions -- cgit v1.2.3 From 53118a43522d70258a4913709d9cd056f4cb5438 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 26 Jul 2013 03:50:46 -0700 Subject: add gz to access denied files to block rotated logs from public access --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 9bb4371e3..6e020b13b 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -303,7 +303,7 @@ Functions -- cgit v1.2.3 From c02a9301215ac146c26346ebc633d7c808cea5ee Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 9 Aug 2013 01:20:34 -0700 Subject: move sitekey creation to the account creation function instead of during channel creation. Channel import bypassed sitekey creation completely. We should do it during install, but it's possible somebody might have to install manually and the sitekey would never get created. This is the best compromise I can come up with. Looks like the doc tree was also updated in this checkin --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 6e020b13b..59a5836f0 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -359,7 +359,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), lastpost_content(), and zot_feed().

-- cgit v1.2.3 From b5efa1a63a621856f4f12fbd938aa3230aa0d1a9 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 17 Aug 2013 06:30:09 -0700 Subject: issue #82, posted order not working - also doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 59a5836f0..267d175c2 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -397,7 +397,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

-- cgit v1.2.3 From d43a7659854c4bb6052c05a932b257883ea72748 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 31 Aug 2013 04:19:26 -0700 Subject: more debugging on localize_item top find out why likes are not translated in notifications, but are in displayed posts (using 'new' on matrix page) - in one case we're successfully pulling stuff from item['object'] and in the other we aren't - and it's the same object. --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 267d175c2..fba933b97 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -359,7 +359,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), lastpost_content(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), lastpost_content(), pdl_selector(), and zot_feed().

-- cgit v1.2.3 From 96ad49b1b831d0f4e3660330750e9484eb9238bd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Sep 2013 05:43:30 -0700 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index fba933b97..75ee842cd 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -303,7 +303,7 @@ Functions -- cgit v1.2.3 From c98605df370d8a1b9dcd264cbad35367e57f095e Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 28 Sep 2013 04:30:57 -0700 Subject: doc updates --- doc/html/security_8php.html | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 75ee842cd..c5f363bce 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -134,6 +134,8 @@ Functions   if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)   + stream_perms_xchans ($perms_min=PERMS_SITE) + 

Function Documentation

@@ -415,7 +417,7 @@ Functions
-

Referenced by display_content().

+

Referenced by display_content(), and search_content().

@@ -433,7 +435,25 @@ Functions + + +
+
+ + + + + + + + +
stream_perms_xchans ( $perms_min = PERMS_SITE)
+
+ +

Referenced by display_content(), and search_content().

-- cgit v1.2.3 From 09950745c10912f9875eb4a63793ff7e85bb7974 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 11 Oct 2013 20:43:53 -0700 Subject: doc updates --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index c5f363bce..f673ce1f2 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions    check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')   -if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE) +if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)    stream_perms_xchans ($perms_min=PERMS_SITE)   @@ -426,7 +426,7 @@ Functions
- + -- cgit v1.2.3 From 4a87ebfc1267b04a84b278089f4482018d067786 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 18 Oct 2013 14:25:27 -0700 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index f673ce1f2..1113fe9a1 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -198,7 +198,7 @@ Functions
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
-- cgit v1.2.3 From 8eed3a10062818dd30f339139074be8e721546d5 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 2 Nov 2013 15:45:38 -0700 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 1113fe9a1..3d3255bc9 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -361,7 +361,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), lastpost_content(), pdl_selector(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), lastpost_content(), pdl_selector(), share_init(), and zot_feed().

-- cgit v1.2.3 From 97a109eed4e034d587b0d64d0f70f6b8a9380217 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 9 Nov 2013 12:15:34 -0800 Subject: doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 3d3255bc9..c5f6580bb 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

-- cgit v1.2.3 From f9a622c44ef5160942f1199dd86cfa749b79e7bc Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 15 Nov 2013 01:10:51 -0800 Subject: doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index c5f6580bb..56cd97703 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -361,7 +361,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), lastpost_content(), pdl_selector(), share_init(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), lastpost_content(), page_content(), pdl_selector(), share_init(), and zot_feed().

-- cgit v1.2.3 From 8cd9a2c3a944e804c72ef461df801116c6b44ac7 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 28 Nov 2013 19:37:39 -0800 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 56cd97703..b1263fa59 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -28,7 +28,7 @@ - +

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), lastpost_content(), page_content(), pdl_selector(), share_init(), and zot_feed().

+

Referenced by channel_content(), items_fetch(), page_content(), pdl_selector(), share_init(), and zot_feed().

-- cgit v1.2.3 From d2d071029f38942496aa52e42048ae53c5d04d48 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 3 Jan 2014 01:41:55 -0800 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 00bbb448c..954ffdeff 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From 3298768d957421743eaa56dec5381141ab094d53 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 Jan 2014 00:47:40 -0800 Subject: directory creation error, display localtimes on cloud webpage, doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 954ffdeff..3451d9736 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedFileData(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From 3869b16298041887d0c90c884ffb5b22df8d56e9 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Jan 2014 14:35:32 -0800 Subject: prettyphoto (js|css) not found --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 3451d9736..e2c19b6b5 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -323,7 +323,7 @@ Functions
The Red Matrix
-- cgit v1.2.3 From 64b16f1e1ac303b476ffac891c99f6404bc04f53 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 13 Dec 2013 01:13:35 -0800 Subject: add construct_page hook --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index b1263fa59..00bbb448c 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -361,7 +361,7 @@ Functions
@@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), bookmarks_menu_fetch(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From 902c9b158528b03e6e31f8b7f16fa4a5b16f62cd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 31 Jan 2014 20:02:45 -0800 Subject: doc updates --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index e2c19b6b5..654e4e2b2 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), bookmarks_menu_fetch(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), chatroom_enter(), chatsvc_content(), chatsvc_post(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From fb49647993fec8f52e69801ce92a9882a4c95b1a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Feb 2014 00:49:45 -0800 Subject: doc updates --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 654e4e2b2..a1df31b11 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions    check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')   -if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE) +if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)    stream_perms_xchans ($perms_min=PERMS_SITE)   @@ -426,7 +426,7 @@ Functions
- + -- cgit v1.2.3 From 064962ff82701d9d415a351a91354a0cdf949bd5 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 14 Feb 2014 12:25:27 -0800 Subject: doc and assets update. There is what seems to be a controversial powerpoint in this checkin. The powerpoint is of course *open source* even if powerpoint itself is not. The source file is available for your examination and revision. --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index a1df31b11..260e30623 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), chatroom_enter(), chatsvc_content(), chatsvc_post(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), chat_content(), chatroom_enter(), chatroom_list(), chatsvc_content(), chatsvc_post(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From 0501bab7dc5982f94924e19192c1d523a45085aa Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 21 Feb 2014 23:51:43 -0800 Subject: doc update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 260e30623..d9f31f484 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -180,7 +180,7 @@ Functions
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
-

Referenced by api_login(), and register_post().

+

Referenced by api_login(), openid_content(), and register_post().

-- cgit v1.2.3 From 46f0de7120d0773f361e08298c99ef804330adff Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 28 Feb 2014 00:57:35 -0800 Subject: try to fix youtube mixed content warnings --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index d9f31f484..7940bd75d 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions    check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')   -if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE) +if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)    stream_perms_xchans ($perms_min=PERMS_SITE)   @@ -426,7 +426,7 @@ Functions
- + -- cgit v1.2.3 From 16c2aa042fade698ece5dcb67cde10ff8155bd65 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Mar 2014 14:30:24 -0800 Subject: doc update --- doc/html/security_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 7940bd75d..bceeea793 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions - + @@ -361,7 +361,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by channel_content(), items_fetch(), page_content(), pdl_selector(), share_init(), and zot_feed().

+

Referenced by block_content(), channel_content(), items_fetch(), page_content(), pdl_selector(), share_init(), widget_item(), and zot_feed().

@@ -426,7 +426,7 @@ Functions
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
 
 check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')
 
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
 
 stream_perms_xchans ($perms_min=PERMS_SITE)
 
- + -- cgit v1.2.3 From 074d2839c00aeb1400021e2cdbe432e87e0397b9 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Mar 2014 14:56:04 -0700 Subject: doc update --- doc/html/security_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index bceeea793..5eab6df8c 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,7 +132,7 @@ Functions - + @@ -426,7 +426,7 @@ Functions
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
 
 check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')
 
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE)
 
 stream_perms_xchans ($perms_min=PERMS_SITE)
 
- + -- cgit v1.2.3 From 3c23d1f9fe2813d91fc8d29f19f8a51d9a0a9091 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 28 Mar 2014 01:12:36 -0700 Subject: doc update --- doc/html/security_8php.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 5eab6df8c..5a5fc2561 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -305,7 +305,7 @@ Functions
if (!function_exists('init_groups_visitor')) stream_perms_api_uids if (!function_exists('init_groups_visitor')) stream_perms_api_uids (   $perms_min = PERMS_SITE)
@@ -323,7 +323,7 @@ Functions @@ -435,7 +435,7 @@ Functions -- cgit v1.2.3 From cdf5e08eb970c58b2d413e4ea9a4042f265259a3 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 2 May 2014 17:28:46 -0700 Subject: weekly update --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 5a5fc2561..3bf0488b9 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -399,7 +399,7 @@ Functions

Profile owner - everything is visible

Authenticated visitor. Unless pre-verified, check that the contact belongs to this $owner_id and load the groups the visitor belongs to. If pre-verified, the caller is expected to have already done this and passed the groups into this function.

-

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), chat_content(), chatroom_enter(), chatroom_list(), chatsvc_content(), chatsvc_post(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

+

Referenced by attach_by_hash(), attach_by_hash_nodata(), attach_count_files(), attach_list_files(), attach_mkdir(), chat_content(), chat_message(), chatroom_enter(), chatroom_list(), chatsvc_content(), chatsvc_post(), menu_fetch(), photo_init(), photos_albums_list(), photos_content(), photos_list_photos(), RedCollectionData(), RedFileData(), and z_readdir().

-- cgit v1.2.3 From b5ea259666356c0fc06f281ebb1e5d13d7ab104a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 13 Jun 2014 05:38:00 -0700 Subject: try to force the update mode to fix the "starting up browser, quickly loads page 2 at the beginning" bug --- doc/html/security_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 3bf0488b9..6192b83e6 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -198,7 +198,7 @@ Functions -- cgit v1.2.3 From 5968bc7f8635b476834e7fb71d95800b9c152fdd Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 21 Jun 2014 16:04:00 -0700 Subject: moods not working in other languages + doc updates --- doc/html/security_8php.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/security_8php.html') diff --git a/doc/html/security_8php.html b/doc/html/security_8php.html index 6192b83e6..6edd01940 100644 --- a/doc/html/security_8php.html +++ b/doc/html/security_8php.html @@ -132,10 +132,10 @@ Functions    check_form_security_token_ForbiddenOnErr ($typename= '', $formname= 'form_security_token')   -if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms_min=PERMS_SITE) -  - stream_perms_xchans ($perms_min=PERMS_SITE) -  +if(!function_exists('init_groups_visitor')) stream_perms_api_uids ($perms=NULL) +  + stream_perms_xchans ($perms=NULL) + 

Function Documentation

@@ -421,7 +421,7 @@ Functions - +
@@ -429,7 +429,7 @@ Functions - +
if (!function_exists('init_groups_visitor')) stream_perms_api_uids (  $perms_min = PERMS_SITE)$perms = NULL)
@@ -439,7 +439,7 @@ Functions
- +
@@ -447,7 +447,7 @@ Functions - +
stream_perms_xchans (  $perms_min = PERMS_SITE)$perms = NULL)
-- cgit v1.2.3