From f7c89d6f607d5e5599e9c68c52b01dcd8ce38f82 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 11 Jun 2008 21:58:58 -0400 Subject: [PATCH] start changing default theme to work with new HTML darcs-hash:20080612015858-84dde-28a67b8a2204cd23ef2fe78ffa19ca1ded13887f.gz --- actions/updateprofile.php | 13 ++++++++++++- doc/roadmap | 4 ++-- theme/default/display.css | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/actions/updateprofile.php b/actions/updateprofile.php index ffbcc81c88..5e6166c5e1 100644 --- a/actions/updateprofile.php +++ b/actions/updateprofile.php @@ -22,6 +22,17 @@ if (!defined('LACONICA')) { exit(1); } class UpdateprofileAction extends Action { function handle($args) { parent::handle($args); - common_server_error(_t('Not yet implemented.')); + try { + $req = OAuthRequest::from_request(); + # Note: server-to-server function! + $server = omb_oauth_server(); + list($consumer, $token) = $server->verify_request($req); + if ($this->update_profile($req, $consumer, $token)) { + print "omb_version=".OMB_VERSION_01; + } + } catch (OAuthException $e) { + common_server_error($e->getMessage()); + return; + } } } diff --git a/doc/roadmap b/doc/roadmap index c89f265b91..a3e7258339 100644 --- a/doc/roadmap +++ b/doc/roadmap @@ -128,9 +128,9 @@ First public release (theoretically). Added distributed subscriptions, - only local notices in public RSS + graphic refresh on all + graphic refresh on avatar -- graphic refresh on doc ++ graphic refresh on doc + graphic refresh on login -- graphic refresh on newnotice ++ graphic refresh on newnotice + graphic refresh on password + graphic refresh on profilesettings + graphic refresh on public diff --git a/theme/default/display.css b/theme/default/display.css index 9db1cffedb..f1f1f1c986 100644 --- a/theme/default/display.css +++ b/theme/default/display.css @@ -259,7 +259,7 @@ a:hover img { on the content. The background is then applied to #content. **************************************************************/ -#wrapper { +#wrap { width: 589px; height: 100%; margin: 0 auto;