Chad Kieffer
ab0fcb7453
In place editing in breadcrumbs is a bit much, plus, it breaks the layout. Removing, at least for now.
2008-12-01 06:57:37 +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
Bharat Mediratta
6b03b798f3
Move rearrange HTML generation into welcome.php so that we gracefully
...
handle the case where the DB is not installed yet.
2008-11-30 21:39:23 +00:00
Bharat Mediratta
4271f7702a
Add access model (not fully baked yet).
...
Update scaffolding to allow addition of just albums (helpful for testing permissions)
2008-11-29 22:47:15 +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
Tim Almdal
70de32ebb4
Insure that the page and offset refere to valid items
2008-11-29 17:08:42 +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
Chad Kieffer
d01010cd1d
Use .width() instead of .innerWidth(). Now photo resize works in IE 7.
2008-11-28 23:24:13 +00:00
Tim Almdal
a73aade713
The start of a rearrange module
2008-11-28 22:06:26 +00:00
Chad Kieffer
bb8fa3c417
Dynamically reset the dimensions of resized photos to fit if they're too wide.
2008-11-28 22:02:46 +00:00
Tim Almdal
4c2d4abb1c
Remove debugging statements
2008-11-28 21:55:26 +00:00
Tim Almdal
6a76d6f747
Dynamically create the list of available modules. This permits new modules to be added without having to update the config.php file
2008-11-28 21:22:34 +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
4d71975f37
Add credits theme callback, point the powered-by link at GMC
2008-11-28 09:46:29 +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
2c86723942
Add an easy way to add a bunch of servers from the server side
2008-11-28 05:45:35 +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
Tim Almdal
3fa12655dd
Correct parameter on gallery.album.created event firing
2008-11-28 04:26:18 +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
1239e38e45
Move the form drawing code back into form.html.php -- I'm going to
...
take a shot at fixing it up in the view file so that it's mostly HTML,
not mostly PHP. If that fails, I'll move it back into a helper.
2008-11-28 03:09:18 +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
Bharat Mediratta
18412bb14e
Add tag() function
2008-11-28 01:18:45 +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
26c9ec6d4b
Make header buttons, line them up nicely and float them to the right
...
so that they don't push the album grid down.
2008-11-27 22:08:56 +00:00
Bharat Mediratta
bb388af21a
Add tag_top() button
2008-11-27 22:08:17 +00:00
Bharat Mediratta
bc210a708e
Set resize to 640x480 for now to avoid breaking the default theme layout
2008-11-27 22:08:00 +00:00
Bharat Mediratta
8d4bd0c814
Update tests to reflect the fact that the admin group is gone.
...
Fix a bug in user::create(), found by the unit tests (hooray)!
2008-11-27 19:46:39 +00:00
Tim Almdal
6bc9c5868b
Create a form_helper class containing the function Draw_Form so we don't have to always check to see if the DrawForm method is already defined in pages that could have multiple forms.
2008-11-27 16:33:41 +00:00
Tim Almdal
bac4ff2046
1) Create a Theme_View class that combines the functionality of the Theme class with the View class.
...
2) Only define the form.html.php::DrawForm method once if there are multiple forms on the page (i.e. comments and add tags)
2008-11-27 16:19:07 +00:00
Bharat Mediratta
723eb2f611
Move the ADMIN global nav option into the core module and only show it if we're logged in as an admin user
2008-11-27 11:43:48 +00:00
Bharat Mediratta
e183901dc3
Give the admin user actual admin privileges
2008-11-27 11:43:11 +00:00
Bharat Mediratta
34a286ae90
Add navigation_top() and navigation_bottom() insertion points
...
Move "My Gallery" navigation tab into the user module and only show it
if you're logged in
2008-11-27 11:33:45 +00:00
Bharat Mediratta
0b86568586
Use the dimensions of the real image
2008-11-27 11:13:24 +00:00
Bharat Mediratta
d909fc1070
Make tags look a little better.
2008-11-27 10:25:50 +00:00
Bharat Mediratta
c95c17b133
Centralize logging around installing/uninstalling modules.
2008-11-27 09:45:26 +00:00
Bharat Mediratta
92ca1ba9ab
Style form#gAddTag nicely
2008-11-27 06:34:45 +00:00
Bharat Mediratta
850c3b90a3
Don't wrap hidden elements in list items
2008-11-27 06:34:20 +00:00