Commit Graph
270 Commits
Author SHA1 Message Date
Bharat Mediratta fcc72bbbd0 Rename $class to $css_class for clarity. 2010-01-28 09:41:18 -08:00
Bharat Mediratta c011b0e1f6 Secure the t("Completed") call. 2010-01-28 09:37:33 -08:00
Bharat Mediratta 44b372077c Secure the t("Continue") strings in javascript. 2010-01-28 09:35:38 -08:00
Tim Almdal c51fe96820 Make the varible for the profile name more descriptive and clean the label 2010-01-28 09:27:27 -08:00
Tim Almdal f943a2deef Don't show a link to the user profile for the guest user 2010-01-28 08:14:33 -08:00
Tim Almdal cedbc82dcc Do all the html::clean|purify calls in the views and not the controller. Also clean the subject line and email message body of the contact user email. 2010-01-28 07:44:58 -08:00
Tim Almdal 6023f2bb46 Remove the return url and change the return button on the user profile page to use javascript to return to the previous page. 2010-01-25 08:10:28 -08:00
Tim Almdal 2cb28d46f8 Merge branch 'master' of git@github.com:gallery/gallery3 2010-01-24 15:27:41 -08:00
Tim Almdal 7c06e21ec4 Refactor creating the user profile page content into the the event module. The show_user_profile is used to provide content to the user profile page. Add the list of the users comments to the profile page. 2010-01-24 15:27:33 -08:00
Tim Almdal c39437a192 Change the hover text to just display 'Your profile'. 2010-01-23 23:52:29 -08:00
Tim Almdal ed5b07b335 Create a user profile page that is used as a landing page when referencing a user in messages or pages.
Partial fix for ticket #889 and a fix for #931.
2010-01-23 21:38:01 -08:00
Bharat Mediratta 61e31b6f77 Fix typo: change $entryr to $entry->user 2010-01-23 16:45:10 -08:00
Tim Almdal a1a3d4f595 Correct the javascript so it will find the "Continue" button in other languages than english. 2010-01-23 14:57:10 -08:00
Tim Almdal 06ef3885b3 Increase the size of the 'select photos' button so that it doesn't wrap and set the size of the underlying flash object. 2010-01-23 09:23:08 -08:00
Tim Almdal dabd5b84b2 Remove the identity manager screens and controller as alterntive identity providers are installed in the admin module screen. 2010-01-22 12:22:31 -08:00
Tim Almdal 1175783123 Disable the continue button after clicking so it can only clicked once. 2010-01-22 12:16:36 -08:00
Tim Almdal 0da5d9e606 Internationalize all strings in admin_modules.hmtl and corrected comments. 2010-01-21 20:33:26 -08:00
Tim Almdal d59c6ed4f1 The admin module controller allows modules to provide a check_environment method
which is called prior to installation.  The method allows the module to provide
an error message or warnings if the module can not be installed or activated
without issues.  The admin module controller also will fire a pre_deactivate
event, which allows modules to indicate issues that may arise be deactivating the
specified module.

These messages are displayed in a dialog box prior to installation in order to
allow the gallery administrator to determine the appropriate action before proceeding.

Lays the foundation for implementing a fix for ticket #937
2010-01-21 12:57:45 -08:00
Tim Almdal 3dfac5884f Add a css id attribute to the i10n-edit-translation element. Fixes ticket #969. 2010-01-12 08:31:28 -08:00
Bharat Mediratta 681613ac9e Fix up tabs, leading <?php. 2010-01-02 14:52:10 -08:00
Tim Almdal 1b3d20a0fb Correct formatting in the uploadify dialog box for safari. 2010-01-02 08:42:06 -08:00
Tim Almdal 399c5c21f6 Force the 'Select Photos...' button to always be in the center of the upload dialog with the flash object overtop of it. Fixes ticket: #908. 2009-12-30 11:47:34 -08:00
Bharat Mediratta 754c531c7e Only mark a variable as empty if its value is null. So 0 shows as 0. 2009-12-27 13:37:39 -08:00
Bharat Mediratta b62083bd24 Cleaner version. Probably has a bunch of cruft in it, but it looks good enough. 2009-12-23 20:48:50 -08:00
Bharat Mediratta 29f982679d First shot at integrating the K24 error page. 2009-12-23 20:36:38 -08:00
Bharat Mediratta 6f063aceac Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev 2009-12-18 14:27:58 -08:00
Bharat Mediratta 86e0bc863a Use url::base() instead of item::root()->url because we can't be sure
that will work (if your database is sitll at Beta 1, you don't have
the slug column, for example).
2009-12-18 14:26:15 -08:00
Bharat Mediratta 62693db037 Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev 2009-12-05 17:56:31 -08:00
Bharat Mediratta c9e6869c68 Rename the "upload_limit" variable to "simultaneous_upload_limit" for
clarity, since it only limits concurrency not the number of actual uploads.

