Commit Graph

309 Commits

Author SHA1 Message Date
Tim Almdal
92e6ed8a8a Start of the dialog to specify the watermark placement. For convience, using the imagemagik nomicalture regarding watermark locations (east, west, center, etc.)
You can drag the watermark around but it doesn't stay in place.
Need to figure out how to resize the dialog box

and all of the supporting javascript
2008-12-15 23:08:18 +00:00
Bharat Mediratta
b6363bcb03 Update to reflect changes in Kohana ORM relationship code.
Now you must call ORM::save() after ORM::add() and ORM::remove().
2008-12-15 20:49:05 +00:00
Bharat Mediratta
3ae6ae53e6 (merge of vendor/kohana/modified/modules/unit_test r19226) Re-add english versions of unit test messages 2008-12-15 10:09:42 +00:00
Bharat Mediratta
3131662c19 Reapply r19116:
Add support for filtering tests down to the Class::method level.

Upstream ticket:
  http://dev.kohanaphp.com/ticket/961
2008-12-15 09:51:48 +00:00
Bharat Mediratta
b5e6f79f5f Reapply patch to make tests always call teardown.
Upstream ticket:
  http://dev.kohanaphp.com/ticket/960
2008-12-15 09:45:55 +00:00
Bharat Mediratta
93977e579c Refresh of Forge r168 from vendor/forge/modified 2008-12-15 09:22:32 +00:00
Bharat Mediratta
4fe895a2c4 Delete forge in preparation to refresh it from vendors/forge/modified 2008-12-15 09:21:44 +00:00
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
Tim Almdal
20d5f45218 Fix the reference to jquery-ui.packed.js 2008-12-15 06:37:56 +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
Tim Almdal
e66a31bf45 Change the login form so that the legend is populated 2008-12-15 02:40:17 +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
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
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
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
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
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
942dbe175c Remove a couple of todo's by store the "theme name", "admin theme name" and "page size" in the vars table and initializing when the core module is installed 2008-12-12 19:39:38 +00:00
Bharat Mediratta
e12451cf10 Refaactor module::install() and module::uninstall() out of the
scaffolding and unit test code so that we can use it consistently.
This fixes an issue where adding a module was not refreshing the
statically cached module list causing the test framework to break.
2008-12-12 08:41:48 +00:00
Bharat Mediratta
a3142246e4 Move the view permission cache directly into the item table for efficiency. Unit tests ftw! 2008-12-12 06:54:48 +00:00
Bharat Mediratta
8b3989b063 Add user::guest() convenience function 2008-12-12 06:54:13 +00:00
Bharat Mediratta
b54b34ed78 Pass list of test dirs into Unit_Test::_constructor() as an argument
instead of modifying the config.
2008-12-12 05:39:06 +00:00
Bharat Mediratta
697c2503ae Add support for filtering tests down to the Class::method level. 2008-12-12 05:02:44 +00:00
Tim Almdal
b202816324 Remove the attempt at a local import module 2008-12-12 01:46:43 +00:00
Bharat Mediratta
2cf3233f54 Get rid of all pseudo users and pseudo groups, while preserving all
other functionality.  This makes our user/group and access code
fully consistent.
2008-12-12 00:59:30 +00:00
Tim Almdal
bd992a97b2 Remove the options menus from the albums and photo pages and move to the site menu 2008-12-11 21:27:16 +00:00
Bharat Mediratta
f5b63e5261 Fix preambles 2008-12-11 18:31:02 +00:00
Tim Almdal
5e196e5a37 This file got left behind and is lonely 2008-12-11 17:22:40 +00:00
Tim Almdal
e1f2a5d4e6 1) Begins the creation of the local import module by adding the administation component to the scaffolding Actions tab. The importing functionality will follow shortly.
2) Defines a routining pattern for module administration controllers.  URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
2008-12-11 17:20:55 +00:00
Bharat Mediratta
fa86be7df4 whee, more ascii art 2008-12-11 08:26:27 +00:00
Tim Almdal
16b9f6ab22 Add the base url to the rearrange ajax call back script 2008-12-11 00:40:44 +00:00
Bharat Mediratta
09364348c7 Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code 2008-12-10 04:25:20 +00:00
Tim Almdal
5ebd0854be Combine all the ui.jquery files into a single packed file at version (1.6rc2) copied from the the corresponding vendor branch.
Move into the application/lib directory and remove from the theme.
Remove the ui.jquery javascript from the rearrange module and use the common library.
2008-12-09 17:02:06 +00:00
Bharat Mediratta
e62103b8d9 Move code to delete users and add/remove users from groups into the
model.
2008-12-09 08:47:30 +00:00
Chad Kieffer
2fbd4c09e6 Checked in jQuery superfish menu plugin, applied to item options menu. Updated album/item view icons. 2008-12-09 06:40:20 +00:00
Bharat Mediratta
f69f3967ea move user::delete() to User_Model::delete() 2008-12-09 00:07:26 +00:00
Bharat Mediratta
b0f39497b4 Some minor beautification. 2008-12-08 08:32:44 +00:00
Felix Rabinovich
fb93722e9e moved erro page from unit_test to gallery_unit_test 2008-12-08 08:27:13 +00:00
Felix Rabinovich
0a0852328a moved erro page from unit_test to gallery_unit_test 2008-12-08 08:24:01 +00:00