Chad Kieffer
dca3cd2e8d
Switch the slideshow link from text to icon.
2008-12-06 17:18:55 +00:00
Tim Almdal
611b8f44ed
Add firing comment_added and comment_updated events
2008-12-06 06:10:15 +00:00
Chad Kieffer
69f48d37c3
Removing carousel. Slideshow and planned album views should cover this functionality
2008-12-05 06:22:51 +00:00
Chad Kieffer
0d1c040605
Don't need to pass the event, it's not used.
2008-12-05 06:01:44 +00:00
Tim Almdal
0f103b1c06
Moving albums around with a drag and drop interface seems to work and preserve the left right pointers.
...
* changed _lock and _unlock to protected methods lock and lock respectively
* added a moveTo method on the Item_Model
* Corrected the hole closure on delete.
* added moveTo on the ORM_MTPP class
* Changed the rearrange javascript to do moves with ajax
2008-12-04 20:05:58 +00:00
Bharat Mediratta
80a7db61c9
Fix up the test framework to work now that we're only loading installed modules
...
via the autoloader.
2008-12-04 08:17:57 +00:00
Tim Almdal
deafa2f912
remove unused ->root
2008-12-04 06:43:16 +00:00
Tim Almdal
1ae3ed7e3b
Get rid of the rearrange helper as the code could be inlined
2008-12-04 06:36:14 +00:00
Tim Almdal
b9a0843d86
Remove an resemblence to a RESTful controller from Rearrange_Controller
2008-12-04 06:28:42 +00:00
Bharat Mediratta
c67a4f485d
style updates
2008-12-04 05:54:26 +00:00
Bharat Mediratta
03bc3c281e
Make sure that we always run teardown, even when the test throws an exception
2008-12-03 19:09:16 +00:00
Tim Almdal
1e647c2a03
Drag and drop seems to work in the rearrange module
2008-12-03 18:14:15 +00:00
Bharat Mediratta
53664787d4
Add a filter to unit tests. Now you can do 'php index.php Album_Helper_Test Photo_Helper_Test' to just run those two
2008-12-03 06:00:30 +00:00
Bharat Mediratta
a4494b9f9a
Put the output in pretty ASCII boxes.
2008-12-03 05:15:03 +00:00
Bharat Mediratta
7f9b765571
Fix errors in the preamble
2008-12-03 03:53:46 +00:00
Bharat Mediratta
844e5573f0
Make sure that the dev is not using the same db for tests as they are for production (this one's for you, valiant!)
2008-12-03 03:49:45 +00:00
Bharat Mediratta
705698a425
Drop the database and rm -rf test/var instead of calling uninstall on
...
all modules. This guarantees a clean start w/out worrying about
weirdness in the uninstaller code.
2008-12-03 03:44:48 +00:00
Bharat Mediratta
6f959deed9
Rename generic test.php to gallery_unit_test.php to make navigation to this file a little easier
2008-12-03 03:23:30 +00:00
Bharat Mediratta
0e752790a3
Removed per jozefs
2008-12-02 21:41:07 +00:00
Tim Almdal
3953dde2c6
The rearrange module will now add an album if you drag the "new album" onto the album tree. I haven't had a chance to figure out why the form does get any styling or why a textarea is no included as a list item.
2008-12-02 21:25:15 +00:00
Bharat Mediratta
9f1f10c4dd
Turn <div/> into <div></div> to make Chrome happy.
2008-12-01 23:46:43 +00:00
Bharat Mediratta
77f9e81fac
Add missing closing >
2008-12-01 23:44:14 +00:00
Tim Almdal
6459f167fd
Drag and Drop is starting to work. You can drag the New Album over any of the directorys and it will be allowed. Drag anything over New Album and it will return. You can drag an tree item except the root over the delete icon and it will be accepted. Now I need to build the ajax and server side functionality the at allows this to all work.
2008-12-01 23:14:26 +00:00
Tim Almdal
92563f813e
Fix the fact that the tree wouldn't show up... just a wee bit overly aggressive in cleaning up what i thought was unused files
2008-12-01 21:35:09 +00:00
Tim Almdal
0ebd4f6b28
New Rearrange gui based on jqueryFileTree ( http://www.abeautifulsite.net/notebook.php?article=58 ). I like the look of this one better. Still need to implement the drag and drop functionality.
2008-12-01 20:54:25 +00:00
Bharat Mediratta
91c4bda1ec
Prototype access control model. There's much left to do, but it's a
...
working implementation.
2008-12-01 08:50:00 +00:00
Chad Kieffer
26a512c352
Grouped inline form styles. No longer using gInline class in favor of specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup.
2008-12-01 01:55:50 +00:00
Chad Kieffer
6c2869f822
Changed CSS organization, removed form section. Moved generic form CSS up to top of sheet and specific form styles to be adjacent to related content. This should ensure inheritance works generic down to specific. Removed #gAddTags in favor of #gTags form.
2008-11-29 21:30:30 +00:00
Tim Almdal
7ae004f76f
The gui part of rearranging albums and photos on the welcome page. Haven't finished the ajax back end to actually do the move, but thought i'd put the gui up so people can play
2008-11-29 20:02:30 +00:00
Bharat Mediratta
9b9bdce821
Fix another bug caused by moving this from tag to tag_event
2008-11-29 09:53:38 +00:00
Bharat Mediratta
1b78f33444
Fix a bug where we were listening to the wrong event.
2008-11-29 09:49:51 +00:00
Tim Almdal
a73aade713
The start of a rearrange module
2008-11-28 22:06:26 +00:00
Bharat Mediratta
8b6ed6c477
Create module::event() which runs Gallery events. It works by
...
convention. To respond to the "photo_created" event in the gmaps
module, you create modules/gmaps/helpers/gmaps_event.php containing
class gmaps_event which has function photo_created.
Renamed all events from gallery.foo.bar to foo_bar
Updated tag module to use new convention.
2008-11-28 19:37:01 +00:00
Bharat Mediratta
1b1d385294
Check for APP13 before using it
2008-11-28 18:41:11 +00:00
Bharat Mediratta
89c4dadec2
Rename module::get_list() to module::installed()
2008-11-28 18:39:18 +00:00
Tim Almdal
a7f6efa2f2
When an image is uploaded (i.e. created) the tag module will now extract any iptc keywords and add them as image tags.
2008-11-28 18:04:59 +00:00
Bharat Mediratta
6fbd79928c
Move the <media:thumbnail> outside of the <media:group> to work around a bug in Cooliris.
2008-11-28 07:13:21 +00:00
Bharat Mediratta
5672fbea1e
Rename tag_block_cloud.html.php to tag_cloud.html.php
2008-11-28 07:05:11 +00:00
Bharat Mediratta
29966cc4fc
Set the page size to 30 images. No need to limit ourselves to 10 in a feed.
2008-11-28 05:18:17 +00:00
Bharat Mediratta
dec97b42fe
Create media_rss helper and move feed generation in there, so that we
...
can get to the feed from other parts of the code.
2008-11-28 04:51:17 +00:00
Chad Kieffer
143337dbf0
Use return false instead of preventDefault() to prevent link action, thx Tim
2008-11-28 04:22:52 +00:00
Bharat Mediratta
0a6be1bf55
Fix some minor issues with the feed format
2008-11-28 02:44:02 +00:00
Bharat Mediratta
62e5f73b7b
Re-enable the slideshow for tag views, since now we have a MediaRSS feed for them
2008-11-28 01:42:01 +00:00
Bharat Mediratta
b69104b695
Fix a bug where we were loading the wrong item/tag
2008-11-28 01:41:26 +00:00
Bharat Mediratta
88b35c1182
Tags_Model::items() now lets you filter by item type
2008-11-28 01:40:55 +00:00
Bharat Mediratta
fd519082e1
Add a media_rss feed for tag views.
...
When visiting a photo, show the feed for the parent album.
2008-11-28 01:20:17 +00:00
Tim Almdal
828f23896f
Rename item events and create events for comment create, login, logout, user creation. I probably forgot some, but its a start.
2008-11-28 00:51:38 +00:00
Tim Almdal
3ad9b6174a
Add event plumbing to allow the tag module to be notified when a photo is created. Eventually this will be used to parse the image meta data and extract tags;
2008-11-28 00:19:08 +00:00
Tim Almdal
b8c034cb37
Reverted r18930. This is because in the media_rss module we don't generate a media rss feed link if we don't have an item. So if we go an throw a slideshow on there, it doesn't do anything because piclens can't find the feed to produce a slideshow.
...
You can put it back if you really want to. It will probably make more sense when we have an alternative slide show taht can work with the children collection.
2008-11-27 22:21:16 +00:00
Bharat Mediratta
bb388af21a
Add tag_top() button
2008-11-27 22:08:17 +00:00