Show
Ignore:
Timestamp:
03/01/07 18:58:29 (2 years ago)
Author:
jm3
Message:

lots o changes (big ones in bold):

  • added export in delicious format xml
  • account removal
  • much, much nicer (as in, they actually exist) reminder emails for pending account expiration
  • added self-service account re-enablement for auto-disabled users
  • much, much nicer emails for
  • added two new answers to the FAQ
  • re-arranged search to move the options to the top (duh)
  • refactored tag-ame related functions
  • added AIM as a valid profile field
  • wrote validation code process to linking your AIM account to FML
  • whee!!!!
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • feedmelinks/api/restricted/secure-call.php

    r1350 r1352  
    77        $u    = $PHP_AUTH_USER ? $PHP_AUTH_USER : ( $user ? $user : $_COOKIE["c_uid"] ); 
    88        $tok =  $authenticated = $_COOKIE["c_pass_token"]; 
     9        header( "Content-type: text/xml"); 
    910 
    1011        if( $pass && $pass == getPasswdForUser( $u ) || ($tok && $tok == md5( getPasswdForUser( $u )))) { 
    1112 
    1213                if( ! isSuperUser( $u )) { 
    13                         echo "This is a restricted API call. go away."; 
     14                        echo "<rest><response>This is a restricted API call. go away.</response></rest>"; 
    1415                        return; 
    1516                } 
    1617 
    17                 header( "Content-type: text/xml"); 
    18                 echo "<call>\n"; 
     18                echo "<rest>\n"; 
    1919                echo "  <request>$call($user)</request>\n"; 
    2020                echo "  <response>" . call_user_func( $call, $user ) . "</response>\n"; 
    21                 echo "</call>"; 
     21                echo "</rest>"; 
    2222 
    23                 if( $error ) { 
    24                         Header("HTTP/1.0 404 Not Found"); 
    25                         echo $error; 
    26                 } 
    2723        } else { 
    28                 header('WWW-Authenticate: Basic realm="Feed Me Links XML API"'); 
    29                 header('HTTP/1.0 401 Unauthorized'); 
    30                 echo "login first, please."; 
     24                header('WWW-Authenticate: Basic realm="Feed_Me_Links_XML_API"'); 
     25                #header('HTTP/1.0 401 Unauthorized'); 
     26                echo "<rest><response>login first, please.</response></rest>"; 
    3127        } 
    3228?>