Commit Graph
687 Commits
Author SHA1 Message Date
Tim Almdal 7239a4d8bc Add the ability to generate the id parameter on Menu Dialog. 2009-01-29 18:25:14 +00:00
Bharat Mediratta b4f92c7de6 Add delete support as a quick-edit option 2009-01-29 09:26:39 +00:00
Bharat Mediratta 894a33d744 Add support for pretty urls. So now instead of urls like:
http://example.com/gallery3/index.php/albums/2
  http://example.com/gallery3/index.php/photos/9

You'll see urls like:
  http://example.com/gallery3/index.php/Family/Weddings
  http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
2009-01-29 03:22:02 +00:00
Bharat Mediratta ad82721c3b Fix an off-by-one issue-- the destination level is the target's child, not the target itself. 2009-01-29 03:17:09 +00:00
Bharat Mediratta 8d4b0afa4f Support making an album the album cover for its parent 2009-01-29 03:14:43 +00:00
Bharat Mediratta 01d81ec6b4 Update the level when moving items 2009-01-29 02:57:29 +00:00
Bharat Mediratta d2b4c636c2 replace title with level, for ease in diagnosing levelling issues. 2009-01-29 02:53:54 +00:00
Bharat Mediratta b7bfd011cb Remove extra debug call to install() 2009-01-29 02:19:52 +00:00
Bharat Mediratta f85bc9bb7b Consolidate all our hooks into one file 2009-01-29 01:47:28 +00:00
Bharat Mediratta 33d7fa8cf6 Make the application home page the scaffolding. 2009-01-29 01:38:40 +00:00
Bharat Mediratta 6bfadc14ed Fully implement the user administration backend with drag/drop to add
users to groups.
2009-01-28 22:42:50 +00:00
Bharat Mediratta 43b30c0ee2 Add Menu::add_after() 2009-01-28 19:25:01 +00:00
Tim Almdal 66fae63558 Create a sendmail library to wrap the call to the system sendmail
facility. Something quirky is happening in the first test, see comment
in code, but I couldn't figure it out.  Left a @todo for now.
2009-01-28 04:22:59 +00:00
Bharat Mediratta 2a9d48f8bb Rename Admin_Themedetails -> Admin_Theme_Details 2009-01-27 07:47:55 +00:00
Bharat Mediratta 47067c72ea Remove unused theme code left over from before virshu moved theme
settings into Admin_Themedetails.
2009-01-27 07:30:28 +00:00
Bharat Mediratta 1633001d7f Update the album cover if necessary. 2009-01-25 07:58:58 +00:00
Tim Almdal a8233ed979 Undo the adding underscores to the id on forge generated forms 2009-01-25 06:28:04 +00:00
Bharat Mediratta 76d9e95fb6 Fix selector after latest refactor, so that select_toolkit() is called again 2009-01-25 02:09:57 +00:00
Bharat Mediratta 70c050d995 Delete the rearrange module; it's been subsumed by the move controller 2009-01-25 01:44:26 +00:00
Chad Kieffer 55cd2afde5 Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet. 2009-01-24 20:06:13 +00:00
Tim Almdal cbff78daa8 Supply a form id on all forms. This id can be used by modules other
than the originating module to provide additional functionality to the form.
2009-01-24 17:26:47 +00:00
Bharat Mediratta eed57674f9 Add move support. Use the move icon in the quick pane. You can't
move an item into its own hierarchy, or into an album where you don't
have edit permission.
2009-01-24 05:14:44 +00:00
Bharat Mediratta f75a803cd6 Simplify this code. We know what the fields are, pull them by name so that we're clear about what actions we're taking. Return the form itself on validation failure, coupled with de-ajaxifying the form makes it render properly as an error when you enter bogus data. 2009-01-23 08:33:22 +00:00
Bharat Mediratta 0a025c984d Minor tweaks 2009-01-23 08:32:00 +00:00
Bharat Mediratta 94e356fc31 Take advantage of the new support for parentheses added in r19879 and
fix a bug in viewable() that was AND'ing all view permissions together
(which meant that you had to have *all* permissions to view an item,
instead of just one).

