Friendika -> Friendica: at the addons repository #4

Merged
abinoam merged 11 commits from myaddon into master 2012-01-31 22:36:20 +01:00
23 changed files with 42 additions and 42 deletions

Binary file not shown.

View File

@ -1,15 +1,15 @@
Installing the Friendika/Facebook connector Installing the Friendica/Facebook connector
1. register an API key for your site from developer.facebook.com 1. register an API key for your site from developer.facebook.com
a. We'd be very happy if you include "Friendika" in the application name a. We'd be very happy if you include "Friendica" in the application name
to increase name recognition. The Friendika icons are also present to increase name recognition. The Friendica icons are also present
in the images directory and may be uploaded as a Facebook app icon. in the images directory and may be uploaded as a Facebook app icon.
Use images/friendika-16.jpg for the Icon and images/friendika-128.jpg for the Logo. Use images/friendica-16.jpg for the Icon and images/friendica-128.jpg for the Logo.
b. The url should be your site URL with a trailing slash. b. The url should be your site URL with a trailing slash.
You may use http://portal.friendika.com/privacy as the privacy policy You may use http://portal.friendika.com/privacy as the privacy policy
URL unless your site has different requirements, and URL unless your site has different requirements, and
http://portal.friendika.com as the Terms of Service URL unless http://portal.friendika.com as the Terms of Service URL unless
you have different requirements. (Friendika is a software application you have different requirements. (Friendica is a software application
and does not require Terms of Service, though your installation of it might). and does not require Terms of Service, though your installation of it might).
c. Set the following values in your .htconfig.php file c. Set the following values in your .htconfig.php file
$a->config['facebook']['appid'] = 'xxxxxxxxxxx'; $a->config['facebook']['appid'] = 'xxxxxxxxxxx';
@ -34,6 +34,6 @@ Facebook contacts will not be able to view private photos, as they are not able
authenticate to your site to establish identity. We will address this authenticate to your site to establish identity. We will address this
in a future release. in a future release.
Info: please make sure that you understand all aspects due to Friendika's Info: please make sure that you understand all aspects due to Friendica's
default licence which is: Creative Commons Attribution 3.0 (further info: default licence which is: MIT License (further info:
http://creativecommons.org/licenses/by/3.0/ ) https://github.com/friendica/friendica/blob/master/LICENSE)

Binary file not shown.

View File

@ -1,12 +1,12 @@
Impressum Plugin for Friendika Impressum Plugin for Friendica
Author: Tobias Diekershoff Author: Tobias Diekershoff
tobias.diekershoff@gmx.net tobias.diekershoff@gmx.net
License: 3-clause BSD license (same as Friendika) License: 3-clause BSD license (same as Friendica)
About About
This plugin adds an Impressum block to the /friendika page with informations This plugin adds an Impressum block to the /friendica page with informations
about the page operator/owner and how to contact you in case of any questions. about the page operator/owner and how to contact you in case of any questions.
In the notes and postal fields you can use HTML tags for formatting. In the notes and postal fields you can use HTML tags for formatting.
@ -14,7 +14,7 @@ About
Configuration: Configuration:
For configuration you can set the following variables in the .htconfig file For configuration you can set the following variables in the .htconfig file
* $a->config['impressum']['owner'] this is the Name of the Operator * $a->config['impressum']['owner'] this is the Name of the Operator
* $a->config['impressum']['ownerprofile'] this is an optional Friendika account * $a->config['impressum']['ownerprofile'] this is an optional Friendica account
where the above owner name will link to where the above owner name will link to
* $a->config['impressum']['email'] a contact email address (optional) * $a->config['impressum']['email'] a contact email address (optional)
will be displayed slightly obfuscated will be displayed slightly obfuscated

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Name: Impressum * Name: Impressum
* Description: Plugin to add contact information to the about page (/friendika) * Description: Plugin to add contact information to the about page (/friendica)
* Version: 1.0 * Version: 1.0
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias> * Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
* License: 3-clause BSD license * License: 3-clause BSD license

Binary file not shown.

View File

@ -4,8 +4,8 @@ to maintain a single password across the organisation.
Optionally authenticates only if a member of a given group in the directory. Optionally authenticates only if a member of a given group in the directory.
The person must have registered with Friendika using the normal registration The person must have registered with Friendica using the normal registration
procedures in order to have a Friendika user record, contact, and profile. procedures in order to have a Friendica user record, contact, and profile.
Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
ldap.conf file to the signing cert for your LDAP server. ldap.conf file to the signing cert for your LDAP server.

View File

@ -7,7 +7,7 @@
*/ */
/** /**
* Friendika addon * Friendica addon
* *
* Module: LDAP Authenticate * Module: LDAP Authenticate
* *
@ -17,8 +17,8 @@
* *
* Optionally authenticates only if a member of a given group in the directory. * Optionally authenticates only if a member of a given group in the directory.
* *
* The person must have registered with Friendika using the normal registration * The person must have registered with Friendica using the normal registration
* procedures in order to have a Friendika user record, contact, and profile. * procedures in order to have a Friendica user record, contact, and profile.
* *
* Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site * Note when using with Windows Active Directory: you may need to set TLS_CACERT in your site
* ldap.conf file to the signing cert for your LDAP server. * ldap.conf file to the signing cert for your LDAP server.

BIN
piwik.tgz

Binary file not shown.

View File

@ -3,7 +3,7 @@ by Tobias Diekershoff
tobias.diekershoff(at)gmx.net tobias.diekershoff(at)gmx.net
This addon allows you to embed the code necessary for the FLOSS webanalytics This addon allows you to embed the code necessary for the FLOSS webanalytics
tool piwik into the Friendika pages. tool piwik into the Friendica pages.
Online version of this Document: http://ur1.ca/35m2x Online version of this Document: http://ur1.ca/35m2x
@ -13,7 +13,7 @@ To use this plugin you need a "piwik":http://piwik.org installation.
___ Where to find ___ ___ Where to find ___
In the Friendika git repository @/addon/piwik/piwik.php@ and a CSS file for In the Friendica git repository @/addon/piwik/piwik.php@ and a CSS file for
styling the opt-out notice. styling the opt-out notice.
___ Configuration ___ ___ Configuration ___
@ -29,9 +29,9 @@ $a->config['piwik']['optout'] = true;
The *baseurl* points to your piwik installation. Use the absolute path, The *baseurl* points to your piwik installation. Use the absolute path,
remember trailing slashes but ignore the protocol (http/s) part of the URL. remember trailing slashes but ignore the protocol (http/s) part of the URL.
Change the *sideid* parameter to whatever ID you want to use for tracking your Change the *sideid* parameter to whatever ID you want to use for tracking your
Friendika installation. The *optout* parameter (true|false) defines whether or Friendica installation. The *optout* parameter (true|false) defines whether or
not a short notice about the utilization of piwik will be displayed on every not a short notice about the utilization of piwik will be displayed on every
page of your Friendika site (at the bottom of the page with some spacing to the page of your Friendica site (at the bottom of the page with some spacing to the
other content). Part of the note is a link that allows the visitor to set an other content). Part of the note is a link that allows the visitor to set an
_opt-out_ cookie which will prevent visits from that user be tracked by piwik. _opt-out_ cookie which will prevent visits from that user be tracked by piwik.

View File

@ -1,13 +1,13 @@
<?php <?php
/** /**
* Name: Piwik Analytics * Name: Piwik Analytics
* Description: Piwik Analytics Plugin for Friendika * Description: Piwik Analytics Plugin for Friendica
* Version: 1.0 * Version: 1.0
* Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias> * Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
*/ */
/* Piwik Analytics Plugin for Friendika /* Piwik Analytics Plugin for Friendica
* *
* Author: Tobias Diekershoff * Author: Tobias Diekershoff
* tobias.diekershoff@gmx.net * tobias.diekershoff@gmx.net
@ -21,7 +21,7 @@
* $a->config['piwik']['siteid'] = '1'; * $a->config['piwik']['siteid'] = '1';
* $a->config['piwik']['optout'] = true; // set to false to disable * $a->config['piwik']['optout'] = true; // set to false to disable
* *
* Change the siteid to the ID that the Piwik tracker for your Friendika * Change the siteid to the ID that the Piwik tracker for your Friendica
* installation has. Alter the baseurl to fit your needs, don't care * installation has. Alter the baseurl to fit your needs, don't care
* about http/https but beware to put the trailing / at the end of your * about http/https but beware to put the trailing / at the end of your
* setting. * setting.
@ -45,7 +45,7 @@ function piwik_analytics($a,&$b) {
/* /*
* styling of every HTML block added by this plugin is done in the * styling of every HTML block added by this plugin is done in the
* associated CSS file. We just have to tell Friendika to get it * associated CSS file. We just have to tell Friendica to get it
* into the page header. * into the page header.
*/ */
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />' . "\r\n"; $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />' . "\r\n";

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Name: Random place * Name: Random place
* Description: Sample Friendika plugin/addon. Set a random place when posting. * Description: Sample Friendica plugin/addon. Set a random place when posting.
* Version: 1.0 * Version: 1.0
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike> * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
* *

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Demo plugin for adding various types of Flash games to Friendika. * Demo plugin for adding various types of Flash games to Friendica.
* In this case we're using "Hot Shot Sniper" by FlashGames247 * In this case we're using "Hot Shot Sniper" by FlashGames247
* *
* Name: Sniper * Name: Sniper
@ -39,4 +39,4 @@ $o .= <<< EOT
EOT; EOT;
return $o; return $o;
} }

