| Age | Commit message (Collapse) | Author |
|
1) They must all start with "admin_". This pattern is not directly
routable.
2) Their urls must be /admin/xxx.
3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller
and will delegate to that admin controller, after doing security checks.
Moved the users and dashboard views into individual modules for now.
|
|
|
|
|
|
just items viewable by the active user. Ie:
ORM::factory("item")
->where("name", "foo")
->find_all()
Would get all items with the name "foo".
ORM::factory("item")
->viewable()
->where("name", "foo")
->find_all()
Restricts it to just the set of items that the user is allowed to see.
|
|
sessions; it encodes all the value into the cookie which means
little/no security, transfer costs, and storage limits.
|
|
Instead, use the level and the name to get a short list of candidates,
and check each one of those. In most cases, this query should give us
the right result the first time.
|
|
because the leading underscore confuses the Kohana router.
|
|
Item_Model and simplifies
file_proxy. It also means we can stop munging file names in the var/resizes hierarchy.
In the process, rename "thumbnail" to "thumb" everywhere in honor of
Chad (well, ok because it's shorter)..
|
|
protection on var/albums and var/resizes and only displays files to
the user if they have "view" permission on the base ite.
|
|
2) The set watermark dialog is now sizing properly. @todo is recenter in the window
|
|
resulting in
loading all photos in an album on a single page and updating the var on every page load.
|
|
Now you must call ORM::save() after ORM::add() and ORM::remove().
|
|
|
|
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
|
|
|
|
Also the watermark file is now stored in varpath.
and the location is stored in the module vars table
|
|
|
|
|
|
point. This is more of trying out the approach where Forge is not used for forms. Basic html and the Validation library.
|
|
|
|
|
|
2. made the images work properly
|
|
|
|
|
|
|
|
|
|
"page size" in the vars table and initializing when the core module is installed
|
|
issue of generating data before the user class is installed
|
|
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.
|
|
|
|
|
|
|
|
other functionality. This makes our user/group and access code
fully consistent.
|
|
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
|
|
minimize reloading objects from the database.
|
|
|
|
model.
|
|
|
|
|
|
* Guard against errors when uninstalling modules that don't have any code left (eg: carousel)
* Create the var/uploads dir automatically.
|
|
directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php
|
|
|
|
|
|
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
|
|
path. This breaks a bunch of places where we had hardcoded
dependencies, so guard all of those cases. Restructure
module::available() a bit and the way that we do install/uninstall in
the scaffolding.
|
|
|
|
clearer about its actions, otherwise we may accidentally blow away an
entire hierarchy when we think we're deleting a single file (there's a
reason why rm won't let you delete dirs that aren't empty!)
Name it "dir" instead of "directory" because apparently "directory" is
already reserved.
Move the delete call out of Items_Controller and into the model. The
model is responsible for keeping state integrity, not the controller.
|
|
method that deletes a file or an album directory.
Modify Items_Controller::_delete to call this new helper method when deleting an item
|
|
|
|
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.
|