summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/updateprofile.php13
-rw-r--r--doc/roadmap4
-rw-r--r--theme/default/display.css2
3 files changed, 15 insertions, 4 deletions
diff --git a/actions/updateprofile.php b/actions/updateprofile.php
index ffbcc81c8..5e6166c5e 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 c89f265b9..a3e725833 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 9db1cffed..f1f1f1c98 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;