| Age | Commit message (Collapse) | Author |
|
|
|
good pattern for allowing modules to add their own hooks to item forms!
1) Album, photo and movie forms now all use edit_item as the group and
we publish item_edit_form and item_edit_form_completed events which
makes it much easier in the module to handle all events. They can
still differentiate based on $item->type if they want to.
2) Added tag::clear_all() and tag::compact() functions which takes the
place of hiwilson's tag::update() function and is now used in
tag_event::item_delete(). This provides a simple API that allows
us to have a lot less event handling code. It's less efficient
than what hiwilson was doing before in that it will delete and
re-add tags, but if that ever turns out to be a performance issue
we can do something about it then.
|
|
functionality. (3)support multi-word tagging.
|
|
|
|
make a huge log file. In the l10n_client case, it's not really
necessary to know that level of detail and it makes for a weird API.
|
|
|
|
|
|
- DENY = false
- ALLOW = true
- UNKNOW = null (for intent only)
- INHERIT = null (for cache)
Upgrade is not included for now.
|
|
|
|
Fixes ticket #194
|
|
Fixes ticket #554.
|
|
zlib.output_compression=On
|
|
|
|
zlib.output_compression in PHP, since that means that the stream is
already compressed. Fixes ticket 555.
|
|
old ORM relationships from hanging around, which was causing problems
when doing MPTT manipulations (resulting in incorrect permission
propagation-- very bad!)
|
|
their new target. After each move, recalculate the permissions for
the new parent's hierarchy.
Fixes ticket #552
|
|
related events from within the model handling code. The only
exception to this currently is item_created which is challenging
because we have to save the item using ORM_MPTT::add_to_parent()
before the object itself is fully set up. When we get that down to
one call to save() we can publish that event from within the model
also.
|
|
|
|
1) The item_updated event no longer takes the old and new items.
Instead we overload ORM to track the original data and make
that available via the item. This will allow us to move event
publishing down into the API methods which in turn will give us
more stability since we won't require each controller to remember
to do it.
2) ORM class now tracks the original values. It doesn't track
the original relationships (no need for that, yet)
3) Added new events:
item_deleted
group_deleted
user_deleted
|
|
|
|
This reverts commit a333e01bd1c8cb3ad08cd0ad16023e3fcdfc4181.
|
|
|
|
09c9b1a75561881a40ada71f02710355923602e2
|
|
golden file.
|
|
|
|
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
|
|
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
|
|
|
|
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
|
|
dig deep enough, but now we form the complete message using t() style
semantics to replace % placeholders with __ style JS placeholders.
Also, stop appending the (completed) text to existing messages.. roll
it together.
|
|
in the gallery helper. This will let us bump the version without
having to bump the gallery module number.
|
|
|
|
|
|
|
|
test to make sure that we continue to do so.
This makes sure that we don't have problems with 5.3 which treats the
literal "on" as a boolean.
|
|
|
|
|
|
|
|
1) Stop changing the menu classes in JS, instead allow us to specify
it in the Menu class itself and then set it to be gThumbMenu in Theme_View
2) Move the gThumbMenu init code to the bottom of the $(document).ready() block;
something in there was interfering with it.
|
|
|
|
saving its value before $item got deleted. Further fix for #528.
|
|
|
|
placeholders.
|
|
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
|
|
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
|
|
action. The expectation is that we're going to reload the page (or
redirect to a new url). If we close the dialog, then we can trigger
the onhover for items we've just deleted causing errors.
Simplify the API while we're at it by getting rid of the no-longer-used
on_success argument to openDialog()
This fixes #528.
|
|
$movie, that causes the simpler uploader to throw an error for all
movies.
|
|
|
|
it got rid of the 'img' var which is used when we set the click action
on buttons.
Partial fix for #528.
|
|
easier to see what's changed.
|