Bharat Mediratta
eda2d75fa0
Disable smooth progressbar scrolling when we're at 100% (else the
...
progressbar trucks along slowly even though the task is done).
2009-07-28 20:31:24 -07:00
Tim Almdal
a7f4d7aced
Revert commit 078c77a62b and change the
...
tag_event:item_edit_form to use the new Form_Script library to inject
script into a form.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-07-28 21:00:25 +08:00
Tim Almdal
2f969c80eb
Create A Forge Script element. Form_Script allows the specification
...
of either a url to a script file or in line text which will be included
in a script block.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-07-28 12:04:23 +08:00
Bharat Mediratta
50d6cc0150
Merge branch 'master' of git@github.com:/gallery/gallery3
2009-07-23 22:08:29 -07:00
Tim Almdal
078c77a62b
Add tag autocomplete to the album and photo edit pop up dialogs.
...
This required putting a wrapper view around the forms and passing
this view as the parameter to the item_edit_form event. The view
contains a $script variable that the modules can add script to be
included in the form html when rendered as part of the ajax response.
2009-07-24 14:18:15 -07:00
Bharat Mediratta
5c8a2a750c
Smooth out the animaation for the progress bar.
2009-07-23 20:43:32 -07:00
Romain LE DISEZ
350c1b0267
Use BOOLEAN instead of integer to describe the permissions :
...
- DENY = false
- ALLOW = true
- UNKNOW = null (for intent only)
- INHERIT = null (for cache)
Upgrade is not included for now.
(cherry picked from commit 719c59e040 )
2009-07-23 09:11:55 -07:00
Bharat Mediratta
0546f0df13
Fix the bug that the quick menu fires for the wrong photo. This stems
...
from using a single gQuickPane <div> that we move around. A race
condition happens when you mouse over two thumbnails quickly.
Whichever server response loses the race gets displayed, and sometimes
it's the one that you're no longer hovering over.
Fix it by changing gQuickPane to be a class and creating a <div> per
thumbnail.
Fixes ticket #290 .
2009-07-21 13:39:40 -07:00
Bharat Mediratta
2de6b77d61
Use php_uname() instead of PHP_OS for greater accuracy. Fixes ticket #563 .
2009-07-21 11:20:36 -07:00
Shai Ben-Naphtali
b99774ac49
Fixed grammer and set lowercase for the word project (minor change)
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-07-21 13:19:07 +08:00
Bharat Mediratta
67e83e66c6
Fix indentation
2009-07-20 22:12:39 -07:00
hiwilson
653badc2e1
set wmode='transparent' other than flowplayer.js
...
(cherry picked from commit 79a46658196a98a3972983cc422d1ee544b09d4a)
2009-07-20 22:11:22 -07:00
Bharat Mediratta
df22832a5b
Rename "locale" helper to "locales" to avoid conflicting with PHP 5.3.
...
Fixes ticket #194
2009-07-17 18:35:06 -07:00
Bharat Mediratta
c4a3093011
3rd attempt to fix localization messages. Last time around I didn't
...
dig deep enough, but now we form the complete message using t() style
semantics to replace % placeholders with __ style JS placeholders.
Also, stop appending the (completed) text to existing messages.. roll
it together.
2009-07-14 12:36:57 -07:00
Bharat Mediratta
c3f93957d7
Move the gallery version out of a module variable and into a constant
...
in the gallery helper. This will let us bump the version without
having to bump the gallery module number.
2009-07-14 10:56:10 -07:00
Bharat Mediratta
8c6c3801bb
Fix a typo in the last commit. I left off a closing paren.
2009-07-11 07:12:29 -07:00
Bharat Mediratta
f2a3fa46f5
Change 'completed' status message to be a full sentence with javascript placeholders.
2009-07-11 07:10:05 -07:00
Shai Ben-Naphtali
30346ec842
Fixed indentation of commit 2760e119bbfc3e2d436c404de194dbeea738a735
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-07-12 14:11:15 +08:00
Shai Ben-Naphtali
245f4d39a7
This fixes ticket #513
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-07-12 14:11:14 +08:00
Tim Almdal
f887fd32a4
Forgot to add this file when change "Done"'s to "Close"'s
2009-07-10 14:19:33 -07:00
Tim Almdal
15bb52a776
Change the word "Done" to "Close" to make translations easier
2009-07-10 14:12:13 -07:00
Tim Almdal
9f00e734ed
Added the button formatting to the other links on the Admin Maintenance page.
2009-07-08 08:26:14 -07:00
Tim Almdal
2852161ca3
Provide some clarity on the action links by formating them as buttons on
...
the Maintenance Tasks admin page.
2009-07-07 21:49:54 -07:00
Tim Almdal
5d9e334fe6
Added a wee bit of phpDoc.
...
Changed the name of the method get_task_log to get_log
Changed the default name of the file when the log is downloaded to
gallery3_task_log.txt
2009-07-07 12:49:21 -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
30aa065013
Don't use jQuery in the error page, it interferes with the jquery lib
...
in the outer page when we load it in a dialog context.
2009-07-06 12:41:54 -07:00
Tim Almdal
04f02b49c5
Add task logging functionality. When a task runs, it creates a log that is
...
stored in the persistant cache for 30 days. On the admin_maintenance page
there is a new link for completed tasks "browse log". Clicking this will
open a dialog box that has the the contents of the log displayed.
The user can then view the log and close the dialog, or press the save button
to download the log to their local machine.
2009-07-05 17:38:49 -07:00
Tim Almdal
54ffea2419
Split the clean method into two clean and purify. clean is a light weight
...
approach using html::specialchars and purify uses HTMLPurifier to intelligently
cleanse the output fields. Use purifier for text and title fields where it is
likely that a user would enter html to format their data.
2009-07-03 21:44:10 -07:00
Andy Staudacher
a633c134b7
Ticket 104: Adding "Copy sourc text" button to l10n UI (usability / productivity improvement)
2009-07-03 16:14:05 -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
Tim Almdal
8ed6d1183b
Fix for #319 .
...
Created a new view "movieplayer.html.php", which is rendered by
Item_Model::movie_img(). Changed movie.html.php to use movie_img to render
the movie player link.
2009-06-30 08:21:00 -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
d4738ce484
Partial fix for ticket 471 - i18n of "Translate Text" button in l10n client
2009-06-29 22:05:55 -07:00
Andy Staudacher
333c9d47e3
Fix HTML in l10n message
2009-06-29 19:53:05 -07:00
jhilden
4dab7f8dd0
admin dashboard blocks can now be moved from left to right sidebar
...
fix for bug report #92
removed containment parameter for the jQuery sortable plugin
seems to work in Firefox, Chrome and IE 8
2009-06-29 16:23:12 -04:00
jhilden
b31b3bd5bf
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-29 16:03:45 -04:00
jhilden
eb82f6a64a
added textual description of upload progress
...
moved the cancel link to above the upload queue (where the textual upload progress also is)
2009-06-29 16:02:11 -04:00
Bharat Mediratta
9bdc84733d
use jquery.scrollTo to scroll the active upload into view.
2009-06-28 17:07:41 -07:00
Tim Almdal
fa4bb5b7ac
Change the quick pan from static to dynamic. This allows modules to add buttons to the
...
quick pane. The quick pane is now divided into 4 sections: left, center, right and
additional. Additional items appear in the drop down box. Buttons are not sorted
within the groupings.
In addition, the quick pane will overflow onto the "additional" dropdown if there is not
enough room to display all the buttons.
The use case is the digibug printing module needed to add a button to the quick pane, and
I don't like putting code into core that says if module is active... That's another one
of those code smells :-)
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-22 21:08:35 +08: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
b3226d7cbb
Improve the task dialog
...
1) Put a "starting up..." message before there's any feedback from the server
2) show the title of the task in the dialog.
2009-06-19 13:25:42 -07:00
Andy Staudacher
b6290b45cf
Fix format of source message in l10n client (adding a newline between plural forms)
2009-06-18 12:44:05 -07:00
Andy Staudacher
452402293e
Beautify "Show All" link, and only show when it's not already showing all strings
2009-06-16 20:33:44 -07:00
Andy Staudacher
be226b9baa
Add option to list *all* l10n messages (that have been indexed) in l10n UI
...
TODO: The "Show All" link is almost invisible (link color ~= background)
2009-06-16 20:25:01 -07:00
Chad Kieffer
390bc7c1f6
Switch quick delete from JS confirm to jQuery UI dialog, closes ticket #355 .
2009-06-14 10:42:14 -06:00
Bharat Mediratta
3e71a44a96
Add a closing </b> to the warning.
2009-06-12 23:04:34 -07:00
Bharat Mediratta
26314d0ef8
Create gallery::date_time(), gallery::date() and gallery::time()
...
functions that format a unix timestamp into a date+time/date/time
string.
Partial fix for ticket #347 .
2009-06-12 22:44:51 -07:00
unostar
e9e61d51bc
Add string to localizer
...
Signed-off-by: Bharat Mediratta <bharat@menalto.com >
2009-06-12 15:38:41 +08:00
Bharat Mediratta
0b23433d94
Rename theme_details to theme_options. These changes got left out of
...
68fd196d66 leaving us in a temporarily
broken state.
2009-06-11 12:50:50 -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