Binary file not shown.

View File

@ -7,7 +7,7 @@ by Tobias Diekershoff
!! with it, please contact the Author. !! !! with it, please contact the Author. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
With this addon to Friendika you can give your user the possibility to post With this addon to Friendica you can give your user the possibility to post
their public messages to any StatusNet instance (like identi.ca for example). their public messages to any StatusNet instance (like identi.ca for example).
The messages will be strapped their rich context and shortened to to the character The messages will be strapped their rich context and shortened to to the character
limit of the StatusNet instance in question if necessary. If shortening of the limit of the StatusNet instance in question if necessary. If shortening of the
@ -30,7 +30,7 @@ was longer than the maximal allowed notice length requires it, that you have
PHP5+ and curl on your server. PHP5+ and curl on your server.
Where to find Where to find
In the Friendika git repository /addon/statusnet/, this directory contains all In the Friendica git repository /addon/statusnet/, this directory contains all
required PHP files (including the Twitter OAuth library [1] by Abraham Williams, required PHP files (including the Twitter OAuth library [1] by Abraham Williams,
MIT licensed and the Slinky library [2] by Beau Lebens, BSD license), a CSS file MIT licensed and the Slinky library [2] by Beau Lebens, BSD license), a CSS file
for styling of the user configuration and an image to Sign in with StatusNet. for styling of the user configuration and an image to Sign in with StatusNet.
@ -54,8 +54,8 @@ connect to the StatusNet account of choice.
https://identi.ca/api/ https://identi.ca/api/
* OAuth Consumer key & secret * OAuth Consumer key & secret
To get the OAuth Consumer key pair the user has to (a) ask her Friendika admin To get the OAuth Consumer key pair the user has to (a) ask her Friendica admin
if a pair already exists or (b) has to register the Friendika server as a if a pair already exists or (b) has to register the Friendica server as a
client application on the StatusNet server. This can be done from the account client application on the StatusNet server. This can be done from the account
settings under "Connect -> Connections -> Register an OAuth client application settings under "Connect -> Connections -> Register an OAuth client application
-> Register a new application". -> Register a new application".
@ -64,12 +64,12 @@ During the registration of the OAuth client remember the following:
* there is no callback url * there is no callback url
* register a desktop client * register a desktop client
* with read & write access * with read & write access
* the Source URL should be the URL of your Friendika server * the Source URL should be the URL of your Friendica server
After the required credentials for the application are stored in the After the required credentials for the application are stored in the
configuration you have to actually connect your Friendika account with configuration you have to actually connect your Friendica account with
StatusNet. To do so follow the Sign in with StatusNet button, allow the access StatusNet. To do so follow the Sign in with StatusNet button, allow the access
and copy the security code into the plugin configuration. Friendika will then and copy the security code into the plugin configuration. Friendica will then
try to acquire the final OAuth credentials from the API, if successful the try to acquire the final OAuth credentials from the API, if successful the
plugin settings will allow you to select to post your public messages to your plugin settings will allow you to select to post your public messages to your
StatusNet account. StatusNet account.