Also, add a "max" param to the thumb_tag() so that we can specify a
max dimension for the thumbnail.  This will be used in the upcoming
"move item" feature.
2009-01-23 08:11:33 +00:00
Bharat Mediratta cd6629ad23 Add support for parenthetical grouping to Database queries. Turns out
that this is something they kind of want for Kohana :-)

Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070
2009-01-23 08:07:37 +00:00
Felix Rabinovich 37340bd7f6 Theme details. Save values 2 2009-01-22 02:59:19 +00:00
Felix Rabinovich cd86c4ee77 Theme details. Save values 2009-01-22 02:25:10 +00:00
Felix Rabinovich 90666f7e04 Theme details. Initial release 2009-01-22 01:52:41 +00:00
Bharat Mediratta a0456a9a47 Fix bug in add_to_group / remove_from_group where we were looking up users using Group_Model. 2009-01-21 08:14:18 +00:00
Bharat Mediratta 37f9845c43 Revert r19765 -- the installer works fine with it the way it is. 2009-01-20 09:10:49 +00:00
Bharat Mediratta 0536debdf1 Fix indentation. 2009-01-20 08:59:08 +00:00
Bharat Mediratta b9e8ce4190 Quick edit now lets you set the album cover. 2009-01-20 08:54:15 +00:00
Bharat Mediratta be1f9d6892 fix indentation 2009-01-20 08:25:21 +00:00
Bharat Mediratta 3ba056d714 Add a quick edit pane for albums, too. 2009-01-20 07:11:14 +00:00
Bharat Mediratta 681197a265 Web based installer. It's still got some rough edges, but you can now
do a complete CLI or web based install.
2009-01-20 00:54:02 +00:00
Bharat Mediratta fc8cf562f5 Fix up various little things to get File_Structure_Test to pass. 2009-01-19 07:26:25 +00:00
Bharat Mediratta 5e94456ce9 Make get_add_block_form() static. 2009-01-19 06:12:49 +00:00
Bharat Mediratta 0448a5b32c Flush the access_intent cache after ALTER TABLE queries, fixes a
problem where the install.sql had the wrong view permissions.
2009-01-19 06:02:53 +00:00
Bharat Mediratta d97308ffe7 Put the <a> element inside the internationalized text. 2009-01-19 05:24:47 +00:00
Bharat Mediratta c136a2e84a Packager now does a clean reinstall of just the packages we want, then
rebuilds the install.sql and init_var.php files accordingly.
2009-01-19 05:16:55 +00:00
Bharat Mediratta 8ec0e8471f Drag and drop in the admin dashboard now saves the location.
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Tim Almdal f0e3a220d9 Remove the packaging tab from the scaffolding and move the create
install.sql to the action tab
2009-01-18 08:06:06 +00:00
Tim Almdal 119cf7e148 Correct the mkdir for the sub directories in var 2009-01-18 07:30:22 +00:00
Tim Almdal 4c13987e92 Change the database unload to unload all the tables instead of fooling
around with individual tables.
2009-01-18 07:18:41 +00:00
Bharat Mediratta 7b68ca9946 Refactor dashboard -> block_manager since it'll manage blocks site
wide, not just in the dashboard.
2009-01-18 06:55:04 +00:00
Bharat Mediratta 3d1ea2904d Rename theme callback helpers from xxx_block to xxx_theme to make room
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
2009-01-18 05:01:00 +00:00
Tim Almdal 245cb11c58 Clean up the var directory creation script 2009-01-18 03:12:00 +00:00
Tim Almdal b60e790e90 Here's the rest of the change, new tool and forgot to add some files :-) 2009-01-18 01:06:17 +00:00
Tim Almdal d0f307cbcd The Packager now copies all the directories properly, ignoring all the
.svn directories.  In addition the internal directory structure is
consistent with a Gallery3 install with out any source system names.
2009-01-17 17:36:21 +00:00