Commit Graph

67 Commits

Author SHA1 Message Date
Tim Almdal
bd033cda8f Move form.html.php from themes/default/views to core/views 2008-12-07 23:05:00 +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
85bdb606bf Escape CDATA blocks to avoid JS errors 2008-11-25 02:16:00 +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
3728136fce Escape Javascript to avoid validation errors. 2008-11-23 20:15:47 +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
Bharat Mediratta
e0efdee8b2 Fix /item -> /items to conform to new REST api. 2008-11-19 04:14:09 +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
Tim Almdal
359e28a50f Remove Auth module 2008-11-10 16:45:06 +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
1b490c5fe6 Make Gallery3 more RESTful.
Create Item_Controller as a common superclass for Album_Controller and
Photo_Controller.  Change routes to route requests to Item_Controller
for dispatching, which in turn will generate get/post/put/delete
requests to the controlller so that each controller has a RESTful
surface.

Change in_place editing to take advantage of this.
2008-11-09 19:20:23 +00:00
Bharat Mediratta
e8d989ff9a Simplify the CSS a bit. 2008-11-08 10:21:18 +00:00
Bharat Mediratta
0238925a63 Restrict our dom traversal to look only for span.gInPlaceEdit for speed. 2008-11-08 09:35:46 +00:00
Bharat Mediratta
950c58e6d3 Add support for in-place editing of data fields. 2008-11-08 09:28:11 +00:00
Bharat Mediratta
ac8199a09a Tell users to install the user module before installing auth. 2008-11-08 07:51:19 +00:00
Bharat Mediratta
81ab478559 move block.html.php into the default theme 2008-11-07 07:37:49 +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