The Hubzilla
 All Classes Namespaces Files Functions Variables Pages
Todo List
Member App::init ()
validate if this is still the desired behavior
File attach.php

A filesystem storage abstraction which maintains security (and 'data' contains a system filename which is inaccessible from the web). This could get around PHP storage limits and store videos and larger items, using fread or OS methods or native code to read/write or chunk it through.

Also an 'append' option to the storage function might be a useful addition.

Member cal ($y=0, $m=0, $links=false, $class='')
provide (prev,next) links, define class variations for different size calendars
Member create_table_from_array ($table, $arr)
Why is this function in include/text.php?
Member datetimesel ($format, $min, $max, $default, $label, $id= 'datetimepicker', $pickdate=true, $picktime=true, $minfrom= '', $maxfrom= '', $required=false, $first_day=0)
Once browser support is better this could probably be replaced with native HTML5 date picker.
Member format_event_html ($ev)
move this to template
Member get_custom_nav ($navname)
not fully implemented yet
Member get_rpost_path ($observer)
We probably should make rpost discoverable.
Member getIconFromType ($type)
rename to get_icon_from_type()
Member import_profiles ($channel, $profiles)
put all the applicable photos into the export.
Member import_xchan ($arr, $ud_flags=UPDATE_FLAGS_UPDATED, $ud_arr=null)
: check if we're the same directory realm, which would mean we are allowed to see it
Member photos_album_rename ($channel_id, $oldname, $newname)
Do we need to check if new album name already exists?
Member phpiniSizeToBytes ($val)
Make this function more universal useable. MB, T, etc.
Member process_channel_sync_delivery ($sender, $arr, $deliveries)
We also need to import local photos if a custom photo is selected
Member service_class_fetch ($uid, $property)
Should we merge this with account_service_class_fetch()?
File Setup.php
This setup module could need some love and improvements.
Member sync_directories ($dirmode)
Queue or defer if the xchan is not yet present on our site
Member sync_files ($channel, $files)
should we queue this and retry or delete everything or what?
Member userReadableSize ($size)
rename to user_readable_size()
Member zidify_callback ($match)
Issues: Currently the order of HTML parameters in the text is somewhat rigid and inflexible. We assume it looks like <a class="zrl" href="xxxxxxxxxx"> and will not work if zrl and href appear in a different order.
Member zot_reply_auth_check ($data, $encrypted_packet)
This was and should be 10 minutes but my hosting provider has time lag between the DB and the web server. We should probably convert this to webserver time rather than DB time so that the different clocks won't affect it and allow us to keep the time short.
Member Zotlabs::get ()
Parse repo info to provide more information about repos
Member Zotlabs::post ()
remove directory and unlink /addon/files
Member Zotlabs::check_phpconfig (&$checks)
Change how we display such informational text. Add more description how to change them.
Member Zotlabs::__construct (&$auth)
disable enablePost by default and only activate if permissions grant edit rights.
Member Zotlabs::set_writeable ()
Maybe this whole way of doing this can be solved with some $server->subscribeEvent().
Member Zotlabs::$ext_path
I think this is not used anywhere, we always strip '/cloud' and only use it in debug $ext_path
Member Zotlabs::getDir ()
add description of what this function does.
Member Zotlabs::setName ($name)
handle duplicate directory name