Move the default-setting code into the upgrader so that we avoid
creating the variable as a side-effect of the view (personal
preference to avoid side-effect code since it's led to problems in the
past).
2009-12-02 19:08:13 -08:00
Tim Almdal 1ab8ac305b Allow users to override the number of simulatenous uploads. This setting won't appear until after they have attempted to upload at least once and have issues. 2009-12-02 12:09:34 -08:00
Bharat Mediratta 2e420522ec Preliminary work to cut over to Kohana 2.4
- Kohana::log() -> Kohana_Log::add()
- Kohana::config_XXX -> Kohana_Config::instance()->XXX
- Implement View::set_global in MY_View
- Updated Cache_Database_Driver to latest APIs
- ORM::$loaded -> ORM::loaded()
- Updated item::viewable() to use K2.4 parenthesization
2009-11-25 13:22:24 -08:00
Tim Almdal 6bdb8c3d55 Correct inconsistent captialization. Fixes #906 2009-11-21 09:36:19 -08:00
Bharat Mediratta 5e9bbbe490 Convert the Simple Uploader form over to Forge, and use the event
model to let the Tags module modify it.  This brings it inline with
our other module-extensible form based interactions.
2009-11-20 19:41:45 -08:00
Bharat Mediratta 144c2fb61e Minor reformatting. 2009-11-20 13:04:54 -08:00
Bharat Mediratta ca9e4d5080 Use "#g-add-photos-canvas object" instead of "#g-uploadifyUploader" so
that we're not mixing naming styles.
2009-11-20 12:44:41 -08:00
Bharat Mediratta fab0930d1f Move tag ui to the bottom of the form since it's a lower priority
Internationalize and simplify our error strings.
2009-11-20 12:42:40 -08:00
Tim Almdal eb34b301a7 Add the ability to add tags for files that are uploaded using the simple loader. 2009-11-19 18:08:32 -08:00
Tim Almdal f5b0ce1f47 Revert "Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme."
This reverts commit 1692ee1308.
2009-11-19 11:44:09 -08:00
Tim Almdal 1692ee1308 Currently Admin_Theme_Options controller assumes that all the themes will provide the same values. This change corrects that assumption and moves the management of the theme options, including creating the form and updating the theme options into the theme. 2009-11-18 14:37:49 -08:00
Chad Kieffer 3aa7a3fcda Address RTL issues reported in ticket #869. Placement of checkboxes and radio buttons and sidebar block management lists. 2009-11-17 22:32:25 -07:00
Chad Kieffer 401c9c21e1 White-space fix and quoting update. 2009-11-17 15:16:40 -07:00
Tim Almdal 14f1fc30b5 Use some hacky css to get the buttons alighned properly. Fixes ticket #880. 2009-11-16 07:49:17 -08:00
Bharat Mediratta e0f4e6500d Use text::alternate() instead of hand-rolled even/odd code. 2009-11-15 19:34:44 -08:00
Bharat Mediratta d7b13ee167 Try to keep users from leaving the upgrade page, or running the
upgrade twice.

1) Disable the "Upgrade all" link once clicked
2) Put up a "upgrade in progress" link to show that there's something
   happening.

Fixes ticket #837.
2009-11-15 17:12:26 -08:00
Bharat Mediratta 3481c8b58f Change "confirmation" to "dialog" in preparation for putting up a
"we're working, stay tuned" message.
2009-11-15 16:21:45 -08:00
Bharat Mediratta 9e5714aee8 Tweak upgrader html and css so that we set opacity properly for rows
that are done, and disable the upgrade link when there're no actions
to take.
2009-11-15 16:14:30 -08:00
Bharat Mediratta 6ec81006e7 Fix a bug where we were using <? ?> tags in css to figure out whether we
should gray out an element.
2009-11-15 16:02:39 -08:00
Bharat Mediratta 9df591c774 Close the confirmation box with a fade, instead of a slide. 2009-11-15 15:35:10 -08:00
Tim Almdal 670629fe10 In order for us to provide a button that is style the way we want it to, we need to make the object transparent and hide its button, then our styling shows through. But what worked the other day no longer works, so until thumb gets a chance to look at the style so the buttons line up, we will just go with the default button so it works. 2009-11-13 14:30:38 -08:00
Tim Almdal 8f975636d6 Add some padding to the add photo's button so when the focus goes on the flash object, it lines up with the button. 2009-11-11 20:30:57 -08:00