Commit Graph

63 Commits

Author SHA1 Message Date
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
Bharat Mediratta
11d4e2d725 Don't show the access tab if the user module isn't installed 2008-12-12 07:12:48 +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
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
18a6614a11 Change all access API methods to take ORMs instead of ids. This will
minimize reloading objects from the database.
2008-12-10 07:05:49 +00:00
Bharat Mediratta
5ae606786a update call from access::can() -> access::group_can() 2008-12-09 00:50:58 +00:00
Bharat Mediratta
9ba9f7bf27 Change the startup code to only put installed modules on the autoload
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.
2008-12-04 07:44:28 +00:00
Bharat Mediratta
4d76351017 Fix indentation 2008-12-04 05:54:48 +00:00
Bharat Mediratta
f114814c03 Move the form html into the controller 2008-12-03 05:59:39 +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
52e63e7f75 Tighten up ul.permissions 2008-12-01 23:48:07 +00:00
Bharat Mediratta
ed2cb2a86d Fix profiler settings in the scaffolding 2008-12-01 10:40:40 +00:00
Bharat Mediratta
2eed685883 style the permission tree a little tighter 2008-12-01 10:27:36 +00:00
Bharat Mediratta
5c303aa07b Add access::reset() so that you can specify your intent to use the
parent's permissions.

Update scaffolding to demonstrate that it works.
2008-12-01 09:57:03 +00:00
Bharat Mediratta
88a70cbc04 Clean up styles a bit to make it more obvious what's going on. Show
edit permissions too to demonstrate that we're doing something
different for the different type of permissions.
2008-12-01 09:02:46 +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
Bharat Mediratta
6b03b798f3 Move rearrange HTML generation into welcome.php so that we gracefully
handle the case where the DB is not installed yet.
2008-11-30 21:39:23 +00:00
Bharat Mediratta
4271f7702a Add access model (not fully baked yet).
Update scaffolding to allow addition of just albums (helpful for testing permissions)
2008-11-29 22:47:15 +00:00
Tim Almdal
7ae004f76f The gui part of rearranging albums and photos on the welcome page. Haven't finished the ajax back end to actually do the move, but thought i'd put the gui up so people can play 2008-11-29 20:02:30 +00:00
Bharat Mediratta
2c86723942 Add an easy way to add a bunch of servers from the server side 2008-11-28 05:45:35 +00:00
Bharat Mediratta
e3fa1c8acd Link to the albums in the album tree. 2008-11-26 23:10:15 +00:00
Bharat Mediratta
691faa0e83 Draw an album tree in the access -> permissions tab. 2008-11-26 23:07:37 +00:00
Bharat Mediratta
9c60566197 Add support for marking users as "admin" 2008-11-26 04:54:43 +00:00
Bharat Mediratta
226df2a8f8 Add support in the scaffolding for adding users to groups, adding and
removing users and groups.
2008-11-26 04:45:43 +00:00
Bharat Mediratta
565f1a260c The scaffolding can now add and delete users and groups. Yippee! 2008-11-25 09:39:45 +00:00
Bharat Mediratta
9bdf825a94 Add a "Access" tab to the scaffolding and list users and groups.
Refactor welcome.php a little bit to make index() more readable.
2008-11-25 09:15:45 +00:00
Bharat Mediratta
dcf3693b3e Add theme debugging. Activate it in the [info] tab in the
scaffolding, then browse around your Gallery3 to see where you can add
visible elements via modules.
2008-11-25 02:17:53 +00:00
Bharat Mediratta
983a893e86 Show a link to the item with the most tags. 2008-11-24 08:57:04 +00:00
Tim Almdal
39f00707ac Add the creation of tags to the scaffolding code 2008-11-24 05:03:52 +00:00
Bharat Mediratta
02486f2401 Show the # of comments 2008-11-23 20:31:43 +00:00
Bharat Mediratta
f39cf6ed2f Add a button to install all plugins at once, now that we have so many.
Improve the style a bit, sort the plugins, put core first and make it
stand out so that you don't accidentally uninstall it.
2008-11-23 07:46:50 +00:00
Bharat Mediratta
161998dde6 Fix some broken-ness:
1) Item_Controller::_create() and _update() were swapped
2) _create() was redirecting to the wrong urls on success
3) Change in-place return parameter from __return to _return
4) Change in-place code to tunnel _put via POST
2008-11-19 06:35:54 +00:00
Jozef Selesi
b2772f5a05 * Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names.
* Added a bug workaround to routes.php
2008-11-19 00:12:25 +00:00
Bharat Mediratta
d4fc15f76c Fix a typo in the text MPTT link 2008-11-18 09:07:46 +00:00
Bharat Mediratta
51c64f1d28 Create a simple benchmark that loads 500 localized messages and performs
500 localizations on them.
2008-11-12 00:05:47 +00:00
Bharat Mediratta
a15c7cb11f Change the PUT/DELETE tunneling param from __action to _method
to be like Rails.
2008-11-11 13:11:20 +00:00
Jozef Selesi
1651b3fe85 Move scaffolding code out of the comments controller to welcome.php. 2008-11-11 12:20:20 +00:00
Jozef Selesi
ddf0a51900 Comment creation controller, helper and test. Add comments from the scaffold. 2008-11-10 17:32:04 +00:00
Bharat Mediratta
ceb0782233 Add support for multi-file-upload using jquery.MultiFile and modify
Item_Controller to accept it.
2008-11-10 12:28:58 +00:00
Bharat Mediratta
c2162a645a Clean up HTML for adding albums/photos a tad. 2008-11-10 00:34:02 +00:00
Bharat Mediratta
b5f2443bb5 Add the ability to create albums to the scaffolding
Revert $_POST back to $this->input->post() because that supports default values.
2008-11-10 00:25:59 +00:00
Bharat Mediratta
e7155c09c5 Implement Item_Controller::put() and delete()
Adjust/simplify photo::create
Add image uploading to the scaffolding
2008-11-09 23:40:28 +00:00
Bharat Mediratta
e8d989ff9a Simplify the CSS a bit. 2008-11-08 10:21:18 +00:00
Bharat Mediratta
6b5b5ec3a6 Use jquery.cookie to keep the same tab open when you refresh
Add a switch to turn profiling on/off
2008-11-07 05:49:45 +00:00
Bharat Mediratta
d6e942f2e3 Add quick-link to the deepest photo to test hierarchical navigation 2008-11-06 04:56:50 +00:00
Chad Kieffer
c4407f7bda spruce up the display of commands 2008-11-06 04:37:28 +00:00
Chris Kelly
0493cf4ecd replaced Feature URLs with new one 2008-11-05 18:32:50 +00:00
Bharat Mediratta
3feb0b288b Add info section with MPTT graphs 2008-11-05 09:50:20 +00:00