Commit Graph

13 Commits

Author SHA1 Message Date
Mikael Nordfeldth
0fd2ad649e Conversation IDs (again) no longer based on Notice ID 2016-01-06 13:58:46 +01:00
Mikael Nordfeldth
d59b39275b Not sure how much time to spend on GNUsocialPhotos plugin 2014-05-12 11:13:13 +02:00
Mikael Nordfeldth
2a4dc77a63 The overloaded DB_DataObject function staticGet is now called getKV
I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV

   sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)

If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!

This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)

Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
2013-08-18 13:13:56 +02:00
Max Shinn
e9e5fdb139 Matt's demands (ticket ) 2010-12-28 19:45:25 -06:00
Max Shinn
407aa6a947 Updating uploaded photos 2010-12-28 10:40:58 -06:00
Max Shinn
46b2151f09 Pictures/albums in floating divs 2010-12-28 08:57:28 -06:00
Max Shinn
d61f88b979 Only show photo uploads for logged in users 2010-12-27 17:12:25 -06: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
98cb4a4e54 Improved nav bar 2010-12-27 07:42:00 -06:00
Max Shinn
e81bdcb200 Untabify 2010-12-26 20:51:17 -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