summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2009-03-17Switch from using SimpleUploader to using swfUpload as our flash basedBharat Mediratta
uploader. This is modeled on http://codex.gallery2.org/Gallery3:Upload_UX but is not yet complete. Notes: * Changed #gProgressBar to .gProgressBar to support multiple progress bars on the same page * Added a bunch of CSS to the "needs a home" section in themes/default/css/screen.css
2009-03-16Oops, I used the wrong resize variables in my last change.Bharat Mediratta
2009-03-16Set $item and $tag in the Theme_View so that calls like $theme->item()Bharat Mediratta
which fall through to calling &View::__get() have an lvalue to return, else you can't return them by reference. Also, don't show sidebar blocks for pages that don't have an item so that the rss and tag modules don't break the search page.
2009-03-16Switch the locale::$locales data structure to be an array instead of aBharat Mediratta
stdClass because we're not allowed to asort() stdClass objects in PHP 5.2.6.
2009-03-16Fix bug, $active -> $site.Bharat Mediratta
2009-03-16Initialize some variablesBharat Mediratta
2009-03-16Revive the install() and uninstall() functions in Scaffold_ControllerBharat Mediratta
because we need those to make a package. Fix the packaging code to ignore whatever prefix is being used by the developer who is doing the packaging. Update the install.sql file (there were a variety of small inconsistencies, probably from hand-editing. Don't hand-edit this file!)
2009-03-16Set the sort_column and sort_order for the root albumBharat Mediratta
2009-03-16Oops, fix a typo.Bharat Mediratta
2009-03-16Move security into the constructor. Protecting the index() call is easily ↵Bharat Mediratta
bypassed.
2009-03-16Use a query to get the database version. Newer versions of PHP bombBharat Mediratta
if you're using mysqli, and it asks for a connection which we can't easily get from Kohana.
2009-03-16Get rid of the extra robust code we had in here to make theBharat Mediratta
scaffolding work when the Gallery wasn't installed yet. Now we force users through the installer.
2009-03-16Get rid of obsolete/undefined $block_adderBharat Mediratta
2009-03-16Initialize $result in get_html()Bharat Mediratta
2009-03-16Provide an empty sidebar by defaultBharat Mediratta
2009-03-16Don't count on the uri having 3 components; that breaks on newer versions of ↵Bharat Mediratta
PHP.
2009-03-16Illegal use of $this in static function site(). Replace with $theme.Bharat Mediratta
2009-03-16Remove unnecessary __get() functionBharat Mediratta
2009-03-16Ticket #97. Applied button css where missing. Minor form css improvements.Chad Kieffer
2009-03-16Clean up the login, maintenance login and required-top-level-login code.Bharat Mediratta
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-16Thin down the scaffolding code so that all that is there is the testTim Almdal
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-15Remove automatic load of atom module.Bharat Mediratta
2009-03-15Move the start/stop translating menu item to the admin menuTim Almdal
2009-03-15Remove profiling and debugging from the scaffold info screen.Tim Almdal
2009-03-15Move profiling and debugging out of the scaffolding and into theTim Almdal
developer module.
2009-03-15Remove the word 'album' from phpdoc.Bharat Mediratta
2009-03-15Move references to "album" out of ORM_MPTT since it's supposed to beBharat Mediratta
implementation agnostic.
2009-03-14Don't use html::image because it forces absolute urls, which we don't want.Bharat Mediratta
2009-03-14style fixesBharat Mediratta
2009-03-14Default thumb/resizes to relative urls.Bharat Mediratta
2009-03-14Invert the check for https vs http.Tim Almdal
2009-03-12Remove event handlers that are are no longer called (start_batch and end_batch)Tim Almdal
2009-03-12Rename tag.html.php to dynamic.html.php as part of ticket #115Tim Almdal
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-12Minor after install message edits, added updated Gallery logo alt descriptionChad Kieffer
2009-03-12Handle no prefix being set when building key/value table mapTim Almdal
2009-03-12Strip down the loin page (not sure if this is what bharat had in mind)Tim Almdal
2009-03-12Attempt to reduce the chance of replacing text in sql statements thatTim Almdal
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-11Bag the header("Location:", ...);exit() and replace withTim Almdal
url:site(url::abs_file(...))
2009-03-11Tried various combinations of url::redirect(...) orTim Almdal
url::redirect(url::file(...)) The only thing that works is this way.
2009-03-11Fix ticket #69. Rather than giving a better error message when theTim Almdal
gallery3 database is not setup. Just redirect to the installer.
2009-03-11Force a login if everybody does not have access to the rootTim Almdal
item. ticket #118.
2009-03-11$task_definitions -> $task_defBharat Mediratta
2009-03-11Refine the task api but removing the optional parameters on theTim Almdal
task::create method call
2009-03-11Get rid of stray 'type' argument to task::get_definitions()Bharat Mediratta
2009-03-11Fix the test failures. If albums are created manually instead ofTim Almdal
calling album::create, then the default sourt column needs to be set to id.
2009-03-11Fix the Var_Test by making sure that the cache is cleared or updatedTim Almdal
when a variable is set or cleared.
2009-03-11Fix the test, with the addition of the additional fields required byTim Almdal
album sort order change.
2009-03-10access::allow/deny/reset functions will now throw an exception if youBharat Mediratta
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-10Minor change to the task api with the addition of two optionalTim Almdal
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-10Add profiling/debugging switches in the Scaffold menu.Bharat Mediratta