Commit Graph

244 Commits

Author SHA1 Message Date
Bharat Mediratta
99da170def Document why we skip the parent state for the root album. 2009-05-10 20:16:18 +00:00
Bharat Mediratta
0373cb0676 Use lower-case aliases for greater portability (thanks Romain LE DISEZ) 2009-05-08 17:48:30 +00:00
Tim Almdal
2991831c03 Fix for ticket #72 2009-05-06 14:45:44 +00:00
Bharat Mediratta
890b716c8f Show the 'activate gd' button even when there's a warning about missing rotation 2009-05-06 04:27:23 +00:00
Chad Kieffer
812cb94b1e Usability update: include an "Activate Toolkit Name" button with available toolkits 2009-05-06 03:47:58 +00:00
Bharat Mediratta
e9867fb97c Theme the cancel-all link like the remove-all link. 2009-04-21 04:17:56 +00:00
Andy Staudacher
55256b459b Fix UI string 2009-04-19 07:05:18 +00:00
Jakob Hilden
03960546be added icons to permissions UI 2009-04-12 18:27:45 +00:00
Jakob Hilden
b6f59e17f1 changed the items in quickpaneoptions dropdown menu (which appears in the quickpane for albums) to be easier clickable and changed markup to use <ul> (more semantically correct) 2009-04-07 07:14:36 +00:00
Bharat Mediratta
63edb37076 Fix up the quick-edit code on the photos page. Everything but "move"
is implemented.  Can't do move easily because it's tricky to handle
the post-move redirect.
2009-04-06 08:10:42 +00:00
Bharat Mediratta
6d940ce8cd Add case-sensitive versions of file extensions to the file_types list
so that .JPG works on case sensitive systems like Unix.  Also add
.jpeg to the list.

Fixes ticket #183.
2009-04-06 04:05:43 +00:00
Bharat Mediratta
292b51ddd3 Rework the links section of the "Welcome to Gallery3" block so that
the links work and it's more helpful.

In the process, rename the Presentation menu to be Appearance because
that makes more sense to me (and at least one other user who wrote
about it on -devel).
2009-04-06 03:14:13 +00:00
Bharat Mediratta
c936eebcf7 Don't do graphics detection in core_installer::install() because that
gets run at scaffolding::package() time, not on the target machine.
Instead, create a core module variable to trigger running
graphics::choose_default_toolkit() on the first admin login after install.

Fixes ticket #206.
2009-04-05 20:43:05 +00:00
Bharat Mediratta
892e46368b Set the queue limit to 1000. 2009-04-03 08:17:58 +00:00
Chad Kieffer
a57d0d93a8 Add quick edit pane to resize images, ticket #189 2009-03-31 05:14:40 +00:00
Bharat Mediratta
921f3a2eee Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
2009-03-27 03:43:21 +00:00
Bharat Mediratta
a142aee609 Convert language updates over to task form. It's still very rough,
the task only has one step from zero to 100.
2009-03-26 07:10:47 +00:00
Andy Staudacher
ed7175092c Refactor all translation strings that have ambiguous placeholders.
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'.

Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with 
preserving CSS classes too...
2009-03-21 07:44:46 +00:00
Bharat Mediratta
b942930c70 Add title string to this page. Doesn't show yet because its in a gPanel 2009-03-20 20:31:50 +00:00
Jakob Hilden
6fc1952134 minor UI and CSS improvements
(the styling of the flash button is a not themable solution and I put the CSS in the file for now)
2009-03-20 17:22:12 +00:00
Chad Kieffer
591403d794 Added rotate cc and ccw icons to themeroller theme and css to default theme, applied to quick pane rotate buttons. Hope that jQuery UI includes rotate icons eventrually so we don't have to maintain this. 2009-03-18 06:15:37 +00:00
Tim Almdal
3a5de959b9 Fix for ticket #143 2009-03-18 02:49:04 +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
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