class AvatarAction extends SettingsAction {
+ function is_readonly() {
+ return false;
+ }
+
function get_instructions() {
return _('Upload a new "avatar" (user image) here. You can\'t edit the picture after you upload it, so make sure it\'s more or less square. It must be under the site license, also. Use a picture that belongs to you and that you want to share.');
}
class ConfirmaddressAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
if (!common_logged_in()) {
}
}
+ function is_readonly() {
+ return false;
+ }
+
function try_login() {
$consumer =& oid_consumer();
class FinishremotesubscribeAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
class NewnoticeAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
# XXX: Ajax!
require_once(INSTALLDIR.'/lib/omb.php');
+function is_readonly() {
+ return false;
+}
+
class PostnoticeAction extends Action {
function handle($args) {
parent::handle($args);
class RecoverpasswordAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
if (common_logged_in()) {
class RegisterAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
if (!defined('LACONICA')) { exit(1); }
class SubscribeAction extends Action {
+
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
class TwitapiaccountAction extends TwitterapiAction {
+ function is_readonly() {
+ return false;
+ }
+
function verify_credentials($args, $apidata) {
if ($apidata['content-type'] == 'xml') {
*/
class TwitapistatusesAction extends TwitterapiAction {
+ function is_readonly() {
+ return false;
+ }
+
function public_timeline($args, $apidata) {
parent::handle($args);
*/
class UnsubscribeAction extends Action {
+
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
if (!common_logged_in()) {
require_once(INSTALLDIR.'/lib/omb.php');
class UpdateprofileAction extends Action {
+
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
try {
define('TIMESTAMP_THRESHOLD', 300);
class UserauthorizationAction extends Action {
+
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
function Action() {
}
+ function is_readonly() {
+ return true;
+ }
+
function arg($key, $def=NULL) {
if (array_key_exists($key, $this->args)) {
return $this->args[$key];
} else {
return $def;
}
- }
+ }
function server_error($msg, $code=500) {
$action = $this->trimmed('action');
class SettingsAction extends Action {
+ function is_readonly() {
+ return false;
+ }
+
function handle($args) {
parent::handle($args);
if (!common_logged_in()) {