| Age | Commit message (Collapse) | Author |
|
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.
Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)
There's still considerable work left to be done here.
|
|
a broken image).
|
|
security problems. Ref http://dev.kohanaphp.com/issues/684).
This plus r20823 resolves ticket #248.
|
|
securit issues (and so Kohana won't route them, see
http://dev.kohanaphp.com/issues/684).
Partial fix for ticket #248.
|
|
Fixes ticket #278.
|
|
|
|
|
|
|
|
|
|
album
|
|
make_album_cover() functions into it.
|
|
into the core helper. Clean up interactions so that when we remove an
album cover we pick a new one, or clean out the old album cover if
there are no other choices.
|
|
|
|
"name" field is not on top anymore
changed "name" label to "Filename" for photos and "Directory Name" for albums
|
|
1) Fixes Ticket #208
2) Fixes Ticket #190
3) Fixes an unticketed issue where two items could collide when
creating the thumbnail and/or resize. For example, loading a.flv and
a.jpg would have generated the same thumbnail image. This change adds
a random value to the name to avoid conflicts.
4) Added item::__set() to clear the relative path if the name changes
|
|
use this as the default instead of id. This prepares the way for
manual reordering in the organize functionality.
|
|
movies or photos. Turns out that when you go to delete, ORM tries to
check for children and apply the sort order.
|
|
1) move the rand_key column into core
2) don't do a max rand, just try to a get a random number less than
the current random number if that doesn't successd look the other way
|
|
never been set, so it was never equal to "photo" so no thumbnails were generated.
|
|
exists. As per ticket #109
|
|
them using the h264streaming plugin. Everything else is a fairly
minor change.
|
|
extract a thumbnail out of it and if you click through we show it
using flowplayer.
|
|
|
|
|
|
|
|
names.
Added similiar code to insure that path names are not duplicated.
|
|
owner_id and shamelessly broke it into two changes to to the 20k commit.
|
|
the item::__set magic method.
|
|
Convert all item->type == "photo" to item->is_photo()
|
|
|
|
than the originating module to provide additional functionality to the form.
|
|
|
|
album_created, photo_created -> item_created
album_updated, photo_updated -> item_updated
|
|
File_Structure_Test to make sure we don't regress.
According to the PHP docs, the "public" keyword is implied on static
functions, so remove it. Also, require private static functions to
start with an _.
http://php.net/manual/en/language.oop5.visibility.php
|
|
OLD:
$form->submit("Foo") --> <input type="submit" value="Foo">
New:
$form->submit("foo_button")->("Foo") --> <input type="submit" name="foo_button" value="Foo">
Mostly we don't care what the button is so we leave the name blank.
|
|
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
|
|
1) Deleted in-place-editing. We'll be replacing this with a real edit
system that groups settings together and is more coherent.
2) Tweaked the way that dialog boxes work to get the ajax stuff working
again. It's imperfect and does not work properly for uploading images.
This is going to get redone also, but this is a good resting point.
3) Created edit forms for albums and photos. Moved _update and _create out
of Items_Controller and into the individual subclasses.
4) Created access::required which is a shorthand for:
if (!access::can(...)) {
access::forbidden();
}
5) Added validation rules to Items_Model
6) Converted login to use the regular modal dialog approach in the theme.
|
|
1) If the create request is Ajax, then return a 201 Created response code
2) If we receive back a 201 response, then switch to the new page.
3) Display a status message when we do an upload.
|
|
instead of ids.
|
|
Track a set of rules in Graphics_Rule_Model which specify how we turn
original images into thumbnails and resizes. There's one set of rules
that applies to every image in the Gallery.
Track the state of thumbs and resizes with a "dirty" bit. The new
graphics helper manages the rules and can rebuild the thumbs and
resizes for any images that are considered "dirty".
Introduce the concept of an "album cover" which is an item that an
album points to. We'll use that item as the source for the album's
thumbnail/resize.
Conflated with this change (sorry!) I also changed the Var table to
use module_name instead of module_id. This may be marginally less
efficient, but it's much easier to follow in the database.
|
|
|
|
us use it in the watermark module too
|
|
|
|
Item_Model and simplifies
file_proxy. It also means we can stop munging file names in the var/resizes hierarchy.
In the process, rename "thumbnail" to "thumb" everywhere in honor of
Chad (well, ok because it's shorter)..
|
|
2) Change form.html.php to use the group label instead of the name
3) Converted the add photo to explicity set the label of the field (new coding standard)
|
|
|
|
method pick the right aspect ratio
|
|
2) Added a 'type' data element to both forge/Form_Textarea and forge/Form_Upload
The second change allows the drawForm to correctly render both of these elements enclosed in a <li>...</li> html blocl
|
|
that it's consistent with ORM_MPTT::move_to()
|
|
directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php
|