Commit Graph
222 Commits
Author SHA1 Message Date
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
Bharat Mediratta 3f87c16223 Fix missing preambles 2009-03-17 18:33:51 +00:00
Chad Kieffer 920804bd47 Style breadcrumb in photo upload dialog 2009-03-17 05:57:40 +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
Bharat Mediratta 1a2402dbd8 Fix bug, $active -> $site. 2009-03-16 08:59:38 +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
Chad Kieffer c377ffc2a5 Ticket #97. Applied button css where missing. Minor form css improvements. 2009-03-16 05:50:05 +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
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 b4f8d824f7 Remove profiling and debugging from the scaffold info screen. 2009-03-15 22:05:38 +00:00
Chad Kieffer 5b5893b628 Minor after install message edits, added updated Gallery logo alt description 2009-03-12 04:23:53 +00:00
Bharat Mediratta 7aea8f0385 Add a 'cancel all' link too 2009-03-09 07:45:38 +00:00
Bharat Mediratta e37faa0008 More tasks cleanup.
Don't join through to the users table; that won't work in embedded
mode.  Instead, add Tasks_Model::owner() that calls user::lookup() and
refer to the object directly in the view.

Add Admin_Maintenance:remove_finished_tasks() so that we can easily do
old task cleanup.

Hide Running / Finished sections if there aren't any running or
finished tasks.
2009-03-09 07:28:19 +00:00
Bharat Mediratta 72c7fed975 Log the user in as admin after running the web installer, and give
them a nice "Welcome to Gallery 3" dialog.  The text in there needs a
little work but it's a start.

In the process, re-build the install.sql using the scaffolding code.
2009-03-08 21:21:09 +00:00
Chad Kieffer 33eb05ef9a Applied jQuery UI buttons to quick edit pane. Not tested, but icons should display iin IE6 now. Rotate icons will need to be updated later. 2009-03-05 06:03:04 +00:00
Tim Almdal dc4f784558 * Refactor task management methods from admin_maintenance.php to
task.php
* Added a owner_id field to the task database
* Modified the admin maintenace to show the owner of the task
<<**** Requires a reinstallation of core ****>>
2009-02-27 16:28:20 +00:00
Bharat Mediratta 30fdedfb50 Make theme details its own page so that we can wrap it in a div and
give it a title.
2009-02-26 02:38:32 +00:00
Andy Staudacher e031957354 File structure style fixes 2009-02-24 05:54:19 +00:00
Chad Kieffer 51591c9669 Better yet, rename gallery2.png to just gallery.png. Reference logo from scaffold too. 2009-02-23 05:55:29 +00:00
Bharat Mediratta ca5bba0964 Replace the word "item" in display text with photo/album/movie as
appropriate.  We shouldn't be saying "item" to the user.
2009-02-23 00:25:51 +00:00
Bharat Mediratta d3752437b9 Add a 'finish' button which dismisses the dialog and refreshes the current page 2009-02-18 07:33:38 +00:00
Bharat Mediratta a5b17647a6 Fix url to SimpleUploader.swf for IE 2009-02-17 05:27:26 +00:00
Bharat Mediratta 9ac6ed5a82 Swap positions of rotation buttons so that that they're more intuitive 2009-02-17 05:11:39 +00:00
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 4cdd3ae0de Allow rotation for photos, not albums (duh) 2009-02-15 04:38:21 +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
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 afa1805f15 Remove redundant "Gallery" 2009-02-10 08:32:33 +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 079a518334 convert ' to " to match our HTML standards. 2009-02-10 05:00:29 +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 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
Tim Almdal 80d4df3a4a Convert all item->type == "album" to item->is_album()
Convert all item->type == "photo" to item->is_photo()
2009-02-06 03:47:36 +00:00
Tim Almdal 04fe9da190 Addressed the issues in ticket 34.
Surround the the attempt to use gd_info with a try catch block.
Created a new class gInstalledToolkit which has the highlighting and
the over pointer definition.  Now if you mouse across an inactive
toolkit it remains inert.
2009-02-05 23:29:44 +00:00
Bharat Mediratta 79dda6a0c2 Rename "welcome" controller to "scaffold" so that we can eventually
have a welcome page.
2009-02-05 08:39:12 +00:00
Bharat Mediratta b4f92c7de6 Add delete support as a quick-edit option 2009-01-29 09:26:39 +00:00
Bharat Mediratta 8d4b0afa4f Support making an album the album cover for its parent 2009-01-29 03:14:43 +00:00
Bharat Mediratta 76d9e95fb6 Fix selector after latest refactor, so that select_toolkit() is called again 2009-01-25 02:09:57 +00:00
Bharat Mediratta 70c050d995 Delete the rearrange module; it's been subsumed by the move controller 2009-01-25 01:44:26 +00:00
Chad Kieffer 55cd2afde5 Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet. 2009-01-24 20:06:13 +00:00
Bharat Mediratta eed57674f9 Add move support. Use the move icon in the quick pane. You can't
move an item into its own hierarchy, or into an album where you don't
have edit permission.
2009-01-24 05:14:44 +00:00
Bharat Mediratta b9e8ce4190 Quick edit now lets you set the album cover. 2009-01-20 08:54:15 +00:00
Bharat Mediratta be1f9d6892 fix indentation 2009-01-20 08:25:21 +00:00
Bharat Mediratta 3ba056d714 Add a quick edit pane for albums, too. 2009-01-20 07:11:14 +00:00
Bharat Mediratta c136a2e84a Packager now does a clean reinstall of just the packages we want, then
rebuilds the install.sql and init_var.php files accordingly.
2009-01-19 05:16:55 +00:00
Bharat Mediratta 8ec0e8471f Drag and drop in the admin dashboard now saves the location.
* Make block_adder a real block
* Suppress the "close" link on block_adder
* Move the drag/drop JS into the core code out of the admin theme
2009-01-18 09:06:46 +00:00
Tim Almdal f0e3a220d9 Remove the packaging tab from the scaffolding and move the create
install.sql to the action tab
2009-01-18 08:06:06 +00:00
Bharat Mediratta 7b68ca9946 Refactor dashboard -> block_manager since it'll manage blocks site
wide, not just in the dashboard.
2009-01-18 06:55:04 +00:00