summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2009-03-20This change checks that the active theme is available and if its not,Tim Almdal
reverts to the default theme.
2009-03-20minor UI and CSS improvementsJakob Hilden
(the styling of the flash button is a not themable solution and I put the CSS in the file for now)
2009-03-20rollback of r20469... see trac #161Tim Almdal
2009-03-20Rather than moving the themeroller and all of its associated filesTim Almdal
into each theme. I chose to create methods Theme_View::file($path) and Admin_View::file($path). These methods check for a theme override file in the theme and return a link to it if it exists. So to override the themeroller files. just create a lib/themeroller in the theme and the files will be picked up.
2009-03-20Oops, we need UNIX_TIMESTAMP() instead of NOW()Bharat Mediratta
2009-03-20Do some data normalization so that the install files will have stableBharat Mediratta
ordering and known values. This way subsequent packaging runs won't have any differences unless there's a real data change.
2009-03-20Set our version to 3.0 Alpha 3 and add 'logs' as a dir we create at install timeBharat Mediratta
2009-03-20Restore $extra_attrs in img tags. Roll back to using .gThumbnail in quick pane.Chad Kieffer
2009-03-19Rejigger the way we do reinstalls while Kohana is running.Bharat Mediratta
core_installer::install() now takes an $initial_install param that allows us to enforce that we're doing a clean install. Use this in both the scaffolding and the unit test code. Greatly simplify the scaffolding uninstall/reinstall code.
2009-03-19Fix syntax errors.Bharat Mediratta
2009-03-18Fix for ticket #155. Delete the item record before unlinking theTim Almdal
files.
2009-03-18Fix for ticket #153. The sort column was not not initialized forTim Almdal
movies or photos. Turns out that when you go to delete, ORM tries to check for children and apply the sort order.
2009-03-18Fix for ticket #152. Somewhere along the line we we stopped usingTim Almdal
gThumbnail as a class. Changed the selector to select the image from ".gThumbnail" to ".Quick img"
2009-03-18This is the real fix to ticket #154Tim Almdal
2009-03-18Fix failed unit test: private methods are required to begin with an ↵Tim Almdal
underscore(_)
2009-03-18Remove trailing ?>Tim Almdal
2009-03-18Fix for ticket #154: Remove the raw count and use the ORM wrapper.Tim Almdal
2009-03-18Added rotate cc and ccw icons to themeroller theme and css to default theme, ↵Chad Kieffer
applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this.
2009-03-18Remove semi-colons from single sql statements and correct anoterTim Almdal
instance of {items` which won't get prefixed properly
2009-03-18Fix for ticket #143Tim Almdal
2009-03-18Fix for ticket 142: Choose plural form "other" for count == 0 (unless the ↵Andy Staudacher
locale has a specific plural form for zero)
2009-03-18Fix for ticket #142. Valiant: u might want to check the implicationsTim Almdal
of this.
2009-03-18Functional l10n_client / server interaction:Andy Staudacher
- Get / verify API Key from l10n server - Submit translations - Fetch translations / updates Reference: Tasks: 75, 76, 55 TODO: Move out of core (and a series of other tasks).
2009-03-18Corrections based on feedbackTim Almdal
2009-03-17Fix for ticket #101Tim Almdal
2009-03-17Fix missing preamblesBharat Mediratta
2009-03-17Treat calls to install() with TEST_MODE set to be initial installs. At ↵Bharat Mediratta
least for now.
2009-03-17Fix minor correctness issuesBharat Mediratta
2009-03-17Style breadcrumb in photo upload dialogChad Kieffer
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.