Chad Kieffer
d04dbadfa1
Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard.
2009-02-15 22:36:51 +00:00
Bharat Mediratta
eb3e2359a7
Fix up some text
2009-02-15 08:04:26 +00:00
Bharat Mediratta
4cdd3ae0de
Allow rotation for photos, not albums (duh)
2009-02-15 04:38:21 +00:00
Bharat Mediratta
5757fdbda8
If we're deleting an album cover, null it out in the parent.
2009-02-15 00:58:14 +00:00
Bharat Mediratta
d8049cf711
Album cover fixes. Don't bomb in generate if we can't load the album
...
cover (it might be deleted and we forgot to update the
album_cover_item_id column). Also, exclude albums with missing
album_cover_item_id's from the dirty query.
2009-02-15 00:57:19 +00:00
Bharat Mediratta
9e08285c00
Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.
...
This requires a little trickery to proxy the session id and user agent
through the ActionScript code so that we can assume the same session
in the uploader. It's also using its own path to add photos since
we'll want to have a slightly different protocol for dealing with
responses (as opposed to JSON or HTML).
A work in progress for sure, but it's already better than what we had before.?\024
2009-02-14 23:03:09 +00:00
Bharat Mediratta
b7e75a191c
Truncate url to 255 chars
2009-02-14 22:44:58 +00:00
Bharat Mediratta
3bfe4a07bd
Fix rewritten urls to handle query params properly. This was breaking
...
code like:
url::site("albums/3?page=2")
2009-02-14 22:28:20 +00:00
Bharat Mediratta
2ee995fcc7
If the page number is out of range, redirect to the nearest page.
...
This fixes a bug where deleting the last photo on a page would take
you to a 404.
2009-02-14 22:25:12 +00:00
Bharat Mediratta
2ec347a3ae
Fix indentation.
2009-02-14 19:32:00 +00:00
Bharat Mediratta
e5f5f48243
Minor text tweak
2009-02-13 08:00:12 +00:00
Tim Almdal
2295d74879
Continue to replace raw sql with Database method calls. As per ticket #68
2009-02-13 06:57:16 +00:00
Tim Almdal
ac06fcd26c
Remove the Database::query call for deletes and updated and use
...
Database::delete or Database::update instead
2009-02-12 21:44:55 +00:00
Andy Staudacher
50b783e3a5
Change i18n message key to include the plural form (to ensure that it's truly unique).
2009-02-12 07:11:24 +00:00
Chad Kieffer
9bbe8053c7
Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-02-12 07:07:11 +00:00
Andy Staudacher
886fd07bc2
Adding locale::display_name().
2009-02-12 03:01:52 +00:00
Andy Staudacher
989c24dc99
Move l10n enable/disable option to Options menu.
...
Only available to admins at this point.
2009-02-12 02:51:44 +00:00
Bharat Mediratta
9ad072b33f
Simplification pass that preserves almost all functionality (except
...
default_country) but removes a lot of the code.
2009-02-10 09:10:55 +00:00
Bharat Mediratta
0f2ec1ef19
Rename 'Language Settings' -> 'Language' since it's under the Settings menu anyway
2009-02-10 09:09:27 +00:00
Bharat Mediratta
afa1805f15
Remove redundant "Gallery"
2009-02-10 08:32:33 +00:00
Bharat Mediratta
0782cbe78f
single -> double quotes.
2009-02-10 08:30:37 +00:00
Bharat Mediratta
df9268d80a
remove leading slash from Forge url.
2009-02-10 08:29:24 +00:00
Andy Staudacher
b2f20ff766
style fixes (style for method names, style for vars in locale.php)
2009-02-10 06:12:16 +00:00
Andy Staudacher
62f3724acb
Adding UI for site language selection and user language preference.
2009-02-10 05:37:42 +00:00
Bharat Mediratta
fe5240730a
Show the translation dashboard on admin pages also.
2009-02-10 05:12:31 +00:00
Bharat Mediratta
0b315b6fed
Normalize a few things to our standard.
2009-02-10 05:05:11 +00:00
Bharat Mediratta
079a518334
convert ' to " to match our HTML standards.
2009-02-10 05:00:29 +00:00
Bharat Mediratta
78efd9bd3d
Remove extra blank lines
2009-02-10 04:57:39 +00:00
Bharat Mediratta
007687dbd3
Add another TODO
2009-02-10 04:43:24 +00:00
Andy Staudacher
c2eee47465
Move site default_locale into DB (vars) and add a per user locale preference.
...
There's no UI to select the locale yet.
2009-02-10 02:37:16 +00:00
Andy Staudacher
dce6548431
Add local localization functionality. Local = no means to upload / download translations to a translation server yet.
...
- Added an outgoing_translations table to store translations from the local translation UI.
- I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority.
- Not handling plural strings in the translations UI yet.
2009-02-09 08:42:13 +00:00
Andy Staudacher
fa1f49d99a
Adding translation UI. Not backed by any model yet (submissions are ignored).
...
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166 ).
2009-02-09 07:29:24 +00:00
Bharat Mediratta
af944f9433
Use jquery ui's progressbar
2009-02-09 05:28:30 +00:00
Bharat Mediratta
b31c79a71f
Fix a bug that I think I introduced in my last sendmail refactor where
...
I inverted the expectations on the result from mail() causing image
uploads to fail (even though the mail gets sent!)
2009-02-08 20:01:15 +00:00
Tim Almdal
3b944bca5d
Use the ORM method delete_all to remove selected records from the
...
database instead of calling the Database::query with raw sql.
2009-02-08 18:03:31 +00:00
Bharat Mediratta
3a83c4e76f
Properly implement changing the thumbnail and resized image sizes by
...
updating the graphics rules as appropriate.
2009-02-08 10:18:09 +00:00
Bharat Mediratta
442d9295c6
Change mark_all_dirty to mark_dirty and specify what we want to mark dirty. This will be useful for Admin_Theme_Details
2009-02-08 06:40:57 +00:00
Tim Almdal
41ed142f5d
A better fix for the problem with special characters (this simple 2
...
line change replaces r19995, r19998-r20001 (thanks Bharat)
2009-02-08 02:27:45 +00:00
Tim Almdal
1fc2307fab
rollback r20001-r19998, r19995. This may require a reinstall
2009-02-08 02:21:28 +00:00
Bharat Mediratta
7ebbe189d4
Implement the "additional options" part of the quick menu. It's only
...
for albums, because we don't currently have additional options for
photos yet.
2009-02-08 00:42:17 +00:00
Bharat Mediratta
1d9a3f70b1
Fix indentation.
2009-02-07 21:37:42 +00:00
Tim Almdal
12701b1801
The start of the exif module. so I can merger the exifer library
2009-02-07 21:21:08 +00:00
Tim Almdal
54646583bc
Remove the try/catch as it was being fixed twice
2009-02-07 21:05:04 +00:00
Tim Almdal
90277704a2
Changed the way album and photo creation guards against duplicate
...
names.
Added similiar code to insure that path names are not duplicated.
2009-02-07 18:12:06 +00:00
Tim Almdal
69e0d72b93
Updated comments on photo::create to reflect the inclusion of the
...
owner_id and shamelessly broke it into two changes to to the 20k commit.
2009-02-07 17:27:09 +00:00
Tim Almdal
43dff9f95f
Updated comments on album::create to reflect the inclusion of the owner_id
2009-02-07 17:26:17 +00:00
Tim Almdal
a3704c8dd8
Assign the Album|Photo path field explicitly instead of hiding that in
...
the item::__set magic method.
2009-02-07 17:16:48 +00:00
Tim Almdal
8a738ed241
Correct comment on factory
2009-02-06 22:10:08 +00:00
Tim Almdal
4e107dac41
Implement fix for ticket #35 . *** Requires reinstall of core ***
...
* Added new field in items table (path) which is sanitized version of
name.
* Added __set method on Items_module to set the path field whenever
the name field is changed.
* Made some changes to the scaffolding so missing the path column
would not kill the scaffolding.
* Changed MY_url::site so not having a 3rd parameter won't throw an error.
2009-02-06 16:39:18 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00