gnu-social/classes
mmn 77951647ce Merge branch 'oauth-default-icon' into 'nightly'
Add default icon to OAuth apps

When MySQL runs in strict mode, it doesn't seem possible to add a new OAuth app.

This is because:
 * The 'icon' field has no defaults and also has NOT NULL constraint.
 * GS uploads/sets the icon[1] (if provided) after the SQL insert[2]

The easiest fix seemed to be to provide a default icon value.
This change sets the default to the  "blue peg" default avatar from the base theme.

[1]
7f30e61402/actions/newapplication.php (L176)

[2]
7f30e61402/actions/newapplication.php (L186)

See merge request !29
2015-10-10 20:34:22 +00:00
..
Attention.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Avatar.php ImageFile->resize now totally replaced with resizeTo 2015-03-12 20:47:07 +01:00
Config.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Confirm_address.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Consumer.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Conversation.php Incorrect use of DataObject type matching after ->find() 2015-09-04 20:35:11 +02:00
File_redirection.php File_redirection static fixes and simplifying 2015-07-07 20:16:05 +02:00
File_thumbnail.php Modernize File_thumbnail to use Managed_DataObject functions 2015-06-04 22:29:40 +02:00
File_to_post.php File-related functions not declared static 2015-06-07 10:01:28 +02:00
File.php File handling changes for better logic 2015-10-01 22:14:49 +02:00
Foreign_link.php Exception handling regarding Foreign_link 2015-07-18 11:39:34 +02:00
Foreign_service.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Foreign_subscription.php staticGet for sub-Managed_DataObject classes now calls parent 2013-08-12 19:46:44 +02:00
Foreign_user.php TwitterBridge is closer to working again 2015-07-17 21:03:37 +02:00
Group_alias.php Local_group and User are now assumed to be in same namespace 2013-10-17 01:27:01 +02:00
Group_block.php Minor typing stuff and syntax fixes 2013-11-02 17:28:11 +01:00
Group_inbox.php pkeyGet is now static and more similar to getKV 2013-08-18 15:42:51 +02:00
Group_join_queue.php pkeyGet is now static and more similar to getKV 2013-08-18 15:42:51 +02:00
Group_member.php Some code aligning for consistency 2015-10-10 22:09:51 +02:00
GS_DataObject.php DB_DataObject delete function calls PEAR::isError directly, ignore E_STRICT 2015-06-06 20:01:03 +02:00
Invitation.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Local_group.php Introducing TargetedRss10Action for simplifying RSS 1.0 2015-07-10 00:28:36 +02:00
Location_namespace.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Login_token.php Replace common_good_random with common_random_hexstr 2013-10-21 13:20:30 +02:00
Managed_DataObject.php Syntax and minor fixes 2015-10-10 22:23:24 +02:00
Memcached_DataObject.php Less redundant code. 2015-07-15 19:21:21 +02:00
Nonce.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Notice_location.php Oops, forgot Notice_location PHP file 2015-09-04 22:30:33 +02:00
Notice_source.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Notice_tag.php Less redundant code, please 2015-06-21 01:37:29 +02:00
Notice.php I think I have made the delete verb generate proper AS 2015-10-10 11:08:17 +02:00
Oauth_application_user.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Oauth_application.php Add default icon to OAuth apps 2015-09-05 17:02:17 -04:00
Oauth_token_association.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Old_school_prefs.php Updating all Memcached_DataObject extended classes to Managed_DataObject 2013-08-18 12:32:32 +02:00
Profile_block.php Declaring some more static functions properly 2013-09-09 23:28:20 +02:00
Profile_list.php ShowprofiletagAction now extends ShowstreamAction 2015-09-27 23:46:30 +02:00
Profile_prefs.php Modernize Profile_prefs to use Managed_DataObject functions 2015-06-04 22:26:31 +02:00
Profile_role.php pkeyGet is now static and more similar to getKV 2013-08-18 15:42:51 +02:00
Profile_tag_subscription.php function delete in dataobjects now don't break strict syntax 2013-10-29 10:20:57 +01:00
Profile_tag.php ProfilesettingsAction and related stuff modernised 2015-07-17 12:20:11 +02:00
Profile.php Can't use return-value in empty() 2015-10-04 22:31:07 +02:00
Queue_item.php Don't retry unhandled transports in OpportunisticQM 2015-07-18 01:09:50 +02:00
Related_group.php staticGet for sub-Managed_DataObject classes now calls parent 2013-08-12 19:46:44 +02:00
Remember_me.php staticGet for sub-Managed_DataObject classes now calls parent 2013-08-12 19:46:44 +02:00
Reply.php Introducing TargetedRss10Action for simplifying RSS 1.0 2015-07-10 00:28:36 +02:00
Safe_DataObject.php DB_DataObject recommends using ->tableName() 2015-06-06 19:35:10 +02:00
Schema_version.php staticGet for sub-Managed_DataObject classes now calls parent 2013-08-12 19:46:44 +02:00
Session.php The overloaded DB_DataObject function staticGet is now called getKV 2013-08-18 13:13:56 +02:00
Sms_carrier.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Status_network_tag.php DB_DataObject recommends using ->tableName() 2015-06-06 19:35:10 +02:00
status_network.ini oops. really embarassing typo (that explains some weird behaviour) 2010-07-29 16:32:41 -04:00
Status_network.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Subscription_queue.php define Subscription_queue::exists as static 2015-07-11 00:08:23 +02:00
Subscription.php Some code aligning for consistency 2015-10-10 22:09:51 +02:00
Token.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
Unavailable_status_network.php Updating all Memcached_DataObject extended classes to Managed_DataObject 2013-08-18 12:32:32 +02:00
User_group.php ImageFile->resize now totally replaced with resizeTo 2015-03-12 20:47:07 +01:00
User_im_prefs.php Removing MicroID as well as simplifying profileaction 2015-07-14 16:52:20 +02:00
User_location_prefs.php staticGet for sub-Managed_DataObject classes now calls parent 2013-08-12 19:46:44 +02:00
User_urlshortener_prefs.php Fixed CHMOD + set error_reporting(0) in getvaliddaemons.php to avoid strict warnings in PHP +5.5 2014-08-24 13:12:44 +02:00
User_username.php utf8mb4 conversion on database with index adjusts 2015-02-12 18:18:55 +01:00
User.php Infinite loop on CLI initiated profile deletion for local users 2015-07-18 02:16:52 +02:00