Bharat Mediratta
dd5471b860
Create and throw the exception, instead of logging. The theory behind
...
exceptions is that they only need to be logged if they can't be caught
and handled. If we don't throw it, then the error gets swallowed and
the code that errored out just blithely continues.
2009-09-28 21:21:05 -07:00
Bharat Mediratta
a0a62a0992
Do a pass on the gallery::find_file and Gallery_View::{script,css} PHPdoc.
2009-09-28 19:30:34 -07:00
Tim Almdal
f9b351559c
Merge branch 'master' of git@github.com:gallery/gallery3
2009-09-28 09:08:07 -07:00
Tim Almdal
28624bb8f1
Update the PHPDoc for gallery::find_file and convert Gallery_View::script/css to use gallery::find_file
2009-09-28 09:04:44 -07:00
Bharat Mediratta
a0d13cd324
Clean up upgrader for version 14. Put {} around table name,
...
capitalize reserved words, use single quotes in the query to avoid
escaping the double quotes, remove table alias.
2009-09-28 08:03:14 -07:00
Chad Kieffer
cec4493545
Don't show bg colors on success and info log messages in the log block shown on the dashboard
2009-09-27 23:14:58 -06:00
Chad Kieffer
bb74d2f360
Merge branch 'master' of github.com:gallery/gallery3
2009-09-27 22:50:04 -06:00
Chad Kieffer
6cd8679dec
Set .gItem height dynamically based on the tallest item in the grid. Addresses ticket #757
2009-09-27 22:49:46 -06:00
Tim Almdal
ab5e680265
Clean up the task initialization for rebuild thumbs and resizes.
2009-09-27 20:31:56 -07:00
Tim Almdal
c97a88599e
Change gallery installer to do a direct update to the database, preppending gallery_graphics:: to each of the defined rules operations
2009-09-27 17:55:48 -07:00
Tim Almdal
467b74c310
This path requires the upgrader to be run and applies the following changes:
...
* moves the composite method back into core
* requires that the operation be fully qualified i.e. gallery_graphics::resize
* caches the graphics rules on each request
2009-09-27 15:24:51 -07:00
Bharat Mediratta
0ab73cd1ad
Fix some whitespace issues.
2009-09-27 11:35:03 -07:00
Bharat Mediratta
7432858420
Fix one more place in the installer where we referring to the old default
...
theme names.
Update installer.sql
2009-09-27 11:25:03 -07:00
Chad Kieffer
8060a8a659
Removed unused toggleClass()
2009-09-26 18:34:04 -06:00
Chad Kieffer
484dd7abaa
Remove IE 8 compatibility mode, it's not really needed after the latest context menu update
2009-09-26 15:50:16 -06:00
Chad Kieffer
7b001c9827
Merge branch 'master' of github.com:gallery/gallery3
2009-09-26 15:44:55 -06:00
Chad Kieffer
d1792ab3e0
Clean up hover effect, move some CSS out of ui.init.js to screen.css. Fix context_menu, it wasn't closing. Fix context_menu in IE7 by putting a bg color on the menu
2009-09-26 15:44:34 -06:00
Chad Kieffer
ef35f09001
Force IE 8 into IE 8 compatiblility mode
2009-09-26 14:28:43 -06:00
jhilden
f5094ede3c
minor improvements to simple uploader
...
* removed CSS from the view to wind/css/screen.css
* started changing CSS classes/IDs to new prefix "g-"
* and more
2009-09-26 13:28:10 -04:00
jhilden
21341d552f
Merge branch 'master' of git@github.com:gallery/gallery3
2009-09-26 11:27:45 -04:00
jhilden
4345e96d1d
first try at improving the upload user experience with the file selection button
2009-09-26 11:27:07 -04:00
Chad Kieffer
0abd6f63bc
Force status message box to fill the full width of the content area
2009-09-24 22:11:36 -06:00
Chad Kieffer
639c9c2d55
Merge branch 'master' of github.com:gallery/gallery3
2009-09-24 22:08:08 -06:00
Tim Almdal
e204e18b3c
Refactor the graphic rules processing to accomplish 2 goals: First separate the grapics library from module supplied rules and secondly, allow for modules to provide new processing rules callbacks. graphics::generate will now look for <module_name>_graphics::<rule> methods.
2009-09-24 20:28:26 -07:00
Tim Almdal
cd240ebaad
Refactored the rebuild_dirty_images handler to simplify the counting and end processing. It was getting all confused with trying to figure out the completed and remaining. Now on initiation it sets the total images that are dirty and then counts the completed until it equals the total, then exits. Fixes ticket #771
2009-09-24 20:06:14 -07:00
Tim Almdal
970158f4d9
Fix unit tests by updating the xss golden file and declaring gallery_error::error_handler as static
2009-09-24 16:59:33 -07:00
Tim Almdal
c51c76dcaa
Fix Admin_View to look for the the variable active_admin_theme instead of active_site_theme. In addition check for the existence of THEMEPATH . instead of theme/
2009-09-24 15:06:40 -07:00
Tim Almdal
59c1c36639
Hopefully the last 2 errant occurrences of default as it relates to theme names
2009-09-24 14:50:30 -07:00
Tim Almdal
8e16cee2c3
Forgot to change the defaults theme names on initial install... Duh
2009-09-24 14:24:43 -07:00
Tim Almdal
054a8dedac
Oops, forgot to change the install version number to match the upgrade version number
2009-09-24 10:28:02 -07:00
Tim Almdal
d727716af7
Change the simple uploader dialog to use the new gallery::find_file api method.
2009-09-23 19:51:46 -07:00
Tim Almdal
8bab030883
Add a new api method gallery::find_file. This wraps the Kohana::find_file function, but allows the extension to supplied as part of the filename. Changed the Edit permission dialog to use the new api method to locate the icons from the active theme.
2009-09-23 19:45:23 -07:00
Tim Almdal
b038e9cbb4
set the version number to 13, so we will update the default themes in the gallery vars
2009-09-23 17:03:25 -07:00
Tim Almdal
65051a4bf7
Rename the default themes to wind and admin_wind. Change xss_data.txt file to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup.
2009-09-23 15:06:17 -07:00
Tim Almdal
3efaf4b1a1
Merge branch 'master' into talmdal_dev
2009-09-23 15:00:32 -07:00
Tim Almdal
719b111219
Correct indentation
2009-09-23 14:38:38 -07:00
Tim Almdal
fed41eae6c
Fix a typo
2009-09-23 12:04:26 -07:00
Tim Almdal
b79129e365
Clone the photo::get_edit_form to the movies helper and use it to generate the movie edit form. Fixes ticket #726 .
2009-09-23 12:02:35 -07:00
Tim Almdal
d3b5562282
Commit cbba45 accidently attached the gallery_ajax widget to gDialogLinks in the admin default theme. This change corrects it
2009-09-23 10:50:32 -07:00
Tim Almdal
bdb6b17bf5
Correct whitespace
2009-09-23 09:09:45 -07:00
Tim Almdal
faee4391a3
Remove a commented line I forgot to take out
2009-09-23 07:12:17 -07:00
Tim Almdal
a24d9d67a6
Merge branch 'master' into talmdal_dev
2009-09-23 07:04:59 -07:00
Chad Kieffer
16c97eb6eb
Convert tabs to spaces
2009-09-22 23:03:48 -06:00
Chad Kieffer
7f066b34c9
Apply thumbnail hover effect to context menu's list items, which holds the menu open in ie6 and ie7 now. Items which appear above the meta data list underneath flicker, though. I'll fix later.
2009-09-22 22:31:05 -06:00
Bharat Mediratta
91c99c9627
Simplify the "unchanged" status message.
2009-09-22 20:36:12 -07:00
Tim Almdal
28060d9dce
Create a gallery error handler that traps php errors and rethrows them as Exceptions. This fixes ticket #763
2009-09-22 14:25:52 -07:00
Tim Almdal
1dc3f375bf
Updated to Exifer r4477. Fixes ticket #763 .
2009-09-22 12:35:40 -07:00
Tim Almdal
2117d7725e
For those that run gallery3 at the top level, include a robots.txt file to exlude gallery3 working directories from index by robots. Fixes #794 - thanks nigel_aves
2009-09-22 12:10:52 -07:00
Tim Almdal
1e7a2f5808
Implement the updated version of gallery3-vendor/exifer which has gettext replaced with calls to the gallery t method to provide translation. Fixes ticket 672.
2009-09-22 11:09:04 -07:00
Tim Almdal
bec620487a
Wrap the login form with a view in order to include a forgot password link. Fixes ticket #620
2009-09-22 09:48:24 -07:00