gnu-social/classes
Brion Vibber 4f63e3be7d Fix for ticket #2804: bad non-cache fallback code for dupe checks of prolific posters
The old code attempted to compare the value of the notice.created field against now() directly, which tends to explode in our current systems. now() comes up as the server/connection local timezone generally, while the created field is currently set as hardcoded UTC from the web servers. This would lead to breakage when we got a difference in seconds that's several hours off in either direction (depending on the local timezone). New code calculates a threshold by subtracting the number of seconds from the current UNIX timestamp and passing that in in correct format for a simple comparison. As a bonus, this should also be more efficient, as it should be able to follow the index on profile_id and created.
2010-11-03 17:25:29 -07:00
..
Avatar.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Config.php ...and drop the unnecessary &reference from child class pkeyGet() overrides. 2010-01-06 14:28:40 -08:00
Confirm_address.php change function headers to K&R style 2008-12-23 14:33:23 -05:00
Consumer.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Conversation.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Deleted_notice.php check correct define (not backwards compatible) 2009-09-15 21:12:44 -04:00
Design.php correctly use sslserver if it is set 2010-10-14 01:35:11 -04:00
Fave.php Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc) 2010-10-04 14:24:04 -07:00
File_oembed.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
File_redirection.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
File_thumbnail.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
File_to_post.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
File.php Fix for ticket #2853: fix for some unknown MIME type error cases by adjusting the PEAR error handling temporarily around MIME_Type_Extension usage. 2010-11-03 17:05:26 -07:00
Foreign_link.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_service.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_subscription.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Foreign_user.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_alias.php Fixed problem causing 500 error on notices containing a non-existent group 2010-03-06 00:30:15 +00:00
Group_block.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_inbox.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Group_member.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Inbox.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Invitation.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Local_group.php * add translator documentation 2010-07-29 13:01:04 +02:00
Location_namespace.php flip x flag on generated files 2009-10-21 22:43:41 -04:00
Login_token.php * add translator documentation 2010-07-29 13:01:04 +02:00
Memcached_DataObject.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Message.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Nonce.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Notice_inbox.php Dropped deprecated timestamp-based 'since' parameter for all API methods. When it sneaks in it can cause some very slow queries due to mismatches with the indexing. 2010-03-02 11:54:02 -08:00
Notice_source.php * i18n/L10n and translator documentation updates. 2010-09-28 23:21:09 +02:00
Notice_tag.php max_id is inclusive 2010-10-25 11:18:49 -04:00
Notice.php Fix for ticket #2804: bad non-cache fallback code for dupe checks of prolific posters 2010-11-03 17:25:29 -07:00
Oauth_application_user.php Revert DB change for OAuth. Change compound key for oauth_application_user 2010-10-20 11:41:04 -07:00
Oauth_application.php Ticket #2811 use more consistent max limit for OAuth application registration descriptions; now using the field max of 255 rather than $config['site']['textlimit'] as fallback if $config['application']['desclimit'] is unset or out of bounds. 2010-10-11 12:52:32 -07:00
Oauth_token_association.php i18n/L10n updates, translator docs updated, superfluous whitespace removed. 2010-10-21 03:10:46 +02:00
Profile_block.php define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Profile_role.php Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone. 2010-03-15 16:08:00 -07:00
Profile_tag.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Profile.php Add context for different uses of "%1$s (%2$s)" 2010-11-02 23:08:59 +01:00
Queue_item.php Fix for bug #2382: releasing claim on failed queue item works again with DB-based queues. 2010-06-26 15:07:32 -04:00
Related_group.php some class files had x bit set 2009-05-22 21:11:46 -04:00
Remember_me.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Remote_profile.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Reply.php max_id is inclusive 2010-10-25 11:18:49 -04:00
Safe_DataObject.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Session.php additional debugging data for Sessions 2010-01-28 13:53:28 -05:00
Sms_carrier.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
Status_network_tag.php * translator documentation added. 2010-10-23 19:20:51 +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 * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
statusnet.ini Use a new table (oauth_token_association) to associate authorized 2010-10-20 17:21:04 -07:00
statusnet.links.ini PHP 5.3 compatibility hack for DB_DataObject 2010-02-12 11:15:12 -08:00
Subscription.php Fix unescaped dollar signs in double-quoted strings due to localization updates (%1$s etc) 2010-10-04 14:24:04 -07:00
Token.php Add verifier and verified callback to token for OAuth 1.0a 2010-01-24 16:36:05 -08:00
User_group.php Add getFancyName() to User_group to match the one on Profile: encapsulates the "fullname (nickname)" vs "nickname" logic and allows for localization of the parentheses in a common place. 2010-11-03 12:53:51 -07:00
User_location_prefs.php Add magic formula to keep DB_DataObject from treating location prefs pkey as autoincrement 2009-12-30 08:56:43 -10:00
User_username.php * i18n/L10n and translator documentation updates. 2010-09-28 23:42:18 +02:00
User.php fall back to siteowner on bad nickname (Bug#2861) 2010-10-28 10:46:57 -04:00