Bharat Mediratta
628058b4ed
Refresh from kohana svn trunk r3771
2008-12-15 08:52:32 +00:00
Bharat Mediratta
31759cb3b3
Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh
...
them properly from the vendor branch.
2008-12-15 08:37:09 +00:00
Bharat Mediratta
e73bd90285
Convert tabs to spaces
2008-12-15 08:35:46 +00:00
Bharat Mediratta
011fe8bc93
Get rid of windows line endings
2008-12-15 08:35:30 +00:00
Chad Kieffer
cf47b3d45c
Fix that rascal IE. Added conditional HTML comment to use fix-ie.css for IE7 and earlier. Fixed bg images in album/item view buttons, IE 6/7 don't appear to handle background-position: center center :(
2008-12-15 07:08:13 +00:00
Tim Almdal
20d5f45218
Fix the reference to jquery-ui.packed.js
2008-12-15 06:37:56 +00:00
Chad Kieffer
c68a0823b9
Should be ul, not u#gLoginLink
2008-12-15 06:17:17 +00:00
Chad Kieffer
1a5da095ae
Renamed vars used in dialog init to avoid confusion and conflicts.
2008-12-15 06:11:32 +00:00
Tim Almdal
bc40b48729
revert the creation of a global gallery3 javascript variable
2008-12-15 05:08:22 +00:00
Tim Almdal
30c6ba48ea
Forgot the quotes
2008-12-15 04:55:09 +00:00
Tim Almdal
e665a21038
Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript
2008-12-15 04:53:16 +00:00
Tim Almdal
1cb0268589
Change the label on the watermark form upload element, so the error message is at least somewhat meaningful
2008-12-15 04:40:09 +00:00
Tim Almdal
15c22471cc
Cleanup watermark.js
2008-12-15 04:23:57 +00:00
Bharat Mediratta
96d906c903
Update Forge to r168 from upstream.
...
Resolves these issues:
http://code.google.com/p/kohanamodules/issues/detail?id=6
http://code.google.com/p/kohanamodules/issues/detail?id=7
2008-12-15 03:59:03 +00:00
Tim Almdal
b2107c3734
1) Move the deletion of the vars into module::delete helper
...
2) remove the watermark_add_form.html.php
2008-12-15 03:49:48 +00:00
Chad Kieffer
119344d9db
Switched login display from display in the header to a dialog. Validation errors don't display on first failed attempt, will fix later. Moved jquery js, images, css out to respective folders.
2008-12-15 02:45:50 +00:00
Felix Rabinovich
a91492bc29
added missing png file to admin theme
2008-12-15 02:42:30 +00:00
Tim Almdal
e66a31bf45
Change the login form so that the legend is populated
2008-12-15 02:40:17 +00:00
Jakob Hilden
f9906978bf
added move handle icon to the sidebar blocks
2008-12-15 02:26:59 +00:00
Bharat Mediratta
2812f34732
Rename default_admin to admin_default.
2008-12-15 01:55:07 +00:00
Bharat Mediratta
2842a1a8be
Argh, fix a bad rename.
2008-12-15 01:52:04 +00:00
Bharat Mediratta
1127257f63
Rename default_admin to admin_default.
2008-12-15 01:50:52 +00:00
Bharat Mediratta
20f6be62c8
Add Admin_View
2008-12-15 01:49:25 +00:00
Bharat Mediratta
ac8bb530c2
Add proper preamble
2008-12-15 01:49:15 +00:00
Bharat Mediratta
c02d2554cf
Refactor admin dashboard.
...
o Copy all the assets from default to default_admin so that they're
totally separate
o Get rid of $item_theme
o Rename list_users.html.php to users.html.php
o use __call in admin controller to allow us to load any admin page
2008-12-15 01:48:34 +00:00
Bharat Mediratta
19e75b1e2e
mark unauthorized exception w/ a @todo
2008-12-15 00:37:31 +00:00
Tim Almdal
db7e60da32
Change the watermark module to use forge.
...
Also the watermark file is now stored in varpath.
and the location is stored in the module vars table
2008-12-14 23:53:30 +00:00
Felix Rabinovich
c46bd97407
load admin subpages AJAXy way
2008-12-14 21:50:10 +00:00
Bharat Mediratta
b7487e384d
convert single quotes to double quotes for consistency.
2008-12-14 21:39:56 +00:00
Tim Almdal
4b4e9e8e45
The start of the watermark module. It doesn't save the watermark at this point. This is more of trying out the approach where Forge is not used for forms. Basic html and the Validation library.
2008-12-14 19:43:04 +00:00
Felix Rabinovich
7fa014ae61
refactored admin views and added 'List User'
2008-12-14 07:59:24 +00:00
Felix Rabinovich
8b81731846
clean the links and require authorization before showing admin pages
2008-12-14 04:39:22 +00:00
Felix Rabinovich
cb92d1a70d
1. fix up the <link> and <script> elements in the dashboard <head>.
...
2. made the images work properly
2008-12-14 04:16:38 +00:00
Tim Almdal
1c279887aa
Should be get_var not set_var
2008-12-14 03:48:32 +00:00
Tim Almdal
fc1e7a9333
1) fix Forge_Group to display the label (will raise a bug with Kohana)
...
2) Change form.html.php to use the group label instead of the name
3) Converted the add photo to explicity set the label of the field (new coding standard)
2008-12-14 03:19:31 +00:00
Felix Rabinovich
23343fc4f6
Revert accidental commit
2008-12-14 02:46:28 +00:00
Felix Rabinovich
34c9aa52b8
Fixed tabs and line endings
2008-12-14 02:45:07 +00:00
Felix Rabinovich
13ad40ab5c
Created admin controller and made admin obey admin theme settings
2008-12-14 02:23:37 +00:00
Chad Kieffer
c322f1fe4c
Removed call to jquery.dimension
2008-12-14 00:15:23 +00:00
Chad Kieffer
aa81669ec5
Removed jquery.dimension. It's methods are part of jquery core.
2008-12-14 00:14:11 +00:00
Chad Kieffer
a56c118d44
Sidebar and comment white space and text size updates.
2008-12-13 23:38:49 +00:00
Chad Kieffer
92102c891c
Layout cleanup and simplification. Move view-mode buttons into sidebar, search to header_top. Reduced borders. Started album grid improvements. Minor white space improvements. Still need to handle text/photo alignment in album grid, improve placement of search.
2008-12-13 23:02:16 +00:00
Bharat Mediratta
af8c74f612
Fix a bug where parent permissions were not getting inherited to newly
...
created albums and photos.
2008-12-13 20:06:20 +00:00
Bharat Mediratta
d480778108
Don't have to check if the item is loaded now, access::can will guard against unloaded items
2008-12-13 19:49:58 +00:00
Bharat Mediratta
8ba5ea3cf8
Make sure that access::can fails if the item is not loaded
2008-12-13 19:49:33 +00:00
Bharat Mediratta
65e237a59a
Fix security pattern. We can't successfully call access::can unless the item is loaded.
2008-12-13 09:53:36 +00:00
Bharat Mediratta
ee688d1f37
Reload modules *after* we blow away the database to flush out caches
2008-12-13 08:37:41 +00:00
Tim Almdal
e7a763a8c2
Add permission check on the tag add controller, in case some bypasses the view and tries to access the controller directly.
2008-12-13 08:27:14 +00:00
Tim Almdal
fc3fd3321d
Add a permissions check to determine if the active user has edit permission on the item in order to display the tag add form
2008-12-13 07:49:27 +00:00
Tim Almdal
80792d4fb1
Set the resize and thumbnail maximum dimension into the module vars table
2008-12-13 05:01:12 +00:00