Skip to content

Commit

Permalink
Cloud plugin release 2016022500
Browse files Browse the repository at this point in the history
  • Loading branch information
anzeljg committed Feb 26, 2016
1 parent de9d8eb commit c60c6fa
Show file tree
Hide file tree
Showing 22 changed files with 17 additions and 76 deletions.
3 changes: 1 addition & 2 deletions cloud/blocktype/box/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@
//$smarty->assign('PAGEHEADING', TITLE);
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');}

?>
}
2 changes: 0 additions & 2 deletions cloud/blocktype/box/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/box/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 2.0';

?>
2 changes: 0 additions & 2 deletions cloud/blocktype/dropbox/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');
}

?>
2 changes: 0 additions & 2 deletions cloud/blocktype/dropbox/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/dropbox/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 2.0';

?>
3 changes: 0 additions & 3 deletions cloud/blocktype/googledrive/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');
}


?>
2 changes: 0 additions & 2 deletions cloud/blocktype/googledrive/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/googledrive/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 2.0';

?>
3 changes: 0 additions & 3 deletions cloud/blocktype/microsoftdrive/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,3 @@
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');
}


?>
3 changes: 0 additions & 3 deletions cloud/blocktype/microsoftdrive/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

global $USER;
$code = param_variable('code', null);
//print_r($code);

// If there is a code (typically when signing user in) than proccess that code
// else (typically when signing user out & there is no code returned) do nothing...
Expand All @@ -33,5 +32,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/microsoftdrive/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 2.0';

?>
3 changes: 0 additions & 3 deletions cloud/blocktype/owncloud/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,3 @@ function consent_submit(Pieform $form, $values) {
ArtefactTypeCloud::set_user_preferences('owncloud', $USER->get('id'), array('token' => $token));
redirect(get_config('wwwroot') . 'artefact/cloud/');
}


?>
5 changes: 0 additions & 5 deletions cloud/blocktype/owncloud/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@

$smarty = smarty();

if (get_config('viewmicroheaders')) {
$smarty->assign('microheaders', true);
$smarty->assign('microheadertitle', $view->display_title(true, false));
}

$smarty->assign('id', $id);
$smarty->assign('type', $type);
$smarty->assign('viewid', $viewid);
Expand Down
6 changes: 2 additions & 4 deletions cloud/blocktype/owncloud/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'Custom auth, OAuth 2.0 like'

?>
3 changes: 0 additions & 3 deletions cloud/blocktype/picasa/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,3 @@
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');
}


?>
2 changes: 0 additions & 2 deletions cloud/blocktype/picasa/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/picasa/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 2.0';

?>
9 changes: 0 additions & 9 deletions cloud/blocktype/zotero/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
$action = param_alpha('action', 'info');

switch ($action) {
case 'test':
//$test = PluginBlocktypeZotero::download_file('GTKAWN7Q');
//$test = PluginBlocktypeZotero::get_file_info('GTKAWN7Q');
//PluginBlocktypeZotero::get_folder_info('II7IVJ23');
//$test = PluginBlocktypeZotero::get_bibbase();
$test = PluginBlocktypeZotero::get_folder_content('cs');
break;
case 'login':
PluginBlocktypeZotero::request_token();
break;
Expand All @@ -44,5 +37,3 @@
$smarty->assign('account', $account);
$smarty->display('artefact:cloud:account.tpl');
}

?>
3 changes: 0 additions & 3 deletions cloud/blocktype/zotero/callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
require_once('lib.php');

global $USER;
//$user_id = param_integer('uid', 0);
$oauth_token = param_alphanum('oauth_token', null);
$oauth_verifier = param_alphanum('oauth_verifier', null);

Expand All @@ -36,5 +35,3 @@
}

redirect(get_config('wwwroot').'artefact/cloud');

?>
6 changes: 2 additions & 4 deletions cloud/blocktype/zotero/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';
$config->version = 2015022500;
$config->release = '15.04.2';
$config->auth = 'OAuth 1.0';

?>
6 changes: 2 additions & 4 deletions cloud/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@
defined('INTERNAL') || die();

$config = new StdClass;
$config->version = 2015022100;
$config->release = '15.04.1';

?>
$config->version = 2015022500;
$config->release = '15.04.2';

0 comments on commit c60c6fa

Please sign in to comment.