Commit Graph
5668 Commits
Author SHA1 Message Date
Tim Almdal a4323c79ee Fix for ticket #207, which should then generate a whole bunch of
errors that are described in ticket #208.
2009-04-06 00:15:45 +00:00
Bharat Mediratta c936eebcf7 Don't do graphics detection in core_installer::install() because that
gets run at scaffolding::package() time, not on the target machine.
Instead, create a core module variable to trigger running
graphics::choose_default_toolkit() on the first admin login after install.

Fixes ticket #206.
2009-04-05 20:43:05 +00:00
Bharat Mediratta a2dd24d7ca Remove extra blank line. 2009-04-05 17:51:25 +00:00
Bharat Mediratta cdf873f1b3 Remove extra blank line. 2009-04-05 17:50:57 +00:00
Bharat Mediratta ff0ccc7e02 Remove obsolete code. 2009-04-05 17:49:52 +00:00
Tim Almdal f1eec57221 Add a weight column to the items model. Change the album ordering to
use this as the default instead of id.  This prepares the way for
manual reordering in the organize functionality.
2009-04-05 16:57:51 +00:00
Tim Almdal 15fc9b9399 Get the preamble right so the unit test passes 2009-04-05 16:48:20 +00:00
Bharat Mediratta fde7073886 Strip trailing nulls off of some tags. 2009-04-05 04:08:24 +00:00
Bharat Mediratta fabb9fb4bd Don't try to insert exif keys if there aren't any. 2009-04-05 04:07:18 +00:00
Bharat Mediratta 846fc51f61 Optimization: add all exif/iptc keys in a single insert, instead of
many separate queries.

