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
24e5f1806a
Notifications and deleting albums
2010-12-30 08:02:59 -06:00
Max Shinn
57aef10ed2
Delete the notice *and* the photo
2010-12-29 13:03:23 -06:00
Max Shinn
35e0832ec0
Let's try that again
2010-12-28 21:14:19 -06:00
Max Shinn
d68d95e08d
Fixed undefined variable while creating new albums
2010-12-28 20:59:01 -06:00
Max Shinn
e9e5fdb139
Matt's demands (ticket #217 )
2010-12-28 19:45:25 -06:00
Max Shinn
e525e9ab9b
Deleting photos
2010-12-28 11:20:08 -06:00
Max Shinn
407aa6a947
Updating uploaded photos
2010-12-28 10:40:58 -06:00
Max Shinn
90521450a0
Cool js photo resizing effect
2010-12-28 09:38:50 -06:00
Max Shinn
c73398fb25
External css
2010-12-28 09:10:22 -06:00
Max Shinn
46b2151f09
Pictures/albums in floating divs
2010-12-28 08:57:28 -06:00
Max Shinn
330ac5dd12
Photo albums on photos page
2010-12-28 08:31:34 -06:00
Max Shinn
22fe5d0215
Creating albums and uploading to them
2010-12-28 07:33:06 -06:00
Ian Denhardt
89d8c0c6f2
automatically create a default photo album when a user's photos page is visited if none exist.
2010-12-27 22:08:36 -05: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
a3c4dca90d
Links to photo pages in gallery
2010-12-25 15:35:20 -06:00
Max Shinn
6cc0a910d2
Individual photo page
2010-12-25 08:02:06 -06:00
Ian Denhardt
c901039a1f
added link to photo upload page.
2010-12-21 16:25:11 -05:00
Ian Denhardt
012ccc2dcb
no longer have to be logged in to merely view a photo album.
2010-12-21 14:54:02 -05:00
Ian Denhardt
30815645fc
Photo federation is basically working now, could use some polish.
2010-12-20 22:02:50 -05:00
Ian Denhardt
39d0420ab6
Fixed a typo that rendered firefox (and probably others) unable to upload photos.
2010-12-20 16:52:25 -05:00
Sean Corbett
1b601160f4
Changes to only display currently viewed profile's pictures.
2010-09-05 14:16:46 -04:00
Sean Corbett
2f06e29042
Merge branch 'master' of git://140.232.178.237/home/ian/public_html/gnu-social
2010-09-05 13:20:46 -04:00
Sean Corbett
3b0e5ae94a
Added additional author info because I like to feel important ;)
2010-09-05 13:20:27 -04:00
Ian Denhardt
fc131c2fb6
Users now post photos to separate albums in the DB (still need to display them separately.)
2010-09-05 13:19:15 -04:00
Sean Corbett
a8e74efb01
Added gallery links to previous / next pages.
2010-09-04 18:21:03 -04:00
Ian Denhardt
9c24236b59
getting photos by page is now static.
2010-09-04 17:51:17 -04:00
Ian Denhardt
70c1a9a506
Photo Galleries now actually use the database.
2010-09-04 17:48:12 -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
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
Ian Denhardt
33bce7227f
slight cleanup, we now get the image type from getimagesize(), rather than finding it ourselves.
2010-08-04 12:03:34 -04:00
Ian Denhardt
78d9edd431
Photos are cropped now.
2010-08-04 11:52:54 -04:00
Ian Denhardt
727758d275
Fixed scaling. thumbnails are bigger now, too.
2010-08-03 19:24:19 -04:00
Ian Denhardt
ab46007709
Thumbnails in the photo plugins.
2010-08-03 17:07:07 -04:00
Ian Denhardt
fe5f55cc24
rudementary photo albums. going to /username/photos displays all the images username has attached.
2010-08-03 13:21:11 -04:00
Ian Denhardt
eebc37604a
Started work on photos plugin. not much yet.
2010-08-02 19:22:55 -04:00