Commit Graph
2082 Commits
Author SHA1 Message Date
Bharat Mediratta 144b8f4f47 Don't count on the uri having 3 components; that breaks on newer versions of PHP. 2009-03-16 07:45:32 +00:00
Bharat Mediratta 16b1df4f67 Illegal use of $this in static function site(). Replace with $theme. 2009-03-16 07:40:57 +00:00
Bharat Mediratta f25ff87ba9 Remove unnecessary __get() function 2009-03-16 07:17:15 +00:00
Bharat Mediratta 784adf835e clean up style attr 2009-03-16 07:16:54 +00:00
Bharat Mediratta 401c701369 Remove unnecessary slash from url::site() arg. 2009-03-16 07:07:40 +00:00
Chad Kieffer c377ffc2a5 Ticket #97. Applied button css where missing. Minor form css improvements. 2009-03-16 05:50:05 +00:00
Chad Kieffer 542ab6db1f Combined "Logged in as..." and "Modify Profile" to by just "Logged in as FullName" 2009-03-16 04:54:00 +00:00
Bharat Mediratta 83912bce20 Missed this in the last commit 2009-03-16 04:42:39 +00:00
Bharat Mediratta 736d74d05f Clean up the login, maintenance login and required-top-level-login code.
We now have two clear and separate login approaches:
  login/ajax
  login/html

Choose the one that's appropriate.  Totally simplified the maintenance
page to be separate from the theme and dead simple, and use login/html
approach there.  Totally simplified the top level login
(login_page.html.php) to just be a login page, not the rest of the
chrome on the page and use the login/ajax approach there.

Don't use access::required in albums and then catch the exception,
instead use access::can and check the return code.

Improve the text for maintenance mode.
2009-03-16 04:33:45 +00:00
Bharat Mediratta cbc7c870fa Stop loading jeditable-- we don't use it anymore 2009-03-16 04:30:17 +00:00
Tim Almdal 0bc64efa4a Thin down the scaffolding code so that all that is there is the test
data creation and the packaging code.  The rest ofthe functionality is
either no longer required, or moved to the developer module (MPTT
Tree).
Also provide checking for the active user to be an admin.
2009-03-16 03:50:57 +00:00
Tim Almdal 13a337b6cd Add a new css selector for the high lighting a warning on the MPTT
graphical display screen in the developer module.
2009-03-16 02:58:15 +00:00
Tim Almdal bbb6effa77 ignore the developer directory 2009-03-15 23:24:03 +00:00
Bharat Mediratta a89541545f Remove automatic load of atom module. 2009-03-15 22:54:19 +00:00
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