Tim Almdal
48ee3d5fe8
Fix for ticket #217
2009-05-09 06:11:17 +00:00
Bharat Mediratta
d1a9138925
Don't try to use mb_detect_encoding if the module isn't loaded. Not sure if this is a great solution, but it'll probably cut down on a big class of errors opportunistically
2009-05-08 19:16:48 +00:00
Tim Almdal
2c2839c13b
Create a thumbnail stack of selected thumbnails for the organize
...
drawer
2009-05-07 17:39:34 +00:00
Tim Almdal
6a295dc93d
1) Leave an object selected if its clicked.
...
2) And a 1em left margin to provide more spacing, so the lasso is less inclusive
2009-05-07 05:16:56 +00:00
Bharat Mediratta
85832e2e0f
Don't try to use the exif/iptc values if we couldn't extract them cleanly.
2009-05-07 05:04:11 +00:00
Tim Almdal
5305d1f569
Improve the selection/drag handling so that drag of a single item
...
doesn't have to be selected first
2009-05-07 04:56:08 +00:00
Bharat Mediratta
fc6bdbbbc8
Grab photo capture date and captions from EXIF/IPTC data.
...
- Add a "captured" column to the items table.
- Pull the DateTime EXIF field and put it into the captured column
- Pull the Caption EXIF & IPTC fields and put them into the description
field if there was not already a value there
2009-05-07 01:18:31 +00:00
Bharat Mediratta
934bc1e1f1
Add debug log strings with the G2 stack trace when there's a failure in a g2 call.
2009-05-07 00:46:35 +00:00
Tim Almdal
a8879cfe89
1) Improved selection processing.
...
2) Drawer closes if no images or albums are selected
2009-05-06 20:27:49 +00:00
Bharat Mediratta
e83b980d3d
Don't fail when trying to import site admin group. Resolves ticket #249
2009-05-06 04:08:45 +00:00
Bharat Mediratta
2846e0df8b
Return an array from available_tasks() when unconfigured.
...
Fixes ticket #247 .
2009-05-05 03:56:42 +00:00
Bharat Mediratta
13f8a0dd7b
Detect input encodings from EXIF/IPTC data and convert to utf-8 as
...
appropriate. This allows us to switch the exif value column back to
varchar and improves the way that we deal with non-utf8 data in our
embedded EXIF/IPTC data.
2009-05-05 03:30:49 +00:00
Bharat Mediratta
e70be4c0c2
Cache the entry in our in-memory map when we map a g2 item to a g3
...
item in the database. This fixes the problem that the import fails
the first time around because the various groups are mapped in the db
but aren't available in the request.
2009-05-02 21:52:46 +00:00
Bharat Mediratta
b4c9a97050
Create item helper and move move_item(), remove_album_cover() and
...
make_album_cover() functions into it.
2009-05-02 20:34:02 +00:00
Bharat Mediratta
0fd82598b5
Move make_album_cover and remove_album_cover out of Item_Model and
...
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.
2009-05-02 20:14:13 +00:00
Bharat Mediratta
977963444a
Remove direct call to item_before_delete since r20647 moved it into Item_Model
2009-05-02 19:28:05 +00:00
Bharat Mediratta
b4bc0a29a5
Change comment style for brevity.
2009-05-02 19:14:31 +00:00
Bharat Mediratta
54fa2391d0
Whitespace cleanup.
2009-05-02 19:14:06 +00:00
Bharat Mediratta
486517fac5
Clean up API to be organized around the functionality it provides, not the feature its provided for.
2009-05-02 19:11:22 +00:00
Bharat Mediratta
d0b8fbef1d
Remove extra whitespace.
2009-05-02 19:04:17 +00:00
Bharat Mediratta
fd3d4370d1
Fix indentation.
2009-05-02 18:58:10 +00:00
Chad Kieffer
eb9162f6c4
Remove angled ends of edit drawer handle.
2009-05-02 06:34:05 +00:00
Tim Almdal
88c0ede495
Add missing return statement
2009-05-02 03:23:55 +00:00
Tim Almdal
a12ed1de02
Move the drawer to the bottom of the page and compress the thumb grid
...
when the drawer opens. This way the drawer is never scrolled.
2009-05-02 03:08:30 +00:00
Chad Kieffer
590eceaf93
Set organize messages to use existing gMessage, added album cover message.
2009-05-01 05:35:56 +00:00
Tim Almdal
820cbdf1c3
Refactor the creation and removal of the album covers into
...
make_album_cover and remove_album_cover methods in Item_Model.
Usage: $photo->make_album_cover() $album->remove_album_cover()
2009-04-29 15:57:29 +00:00
Tim Almdal
33122e8968
Change album cover functionality added
2009-04-29 03:57:24 +00:00
Tim Almdal
89bdd6ca98
The delete button now deletes the selected items
2009-04-29 01:29:39 +00:00
Tim Almdal
12d976b94d
1) Refactor the ajax calls so that the code is reused across multipl
...
request types.
2) Enable/Disable the drawer handle buttons depending on the number of
items selcted
3) Image rotation works.
2009-04-28 21:29:14 +00:00
Bharat Mediratta
f3caf1eb52
Update upstream to to r3835 which resolves upstream ticket #1108
...
svn merge -r20638:20640 vendor/exifer/modified trunk/modules/exif/lib
2009-04-28 03:28:43 +00:00
Tim Almdal
091fde3e00
Another iteration of the organize module:
...
Rearrange the layout as per discussion with thumb, start the drawer
functionality. Still to do...
1) Add the processing behind the buttons on the drawer handle
2) Enable the drawer buttons when something is selected
3) Create a copy of the thumbs for the drawer
4) Add the bulk editting functionality to the drawer
2009-04-27 20:30:46 +00:00
Bharat Mediratta
2a5abfdbd4
Update value size to 1536 chars because I had an image which went over 1024 chars
2009-04-27 05:36:32 +00:00
Bharat Mediratta
f118fc0c14
Fix an edge case with GPS data handling that results in this error:
...
fread: Length parameter must be greater than 0 in file modules/exif/lib/makers/gps.php on line 197
Filed upstream as:
http://www.zenphoto.org/trac/ticket/1108
2009-04-27 03:58:16 +00:00
Bharat Mediratta
f51765a4b2
Drop the item_id key; we don't need this level of strictness in most
...
cases and it slows down inserts.
2009-04-25 22:17:06 +00:00
Bharat Mediratta
bab514a48d
Change the value column to varbinary so that we can handle the occasional binary data embedded in places like the EXIF caption field
2009-04-25 22:02:50 +00:00
Bharat Mediratta
3950e7582b
Fix status math.
2009-04-25 07:18:39 +00:00
Bharat Mediratta
2819a1b7b4
Extract as many records as we can in a second
2009-04-25 06:53:34 +00:00
Bharat Mediratta
63ce71a32b
Add a key on item_id so that our query to find missing exif records is efficient
2009-04-25 06:52:44 +00:00
Bharat Mediratta
cda6e54aa4
add_group() was not getting $form before using it.
2009-04-24 00:33:27 +00:00
Tim Almdal
7bd44b22e2
1) Change the processing so the server_add start task can return done = 1
...
if there are no eligible files selected
2) Change the javascript to handle this condition and show a pop up
2009-04-23 21:42:34 +00:00
Tim Almdal
465182e58f
1) Move the progress bar to a dialog
...
2) Provide status and error messages back to the user
2009-04-23 20:48:09 +00:00
Tim Almdal
b1a15f2130
Implement a cancel button so that if an organize task is paused, it
...
can be cancelled.
2009-04-23 04:53:48 +00:00
Bharat Mediratta
1173b21f95
Fix bug in the item_before_delete() event handler
2009-04-23 04:53:19 +00:00
Bharat Mediratta
38b5c02cfc
Remember to import album highlights
2009-04-23 02:46:53 +00:00
Bharat Mediratta
778cf0254e
Use https if it's appropriate
2009-04-23 02:33:31 +00:00
Bharat Mediratta
dd0e69ba3a
Delete any comments associated with deleted items
2009-04-23 01:32:35 +00:00
Tim Almdal
933770cf0e
1) Fix index overflow issue.
...
2) Fix where the microthumb was removed even if the move was cancelled
2009-04-22 23:23:15 +00:00
Bharat Mediratta
98d085e55f
Minor cleanups:
...
* Delete g2_map records when the corresponding item is removed.
* Improve text on g2 import settings page
* Minor comment fixes.
2009-04-22 19:49:27 +00:00
Tim Almdal
475b8fe9ff
Dragging from the thumbgrid to an album in the tree now works.
...
Refactored the javascript to minimize duplication.
2009-04-22 16:09:57 +00:00
Tim Almdal
9d31564b7c
1) Disable drag when the rearrange task is running
...
2) Add the album name to the task name
2009-04-21 18:11:27 +00:00