Binary file not shown.

View File

@ -7,7 +7,7 @@ By Tobias Diekershoff
!! with it, please contact the Author. !! !! with it, please contact the Author. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
With this addon to Friendika you can give your user the possibility to post With this addon to Friendica you can give your user the possibility to post
their *public* messages to Twitter. The messages will be strapped their rich their *public* messages to Twitter. The messages will be strapped their rich
context and shortened to 140 characters length if necessary. If shortening of context and shortened to 140 characters length if necessary. If shortening of
the message was performed a link will be added to the Tweet pointing to the the message was performed a link will be added to the Tweet pointing to the
@ -20,7 +20,7 @@ Online version of this document: http://ur1.ca/35mml
___ Requirements ___ ___ Requirements ___
To use this plugin you have to register your Friendika instance as an To use this plugin you have to register your Friendica instance as an
_client application_ for Twitter with _read and write_ access, we do not intend _client application_ for Twitter with _read and write_ access, we do not intend
to use Twitter for login. The registration can be done at twitter.com/apps to use Twitter for login. The registration can be done at twitter.com/apps
and you need to have a Twitter account to do so. and you need to have a Twitter account to do so.
@ -34,7 +34,7 @@ message was longer than 140 characters requires it, that you have *PHP5+* and
___ Where to find ___ ___ Where to find ___
In the Friendika git repository /addon/twitter/, this directory contains In the Friendica git repository /addon/twitter/, this directory contains
all required PHP files (including the Twitter OAuth library [1] by Abraham all required PHP files (including the Twitter OAuth library [1] by Abraham
Williams, MIT licensed and the Slinky library [2] by Beau Lebens, BSD license), Williams, MIT licensed and the Slinky library [2] by Beau Lebens, BSD license),
a CSS file for styling of the user configuration and an image to _Sign in with a CSS file for styling of the user configuration and an image to _Sign in with
@ -68,7 +68,7 @@ connect to Twitter. To do so one has to follow the _Sign in with Twitter_
button (the page will be opened in a new browser window/tab) and get a PIN from button (the page will be opened in a new browser window/tab) and get a PIN from
Twitter. This PIN has to be entered on the settings page. After submitting the Twitter. This PIN has to be entered on the settings page. After submitting the
PIN the plugin will get OAuth credentials identifying this user from the PIN the plugin will get OAuth credentials identifying this user from the
Friendika account. Friendica account.
If this first step was successful the Twitter configuration will be changed If this first step was successful the Twitter configuration will be changed
on the "Plugin Settings" page displaying two check boxes. One to enable/disable on the "Plugin Settings" page displaying two check boxes. One to enable/disable

