app documentation

This commit is contained in:
nobody 2020-12-06 18:42:28 -08:00
parent 978aa06605
commit 8e3d6671ce
4 changed files with 176 additions and 4 deletions

View file

@ -489,11 +489,11 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota, DAV\IMo
return false;
}
if(! ($sourceNode->data && $sourceNode->data->hash)) {
if(! ($sourceNode->data && $sourceNode->data['hash'])) {
return false;
}
return attach_move($this->auth->owner_id, $sourceNode->data->hash, $this->folder_hash);
return attach_move($this->auth->owner_id, $sourceNode->data['hash'], $this->folder_hash);
}

20
Zotlabs/Update/_1247.php Normal file
View file

@ -0,0 +1,20 @@
<?php
namespace Zotlabs\Update;
class _1247 {
function run() {
// remove deprecated apps from system list
$access = 'a2e9cee1a71e8b82f662d131a7cda1606b84b9be283715c967544e19cb34dd0821b65580c942ca38d7620638a44f26034536597a2c3a5c969e2dbaedfcd1d282';
q("delete from app where app_id = '$access' ");
return UPDATE_SUCCESS;
}
function verify() {
return true;
}
}

View file

@ -16,10 +16,10 @@ use Zotlabs\Daemon\Run;
* @brief This file defines some global constants and includes the central App class.
*/
define ( 'STD_VERSION', '20.12.02' );
define ( 'STD_VERSION', '20.12.07' );
define ( 'ZOT_REVISION', '6.0' );
define ( 'DB_UPDATE_VERSION', 1246 );
define ( 'DB_UPDATE_VERSION', 1247 );
define ( 'PLATFORM_NAME', 'zap' );
define ( 'PLATFORM_ARCHITECTURE', 'zap' );

152
doc/en/apps.md Normal file
View file

