Tim Almdal
52ecdcdff2
Implemented a Database driver for the Kohana Cache library. Rather then writing our own caching algorithm, we can leverage the Kohana library. This has the added advantage of allowing the administrator to replace the default caching with a 3rd party caching algorithm.
2009-06-27 23:24:23 -07:00
Tim Almdal
4707a97b82
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-27 16:57:38 -07:00
Bharat Mediratta
76f688a070
Clean up poor english. Use the latest recaptcha info from their website. Fixes ticket #470 .
2009-06-27 16:41:05 -07:00
Bharat Mediratta
aad0dd357f
Create a new thumb_menu() and convert Digibug over to use it.
...
1) Eliminate digibug_album.html
2) Get rid of the $(document).ready() in digibug.js and rename popUp() to
digibug_popup() then just make direct calls to digibug_popup() in the
menu urls.
2009-06-27 16:29:09 -07:00
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
Bharat Mediratta
6a8dc91f9f
Remove empty upgrade().
2009-06-27 14:35:53 -07:00
Bharat Mediratta
3ab6f2ed4b
Remove unnecessary curly braces.
2009-06-27 14:35:16 -07:00
Bharat Mediratta
e78f91c91a
Fix XSS vulnerability, get rid of unnecessary curly braces.
2009-06-27 14:29:58 -07:00
Bharat Mediratta
bbba0a67c2
Fix formatting.
2009-06-27 14:29:24 -07:00
Tim Almdal
11f08ee439
Implement the combined javascript controller.
2009-06-26 21:42:02 -07:00
Tim Almdal
4cec020163
Create a theme_view function script which allows modules in the head or admin_head functions to specify javascript files that are required for this page.
...
In this commit, these script files are expressed at the end of the head or admin_head calls and appended to the beginning of the block stack. In a future commit these will be combined and gzipped for download.
2009-06-26 14:37:15 -07:00
Tim Almdal
84e98e830c
Move the inclusion of photo and movie specific javascript into gallery_theme
2009-06-26 08:25:24 -07:00
Tim Almdal
f3e45d49a3
Change the movie controller to set the page type to "movie". Ticket #467
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-26 23:19:42 +08:00
Tim Almdal
f4778699fc
Change the movie controller to set the page type to "movie". Ticket #467
2009-06-26 08:19:06 -07:00
Tim Almdal
42a5bd20a5
1) Move the generation of script tags to gallery_theme::head and gallery_theme::admin_head. This allows us to potentially manage the scripts like we do in g2 (single file and compressed)
...
2) Change Theme_View::_call to always call the gallery_theme::$function first.
2009-06-26 07:51:29 -07:00
Tim Almdal
eee8dbe511
No longer need to set the digibug mode in the installer.
2009-06-25 21:53:47 -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
1552f0fff7
Add XSS clean up on the title that is sent to digibug as part of the print
...
request
2009-06-25 21:41:09 -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
93e4f14c85
1) Fix potential XSS in digibug_album.html.php
...
2) Fix case of text
2009-06-25 19:04:45 -07:00
Tim Almdal
28f496924f
Fix indentation in digibug_form.html.php
2009-06-25 18:38:43 -07:00
Tim Almdal
4d191b5e92
Refactor the digibug installer to the new structure of install and upgrade methods
2009-06-25 18:35:02 -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
d9e4ad79bb
1) Move the digibug css in the default and admin_default themes
...
2) Remove most of the marketing cruft on the admin pages
3) Change the name of the admin settings to just Digibug
4) Remove the "switch on mouseover" approach
2009-06-25 08:14:34 -07:00
Chad Kieffer
f70517a8e8
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-24 23:40:57 -06:00
Bharat Mediratta
7347d1e50d
Use ENT_QUOTEs when decoding the $current_uri otherwise apostrophes
...
are treated as ' which doesn't match in our relative_path_cache.
2009-06-24 21:34:07 -07:00
Bharat Mediratta
4384b67be1
Comment out [reply] and [edit] links because they're not implemented
...
yet. This closes ticket #416 , and I'll open a new ticket to implement
these functions.
2009-06-24 21:30:48 -07:00
Bharat Mediratta
abbecb9e7e
Look in /opt/local/bin for binaries, too.
...
Fixes ticket #423 .
2009-06-24 21:19:05 -07:00
Tim Almdal
292d216f7c
Implement printing support on the photo page. I've used an icon that doesn't
...
quite match the theme temporarily. I'm hoping to have a matching icon soon.
2009-06-24 18:02:36 -07:00
Chad Kieffer
043469587e
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-24 17:49:06 -06:00
Tim Almdal
f56d372629
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-24 13:14:04 -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
0062f8a24a
Add a timestamp column to the proxies table.
2009-06-24 05:47:58 -07:00
Tim Almdal
0e8164e24e
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-24 05:31:28 -07:00
Chad Kieffer
c37fc39152
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-23 23:56:05 -06:00
Chad Kieffer
200e17c884
Use gMessage for "no paths defined" status message.
2009-06-23 23:44:08 -06: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
Bharat Mediratta
e44053f692
Cache the page_type in pane() instead of looking it up twice.
2009-06-23 21:42:25 -07:00
Bharat Mediratta
f9dbd4eb2f
Fix broken rotate urls.
2009-06-23 21:31:58 -07:00
Bharat Mediratta
d01c3d2373
Remove stray ? that was breaking ccw rotation.
2009-06-23 21:27:17 -07:00
Bharat Mediratta
53284ec5b8
Add support for Gallery 2.2.2 style bootstrap syntax.
2009-06-23 18:39:00 -07:00
Bharat Mediratta
9a0448e5d6
Add gDialogLink to the delete button, since its got a jQuery
...
confirmation dialog now. This was a regression in
fa4bb5b7ac .
Fixes ticket #459 .
2009-06-23 17:25:59 -07:00
Bharat Mediratta
2a190660ba
Gracefully handle the case when the gallery2 instances moves somewhere
...
else (or gets deleted).
Fixes ticket #458
2009-06-23 17:09:37 -07:00
Bharat Mediratta
b9b68e0952
Add a new "show credits" check box in the theme options so that you
...
can disable any module credits if you want. Update the theme to obey
it.
2009-06-23 16:05:32 -07:00
Tim Almdal
79522bd4f3
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-23 15:17:03 -07:00
Romain LE DISEZ
da09185a4b
SQL is case insensitive
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-24 06:05:56 +08:00
Romain LE DISEZ
297ac6ebd1
Improve compatibility with other RDBMS
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-24 06:05:48 +08:00
Bharat Mediratta
ba7163bd30
Fix get_position() to properly deal with duplicate values in the sort column. Fixes #389
2009-06-23 14:50:41 -07:00