Commit Graph
5668 Commits
Author SHA1 Message Date
Tim Almdal abdab49aef Move the start/stop translating menu item to the admin menu 2009-03-15 22:45:16 +00:00
Bharat Mediratta 8abf48dd79 Move atom, developer, polar_rose and gmaps modules into gallery-contrib 2009-03-15 22:23:04 +00:00
Tim Almdal b4f8d824f7 Remove profiling and debugging from the scaffold info screen. 2009-03-15 22:05:38 +00:00
Tim Almdal bf4cd1b813 Move profiling and debugging out of the scaffolding and into the
developer module.
2009-03-15 20:35:24 +00:00
Tim Almdal 6ac6c6a7e0 Updates to the developer tool create module.
It now creates a fully functional sidebar block, a dialog pop up on
the option menu for albums or photos, a dashboard block and an admin
screen.
2009-03-15 19:27:30 +00:00
Tim Almdal 7c5ba9d422 Refactored the developer module. When a new module is generated a
skeleton adminstration page is generated as well.
@todo is still generate a skeleton block and a skeleton dialog.
2009-03-15 05:15:45 +00:00
Bharat Mediratta 181737fb12 Remove the word 'album' from phpdoc. 2009-03-15 02:00:21 +00:00
Bharat Mediratta c825ec4ffb Move references to "album" out of ORM_MPTT since it's supposed to be
implementation agnostic.
2009-03-15 01:17:25 +00:00
Bharat Mediratta f9122c7908 Don't use html::image because it forces absolute urls, which we don't want. 2009-03-14 21:24:32 +00:00
Bharat Mediratta 51a16d38b8 style fixes 2009-03-14 18:43:10 +00:00
Bharat Mediratta 1071b91409 Use relative urls for the feed links. 2009-03-14 18:42:01 +00:00
Bharat Mediratta e658b9895e Default thumb/resizes to relative urls. 2009-03-14 18:31:56 +00:00
Tim Almdal a3c513b786 * remove debug code 2009-03-14 02:21:38 +00:00
Tim Almdal 229eca2918 * Allow module names with spaces
* remove debug code
2009-03-14 02:16:06 +00:00
Tim Almdal cb3d39fe62 Invert the check for https vs http. 2009-03-14 01:57:37 +00:00
Tim Almdal 74768e4cea The first incarnation of the developer tools. This allows the user to
enter a module name, a description and pick the call backs and or
events they want to support and generate the basic module skeleton
with one click.
@todo: clone a module, clone a theme, generate skeleton controller,
view,
2009-03-13 22:15:16 +00:00
Bharat Mediratta 70390e83f8 Make the exif_key value size 1k 2009-03-13 04:09:28 +00:00
Tim Almdal 2ad27663cb Remove event handlers that are are no longer called (start_batch and end_batch) 2009-03-12 18:16:13 +00:00
Tim Almdal 85f2c6b666 Move the setting of the page title into the controller that is
creating the page.  Provide for a default page title if none is
set. This allows less changes to page.html.php as different modules
want to change the page title.
2009-03-12 16:06:13 +00:00
Tim Almdal b82b60c91a Rename tag.html.php to dynamic.html.php as part of ticket #115
creating Dynamic Albums.  This name change reflects the usage better
and allows multiple dynamic albums (including tags) to use the same
page template.
2009-03-12 15:40:08 +00:00
Chad Kieffer ec195a5721 Lighten color of user name in login menu 2009-03-12 04:46:14 +00:00
Chad Kieffer 5b5893b628 Minor after install message edits, added updated Gallery logo alt description 2009-03-12 04:23:53 +00:00
Tim Almdal 7ade710258 Handle no prefix being set when building key/value table map 2009-03-12 04:00:49 +00:00
Tim Almdal 7dae7dc510 Strip down the loin page (not sure if this is what bharat had in mind) 2009-03-12 03:54:17 +00:00
Tim Almdal d1f181da08 Attempt to reduce the chance of replacing text in sql statements that
is not a table name (but contained in braces) with the database prefix
by building and maintaining a cache of database tables and prefixes.
2009-03-12 03:20:13 +00:00
Tim Almdal e58b955d4a Bag the header("Location:", ...);exit() and replace with
url:site(url::abs_file(...))
Create a login_page.html to be used when there is no guest access to
the root album. It doesn't have a sidebar nor breadcrumb.
2009-03-11 21:07:21 +00:00
Tim Almdal 8fe1880e30 Bag the header("Location:", ...);exit() and replace with
url:site(url::abs_file(...))
2009-03-11 20:55:29 +00:00
Tim Almdal 1f848385fa Tried various combinations of url::redirect(...) or
url::redirect(url::file(...))

