Commit Graph

12 Commits

Author SHA1 Message Date
Bharat Mediratta
2fbc03437a Digibug simplification cleanup. Upgrade digibug module to version 2.
1) Simplify the admin settings page to what most of our users
   want. Eliminate basic_ and default_ ids.  We just have company_id
   and default_id.  Advanced users can use advanced settings for now.

2) Fix security in print_photos (didn't get it right in my last commit)

3) Use the regular thumb and full urls if the images are publicly
   available to reduce load on the proxy.

4) Simplify proxy expiration code.

5) Eliminate all specialized styles from the admin theme.
2009-06-27 15:55:47 -07:00
Bharat Mediratta
f98b7dc631 Require view_full to print photos. 2009-06-27 14:43:40 -07:00
Tim Almdal
3b873a98d7 Oops changed my mind... when setting to the default just set the value
to null and let the cpmapny and event ids be set in the print_photo controller.
2009-06-25 21:50:37 -07:00
Tim Almdal
e2e1aa0683 1) Rename the basic_company_id and basic_event_id to default_*_id
2) Removed the tabs on the digibug admin page word count is now at 35.
3) Added a default link which resets the event and company id's to gallery's ids
2009-06-25 21:41:54 -07:00
Tim Almdal
5d4d87e957 Remove the digibug maintenance task. Expired imges will be removed when the
print_proxy is run.
2009-06-25 19:58:14 -07:00
Tim Almdal
4502a13a5b 1) rename the model proxy to digibug proxy
2) corresponding table name change to digibug_proxies
3) change the generate of a unique id to md5(rand())
3) Remove the helper function as digibug::uuid is no longer required.
2009-06-25 08:47:16 -07:00
Tim Almdal
40e27e128e Create a maintenance task that allows the administrator to remove any proxy requests
that are still active after 10 days.  Digibug requires that the image be available
for 5 days, so we'll give them an extra 5 days.

Also correct a few issues with the protocol.
2009-06-24 13:11:53 -07:00
Tim Almdal
231ad4f329 This implements the Digibug printing. When a a print request is made the digibug shopping cart is opened in a new
window.  When the cart is emptied, the window is closed. Users can close the window by pressing the continue shopping
button
2009-06-23 22:13:28 -07:00
Tim Almdal
8f443cef3e This change implements the print_proxy method. This method allows a 1 time
security bypass for the remote print processor to retrieve the fullsize image.
2009-06-23 06:06:33 -07:00
Tim Almdal
58d5624e40 This commit moves a little further along the path:
1) moves the print button from the quick pane to thumb_bottom
2) Creates an entry into the proxy table
2009-06-22 21:51:22 -07:00
Tim Almdal
05f8659a7f Fix preamble so tests pass 2009-06-22 06:03:55 -07:00
Tim Almdal
39cf3c2b04 The start of the digibug printing module. The first cut at the administration
panels.  <Caution:> This is still a work in progress.
2009-06-21 08:52:26 -07:00