Commit Graph

  • c68a0823b9 Should be ul, not u#gLoginLink Chad Kieffer 2008-12-15 06:17:17 +00:00
  • 1a5da095ae Renamed vars used in dialog init to avoid confusion and conflicts. Chad Kieffer 2008-12-15 06:11:32 +00:00
  • bc40b48729 revert the creation of a global gallery3 javascript variable Tim Almdal 2008-12-15 05:08:22 +00:00
  • 30c6ba48ea Forgot the quotes Tim Almdal 2008-12-15 04:55:09 +00:00
  • e665a21038 Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript Tim Almdal 2008-12-15 04:53:16 +00:00
  • 1cb0268589 Change the label on the watermark form upload element, so the error message is at least somewhat meaningful Tim Almdal 2008-12-15 04:40:09 +00:00
  • 15c22471cc Cleanup watermark.js Tim Almdal 2008-12-15 04:23:57 +00:00
  • 96d906c903 Update Forge to r168 from upstream. Bharat Mediratta 2008-12-15 03:59:03 +00:00
  • b2107c3734 1) Move the deletion of the vars into module::delete helper 2) remove the watermark_add_form.html.php Tim Almdal 2008-12-15 03:49:48 +00:00
  • 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. Chad Kieffer 2008-12-15 02:45:50 +00:00
  • a91492bc29 added missing png file to admin theme Felix Rabinovich 2008-12-15 02:42:30 +00:00
  • e66a31bf45 Change the login form so that the legend is populated Tim Almdal 2008-12-15 02:40:17 +00:00
  • f9906978bf added move handle icon to the sidebar blocks Jakob Hilden 2008-12-15 02:26:59 +00:00
  • 2812f34732 Rename default_admin to admin_default. Bharat Mediratta 2008-12-15 01:55:07 +00:00
  • 2842a1a8be Argh, fix a bad rename. Bharat Mediratta 2008-12-15 01:52:04 +00:00
  • 1127257f63 Rename default_admin to admin_default. Bharat Mediratta 2008-12-15 01:50:52 +00:00
  • 20f6be62c8 Add Admin_View Bharat Mediratta 2008-12-15 01:49:25 +00:00
  • ac8bb530c2 Add proper preamble Bharat Mediratta 2008-12-15 01:49:15 +00:00
  • c02d2554cf Refactor admin dashboard. Bharat Mediratta 2008-12-15 01:48:34 +00:00
  • 19e75b1e2e mark unauthorized exception w/ a @todo Bharat Mediratta 2008-12-15 00:37:31 +00:00
  • 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 Tim Almdal 2008-12-14 23:53:30 +00:00
  • c46bd97407 load admin subpages AJAXy way Felix Rabinovich 2008-12-14 21:50:10 +00:00
  • b7487e384d convert single quotes to double quotes for consistency. Bharat Mediratta 2008-12-14 21:39:56 +00:00
  • 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. Tim Almdal 2008-12-14 19:43:04 +00:00
  • 7fa014ae61 refactored admin views and added 'List User' Felix Rabinovich 2008-12-14 07:59:24 +00:00
  • 8b81731846 clean the links and require authorization before showing admin pages Felix Rabinovich 2008-12-14 04:39:22 +00:00
  • cb92d1a70d 1. fix up the <link> and <script> elements in the dashboard <head>. 2. made the images work properly Felix Rabinovich 2008-12-14 04:16:38 +00:00
  • 1c279887aa Should be get_var not set_var Tim Almdal 2008-12-14 03:48:32 +00:00
  • 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) Tim Almdal 2008-12-14 03:19:31 +00:00
  • 23343fc4f6 Revert accidental commit Felix Rabinovich 2008-12-14 02:46:28 +00:00
  • 34c9aa52b8 Fixed tabs and line endings Felix Rabinovich 2008-12-14 02:45:07 +00:00
  • 13ad40ab5c Created admin controller and made admin obey admin theme settings Felix Rabinovich 2008-12-14 02:23:37 +00:00
  • c322f1fe4c Removed call to jquery.dimension Chad Kieffer 2008-12-14 00:15:23 +00:00
  • aa81669ec5 Removed jquery.dimension. It's methods are part of jquery core. Chad Kieffer 2008-12-14 00:14:11 +00:00
  • a56c118d44 Sidebar and comment white space and text size updates. Chad Kieffer 2008-12-13 23:38:49 +00:00
  • 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. Chad Kieffer 2008-12-13 23:02:16 +00:00
  • af8c74f612 Fix a bug where parent permissions were not getting inherited to newly created albums and photos. Bharat Mediratta 2008-12-13 20:06:20 +00:00
  • d480778108 Don't have to check if the item is loaded now, access::can will guard against unloaded items Bharat Mediratta 2008-12-13 19:49:58 +00:00
  • 8ba5ea3cf8 Make sure that access::can fails if the item is not loaded Bharat Mediratta 2008-12-13 19:49:33 +00:00
  • 65e237a59a Fix security pattern. We can't successfully call access::can unless the item is loaded. Bharat Mediratta 2008-12-13 09:53:36 +00:00
  • ee688d1f37 Reload modules *after* we blow away the database to flush out caches Bharat Mediratta 2008-12-13 08:37:41 +00:00
  • e7a763a8c2 Add permission check on the tag add controller, in case some bypasses the view and tries to access the controller directly. Tim Almdal 2008-12-13 08:27:14 +00:00
  • 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 Tim Almdal 2008-12-13 07:49:27 +00:00
  • 80792d4fb1 Set the resize and thumbnail maximum dimension into the module vars table Tim Almdal 2008-12-13 05:01:12 +00:00
  • 7b7bf37e67 Set thumbnails to 200x200 and resizes to 640x640 and let the Image::resize method pick the right aspect ratio Tim Almdal 2008-12-13 04:12:40 +00:00
  • ec5b8dabed Whoops. Missed this in the last commit. Chad Kieffer 2008-12-13 02:48:59 +00:00
  • cc9aa9e72c Admin menu now similar to Wordpress admin menu. Chad Kieffer 2008-12-13 01:48:35 +00:00
  • 8f4fec1f3d Change the check from class_exists to module::is_installed Tim Almdal 2008-12-12 23:02:53 +00:00
  • 43e626f99e Change the resize option on creating thumbnails and resizes to Image::AUTO which will preserve the aspect ratio of the original image Tim Almdal 2008-12-12 21:37:11 +00:00
  • 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 Tim Almdal 2008-12-12 19:39:38 +00:00
  • 7715aa9c64 If the user class doesn't exist, then just set the owner_id to null. Another issue of generating data before the user class is installed Tim Almdal 2008-12-12 19:36:07 +00:00
  • 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. Bharat Mediratta 2008-12-12 08:41:48 +00:00
  • 7e4d13d9bd Point the Site Admin link at the wireframe for now. Bharat Mediratta 2008-12-12 08:00:07 +00:00
  • 597cc0013c Make the error handler public, else it can't be called from outside this class (which is the most likely scenario). Bharat Mediratta 2008-12-12 07:55:19 +00:00
  • 79226f0a8f Cache modules and module_names when we call load_modules so that we don't have to check every time Bharat Mediratta 2008-12-12 07:53:54 +00:00
  • 6ef284ac40 Dashboard protoype updates: Added welcome/general info block, logo, login menu, link to view gallery, close links for blocks, changed Logs to Statistics, and upped the font size. Chad Kieffer 2008-12-12 07:47:25 +00:00
  • a0415afc1d Use restore_error_handler() instead of a second set_error_handler() call Bharat Mediratta 2008-12-12 07:44:19 +00:00
  • 187f28a6b3 Yet another deal with bootstrapping when we've got no core install yet. Bharat Mediratta 2008-12-12 07:42:26 +00:00
  • 2fb94444d9 Randomly choose images from core/tests/images as test images Tim Almdal 2008-12-12 07:40:53 +00:00
  • e65f8d5022 Remove head() for now. Bharat Mediratta 2008-12-12 07:25:43 +00:00
  • 11d4e2d725 Don't show the access tab if the user module isn't installed Bharat Mediratta 2008-12-12 07:12:48 +00:00
  • 6fd19dedbc Remove local_import directory Tim Almdal 2008-12-12 07:10:48 +00:00
  • 54d27238f3 Fix module::_core_installed() hack. Bharat Mediratta 2008-12-12 07:09:00 +00:00
  • a3142246e4 Move the view permission cache directly into the item table for efficiency. Unit tests ftw! Bharat Mediratta 2008-12-12 06:54:48 +00:00
  • ffbb164934 New scaffold images. Landscape, portrait, square. Chad Kieffer 2008-12-12 06:54:30 +00:00
  • 8b3989b063 Add user::guest() convenience function Bharat Mediratta 2008-12-12 06:54:13 +00:00
  • b54b34ed78 Pass list of test dirs into Unit_Test::_constructor() as an argument instead of modifying the config. Bharat Mediratta 2008-12-12 05:39:06 +00:00
  • 987814cac2 Missed this on the last commit. (Menu updates and added Gallery Info block for admin dashboard prototype.) Chad Kieffer 2008-12-12 05:12:11 +00:00
  • 732e43747f Apply padding-left to avoid overlap of text on message type icons. Menu updates and added Gallery Info block for admin dashboard prototype. Chad Kieffer 2008-12-12 05:09:35 +00:00
  • 697c2503ae Add support for filtering tests down to the Class::method level. Bharat Mediratta 2008-12-12 05:02:44 +00:00
  • b202816324 Remove the attempt at a local import module Tim Almdal 2008-12-12 01:46:43 +00:00
  • 35067cbced Expand on our core-is-installed checking code. Bharat Mediratta 2008-12-12 01:22:03 +00:00
  • 63f6e037a7 Keep .gError and other message type classes from wallpapering bg icons on form and form child elements. Chad Kieffer 2008-12-12 01:08:25 +00:00
  • 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. Bharat Mediratta 2008-12-12 00:59:30 +00:00
  • 0f41cab732 Guard load_modules() against the case that the database isn't installed. Bharat Mediratta 2008-12-11 23:10:42 +00:00
  • bd992a97b2 Remove the options menus from the albums and photo pages and move to the site menu Tim Almdal 2008-12-11 21:27:16 +00:00
  • bf10544e27 Destroy the popup dialog when it closes so there is nothing hanging around and we can reuse it for a different popup Tim Almdal 2008-12-11 20:47:09 +00:00
  • faeb52e7f4 remove the <span class="ui-tabs-nav"> from arround the site menu. It was clashing with the superfish styling. Tim Almdal 2008-12-11 19:22:38 +00:00
  • bcd10e4a7f Convert a stray <li> to </li> Bharat Mediratta 2008-12-11 19:12:41 +00:00
  • 914164d5eb Split _update_access_cache into two functions separating view from non-view. This is a step along the path towards moving the view access cache into the item model. Bharat Mediratta 2008-12-11 19:06:40 +00:00
  • 1af3b8e100 Changes to the Menu.php: 1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively. 2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added. 3) Use Superfish for the menus so they now float properly. Tim Almdal 2008-12-11 19:01:47 +00:00
  • f3d40c02ec A a script block to the <head> of the page that creates a javascript variable (base_url) such that javascript on the page can find the base url of the site in order to generate ajax callbacks. Tim Almdal 2008-12-11 18:53:54 +00:00
  • f5b63e5261 Fix preambles Bharat Mediratta 2008-12-11 18:31:02 +00:00
  • 5e196e5a37 This file got left behind and is lonely Tim Almdal 2008-12-11 17:22:40 +00:00
  • 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. Tim Almdal 2008-12-11 17:20:55 +00:00
  • 773d7024eb Correct test Tim Almdal 2008-12-11 16:09:49 +00:00
  • e84a0ebe46 Change the name of the implmentation of module parameters to module vars Tim Almdal 2008-12-11 16:06:22 +00:00
  • fa86be7df4 whee, more ascii art Bharat Mediratta 2008-12-11 08:26:27 +00:00
  • c2ce81ba30 In progress admin dashboard prototype. Chad Kieffer 2008-12-11 06:38:26 +00:00
  • 53aabb7cfc Fixed message spacing, removed borders for .gMessages Chad Kieffer 2008-12-11 01:26:26 +00:00
  • 2eac9119f7 Added status message styles, container (.gMessages) and message types complete with icons for message types ( .gSuccess, .gError, .gWarning, .gInfo, .gHelp). Chad Kieffer 2008-12-11 01:15:48 +00:00
  • 16b9f6ab22 Add the base url to the rearrange ajax call back script Tim Almdal 2008-12-11 00:40:44 +00:00
  • 52ed3f11fd Fix problem with access::can, where the $item->id was being passed to the access_group::can method. Tim Almdal 2008-12-10 22:19:39 +00:00
  • 7e5935d532 Create a module parameter table. This will be useful if a module wants to store information, but is not enough to warrant a table of its own Tim Almdal 2008-12-10 19:44:58 +00:00
  • 18a6614a11 Change all access API methods to take ORMs instead of ids. This will minimize reloading objects from the database. Bharat Mediratta 2008-12-10 07:05:49 +00:00
  • 09364348c7 Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code Bharat Mediratta 2008-12-10 04:25:20 +00:00
  • f198331065 Put profiler into page_bottom() Bharat Mediratta 2008-12-10 04:23:48 +00:00
  • 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. Tim Almdal 2008-12-09 17:02:06 +00:00
  • 4a0e4b798e Check view permissions before allowing view access to albums/photos. Bharat Mediratta 2008-12-09 10:14:09 +00:00
  • e62103b8d9 Move code to delete users and add/remove users from groups into the model. Bharat Mediratta 2008-12-09 08:47:30 +00:00