In the process, rip out the summary column, we weren't using it.
Clean up the test, and drop the exif_records database on uninstall.
2009-04-05 03:54:08 +00:00
Bharat Mediratta 7d712ecd96 Use the optimized version of PicLens to reduce download times ftw! 2009-04-05 02:47:35 +00:00
Bharat Mediratta d9c1dd67d4 Change the way we launch PicLensLite so that it doesn't upscale small images.
This resolves ticket #205.
2009-04-05 02:41:38 +00:00
Bharat Mediratta 802f2431c7 Concatenate chopped up internationalized string. 2009-04-03 23:12:52 +00:00
Bharat Mediratta f7435112c5 Clean up JS/HTML so that renaming works properly (it had hardcoded
urls before).  Clean up indentation and localization code while I'm
in there.
2009-04-03 22:53:43 +00:00
Tim Almdal dff53d9e31 Fix for ticket #27
Change the text of the edit button to "close" if the panel is opened.
Reset the original text when the panel is closed.
2009-04-03 19:01:37 +00:00
Tim Almdal 9ed0dd51bf Fix for ticket #201.
1) create common update function so processing consistent between the
user edit and admin edit.
2) created common private helper function to build the user edit form
the same way.
So a user can now change their user name if the new one doesn't exist.
2009-04-03 17:33:07 +00:00
Tim Almdal d35a0cdb61 Fix for ticket #200. When an error occurs the current uri is no
longer admin/server_add but admin/server_add/add_path and the equality
check fails.
2009-04-03 15:40:41 +00:00
Bharat Mediratta 892e46368b Set the queue limit to 1000. 2009-04-03 08:17:58 +00:00
Tim Almdal f1cb43430b First iteration of the organize functionality (orginally called bulk
edit).  There is limited functionality in no edits work.  This is
primary a chance for the team to review the ui.  It is in a separate
module to isolate the changes.  Eventually, it will be moved back into core.
2009-04-03 00:50:43 +00:00
Bharat Mediratta 6883762238 Completely task-ify the localization scanning code and restore the
incoming_translation key cache.  The only part of this that is not
broken down is the l10n_client::fetch_updates() part.
2009-04-02 23:56:00 +00:00
Tim Almdal b05b89798a Continuation of r20518. Remove all the cases were the csrf values in
views were being manually set.  Also removed it from the Admin_View.
2009-04-02 21:41:10 +00:00
Tim Almdal 160b54760f Fix the issue identified in
http://gallery.menalto.com/gallery_3.0_alpha_3_released?page=1#comment-304581
ticket #195
2009-04-02 13:01:16 +00:00
Bharat Mediratta 96aa486060 Add missing 2nd argument for Theme_View() 2009-03-31 20:34:12 +00:00
Chad Kieffer a57d0d93a8 Add quick edit pane to resize images, ticket #189 2009-03-31 05:14:40 +00:00
Bharat Mediratta 9f04fef3e0 Updated to r807 2009-03-30 18:09:17 +00:00
Tim Almdal 066854424a Add a method to create a micro_thumb that is centered vertically in
its container (initially used for organize album view)
2009-03-27 17:36:14 +00:00
Bharat Mediratta c96544ff34 Add missing csrf value. 2009-03-27 15:39:22 +00:00
Bharat Mediratta 921f3a2eee Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
2009-03-27 03:43:21 +00:00
Bharat Mediratta d7719a7e72 Gracefully deal with the case where we resume a stalled task but there
was no work left to be done.  This fixes a divide by zero error.
2009-03-26 20:26:06 +00:00
Bharat Mediratta 9f8393c9d5 Rename $block_id to $id to fix ticket #192 2009-03-26 19:51:15 +00:00
Tim Almdal 9d35437167 Update comments to reflect that the results of item::children or
item::descendants uses the specified sort order
2009-03-26 17:42:17 +00:00
Bharat Mediratta a142aee609 Convert language updates over to task form. It's still very rough,
the task only has one step from zero to 100.
2009-03-26 07:10:47 +00:00
Bharat Mediratta 9f784818da Set csrf into the global theme for convenience. 2009-03-26 06:56:29 +00:00
Bharat Mediratta 15eb1a9c8d Replace iterators with stack based scanner, which we can serialize into the task context. 2009-03-26 06:32:48 +00:00
Bharat Mediratta 09243aa72e Normalize code style. 2009-03-26 04:44:12 +00:00
Bharat Mediratta 78943402b2 Convert the L10n scanner from a library to a helper.
In order to make the class static, I had to remove the index cache.
I'll restore that and cache the index keys in the task context in a
subsequent change.  For now, I've put in a @todo to add the caching
back in.
2009-03-26 04:36:00 +00:00
Tim Almdal 75d98701ae Guard the calling of the form closing event so its not called if there
is no form.
2009-03-26 04:09:03 +00:00
Tim Almdal 96df4419f4 Revert r20492 2009-03-26 03:17:11 +00:00
Bharat Mediratta a28deb8674 Use pathinfo() instead of substr/strchr/etc to get the file extension. 2009-03-26 03:09:23 +00:00
Bharat Mediratta 11bfacba08 Normalize exception format. 2009-03-26 03:02:18 +00:00
Bharat Mediratta b438af3027 Optimize the way we lookup incoming translations.
Undo last commit (accidentally committed benchmarking code)
2009-03-26 03:01:25 +00:00
Bharat Mediratta d311aa7107 Normalize exception format. 2009-03-26 02:54:35 +00:00
Bharat Mediratta 2152baa65c Normalize exception string format. 2009-03-26 02:53:42 +00:00
Bharat Mediratta e3aab08f8d Fix typo, whitespace. 2009-03-26 02:50:50 +00:00
Tim Almdal ab787233d6 Fix for ticket #184. Sort the output children as DirectoryIterator
does not provide a sort order.  Separate the directory and files, sort
them individually and then merge them together so directories are at
the top of the list
2009-03-25 18:14:03 +00:00
Tim Almdal 944276fdfe Fix for ticket #184. Set the default album sort order to "Title" 2009-03-25 17:21:11 +00:00
Tim Almdal 3cb2c42e49 Fix for ticket #181. Valiant take note of the change to
admin_users.php.  I had to remove the check for the locale as it
hasn't been added to the form.
2009-03-25 16:21:36 +00:00
Tim Almdal 961d5e11cf Fix unit tests where the albums, resizes and thumbs directory were
being deleted.
Fix for ticket #182
2009-03-25 15:22:23 +00:00
Jakob Hilden b909132f54 tag changes in the tag admin should now work as expected 2009-03-25 04:47:25 +00:00
Bharat Mediratta 0a4bce3f67 Remove debug line. 2009-03-25 02:13:01 +00:00