@ -0,0 +1,152 @@
Available apps:
## Calendar
This app provides access to a local CalDAV server which can be used to sync/manage calendars from your operating system or email program. It is not the same as the Events app and should only be installed if you have a specific need for CalDAV.
## Categories
This app allows you to add named categories to your posts. The major difference between categories and hashtags is that category searches only return your own posts. They are personal to you. Hashtag searches search all posts across all channels on your website/instance.
## Channel Home
Installed by default. This app provides access to your channel home page.
## Clients
This app allows you to create Oauth2/Openid access credentials. Typically used to provide authentication for mobile and third-party client applications.
## Comment Control
This app lets you control the ability to comment on your posts. You can choose to disable comments, disable comments after a specific date/time, and select different audiences who are given comment permission. For example 'anybody' or 'just my friends'. Disallowed comments will be rejected by your website/instance. Whether or not the sender is notified of these rejections is dependent on their own software capabilities.
## Connections
Installed by default. This app manages your connections (followers and following) as well as their permissions and filter settings.
## Content Filter
Allows you to specify different rules to incoming posts and comments, either on a per connection basis or as a global filter which applies to all incoming messages. Filtering can take place using hashtags, categories, regular expressions, text content, and language matching.
## Content Import
Requires the 'content_import' addon. When migrating to a new site, first import the identity and settings. Then install/run this app to import your content - such as posts, comments, files, and photos.
## Directory
Installed by default. Lets you discover others in the network. This displays everybody known to your website/instance except those that choose to be "hidden".
## Drafts
This optional app allows you to save a post you are composing and finish it later. After installing, click the 'disk' icon in the post editor to save a draft. Click the app itself to display your current drafts, and 'Edit Post' to continue editing. Important: please use the 'disk' icon to continue saving the draft if you wish to continue working on it. As soon as you click 'Share', the post will be published.
## Events
Installed by default. This provides access to your personal calendar and events. Your friends' birthdays are automatically added to your calendar as well as any events that you have chosen to attend. If you wish to receive a reminder for other events, please select 'Add to Calendar' from the message menu of the desired post.
## Expire Posts
This app allows you to automatically remove all your own posts at some point in the future.
## Files
Installed by default. This app provides access to your cloud storage and WebDAV resources (anything you upload).
## Followlist
This app is only present if the 'followlist' addon is installed. It allows you to bulk connect with a list of channels. Typically this will be the 'following' ActivityPub collection on another server. We also accept Mastodon contact export files.
## Friend Zoom
This provides a slider control at the top of your stream. Every connection may be assigned a value from 0-100. The default is 80 for new connections. Unknown people in your stream are 100. You are 0. You can adjust your friends anywhere within the slider control range and use it to zoom in to your close friends and zoom out to people/channels you are less familiar with or who post very frequently and tend to drown out everybody else.
## Future Posting
Set a post to be published at/after a certain date/time. Usually used for automatically posting while you are on vacation. The specified date/time must be at least fifteen minutes in the future in order for publishing to be delayed. Otherwise it is published immediately but with the provided date/time.
## Gallery
Requires the 'gallery' addon. This provides an improved image browser to your photos than the stock 'Photos' app. Interactions with photos in your stream are modified slightly.
## Language
This is generally used by developers to test alternate languages and is rarely needed. The language of your website will usually depend on the language settings of your browser and the existence of available translations. This app allows you to quickly over-ride the defaults and specify a particular language.
## Lists
Installed by default. Some software refers to this functionality as 'Aspects' (Diaspora) or 'Circles' (Google+). This allows you to create/manage named lists of connections which you can view and/or share with as a single named group.
## Markup
Provides editor buttons for bold, italic, underline, etc. Otherwise the relevant codes will need to be entered manually. This software recognises both Markdown and bbcode.
## Notes
Provides a simple notepad on your stream page for making notes and reminders.
## NSFW
"Not Safe For Work". Requires the 'nsfw' addon. By default this will collapse and hide posts matching any of your rules unless you are running in "safe mode". These rules are based on hashtags, text content, regular expressions, and language. It is like the 'Content Filter' app except that all matching posts are present in your stream but require you to open each such message to view. Posts matching 'Content Filter' rules are rejected and will not be present in your stream. You can select whether or not you are running in 'safe mode' in your personal menu, and this setting is preserved separately for each login. This means your work computer can be in 'safe mode' and questionable content hidden, while your home computer may be configured to show everything by default.
## Photomap
If your uploaded photos have location support, this addon provides an optional map display of those locations in your 'Photos' app. This may require installing either the 'openstreetmap' addon or some other map provider.
## Photos
Installed by default. This displays your uploaded photos and photo albums separately from other uploaded files.
## Post
This app lets you open a post editor at any time.
## Search
One click interface to the search page.
## Secrets
This app provides basic end-to-end encryption using the Stanford Javascript Crypto Library and lets you assign a key and optional key hint, such as "grandma's anniversary yyyy-mm-dd". An encryption button is added to the post editor. Transmitting the actual key should be done using another service or based on common knowledge/experience. The encryption button will encrypt the entire contents of the message window, which may include basic bbcode constructs like bold and italic text. For best results, please restrict your content to plain text, as unsupported markup will be displayed verbatim. Links are permitted, but should probably be avoided since fetching them at the other end may leak secret knowledge.
## Site Admin
If you are the site administrator, this app provides access to the admin control panel.
## Sites
Provides a categorised listing of all sites that this website/instance is aware of.
## Stream
Installed by default. This represents the conversations of you and your connections.
## Stream Order
Provides a setting on the Stream page to select between various sort orders, such as 'last commented date' (conversational), 'posted date' (also conversational) and 'date unthreaded' which lists every activity as a separate message.
## Suggest Channels
Analyses your own connections and those of your friends who have provided you with permission to see their other connections. It returns a page of channels ranked by how many of your other friends are friends with the given channel, but where you are not.
## Tagadelic
Named after the Drupal module of the same name. This provides a tag cloud of your hashtags on your channel home page. Also useful with the 'rainbowtag' addon to give it some added colour.
## Tasks
Provides a very simple to-do list on your Stream page (and also the 'tasks' page).
## Virtual Lists
This is like 'Lists', except you do not need to manage the list membership. By default, three dynamic lists are created: all connections, all zot6 (protocol) connections, and all activitypub (protocol) connections. These virtual lists may be used anywhere you can use a list; either as permission controls, post audiences, or stream filtering.
## Zotpost
Requires the 'zotpost' addon. This configures the zotpost addon to automatically cross-post to your channel on another Zot6 site.