The only thing that works is this way.
2009-03-11 20:31:29 +00:00
Tim Almdal 4d5679b749 Fix ticket #119. Display the full name of the user in the same block
as the Modify profile and logout links.
2009-03-11 15:00:57 +00:00
Tim Almdal 4dfc5435ef Fix ticket #69. Rather than giving a better error message when the
gallery3 database is not setup. Just redirect to the installer.
2009-03-11 14:38:52 +00:00
Tim Almdal a521d9177f Force a login if everybody does not have access to the root
item. ticket #118.
2009-03-11 13:58:38 +00:00
Bharat Mediratta 30239ed302 $task_definitions -> $task_def 2009-03-11 03:29:12 +00:00
Tim Almdal 8da729cfa1 Refine the task api but removing the optional parameters on the
task::create method call
2009-03-11 03:14:52 +00:00
Bharat Mediratta 47756db856 Get rid of stray 'type' argument to task::get_definitions() 2009-03-11 02:39:52 +00:00
Tim Almdal ee2407cde2 Fix the test failures. If albums are created manually instead of
calling album::create, then the default sourt column needs to be set
to id.
2009-03-11 00:41:51 +00:00
Tim Almdal 2ce44b6b08 Fix the Var_Test by making sure that the cache is cleared or updated
when a variable is set or cleared.
2009-03-11 00:27:17 +00:00
Tim Almdal c2db5d0fc9 Fix the test, with the addition of the additional fields required by
album sort order change.
2009-03-11 00:17:48 +00:00
Tim Almdal 5c82ce33a2 Refactor the server add module to make use of the task api (Ticket
#125).  Haven't quite figured out what to do with the errors in the
context. Maybe they should show on the mainenance screen?
2009-03-10 21:30:33 +00:00
Bharat Mediratta 068c44e201 access::allow/deny/reset functions will now throw an exception if you
don't pass in a Group_Model as the argument.  This prevents us from
setting permissions on the wrong group by accidentally passing in a
User_Model.
2009-03-10 20:34:32 +00:00
Tim Almdal 5342578e6d Minor change to the task api with the addition of two optional
parameters. The first allows the specification of a task name.
Non-maintenance tasks are not defined as part of availabl_tasks so we
can't get the name from the task definitions. The 2nd allows the
specification of a context when the task is completed.
2009-03-10 13:53:59 +00:00
Bharat Mediratta 9d4769da87 Add profiling/debugging switches in the Scaffold menu. 2009-03-10 06:45:55 +00:00
Bharat Mediratta 9d8d115387 Show the album edit form for albums, not the photo edit form 2009-03-10 03:28:13 +00:00
Bharat Mediratta f0549a1c2d Add info about -x flag 2009-03-10 03:27:44 +00:00
Tim Almdal 5da29b8837 Fix for ticket #135 2009-03-09 16:03:48 +00:00
Tim Almdal 83563ac91a Fix for ticket #133: If $max_pages is zero don't try to redirect to
max_page, just return an empty feed.
2009-03-09 15:10:22 +00:00
Tim Almdal b9ee37f30e Override the ORM_MTTP::children and ORM_MTPP::descendants methods in
the item model and always pass the orderby fields.  This insures that
all children or descendant calls will respect the album sort order.
2009-03-09 14:38:25 +00:00
Tim Almdal ac82e0a9df Change Item_Model::get_position to respect the sort order. This also
forced the next/prev buttons in album navication to respect the sort
order as well.
2009-03-09 13:43:13 +00:00
Tim Almdal c0375db79f Restructure the sort order to maintain the sort column and sort order
as two separate columns in the item table.
2009-03-09 13:30:22 +00:00
Bharat Mediratta caa0a6d47f Don't show the description field if there's no description 2009-03-09 07:54:37 +00:00
Bharat Mediratta f0be5c7c03 Undo "#gProgressBar { visibility: hidden }", introduced in r20264
which caused the progress bar to be invisible for admin/maintenance
tasks.
2009-03-09 07:48:36 +00:00