Commit Graph

23 Commits

Author SHA1 Message Date
Bharat Mediratta
643fffdba0 Add spaces around %name in the "create a file" text so that
double-clicking the token only selects that one word, not the word on
the line before (which happens on Chrome/Linux)
2010-02-19 09:49:05 -08:00
Chad Kieffer
92c2dd61ff Formated upgrader for RTL languages. Closes ticket #883 2010-02-09 21:57:04 -07:00
Andy Staudacher
be5f38adea Minir l10n message cleanup. Avoid <br/> in messages since the server normalizes them to <br />, i.e. leading to a mismatch. 2010-01-31 14:03:32 -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
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
7ea13b3869 Normalize capitalization ticket #596 2009-10-28 12:15:52 -07:00
Kevin Nehls
1499778b4a Remove raw HTML that's wrapped around the name of the file
to create if not logged in as admin
2009-09-13 14:09:50 -07:00
Bharat Mediratta
2aad580f53 Move specialized (pretty) url generation back into Item_Model so that
we're not relying on overriding url::site() to do tricks around item
urls.  This means that you won't get item urls by doing
url::site("albums/37"), for example, but it also means that we won't
get pretty urls where we don't expect them (like in the action of a
<form> element).

Incidentally, this will help us move over to using the slug format
because if you've got a bad character in a url, the edit forms will
now work on it since they'll be id based.
2009-09-08 13:44:52 -07:00
Andy Staudacher
ddb84c84e1 Rename mark_safe() to mark_clean() 2009-08-31 00:42:18 -07:00
Andy Staudacher
effccfd41d Change all instances of SafeString::of_safe_html() to html::mark_safe() in views. 2009-08-30 07:00:56 -07:00
Andy Staudacher
b4b638be44 Undo url helper changes - url methods no longer return a SafeString.
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-29 16:28:30 -07:00
Tim Almdal
b59e94e7dc Change references to Gallery 2 and Gallery 3 to consistently refer to
Gallery n as opposed any variants of this.
2009-07-07 07:32:36 -07:00
Bharat Mediratta
5e8e3ab6b5 Rejigger the way we handle "done" status in the upgrader. Now we
present the done box if you're done and let you get rid of it if you
want.  It's not beautiful, by any means, but it gives you an easy link
back to your Gallery when you're finished.

Fixes ticket #479.
2009-06-30 18:28:55 -07:00
Andy Staudacher
4dfb5aaf25 Fix i18n issue - accidentally called t() on translated messages. Please truncate incoming_translations after this
update to get rid of bad messages in your DB.
2009-06-30 00:22:16 -07:00
Andy Staudacher
333c9d47e3 Fix HTML in l10n message 2009-06-29 19:53:05 -07:00
Bharat Mediratta
ef7f1d07b2 Center the "all done" dialog. Use Jquery and externalize the CSS (I was being
too conservative before).  Fixes ticket #413.
2009-06-20 12:09:49 -07:00
Bharat Mediratta
4118ca4f1d Provide a way for non-admins to authenticate and use the upgrader,
without using our regular code paths.
2009-06-10 21:05:24 -07:00
Bharat Mediratta
2fd322deea ACtually implement the upgrader, and add a confirmation box when the
upgrade is complete.
2009-06-09 21:26:37 -07:00
Bharat Mediratta
a20246b738 Say hello to the new upgrader UI. 2009-06-09 20:33:06 -07:00