From 981b079e9ae4e395a7042a0afded09d91f83f95a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 20 Oct 2011 12:16:43 +0200 Subject: [PATCH 1/4] Move connectors addons settings under "connector settings" tab --- facebook/facebook.php | 3 ++- statusnet/statusnet.php | 12 +++++++----- twitter/twitter.php | 8 +++++--- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/facebook/facebook.php b/facebook/facebook.php index 7ffdaffac..da028dbcd 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -50,7 +50,7 @@ define('FACEBOOK_MAXPOSTLEN', 420); function facebook_install() { register_hook('post_local_end', 'addon/facebook/facebook.php', 'facebook_post_hook'); register_hook('jot_networks', 'addon/facebook/facebook.php', 'facebook_jot_nets'); - register_hook('plugin_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); + register_hook('connector_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); register_hook('cron', 'addon/facebook/facebook.php', 'facebook_cron'); register_hook('queue_predeliver', 'addon/facebook/facebook.php', 'fb_queue_hook'); } @@ -59,6 +59,7 @@ function facebook_install() { function facebook_uninstall() { unregister_hook('post_local_end', 'addon/facebook/facebook.php', 'facebook_post_hook'); unregister_hook('jot_networks', 'addon/facebook/facebook.php', 'facebook_jot_nets'); + unregister_hook('connector_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); unregister_hook('plugin_settings', 'addon/facebook/facebook.php', 'facebook_plugin_settings'); unregister_hook('cron', 'addon/facebook/facebook.php', 'facebook_cron'); unregister_hook('queue_predeliver', 'addon/facebook/facebook.php', 'fb_queue_hook'); diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 25b521084..4cfa0f03f 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -106,8 +106,8 @@ class StatusNetOAuth extends TwitterOAuth { function statusnet_install() { // we need some hooks, for the configuration and for sending tweets - register_hook('plugin_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); - register_hook('plugin_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); + register_hook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); + register_hook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); register_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook'); register_hook('jot_networks', 'addon/statusnet/statusnet.php', 'statusnet_jot_nets'); logger("installed statusnet"); @@ -115,6 +115,8 @@ function statusnet_install() { function statusnet_uninstall() { + unregister_hook('connector_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); + unregister_hook('connector_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); unregister_hook('plugin_settings', 'addon/statusnet/statusnet.php', 'statusnet_settings'); unregister_hook('plugin_settings_post', 'addon/statusnet/statusnet.php', 'statusnet_settings_post'); unregister_hook('post_local_end', 'addon/statusnet/statusnet.php', 'statusnet_post_hook'); @@ -176,7 +178,7 @@ function statusnet_settings_post ($a,$post) { } } } - goaway($a->get_baseurl().'/settings/addon'); + goaway($a->get_baseurl().'/settings/connectors'); } else { if (isset($_POST['statusnet-consumersecret'])) { // check if we can reach the API of the StatusNet server @@ -203,7 +205,7 @@ function statusnet_settings_post ($a,$post) { notice( t('We could not contact the StatusNet API with the Path you entered.').EOL ); } } - goaway($a->get_baseurl().'/settings/addon'); + goaway($a->get_baseurl().'/settings/connectors'); } else { if (isset($_POST['statusnet-pin'])) { // if the user supplied us with a PIN from Twitter, let the magic of OAuth happen @@ -221,7 +223,7 @@ function statusnet_settings_post ($a,$post) { set_pconfig(local_user(),'statusnet', 'oauthsecret', $token['oauth_token_secret']); set_pconfig(local_user(),'statusnet', 'post', 1); // reload the Addon Settings page, if we don't do it see Bug #42 - goaway($a->get_baseurl().'/settings/addon'); + goaway($a->get_baseurl().'/settings/connectors'); } else { // if no PIN is supplied in the POST variables, the user has changed the setting // to post a tweet for every new __public__ posting to the wall diff --git a/twitter/twitter.php b/twitter/twitter.php index 51b55fd0a..6535ff636 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -43,8 +43,8 @@ function twitter_install() { // we need some hooks, for the configuration and for sending tweets - register_hook('plugin_settings', 'addon/twitter/twitter.php', 'twitter_settings'); - register_hook('plugin_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post'); + register_hook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings'); + register_hook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post'); register_hook('post_local_end', 'addon/twitter/twitter.php', 'twitter_post_hook'); register_hook('jot_networks', 'addon/twitter/twitter.php', 'twitter_jot_nets'); logger("installed twitter"); @@ -52,6 +52,8 @@ function twitter_install() { function twitter_uninstall() { + unregister_hook('connector_settings', 'addon/twitter/twitter.php', 'twitter_settings'); + unregister_hook('connector_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post'); unregister_hook('plugin_settings', 'addon/twitter/twitter.php', 'twitter_settings'); unregister_hook('plugin_settings_post', 'addon/twitter/twitter.php', 'twitter_settings_post'); unregister_hook('post_local_end', 'addon/twitter/twitter.php', 'twitter_post_hook'); @@ -106,7 +108,7 @@ function twitter_settings_post ($a,$post) { set_pconfig(local_user(),'twitter', 'oauthsecret', $token['oauth_token_secret']); set_pconfig(local_user(),'twitter', 'post', 1); // reload the Addon Settings page, if we don't do it see Bug #42 - goaway($a->get_baseurl().'/settings/addon'); + goaway($a->get_baseurl().'/settings/connectors'); } else { // if no PIN is supplied in the POST variables, the user has changed the setting // to post a tweet for every new __public__ posting to the wall From 3e69b721ca5e9b30cbfccd85c818d43aff94f293 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 14 Nov 2011 11:37:41 +0100 Subject: [PATCH 2/4] communitihome: fix login form in aside --- communityhome/communityhome.css | 23 ++++++++++- communityhome/communityhome.php | 43 ++++++++++---------- communityhome/communityhome.tpl | 70 +++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+), 21 deletions(-) create mode 100644 communityhome/communityhome.tpl diff --git a/communityhome/communityhome.css b/communityhome/communityhome.css index a031e176e..2efb6ebd5 100644 --- a/communityhome/communityhome.css +++ b/communityhome/communityhome.css @@ -1,3 +1,21 @@ +aside form { position: relative } +aside #login_standard { + width: 200px; + position: absolute; + float:none; + height: 100px; + display: block; +} +aside #login_openid { + width: 200px; + position: absolute; + float:none; + margin-left: 0px; + height: 100px; + display: none; +} + + aside #label-login-name, aside #login-name, aside #label-login-password, @@ -14,8 +32,11 @@ aside #login-extra-filler { } aside #login-submit-button { margin-left: 100px; } aside .items-wrapper, -aside #login-extra-links { overflow: auto; width: 100%; } +aside #login-extra-links { overflow: auto; width: 100%;} aside .directory-item { width: 55px; height: 55px; vertical-align: center; text-align: center; } aside .directory-photo { margin: 0px; } aside .directory-photo-img { max-width: 48px; max-height: 48px; } aside #likes { margin: 0px; padding: 0px; list-style: none; } + + +aside #login-extra-links { overflow: auto; width: 100%; padding-top:120px;} diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 8020d82b7..8f0aa8675 100644 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -24,12 +24,19 @@ function communityhome_home(&$a, &$o){ // custom css $a->page['htmlhead'] .= ''; + $aside = array( + '$tab_1' => t('Login'), + '$tab_2' => t('OpenID'), + '$noOid' => get_config('system','no_openid'), + ); + // login form - $aside .= "

". t('Login'). "

"; - $aside .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true); + $aside['$login_title'] = t('Login'); + $aside['$login_form'] = login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true); // last 12 users - $aside .= "

". t('Last users'). "

"; + $aside['$lastusers_title'] = t('Last users'); + $aside['$lastusers_items'] = array(); $sql_extra = ""; $publish = (get_config('system','publish_all') ? '' : " AND `publish` = 1 " ); $order = " ORDER BY `register_date` DESC "; @@ -40,7 +47,6 @@ function communityhome_home(&$a, &$o){ 0, 12 ); - $aside .= "
"; $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); if(count($r)) { $photo = 'thumb'; @@ -52,10 +58,9 @@ function communityhome_home(&$a, &$o){ '$photo' => $rr[$photo], '$alt-text' => $rr['name'], )); - $aside .= $entry; + $aside['$lastusers_items'][] = $entry; } } - $aside .= "
"; // 12 most active users (by posts and contacts) // this query don't work on some mysql versions @@ -73,8 +78,8 @@ function communityhome_home(&$a, &$o){ ORDER BY `items` DESC,`contacts` DESC LIMIT 0,10"); if($r && count($r)) { - $aside .= "

". t('Most active users'). "

"; - $aside .= "
"; + $aside['$activeusers_title'] = t('Most active users'); + $aside['$activeusers_items'] = array(); $photo = 'thumb'; foreach($r as $rr) { @@ -85,13 +90,13 @@ function communityhome_home(&$a, &$o){ '$photo' => $rr[$photo], '$alt-text' => sprintf("%s (%s posts, %s contacts)",$rr['name'], ($rr['items']?$rr['items']:'0'), ($rr['contacts']?$rr['contacts']:'0')) )); - $aside .= $entry; + $aside['$activeusers_items'][] = $entry; } - $aside .= "
"; } // last 12 photos - $aside .= "

". t('Last photos'). "

"; + $aside['$photos_title'] = t('Last photos'); + $aside['$photos_items'] = array(); $r = q("SELECT `photo`.`id`, `photo`.`resource-id`, `photo`.`scale`, `photo`.`desc`, `user`.`nickname`, `user`.`username` FROM (SELECT `resource-id`, MAX(`scale`) as maxscale FROM `photo` WHERE `profile`=0 AND `contact-id`=0 AND `album` NOT IN ('Contact Photos', '%s', 'Profile Photos', '%s') @@ -106,7 +111,7 @@ function communityhome_home(&$a, &$o){ dbesc(t('Profile Photos')) ); - $aside .= "
"; + if(count($r)) { $tpl = file_get_contents( dirname(__file__).'/directory_item.tpl'); foreach($r as $rr) { @@ -120,13 +125,13 @@ function communityhome_home(&$a, &$o){ '$alt-text' => $rr['username']." : ".$rr['desc'], )); - $aside .= $entry; + $aside['$photos_items'][] = $entry; } } - $aside .= "
"; // last 10 liked items - $aside .= "

". t('Last likes'). "

"; + $aside['$like_title'] = t('Last likes'); + $aside['$like_items'] = array(); $r = q("SELECT `T1`.`created`, `T1`.`liker`, `T1`.`liker-link`, `item`.* FROM (SELECT `parent-uri`, `created`, `author-name` AS `liker`,`author-link` AS `liker-link` FROM `item` WHERE `verb`='http://activitystrea.ms/schema/1.0/like' GROUP BY `parent-uri` ORDER BY `created` DESC) AS T1 @@ -138,7 +143,6 @@ function communityhome_home(&$a, &$o){ $a->get_baseurl(),$a->get_baseurl() ); - $aside .= ""; - - $a->page['aside'] = $aside; + $tpl = file_get_contents(dirname(__file__).'/communityhome.tpl'); + $a->page['aside'] = replace_macros($tpl, $aside); $o = '

' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '

'; diff --git a/communityhome/communityhome.tpl b/communityhome/communityhome.tpl new file mode 100644 index 000000000..846878097 --- /dev/null +++ b/communityhome/communityhome.tpl @@ -0,0 +1,70 @@ + +{{ if $noOid }} +

$login_title

+{{ else }} + +{{ endif }} +$login_form + + +{{ if $lastusers_title }} +

$lastusers_title

+
+{{ for $lastusers_items as $i }} + $i +{{ endfor }} +
+{{ endif }} + + +{{ if $activeusers_title }} +

$activeusers_title

+
+{{ for $activeusers_items as $i }} + $i +{{ endfor }} +
+{{ endif }} + +{{ if $photos_title }} +

$photos_title

+
+{{ for $photos_items as $i }} + $i +{{ endfor }} +
+{{ endif }} + + +{{ if $like_title }} +

$like_title

+ +{{ endif }} From de90be911f84f84d31f26cea94232bb74928aeef Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 14 Nov 2011 11:56:36 +0100 Subject: [PATCH 3/4] communityhome package --- communityhome.tgz | Bin 3140 -> 3662 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/communityhome.tgz b/communityhome.tgz index ca4804f773969410a2080358571bb303971f48da..b08abd2ec236c20a20c24d7b8083cff317798e8c 100644 GIT binary patch literal 3662 zcmV-U4zckciwFRH^T1931MOOSQ`|-p_rL6?=u;L;>)JQ3E6kGO42ikJYzpJ#t_ZiQ zT@9>)UY2ITl#B0v-900%B!qDiLay$1$_6yk)353NP0vWv(D&zoD{p6^FFG&&kk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;Huh eDypcWiYlt8qKYc2sG^Gg*XTc59}vg@Pyhg=y($s_ From 4a21a505df40dbcd966c6b213e09b6070af7cfda Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 14 Nov 2011 11:57:03 +0100 Subject: [PATCH 4/4] addons package makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..0780ee679 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +# Build addons packages +SRC = buglink fortunate nsfw sniper uhremotestorage \ + calc impressum oembed statusnet widgets \ + communityhome js_upload piwik tictac wppost \ + convert ldapauth poormancron tumblr \ + facebook membersince randplace twitter + +DESTS = $(addsuffix .tgz,$(SRC)) + +all: $(DESTS) + +%.tgz: % + @echo -n Creating $@... + @tar czf $@ $< + @echo " Done." \ No newline at end of file