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
Bharat Mediratta
ae00f73944
* Add thumbnail and resize dimensions to the item table and use them
...
properly in the theme.
* Move thumbnail and resize generation down into the model for
consistency.
* Add a sample thumbnail for albums
* Fix a bug in the ORM to clear the cache when we reload an object.
* Add Kohana docs to the scaffold.
2008-11-05 09:42:47 +00:00
Bharat Mediratta
00513a71d2
Report the number of photos/albums
2008-11-05 06:17:35 +00:00
Bharat Mediratta
25bd62f906
Use jQuery magic to make the scaffold look shiny.
2008-11-05 03:26:28 +00:00
Bharat Mediratta
605d2de336
Lots of new stuff!
...
Replace theme HTML with *almost* the latest stuff from the
mockups. (it doesn't include r18467 yet).
Our theme format is now modelled after WordPress / Habari's style
where you have one entry point per type (eg: album.php) which can
load up whatever parts it needs (eg: $theme->display("header"))
Created album and photo helpers which have create() functions
that form the base of our new API, along with tests for them.
Created our own version of the ORM_MPTT since the existing
versions were too buggy and unsupported to depend upon. Only has
a minimal implementation so far, and the tests are not yet
committed.
Added path(), thumbnail_path() and resize_path() to Item_Model
Extended the scaffolding to allow you to add lots of
photos/albums into your hierarchy.
Deleted modules/mptt -- we're not going to use this anymore.
2008-11-04 21:24:42 +00:00
Bharat Mediratta
ade1650846
Add a test to detect tabs in our code, and convert all tabs to spaces
...
so that the test passes.
2008-11-04 05:22:06 +00:00
Bharat Mediratta
fa9dda4c01
Create an initial attempt at the album controller, set it up with a default route
...
and add a link to it from the welcome page.
2008-11-03 05:55:34 +00:00
Bharat Mediratta
8183289bb1
Add some padding between paragraphs.
2008-11-03 01:20:45 +00:00
Bharat Mediratta
2578b598dd
Change styles a bit to make it a little more consistent.
2008-11-03 01:13:51 +00:00
Bharat Mediratta
7d2c828a4c
Put info about installed modules directly into the scaffolding page,
...
and create methods to install/uninstall modules.
2008-11-03 00:27:35 +00:00
Bharat Mediratta
231117b4a3
Change this to be inline instead of an iframe, and fix it up so that
...
it walks you through creating the database also.
2008-11-02 21:12:15 +00:00