Commit Graph

17 Commits

Author SHA1 Message Date
Mikael Nordfeldth
3a7261f70a IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef
Lots of the Memcached_DataObject classes stopped working when upgraded to
Managed_DataObject because they lacked schemaDef().

I have _hopefully_ made it so that all the references to the table uses
each class' schemaDef, rather than the more manual ColumnDef stuff. Not
all plugins have been tested thoroughly yet.

NOTE: This is applied with getKV calls instead of staticGet, as it was
important for PHP Strict Standards compliance to avoid calling the non-
static functions statically. (unfortunately DB and DB_DataObject still do
this within themselves...)
2013-08-21 09:48:42 +02:00
Mikael Nordfeldth
e95f77d34c Updating all Memcached_DataObject extended classes to Managed_DataObject
In some brief tests, this causes no problems.

In this state however, you would need to modify DB_DataObject to have a static declaration of staticget (and probably pkeyGet). The next commit will change the staticGet overload to a unique function name (like getKV for getKeyValue), which means we can properly call the function by PHP Strict Standards.
2013-08-18 12:32:32 +02:00
Max Shinn
18f46958f2 Individual ids for photos 2010-12-27 16:57:13 -06:00
Max Shinn
a6bf28f3ee Fixing photo page replies and descriptions 2010-12-27 16:39:21 -06:00
Max Shinn
cbf296e804 Usability with photos tab 2010-12-26 20:42:45 -06:00
Max Shinn
6cc0a910d2 Individual photo page 2010-12-25 08:02:06 -06:00
Ian Denhardt
30815645fc Photo federation is basically working now, could use some polish. 2010-12-20 22:02:50 -05:00
Sean Corbett
1b601160f4 Changes to only display currently viewed profile's pictures. 2010-09-05 14:16:46 -04:00
Sean Corbett
cc18dcb82d Rough draft of the photo album class to control photo ownership / permissions. 2010-09-04 22:14:49 -04:00
Ian Denhardt
9c24236b59 getting photos by page is now static. 2010-09-04 17:51:17 -04:00
Sean Corbett
7e8ff72c0b Quick function to get an array of thumbnails for a gallery page. 2010-09-04 17:35:37 -04:00
Ian Denhardt
56c0f97bea first whack at proper photo sharing federation w/ activity streams. 2010-08-16 16:21:27 -04:00
Ian Denhardt
769d6089de photos now work across status.net installs. needs to be cleaned up though. 2010-08-11 12:39:10 -04:00
Ian Denhardt
58d98a4c2b Photos now show up in feed (locally anywyay.) need cleanup/federation 2010-08-11 10:54:06 -04:00
Ian Denhardt
dd17e32c85 Got database inserts for photos working. 2010-08-06 10:26:28 -04:00
Ian Denhardt
43454eba36 got uploads sortof working - database portion doesn't work though. 2010-08-05 13:11:34 -04:00
Ian Denhardt
16ad70e16f Started working on proper photo upload. not fully functional yet. 2010-08-04 17:26:55 -04:00