]> git.mxchange.org Git - friendica.git/commitdiff
Update info comments in all plugins
authorFabio Comuni <fabrix.xm@gmail.com>
Tue, 14 Jun 2011 13:08:03 +0000 (15:08 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Tue, 14 Jun 2011 13:08:03 +0000 (15:08 +0200)
19 files changed:
addon/calc/calc.php
addon/convert/convert.php
addon/facebook/README [new file with mode: 0644]
addon/facebook/facebook.php
addon/fortunate/fortunate.php
addon/java_upload/java_upload.php
addon/js_upload/js_upload.php
addon/ldapauth/README [new file with mode: 0644]
addon/ldapauth/ldapauth.php
addon/piwik/piwik.php
addon/poormancron/poormancron.php
addon/randplace/randplace.php
addon/sniper/sniper.php
addon/statusnet/statusnet.php
addon/tictac/tictac.php
addon/twitter/twitter.php
addon/widgets/widgets.php
view/admin_plugins_details.tpl
view/theme/duepuntozero/style.css

index a095e3960d1f8567dc29c1d9371ed5700c128895..8c079dc7a561d9a572d47cdeab78877161be2f23 100644 (file)
@@ -1,4 +1,11 @@
 <?php\r
+/**\r
+ * Name: Calculator App\r
+ * Description: Simple Calculator Application\r
+ * Version: 1.0\r
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>\r
+ */\r
+\r
 \r
 function calc_install() {\r
        register_hook('app_menu', 'addon/calc/calc.php', 'calc_app_menu');\r
index a3448ce01e5c0cc0efc93954391816c14da8b9a8..7a4c90a530fe097ae55536db6cd9403eceba791f 100644 (file)
@@ -1,5 +1,10 @@
 <?php\r
-\r
+/**\r
+ * Name: Converter App\r
+ * Description: Unit converter application\r
+ * Version: 1.0\r
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>\r
+ */\r
 \r
 function convert_install() {\r
        register_hook('app_menu', 'addon/convert/convert.php', 'convert_app_menu');\r
diff --git a/addon/facebook/README b/addon/facebook/README
new file mode 100644 (file)
index 0000000..42ec013
--- /dev/null
@@ -0,0 +1,33 @@
+Installing the Friendika/Facebook connector
+
+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
+     to increase name recognition. The Friendika icons are also present
+     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.
+  b. The url should be your site URL with a trailing slash.
+     You may use http://portal.friendika.com/privacy as the privacy policy
+     URL unless your site has different requirements, and 
+     http://portal.friendika.com as the Terms of Service URL unless
+     you have different requirements. (Friendika is a software application
+     and does not require Terms of Service, though your installation of it might).
+  c. Set the following values in your .htconfig.php file
+        $a->config['facebook']['appid'] = 'xxxxxxxxxxx';
+        $a->config['facebook']['appsecret'] = 'xxxxxxxxxxxxxxx';
+     Replace with the settings Facebook gives you.
+2. Enable the facebook plugin by including it in .htconfig.php - e.g. 
+    $a->config['system']['addon'] = 'plugin1,plugin2,facebook';
+3. Visit the Facebook Settings section of the "Settings->Plugin Settings" page.
+   and click 'Install Facebook Connector'.
+4. This will ask you to login to Facebook and grant permission to the 
+   plugin to do its stuff. Allow it to do so. 
+5. You're done. To turn it off visit the Plugin Settings page again and
+   'Remove Facebook posting'.
+
+Vidoes and embeds will not be posted if there is no other content. Links 
+and images will be converted to a format suitable for the Facebook API and 
+long posts truncated - with a link to view the full post. 
+
+Facebook contacts will not be able to view private photos, as they are not able to
+authenticate to your site to establish identity. We will address this 
+in a future release.
index 545779cd5fc2f513bf540a8acc14b63ece13a499..5d86c66c2ce96435167e54bd304026030f826674 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Name: Facebook Connector
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
 
 /**
  * Installing the Friendika/Facebook connector
index b91080f516a5536280bb236a02d5e657c5ea7fdc..5a6302e58d8509c38e7c119161436a83b95443e5 100644 (file)
@@ -1,7 +1,10 @@
 <?php
-
-
-
+/**
+ * Name: Fortunate
+ * Description: Add a random fortune cookie at the bottom of every pages.
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
 
 
 function fortunate_install() {
index 8b8a57604cfabcc2032709f2af95eb880d3d87b8..09e321f0a8c9738dff33e4d9bcd4e3e2db0f30d4 100644 (file)
@@ -1,5 +1,12 @@
 <?php
 
+/**
+ * Name: Java photo uploader
+ * Description: WARNING: This module currently has privacy issues. The java package does not pass the permissions array intact and could lead to photos being seen by people that were excluded from seeing them.
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
+
 /**
  *
  * Java photo uploader, uses Jumploader
@@ -93,4 +100,4 @@ function java_upload_photo_post_end(&$a,&$b) {
        if(x($a->data,'java_upload') && $a->data['java_upload'])
                killme();
 
-}
\ No newline at end of file
+}
index 9f3fa960096ee04ba2204dcad5077b118998478c..042e9a988a9b7874f951b1b36db53fd5ce68de3e 100644 (file)
@@ -1,5 +1,12 @@
 <?php
 
+/**
+ * Name: JS Uploader
+ * Description: JavaScript photo/image uploader. Uses Valum 'qq' Uploader.
+ * Version: 1.0
+ * Author: Chris Case <http://friendika.openmindspace.org/profile/chris_case>
+ */
+
 /**
  *
  * JavaScript Photo/Image Uploader
diff --git a/addon/ldapauth/README b/addon/ldapauth/README
new file mode 100644 (file)
index 0000000..cf28ef1
--- /dev/null
@@ -0,0 +1,17 @@
+Authenticate a user against an LDAP directory
+Useful for Windows Active Directory and other LDAP-based organisations
+to maintain a single password across the organisation.
+
+Optionally authenticates only if a member of a given group in the directory.
+
+The person must have registered with Friendika using the normal registration 
+procedures in order to have a Friendika user record, contact, and profile.
+
+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. 
+
+The required configuration options for this module may be set in the .htconfig.php file
+e.g.:
+
+$a->config['ldapauth']['ldap_server'] = 'host.example.com';
+...etc.
index 2ec30caad79592b1567bccd4ec22b4986de18fdc..7230302e9dc1c2d7de125a5a8932c6e536cb019f 100644 (file)
@@ -1,5 +1,11 @@
 <?php
-
+/**
+ * Name: LDAP Authenticate
+ * Description: Authenticate a user against an LDAP directory
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
 /**
  * Friendika addon
  * 
index 52bdaeb0d1bad3340a6c7e54d8fb5ba50863420e..032f84f4bb29f8533419e7ea9eb6d4b1f36b7be7 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Name: Piwik Analytics
+ * Description: Piwik Analytics Plugin for Friendika
+ * Version: 1.0
+ * Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
+ */
 
 /*   Piwik Analytics Plugin for Friendika
  *
index 830c10ddfebaa96cca2cfa1f8a0158cc3f26a2b4..9a8dc1e33f8e3e1ad92d973e3f7880961745de84 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /**
- * Poor Man Cron. Execute updates on pageviews
- *
- * Addon Name: poormancron
- *
+ * Name: Poor Man Cron
+ * Description: Execute updates on pageviews, without the need of commandline php
+ * Version: 1.2
+ * Author: Fabio Comuni <http://kirgroup.com/profile/fabrix>
  */
 
 function poormancron_install() {
index fa38de377647e515a557547a216d11d91b62a5fe..bae8e7c690dc059ada01b8f0e49f461cbe2e2fb3 100644 (file)
@@ -1,13 +1,12 @@
 <?php
-
-/**
- * Sample Friendika plugin/addon
- *
- * Addon Name: randplace
- *
- */
-
 /**
+ * Name: Random place
+ * Description: Sample Friendika plugin/addon. Set a random place when posting.
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ * 
+ * 
+ * 
  *
  * Addons are registered with the system in the
  * .htconfig.php file.
@@ -178,4 +177,4 @@ function randplace_settings(&$a,&$s) {
 
        $s .= '<div class="settings-submit-wrapper" ><input type="submit" name="submit" class="settings-submit" value="' . t('Submit') . '" /></div></div>';
 
-}
\ No newline at end of file
+}
index 79d7daad2147358c79993737679be4c1ddeccf54..bb4eace304bd3c062e939616c24af12ebd8ff77c 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Name: Sniper App
+ * Description: Example of flash game application
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
 
 function sniper_install() {
     register_hook('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu');
@@ -28,4 +34,4 @@ $o .= <<< EOT
 EOT;
 
 return $o;
-}
\ No newline at end of file
+}
index 39df7d9620b52d6e35a203ac3309424f10f04f61..e24ebc1ee03df17752ad484c45eb25e71013e287 100644 (file)
@@ -1,5 +1,10 @@
 <?php
-
+/**
+ * Name: StatusNet Connector
+ * Version: 1.0
+ * Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
+ */
 /*   StatusNet Plugin for Friendika
  *
  *   Author: Tobias Diekershoff
index a69cda132b8bcc59436bfd8aa10167f100fcc8a3..d6cec08a0635359f39a686122e862db132110023 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Name: TicTac App
+ * Description: The TicTacToe game application
+ * Version: 1.0
+ * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ */
 
 
 function tictac_install() {
index c59d1b9e5ce8d9e76b30cc7ab6ac1783ffec9b8a..fef6583f6b05c59089a6fd6a890d53c5f7847c7f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Name: Twitter Connector
+ * Version: 1.0
+ * Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/profile/tobias>
+ */
+
 
 /*   Twitter Plugin for Friendika
  *
index af17d9e9aff8910c9c927eb44b874b9268017dd4..f5f8682223b91a6226f32eaf4bdf7667ad99e7b6 100644 (file)
@@ -1,10 +1,11 @@
 <?php
-       /**
-        * widgets from friendika
-        * 
-        * allow to embed info from friendika into another site
-        */
-        
+/**
+ * Name: Widgets
+ * Description: Allow to embed info from friendika into another site
+ * Version: 1.0
+ * Author: Fabio Comuni <http://kirgroup.com/profile/fabrix/>
+ */
         
 function widgets_install() {
        register_hook('plugin_settings', 'addon/widgets/widgets.php', 'widgets_settings'); 
index acb3d28628f827774819d465591aa0588df9a4e6..85ee8dfb40e46dd24c074cb686c4476dffb5a30e 100644 (file)
@@ -3,11 +3,11 @@
        
        <p><span class='toggleplugin icon $status'></span> $info.name - $info.version : <a href="$baseurl/admin/plugins/$plugin/?a=t">$action</a></p>
        <p>$info.description</p>
-       <p>
+       
        {{ for $info.author as $a }}
-       <a href="$a.link">$a.name</a> 
+               <p class="author">{{ if $a.link }}<a href="$a.link"><span class='icon remote-link'></span></a>{{ endif }}$a.name</p>
        {{ endfor }}
-       </p>
+       
        
 
        {{ if $readme }}
index c2fb9700cac205a7fc2ef3dd7828f4a2787967db..78e02681a5c879539084deb9496b7f40b34bd0be 100644 (file)
@@ -2550,6 +2550,7 @@ a.mail-list-link {
        float:left;
        margin-right: 1em;
 }
+#adminpage .author .icon { float: left;}
 
 /**
  * ICONS