Binary file not shown.

View File

@ -53,7 +53,7 @@ function uhremotestorage_settings($a, &$s){
$tpl = file_get_contents(dirname(__file__)."/settings.tpl"); $tpl = file_get_contents(dirname(__file__)."/settings.tpl");
$s .= replace_macros($tpl, array( $s .= replace_macros($tpl, array(
'$title' => 'Unhosted remote storage', '$title' => 'Unhosted remote storage',
'$desc' => sprintf( t('Allow to use your friendika id (%s) to connecto to external unhosted-enabled storage (like ownCloud)'), $uid ), '$desc' => sprintf( t('Allow to use your friendica id (%s) to connecto to external unhosted-enabled storage (like ownCloud)'), $uid ),
'$url' => array( 'unhoestedurl', t('Unhosted DAV storage url'), $davurl, 'If your are using ownCloud, your unhosted url will be like <tt>http://<i>HOST</i>/apps/remoteStorage/compat.php/<i>USER</i>/remoteStorage/</tt>'), '$url' => array( 'unhoestedurl', t('Unhosted DAV storage url'), $davurl, 'If your are using ownCloud, your unhosted url will be like <tt>http://<i>HOST</i>/apps/remoteStorage/compat.php/<i>USER</i>/remoteStorage/</tt>'),
'$submit' => t('Submit'), '$submit' => t('Submit'),
)); ));

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Name: Widgets * Name: Widgets
* Description: Allow to embed info from friendika into another site * Description: Allow to embed info from friendica into another site
* Version: 1.0 * Version: 1.0
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrix/> * Author: Fabio Comuni <http://kirgroup.com/profile/fabrix/>
*/ */