[Fusionforge-commits] r12821 - in trunk/src/plugins/oauthprovider: etc/plugins/oauthprovider include www

Olivier Berger olberger at fusionforge.org
Thu Mar 17 09:36:50 CET 2011


Author: olberger
Date: 2011-03-17 09:36:49 +0100 (Thu, 17 Mar 2011)
New Revision: 12821

Modified:
   trunk/src/plugins/oauthprovider/etc/plugins/oauthprovider/config.php
   trunk/src/plugins/oauthprovider/include/token_api.php
   trunk/src/plugins/oauthprovider/www/access_token.php
   trunk/src/plugins/oauthprovider/www/authorize.php
   trunk/src/plugins/oauthprovider/www/checks.php
   trunk/src/plugins/oauthprovider/www/consumer.php
   trunk/src/plugins/oauthprovider/www/request_token.php
Log:
A few comments and problems spotting


Modified: trunk/src/plugins/oauthprovider/etc/plugins/oauthprovider/config.php
===================================================================
--- trunk/src/plugins/oauthprovider/etc/plugins/oauthprovider/config.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/etc/plugins/oauthprovider/config.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -22,6 +22,8 @@
  *
  */
 
+// FIXME : adjust for new config scheme
+
 // here you can put all your configuration variables
 
 $world = 'Earth';

Modified: trunk/src/plugins/oauthprovider/include/token_api.php
===================================================================
--- trunk/src/plugins/oauthprovider/include/token_api.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/include/token_api.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -22,6 +22,8 @@
  *
  */
 
+// OAuth PHP library (http://code.google.com/p/oauth/source/browse/#svn%2Fcode%2Fphp) as of rev. 622
+
 require_once('OAuth.php');
 
 /**

Modified: trunk/src/plugins/oauthprovider/www/access_token.php
===================================================================
--- trunk/src/plugins/oauthprovider/www/access_token.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/www/access_token.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -22,6 +22,7 @@
  *
  */
 
+// Access token endpoint
 
 // This is not exactly using FusionForge, as is not meant for humans, and just an endpoint of the OAuth protocol.
 

Modified: trunk/src/plugins/oauthprovider/www/authorize.php
===================================================================
--- trunk/src/plugins/oauthprovider/www/authorize.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/www/authorize.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -22,6 +22,8 @@
  *
  */
 
+// User authorization endpoint
+
 // This displays the request token authorization dialog to the user
 
 //should be changed as session_require_login returns with error if not logged in

Modified: trunk/src/plugins/oauthprovider/www/checks.php
===================================================================
--- trunk/src/plugins/oauthprovider/www/checks.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/www/checks.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -4,6 +4,8 @@
  * oauthprovider plugin
  *
  * Daniel Perez <danielperez.arg at gmail.com>
+ * 
+ * FIXME : FIX copyright
  *
  * This is an example to watch things in action. You can obviously modify things and logic as you see fit
  */

Modified: trunk/src/plugins/oauthprovider/www/consumer.php
===================================================================
--- trunk/src/plugins/oauthprovider/www/consumer.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/www/consumer.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -32,7 +32,8 @@
 
 $t_can_manage = false;
 if(forge_check_global_perm ('forge_admin')) $t_can_manage = true;
-	
+
+// FIXME : use $HTML->boxTop() and likes bellow
 if(count($t_consumers)>0)	{	
 ?>
 

Modified: trunk/src/plugins/oauthprovider/www/request_token.php
===================================================================
--- trunk/src/plugins/oauthprovider/www/request_token.php	2011-03-17 08:36:37 UTC (rev 12820)
+++ trunk/src/plugins/oauthprovider/www/request_token.php	2011-03-17 08:36:49 UTC (rev 12821)
@@ -22,6 +22,7 @@
  *
  */
 
+// Request token endpoint
 
 // This is not exactly using FusionForge, as is not meant for humans, and just an endpoint of the OAuth protocol.
 




More information about the Fusionforge-commits mailing list