Commit Graph
2082 Commits
Author SHA1 Message Date
Tim Almdal 3a5de959b9 Fix for ticket #143 2009-03-18 02:49:04 +00:00
Andy Staudacher 4971db37d4 Fix for ticket 142: Choose plural form "other" for count == 0 (unless the locale has a specific plural form for zero) 2009-03-18 02:40:16 +00:00
Bharat Mediratta f8d49e8a09 Make sure that the SPL library is installed 2009-03-18 02:25:48 +00:00
Bharat Mediratta c1d7dc5f19 Resolve deviation from the kohana code left aronud by r20297 and
r20301 (which was an unclean rollback of r20297) by just rolling them
both back:

$ svn merge -c-20301 kohana/helpers/form.php
$ svn merge -c-20297 kohana/helpers/form.php
2009-03-18 02:12:07 +00:00
Tim Almdal 6e84c132a2 Fix for ticket #142. Valiant: u might want to check the implications
of this.
2009-03-18 01:58:59 +00:00
Tim Almdal 8082060434 Forgot to remove a back tick 2009-03-18 01:24:54 +00:00
Tim Almdal 8e1817d4e4 Couple of sql statements that had incorrect prefix handling or no
prefix handling.
2009-03-18 01:20:30 +00:00
Andy Staudacher 222f6e2e23 Functional l10n_client / server interaction:
- 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-18 00:53:44 +00:00
Tim Almdal 8c1f600611 Corrections based on feedback 2009-03-18 00:01:39 +00:00
Tim Almdal c92ef7aced Fix for ticket #101 2009-03-17 22:38:52 +00:00
Bharat Mediratta 7cf0313e7b Remove the in-place tag editing code from the default theme. It
should be implemented in the tags module for now, and then possibly
generalized out to lib later on.
2009-03-17 20:59:24 +00:00
Bharat Mediratta c81ee12411 Don't allow empty tag names 2009-03-17 20:57:51 +00:00
Bharat Mediratta 208fc9db68 Update Kohana to r4081.
This resolves ticket http://dev.kohanaphp.com/ticket/1156
1156: "Table prefix gets append to column name"

All tests pass.
2009-03-17 18:56:01 +00:00
Bharat Mediratta 3f87c16223 Fix missing preambles 2009-03-17 18:33:51 +00:00
Bharat Mediratta 489059342e Remove windows line endings 2009-03-17 18:32:02 +00:00
Bharat Mediratta 1ab5a76924 Treat calls to install() with TEST_MODE set to be initial installs. At least for now. 2009-03-17 18:17:55 +00:00
Bharat Mediratta 8dd24edf73 Fix correctness issue if there are no tables (list_tables will return null)
Clean out the module caches directly now that the module loading robustness code is gone.
2009-03-17 18:16:54 +00:00
Bharat Mediratta a83db20fe2 Fix minor correctness issues 2009-03-17 18:09:21 +00:00
Andy Staudacher a04fe5246c Fix the locale field in the change user settings form 2009-03-17 17:19:45 +00:00
Andy Staudacher ee2f09c968 Fix edit user form handler 2009-03-17 15:49:02 +00:00
Bharat Mediratta 0f6e826860 Even out the padding for #gAddPhotosQueue .box 2009-03-17 06:05:46 +00:00
Bharat Mediratta 63c8bb8d76 Updated lib/swfupload to SWFUpload v2.2.0 Beta 5 2009-03-17 06:00:21 +00:00
Chad Kieffer 920804bd47 Style breadcrumb in photo upload dialog 2009-03-17 05:57:40 +00:00
Bharat Mediratta 0a520f389f rss/updates doesn't have an item. Clean up some typos here. 2009-03-17 05:41:16 +00:00
Bharat Mediratta 522fe45787 filesize() dies if the file doesn't exist, which can happen in the
case that a gallery is slightly corrupt.  In that case, just ignore
the error.
2009-03-17 05:40:21 +00:00
Bharat Mediratta c6f03284c4 Make the gAddPhotosCanvas take up the entire dialog, for now. 2009-03-17 05:28:43 +00:00
Bharat Mediratta 8786ee3ffb Initialize $tags properly 2009-03-17 05:25:38 +00:00
Bharat Mediratta a908c0e878 Fix typo: $max_page -> $max_pages 2009-03-17 05:24:19 +00:00
Bharat Mediratta 0f5ccc9aa3 Switch from using SimpleUploader to using swfUpload as our flash based
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-17 05:20:37 +00:00
Chad Kieffer af83f5d3fc Simplify gError, gWarning, gInfo, gSuccess selectors to allow them to be used within more elements. Updated gError styles in forms. 2009-03-17 05:11:17 +00:00
Tim Almdal 8afefb9be5 Remove mptt warning message hack 2009-03-17 05:07:36 +00:00
Bharat Mediratta 2dba075e8a Fix typo: tag_block -> tag_theme
Overlooked when I renamed this class.
2009-03-17 00:37:39 +00:00
Bharat Mediratta e92e6d4da4 Oops, I used the wrong resize variables in my last change. 2009-03-16 11:33:14 +00:00
Bharat Mediratta 6a2e8ec1cc Set $item and $tag in the Theme_View so that calls like $theme->item()
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-16 11:17:27 +00:00
Bharat Mediratta ccc867f629 Get rid of $hidden; it was never defined 2009-03-16 09:11:30 +00:00
Bharat Mediratta 8458eba279 Switch the locale::$locales data structure to be an array instead of a
stdClass because we're not allowed to asort() stdClass objects in PHP
5.2.6.
2009-03-16 09:08:12 +00:00
Bharat Mediratta 6aadb0bc77 Fix indentation 2009-03-16 09:01:50 +00:00
Bharat Mediratta 1a2402dbd8 Fix bug, $active -> $site. 2009-03-16 08:59:38 +00:00
Bharat Mediratta 768418ea49 Remove unused orig_public_key from the form, it wasn't actually doing anything (and was causing an error). 2009-03-16 08:55:36 +00:00
Bharat Mediratta c0d8216037 Initialize some variables 2009-03-16 08:53:20 +00:00
Bharat Mediratta 1055fe6be3 Revive the install() and uninstall() functions in Scaffold_Controller
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-16 08:49:55 +00:00
Bharat Mediratta 6f0ddb4057 Set the sort_column and sort_order for the root album 2009-03-16 08:48:34 +00:00
Bharat Mediratta eac4e72a3b Oops, fix a typo. 2009-03-16 08:34:20 +00:00
Bharat Mediratta 2c3ab56a42 Move security into the constructor. Protecting the index() call is easily bypassed. 2009-03-16 08:29:35 +00:00
Bharat Mediratta c05a1103e7 Use a query to get the database version. Newer versions of PHP bomb
if you're using mysqli, and it asks for a connection which we can't easily get
from Kohana.
2009-03-16 08:25:49 +00:00
Bharat Mediratta c15e4c61a3 Proxy the url through _auth() to user::get_login_form() 2009-03-16 08:05:44 +00:00
Bharat Mediratta 54e07d0769 Get rid of the extra robust code we had in here to make the
scaffolding work when the Gallery wasn't installed yet.  Now we force
users through the installer.
2009-03-16 08:05:07 +00:00
Bharat Mediratta df5f035ed1 Get rid of obsolete/undefined $block_adder 2009-03-16 08:02:16 +00:00
Bharat Mediratta c3e70ecfa6 Initialize $result in get_html() 2009-03-16 08:01:46 +00:00
Bharat Mediratta f12f535749 Provide an empty sidebar by default 2009-03-16 07:59:28 +00:00