|
1.45 (+2 -3 lines) |
05/24/2008 06:48 PM |
Michael Rubinsky mrubinsk |
Get rid of all this 'requestedView' nonsense now that it's fixed the right
way :) |
|
1.44 (+7 -9 lines) |
05/06/2008 09:42 PM |
Chuck Hagenbuch chuck |
consistent comment style, minor cs/style tweaks |
|
1.43 (+5 -4 lines) |
05/06/2008 09:39 PM |
Chuck Hagenbuch chuck |
Remove references to deprecated list.php. |
|
1.42 (+2 -2 lines) |
05/06/2008 07:56 PM |
Michael Rubinsky mrubinsk |
Well, here goes. Another sweeping change to the data storage in Ansel.
This commit has Ansel using the new Horde_Share hierarchical sql driver,
and thus requires Horde_Share_sql_hierarchical.php which is now in FW_3.
To upgrade an existing installation, you need to first run the
2008-04-28_add_sql_share_tables.sql script on your database, and then run
then *_sql_share_migration.php script which will move all the gallery data
completely out of the datatree for good! This script will not delete any
data unless you tell it to. Also be aware that if you have hacked ansel's
config to use seperate datatree tables for ansel then you will need to edit
the script with the correct table names. |
|
1.41 (+4 -2 lines) |
03/29/2008 04:26 PM |
Michael Rubinsky mrubinsk |
Make sure to pass the requestedView parameter whenever we are requesting
a gallery view url |
|
1.40 (+2 -2 lines) |
03/19/2008 10:48 AM |
Michael Rubinsky mrubinsk |
Remove hasChildren and replace with the newer hasSubgalleries()
along with some other code optimizations.
Bug: 6500
Submitted by: Duck |
|
1.39 (+20 -6 lines) |
03/14/2008 08:49 PM |
Michael Rubinsky mrubinsk |
Some more rewrite rules, add lots more Ansel::getUrlFor() calls in place
of Horde::applicationUrl(). Some of these I missed the first time, some
I didn't have the getUrlFor controller ready... |
|
1.38 (+22 -26 lines) |
03/12/2008 04:14 PM |
Chuck Hagenbuch chuck |
Remove Horde_Template usage
Bug: 6438
Submitted by: duck@obala.net |
|
1.37 (+7 -3 lines) |
03/10/2008 04:17 PM |
Michael Rubinsky mrubinsk |
- A whole bunch of pretty url generation
- Activate the new Ansel_View_List in place of list.php (list.php will remain
for now until further testing, but it will be removed shortly)
- Added additional rewrite rules so we have pretty urls for the general
groupings as well |
|
1.36 (+19 -14 lines) |
03/05/2008 03:17 PM |
Michael Rubinsky mrubinsk |
Fixes for pretty urls in rss feeds |
|
1.35 (+4 -4 lines) |
02/25/2008 03:20 PM |
Michael Rubinsky mrubinsk |
No need for a function call to get the gallery id now that galleries are
seperate from their share object. Remove Ansel_Gallery::getId() and replace
with id instance variable. Saves a bunch of function calls, and is now another
similarity between Ansel_Image and Ansel_Gallery objects. |
|
1.34 (+21 -17 lines) |
02/17/2008 03:17 PM |
Michael Rubinsky mrubinsk |
Allow rss.php to take a gallery slug, add rewrite rules for generating rss
feeds from pretty urls such as:
ansel/user/mike/rss
ansel/gallery/galleryslug/rss
ansel/gallery/gallery_id/rss |
|
1.33 (+6 -5 lines) |
02/09/2008 02:17 PM |
Michael Rubinsky mrubinsk |
Don't need gallery style for rss feeds, we always use 'ansel_default'.
And a few more places here to pass the 'ansel_default' style |
|
1.32 (+4 -2 lines) |
02/09/2008 02:08 PM |
Michael Rubinsky mrubinsk |
Be more diligent about passing the available style information around
so we can check the existence of a particular view without having to
read image data from the database and instantiate an Ansel_Image object
each time
Bug: 6222
Submitted by: Duck |
|
1.31 (+2 -2 lines) |
02/06/2008 05:22 PM |
Michael Rubinsky mrubinsk |
Statically cache Ansel_Storage::getImage() calls since they can often
be called multiple times per page load and from different scopes. Also
have to add reference operators now to be sure that only a single copy of
the image object is ever operated on per page load in PHP4.
Bug: 6219
Submitted by: Duck |
|
1.30 (+12 -10 lines) |
01/15/2008 08:30 PM |
Michael Rubinsky mrubinsk |
The mother of all Ansel commits. This removes all the gallery attributes
from the datatree, leaving only permissions and hierarchical information in
datatree.
To upgrade, first run the 2008_01_07_add_galleries.sql script to create
the gallery table and then run the sql_galleries.php script. The script
does *NOT* delete any data from the datatree - it only creates the new
structure. Another (upcoming) upgrade script will remove the data from
the datatree once this is more thoroughly tested.
Bug: 6101 |
|
1.29 (+2 -2 lines) |
01/02/2008 06:11 AM |
Jan Schneider jan |
Happy New Year |
|
1.28 (+2 -2 lines) |
12/26/2007 03:33 PM |
Michael Rubinsky mrubinsk |
Ensure we use the correct mime type. Ansel_Image::type is only valid for the
original, 'full' view...otherwise, we assume the image is in the format of
$conf['image']['type'] |
|
1.27 (+7 -7 lines) |
12/16/2007 10:31 AM |
Jan Schneider jan |
Standardize on using 'photos' instead of 'images'. |
|
1.26 (+10 -10 lines) |
11/25/2007 02:07 PM |
Chuck Hagenbuch chuck |
Use $conf['server']['name'], and refer to images "on" a server
Bug: 5915 |
|
1.25 (+9 -8 lines) |
11/23/2007 09:06 PM |
Michael Rubinsky mrubinsk |
One more time...fix logic here to allow for the fact that there might not
be a cache object. |
|
1.24 (+9 -8 lines) |
11/23/2007 05:14 PM |
Michael Rubinsky mrubinsk |
$cache is not set unless we turn it on in ansel's config. |
|
1.23 (+16 -14 lines) |
11/23/2007 04:17 PM |
Michael Rubinsky mrubinsk |
If we are requesting a gallery feed, make sure the id is at least numberic
before attempting to retrieve it. |
|
1.22 (+13 -5 lines) |
11/13/2007 12:31 AM |
Michael Rubinsky mrubinsk |
Look for images in any subgalleries when creating a rss feed for an empty gallery. |
|
1.21 (+2 -2 lines) |
11/03/2007 10:45 AM |
Michael Rubinsky mrubinsk |
Start slowly moving towards allowing galleries to specify named styles.
This commit doesn't add much functionality...just renaming some variables and methods to better reflect where we are going. |
|
1.20 (+5 -3 lines) |
10/28/2007 01:42 PM |
Michael Rubinsky mrubinsk |
- Don't assume we always want a prettythumb just because we're capable of them. (In particular for rss feeds we always return a 'normal' thumb).
- Use a Polaroid stack effect for default gallery images if we are capable of using prettythumbs...provide ability for user to regenerate the gallery default image from the gallery property page.
Probably still some tweaking to do to image sizes and things, plus I want to add per-gallery settings for prettythumb vs thumb but I wanted to get this into CVS before I went too much further :) |
|
1.19 (+167 -155 lines) |
10/10/2007 12:52 AM |
Michael Rubinsky mrubinsk |
cache the rendered rss templates |
|
1.18 (+2 -2 lines) |
10/05/2007 08:04 PM |
Michael Rubinsky mrubinsk |
typo |
|
1.17 (+3 -2 lines) |
10/05/2007 08:02 PM |
Michael Rubinsky mrubinsk |
Add media:thumbnail node |
|
1.16 (+2 -2 lines) |
10/05/2007 07:46 PM |
Michael Rubinsky mrubinsk |
Need to encode this since it may contain a query string |
|
1.15 (+29 -4 lines) |
10/05/2007 04:33 PM |
Michael Rubinsky mrubinsk |
Add tag-based rss stream
Tweak some title text |
|
1.14 (+4 -2 lines) |
10/05/2007 01:33 PM |
Michael Rubinsky mrubinsk |
More descriptive gallery feed title |
|
1.13 (+6 -3 lines) |
10/04/2007 07:36 PM |
Michael Rubinsky mrubinsk |
Add rss2 specific tag for atom element |
|
1.12 (+16 -5 lines) |
10/04/2007 07:30 PM |
Michael Rubinsky mrubinsk |
Add rss version 2.0 template (with support for media namespace extensions). |
|
1.11 (+2 -2 lines) |
10/03/2007 08:39 PM |
Michael Rubinsky mrubinsk |
Don't restrict to top level galleries |
|
1.10 (+7 -3 lines) |
10/03/2007 04:15 PM |
Michael Rubinsky mrubinsk |
fix stream_rss template tag by removing values I had in there for testing |
|
1.9 (+9 -4 lines) |
10/03/2007 02:44 PM |
Michael Rubinsky mrubinsk |
use fullname from identity if we can get it. |
|
1.8 (+3 -3 lines) |
10/03/2007 02:36 PM |
Michael Rubinsky mrubinsk |
use most recent Ansel_Image::uploaded time as the last_modified time for feed |
|
1.7 (+75 -39 lines) |
10/03/2007 02:14 PM |
Michael Rubinsky mrubinsk |
Add channel images to rss feed, and some code cleanup, catch errors, ws, wrap etc... |
|
1.6 (+21 -1 lines) |
10/02/2007 09:01 PM |
Michael Rubinsky mrubinsk |
Add a user filter to rss feed |
|
1.5 (+5 -5 lines) |
10/02/2007 08:23 PM |
Michael Rubinsky mrubinsk |
Use Ansel_Image::uploaded property of the most recent image as the modified time
for the feed....and update some comments. |
|
1.4 (+3 -3 lines) |
10/02/2007 08:17 PM |
Michael Rubinsky mrubinsk |
More descriptive feed title |
|
1.3 (+19 -2 lines) |
10/02/2007 02:12 PM |
Michael Rubinsky mrubinsk |
Support for (default) 'all' filter for rss feed.
Still kinda rough. Eventually, what I'd like is for the link to bring you to a search results page containing only the items in any of the feeds (similar to the tag results page) but that will wait until I can look at refactoring some of the search results code to be more flexible. |
|
1.2 (+9 -5 lines) |
10/02/2007 01:55 PM |
Michael Rubinsky mrubinsk |
Check permissions / catch error |
|
1.1 |
10/02/2007 01:24 PM |
Michael Rubinsky mrubinsk |
First stab at rss feed for Ansel. Currently, only works for requesting feed for particular gallery - still todo by user, tag, category, and all plus rss2 template etc... |