Commit Graph

273 Commits

Author SHA1 Message Date
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
Bharat Mediratta
b878ed174d Refactor Menu code to create allow you to create menus using a
chainable factory interface and retrieve them by ids.  Streamlined the
HTML creation code a little bit in the process, moved the basic menu
functionality into Theme_View and created the option to have different
menus other than site_navigation().
2008-12-08 06:14:34 +00:00
Felix Rabinovich
655581f3c9 Show unit test errors as text; not as html 2008-12-08 05:19:21 +00:00
Tim Almdal
ee2299d6d0 Restructure Menu processing to respect the differnent types of menu items (Menu's, Menu_Link, Menu_Dialog) 2008-12-08 00:23:33 +00:00
Tim Almdal
e518dafb19 1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>.  If $input->class is empty then treat as a hidden field.
2008-12-07 21:24:50 +00:00
Tim Almdal
954fcf0342 Merge gallery3/branches/menus back into gallery3/trunk 2008-12-07 19:45:46 +00:00
Tim Almdal
b409a376f3 1) Change the photo description field to a text area
2) Added a 'type' data element to both forge/Form_Textarea and forge/Form_Upload

The second change allows the drawForm to correctly render both of these elements enclosed in a <li>...</li> html blocl
2008-12-07 17:09:21 +00:00
Bharat Mediratta
055aa04497 Rename moveTo to move_to and extend the test a bit. 2008-12-07 08:23:22 +00:00
Chad Kieffer
9bfeb413ab Added title attribute. 2008-12-07 01:28:37 +00:00
Chad Kieffer
adfe664d96 Removed tabs, todo, added description 2008-12-06 23:28:26 +00:00
Chad Kieffer
dca3cd2e8d Switch the slideshow link from text to icon. 2008-12-06 17:18:55 +00:00
Tim Almdal
611b8f44ed Add firing comment_added and comment_updated events 2008-12-06 06:10:15 +00:00
Chad Kieffer
69f48d37c3 Removing carousel. Slideshow and planned album views should cover this functionality 2008-12-05 06:22:51 +00:00
Chad Kieffer
0d1c040605 Don't need to pass the event, it's not used. 2008-12-05 06:01:44 +00:00
Tim Almdal
0f103b1c06 Moving albums around with a drag and drop interface seems to work and preserve the left right pointers.
* changed _lock and _unlock to protected methods lock and lock respectively
* added a moveTo method on the Item_Model
* Corrected the hole closure  on delete.
* added moveTo on the ORM_MTPP class
* Changed the rearrange javascript to do moves with ajax
2008-12-04 20:05:58 +00:00
Bharat Mediratta
80a7db61c9 Fix up the test framework to work now that we're only loading installed modules
via the autoloader.
2008-12-04 08:17:57 +00:00
Tim Almdal
deafa2f912 remove unused ->root 2008-12-04 06:43:16 +00:00
Tim Almdal
1ae3ed7e3b Get rid of the rearrange helper as the code could be inlined 2008-12-04 06:36:14 +00:00
Tim Almdal
b9a0843d86 Remove an resemblence to a RESTful controller from Rearrange_Controller 2008-12-04 06:28:42 +00:00
Bharat Mediratta
c67a4f485d style updates 2008-12-04 05:54:26 +00:00
Bharat Mediratta
03bc3c281e Make sure that we always run teardown, even when the test throws an exception 2008-12-03 19:09:16 +00:00
Tim Almdal
1e647c2a03 Drag and drop seems to work in the rearrange module 2008-12-03 18:14:15 +00:00
Bharat Mediratta
53664787d4 Add a filter to unit tests. Now you can do 'php index.php Album_Helper_Test Photo_Helper_Test' to just run those two 2008-12-03 06:00:30 +00:00
Bharat Mediratta
a4494b9f9a Put the output in pretty ASCII boxes. 2008-12-03 05:15:03 +00:00
Bharat Mediratta
7f9b765571 Fix errors in the preamble 2008-12-03 03:53:46 +00:00
Bharat Mediratta
844e5573f0 Make sure that the dev is not using the same db for tests as they are for production (this one's for you, valiant!) 2008-12-03 03:49:45 +00:00
Bharat Mediratta
705698a425 Drop the database and rm -rf test/var instead of calling uninstall on
all modules.  This guarantees a clean start w/out worrying about
weirdness in the uninstaller code.
2008-12-03 03:44:48 +00:00
Bharat Mediratta
6f959deed9 Rename generic test.php to gallery_unit_test.php to make navigation to this file a little easier 2008-12-03 03:23:30 +00:00
Bharat Mediratta
0e752790a3 Removed per jozefs 2008-12-02 21:41:07 +00:00
Tim Almdal
3953dde2c6 The rearrange module will now add an album if you drag the "new album" onto the album tree. I haven't had a chance to figure out why the form does get any styling or why a textarea is no included as a list item. 2008-12-02 21:25:15 +00:00
Bharat Mediratta
9f1f10c4dd Turn <div/> into <div></div> to make Chrome happy. 2008-12-01 23:46:43 +00:00
Bharat Mediratta
77f9e81fac Add missing closing > 2008-12-01 23:44:14 +00:00
Tim Almdal
6459f167fd Drag and Drop is starting to work. You can drag the New Album over any of the directorys and it will be allowed. Drag anything over New Album and it will return. You can drag an tree item except the root over the delete icon and it will be accepted. Now I need to build the ajax and server side functionality the at allows this to all work. 2008-12-01 23:14:26 +00:00
Tim Almdal
92563f813e Fix the fact that the tree wouldn't show up... just a wee bit overly aggressive in cleaning up what i thought was unused files 2008-12-01 21:35:09 +00:00
Tim Almdal
0ebd4f6b28 New Rearrange gui based on jqueryFileTree (http://www.abeautifulsite.net/notebook.php?article=58). I like the look of this one better. Still need to implement the drag and drop functionality. 2008-12-01 20:54:25 +00:00
Bharat Mediratta
91c4bda1ec Prototype access control model. There's much left to do, but it's a
working implementation.
2008-12-01 08:50:00 +00:00
Chad Kieffer
26a512c352 Grouped inline form styles. No longer using gInline class in favor of specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup. 2008-12-01 01:55:50 +00:00