Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
#1066. Minor CSS/JS fixes. Add scrollTo effect when clicking on 'Add a Comment'.
|
|
Having a members sidebar element indicates to the rest clients that this is a resource collection.
Conflicts:
modules/gallery/helpers/items_rest.php
|
|
|
|
|
|
"invalid_password" to remove ambiguity.
|
|
|
|
|
|
|
|
This makes it consistent to the rest client that collections will have a members element.
|
|
|
|
|
|
|
|
security check. Not sure why the patch worked for some and not for
others, but this should resolve it either way. Fixes ticket #1123.
|
|
|
|
module.
|
|
the filename be treated as a regexp. Fixes #1086.
|
|
characters, we'll get an empty slug. Partial fix for #1086.
|
|
just entity.
TESTS ARE NOT UPDATED YET.
- Fix item_rest::get() to maintain the proper sort order, which
requires duplicating some Item_Model code.
- Elide "weight" from the REST version of item
- Adjust the weight of members according to the order they're returned
from the client. You can't add or remove members here, you can only
reorder them.
- Changed the wire protocol to handle more complex values.
Now "entity" and "members" are JSON encoded. The Gallery3
helper does this correctly.
- Changed the wire protocol for tag_item -- now it stores the
tag and item urls in the entity, not as members. This is more
consistent.
- Added missing security for renaming and deleting tags.
- Got rid of vestigial tag_rest::post(). We add/remove tags
via the relationship.
|
|
|
|
|
|
|
|
|
|
multi step process to refer to REST access keys as "access_key"
everywhere. Bump the rest module to version 2.
|
|
|
|
|
|
|
|
theme's default width when thumbnails are something other than the default. Fixes ticket #1053.
|
|
selected photos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is still logged to the G3 syslog.
|
|
|
|
|
|
|
|
clears the upload canvas in webkit-based browsers.
|
|
|
|
- Log which validation rule was violated if there's an ORM validation error.
- Add more try / catch blocks to avoid abortion where possible.
|
|
positioning to handle upload button positioning. Remove color definitions to allow jQuery UI theme to set button colors. Consolidate upload dialog CSS to modules/css/gallery.css. Closes #885.
|
|
commit c91408d4a8b56730fde39df5e12d32111ace28b4.
|
|
another way.
Revert "Fix Kohana's internal cache for Gallery's usage pattern. Instead of deleting the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths."
This reverts commit fd94f4bec21a7deaa86d468da704a048d2be751e.
|
|
the whole find_files cache when ever include_paths (=core.modules) change, keep a separate find_files cache for each set of include_paths.
Benefits for Gallery:
- There are about 3000 is_file() invocations for a photo / album page in a vanilla Gallery installation. These are mostly triggered by Kohana::find_file().
- Enabling internal_cache doesn't help at all (see explanation below). The number of is_file() invocations is about the same with or without this cache.
- With this patch, more than 95% of these invocations are gone. The cache works as intended.
Kohana's internal_cache for find_file wasn't working in Gallery because
the cache would be emptied on each request after reading it from disk and
before most lookups would run.
1. Bootstrap sets initial core.modules (= include path): forge, kohana23_compat, gallery.
2. Kohana::setup() loads find_file cache from disk.
3. Gallery loads list of active modules and themes, and updates the core.modules value (=include path), which forces the internal find_file cache to be empties (which makes sense).
4. Request processing starts, and thus 80+% of all Kohana::find_file() triggered is_file() invocations start off with an empty find_file cache.
The patch doesn't have a significant impact on performance for Kohana applications which don't change their include paths at runtime (after Kohana::setup). And the patch should benefit all Kohana applications which have modules / extensions, i.e. which first need to bootstrap Kohana before they can load a list of all active modules from the database.
|
|
admin pages, just like in non-admin pages.
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
|
|
latest kohana upgrade.
|