Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
Before, this was before the children's caches were cleared, so if the
"item_moved" set an album cover, it would fail with an invalid path. For the
same reason, we move it after the data file update, too. Lastly, get we get
rid of duplicated code in item::move() since the "item_moved" event already
does this.
|
|
|
|
--HG--
extra : source : 816294dd5f6fe23160baf9f516e49c66ea8fcb6c
|
|
|
|
as per comment
https://github.com/gallery/gallery3/pull/394/files#r4643737
|
|
allow for sequential upgrades
|
|
|
|
adds a new variable "show_size", so had to increment the version number
to 3
|
|
|
|
|
|
fragments and query parameters.
|
|
This reduces the likelihood that we'll hit a limit with gargantuan galleries.
--HG--
extra : source : c4a118d43145a2a4ec9b934d3aebe8f9458bcf07
|
|
- optimize MPTT pointer rebuilding for leaf nodes (i.e. non-albums).
- reverse order_by to try and preserve existing tree ordering.
- reset item level while we're here.
- use "$stack[] = 123" instead of array_push($stack, 123) since it's faster.
--HG--
extra : source : 297e4c0eccc5a7940224ff8e908b366e83017354
|
|
accessible.
|
|
|
|
Fix a couple of small mistakes
Fixes #2066 and #2067
|
|
Change all jQuery-ui widget _init() functions to _create() functions.
|
|
I assume this should be $g2_album->getId() instead
|
|
|
|
|
|
|
|
Uploadify-specific functions.
- Added _process_upload() to handle upload file validation with Kohana.
- Added _add_item() to handle item creation and validation with the item model (and logs).
- Removed these pieces from add_photo(), which is now rather Uploadify-specific.
- Used $_FILES to get filename instead of assuming it's substr(basename($tmp_name), 10).
- No net functional changes - works just like before.
|
|
- Every to-be-concatenated string now begins with 1 space and ends with 0 spaces.
|
|
#2051 - Revise how Gallery_View returns combined JS and CSS.
|
|
#2061 - Remove Uploadify from add_photo_form/add_photo_form_completed events.
|
|
- Added code around event calls in uploader to add Uploadify-specific JS to update the inputs.
- Removed Uploadify JS from tag_event. Now it's uploader-agnostic.
- Refactored tag_event autocomplete code (no functional changes).
|
|
- added legal_file::sanitize_dirname(), analogous to sanitize_filename.
- revised item model to use new function when adding or updating an album.
- added some legal_file unit tests.
- revised some item model unit tests.
|
|
#2057 - Revise item name and slug validation - backslashes, refactor, error messages.
|
|
#2055, 2056 - jQuery updates for .attr("value", [value]) and .keyup(handler).
|
|
Changed Gallery_View's JS and CSS combining to:
- have get_combined() combine all groups if called without arguments.
- ensure the "core" group is combined first.
- always put links where get_combined() is called, even if combining is disabled (otherwise the order isn't preserved).
- add key as cache buster when combining is disabled.
- make "LOOKING FOR YOUR CSS/JAVASCRIPT..." comments in get_combined(), not in the theme itself.
Also, revised xss_data.txt golden file (line number changes only).
|
|
messages.
- disallowed backslashes in item validation.
- refactored the validation logic in the item model a bit.
- added no_backslash error messages in edit album/photo/movie forms.
- fixed error messages in add album forum (some missing, some text different from edit)
- added unit tests
- updated to v58 to correct any existing backslashes in item names
|
|
- changed .attr("value", [value]) to .val([value]) for new jQuery.
- changed .keyup(handler) to .on("input keyup", handler) to fire on mouse-only cut'n'paste.
|
|
- changed "change" event to "input" to catch cut'n'paste
- kept "keyup" event for old IE compatibility
- removed code duplication by using $(this) and combining events using .on()
- replaced attr("value",...) with val()
- added quotes around input names
|
|
#1838 - thumb_proportion should have a minimum size.
|
|
Fix Theme_View::siblings bug - limit and offset reversed in sibling_callback.
|
|
#2050 - Update Admin_View to handle events like Theme_View.
|
|
I wonder if this could be causing some random issues I see on the forums...
|
|
#2053 - Change all .bind() to .on() for jQuery future-proofing.
|
|
#2048 - Remove unneeded jquery.autocomplete.css/js inclusions.
|
|
- on/off are preferred to bind/unbind, live/die, and delegate/undelegate in jQuery 1.7+
- they're likely on the road toward deprecation, so let's replace them now.
|
|
This helps themes better calculate an item's container size, for cases
when the first item significantly differs in size from the rest.
Trac-Ticket: #1838
|
|
This prevents broken item rendering when thumbnails are smaller than the
theme design allows.
Trac-Ticket: #1838
|
|
- changed Admin_View event handling to reflect that of Theme_View
(gallery_theme gets called first, admin theme gets called last,
debug mode isn't called for body_attributes and gets g-clear-fix)
|
|
- removed autocomplete.css/js calls in server_add, tag, and g2_import.
- revised xss_data.txt golden file (line number changes only).
|
|
an undefined variable.
|
|
#2046 - Change Gallery over to using MediaElementJS as its movie player
|