Bharat Mediratta
d398651c08
Disable selectFirst in the autocomplete box, which makes it a little
...
harder to select pre-existing tags, but avoids the problem where we
force the user to pick from existing tags. Fixes ticket #1339
2010-09-07 00:34:41 -07:00
Bharat Mediratta
7c80bc0c3d
Merge branch 'master' of github.com:gallery/gallery3
2010-09-06 22:20:32 -07:00
Bharat Mediratta
fa1fe47b6a
Use the absolute site url when logging out of the admin site else we
...
wind up with weird url doubling effects. Fixes ticket #1342 .
2010-09-06 22:13:41 -07:00
Bharat Mediratta
2f94dfc67c
Add "Options +FollowSymLinks" to the example mod_rewrite rules and put
...
it in a textarea for easy copying.
2010-09-06 19:40:36 -07:00
Bharat Mediratta
2f810ec126
Add "web_url" with the url to the web version of the item. Fixes ticket #1341 .
2010-09-06 19:28:34 -07:00
Bharat Mediratta
886b88fccf
Revert "change the Setswana locale from tn_ZA to tn_BW since it's mostly"
...
This reverts commit 2d948cb39f .
Valiant said that tn_ZA is right:
http://gallery.menalto.com/node/97840#comment-352865
2010-09-06 18:49:37 -07:00
Bharat Mediratta
8a36c24f39
Fix some broken identity APIs:
...
- add_user_to_group and remove_user_from_group should take Group_Definition instances
to be consistent
- add_user_to_group and remove_user_from_group in drivers/IdentityProvider.php should
not be static
2010-09-06 18:20:46 -07:00
Bharat Mediratta
cc399bf4f0
Track the language of the user receiving the notification and send the
...
email in that user's language. Incidentally, send one email per
recipient, else we're leaking email addresses which is bad for
community sites. Bump notification module to v2 in the process.
Fixes ticket #1287 .
2010-09-06 16:20:37 -07:00
Bharat Mediratta
ec2c9dad64
Verified checkpoint.
2010-09-06 15:20:04 -07:00
Bharat Mediratta
883d8f1e23
Whitespace.
2010-09-06 15:06:37 -07:00
Bharat Mediratta
cb22f23be6
Show the "view log" button for tasks that are running, in case they're
...
paused/abandoned for some reason and we want to know more details.
2010-09-06 14:16:26 -07:00
Bharat Mediratta
fc856b6aba
Add retry logic to the task framework. We retry 4 times with
...
increasing backoff and if that fails, we put up a manual "retry" link.
Fixes ticket #1270 .
2010-09-06 14:08:05 -07:00
Bharat Mediratta
2d948cb39f
change the Setswana locale from tn_ZA to tn_BW since it's mostly
...
Botswana anyway according to @sagemaniac in
http://gallery.menalto.com/node/97840
2010-09-06 14:05:48 -07:00
Bharat Mediratta
b3b6021b0a
Don't bomb on the race condition when we're trying to create the
...
gallery/_cache row and it already exists. Fixes ticket #1338 .
2010-09-06 12:41:27 -07:00
Bharat Mediratta
46b30ce949
Add Setswana (tn_ZA). Fixes ticket #1336 .
2010-09-05 22:00:28 -07:00
Bharat Mediratta
ca0c3b3e7f
Force "Options +FollowSymLinks" since that's a requirement for
...
mod_rewrite to work. This is surprisingly obscure in the docs.
Thanks to bromide for turning this up in
http://gallery.menalto.com/node/97791 !
2010-09-05 21:25:46 -07:00
Bharat Mediratta
c51b6ab38d
Fix full size dimensions after rotating an image on the photo view page.
...
The photo view page caches the dimensions of the full size and then
renders it in Javascript. But after rotation, those dimensions are no
longer valid. Create a new function on the items controller that
returns the appropriate dimensions, then add a hook on
$.gallery_replace_image and implement the hook on the photo view page
to have it make an async call to get the new dimensions.
Fixes ticket #1317
2010-09-04 15:54:07 -07:00
Bharat Mediratta
db75ac642a
Use the title of the root album as the site title for all RSS feeds.
...
Fixes ticket #1307 .
2010-09-04 13:40:39 -07:00
Bharat Mediratta
32d1892068
Follow on to 2a86446249c4782287e1e6e472f422b851c2fb47; fix a bug where
...
guest access to admin pages fails because we try to go to the login
page but you can't do that from the admin theme. Thanks to mamouneyya
for catching this.
2a86446249
2010-09-02 22:53:06 -07:00
Bharat Mediratta
511826a33c
Don't show the "(## errors)" part of the status message if there haven't been any errors.
2010-09-02 01:10:15 -07:00
Bharat Mediratta
2a86446249
Handle the case of a completely private Gallery separately and just
...
put up a login page, very similar to the way that the maintenance mode
login page works. Fixes ticket #1056 .
2010-09-02 00:50:02 -07:00
Bharat Mediratta
23b566e592
One more adjustment for ticket #1216 . The packaging process forces
...
the default email address for admin to be unknown@unknown.com and when
that happens the gallery_event::user_updated() event listener fires
and sets the default values. This is hard to work around, so let's
just roll with it and use unknown@unknown.com as our default placeholder.
So now, if an admin sets their email address and the current values
are unknown@unknown.com we adopt the admin's email address for the
site's mail_from/reply_to fields.
2010-09-01 23:52:19 -07:00
Bharat Mediratta
7477f0119c
Explain wtf we're doing in user_updated.
2010-09-01 23:39:01 -07:00
Tim Almdal
4a7fc1a981
Fix up the test so it works with the changes for ticket #1216 . Also note the name change to the first test. Form a php reflection point of view Sendmail_Test (class name) == sendmail_test (method name) so the method gets treated as a constructor instead of a test method.
2010-09-01 23:21:56 -07:00
Tim Almdal
545177c648
Merge branch 'master' of git@github.com:gallery/gallery3
2010-09-01 23:19:50 -07:00
Tim Almdal
04f6646b06
Hopefully the third and final patch for #1216 . Set the default from and reply-to addresses to an empty string. The first time the user model is saved, set the sendmail from and reply-to addresses. Requires an update to gallery version 38.
2010-09-01 23:19:43 -07:00
Bharat Mediratta
70c8572ea1
Make RENAME TABLE operations idempotent so that in case there's a
...
failure of some kind we can restart the upgrade and it'll continue.
Fixes ticket #1325 .
2010-09-01 22:19:44 -07:00
Bharat Mediratta
af3d5acbcd
Merge branch 'master' of github.com:gallery/gallery3
2010-09-01 22:00:40 -07:00
Bharat Mediratta
80e9fcaf47
Don't use $.remove() to get rid of items from the uploadify queue;
...
that breaks uploadify and causes it to be unable to upload any new
items. Fixes ticket #1324 .
2010-09-01 22:00:26 -07:00
Tim Almdal
1f621d9827
Refine the patch for #1216 . If the admin user changes their email address update the sendmail from and reply_to fields in advanced settings. Also change this if the identity provider has changed.
2010-09-01 21:24:41 -07:00
Bharat Mediratta
78c590ebae
Don't use HTTP_HOST to get the hostname. We force that to
...
"example.com" when we are using the CLI so we'll get inconsistent
behavior between CLI and the web interface.
For now hardcode it to be example.com so that it's clear. But to do
it right we need an after_install step which actually fixes it up.
And probably an after_upgrade step as well.
2010-08-31 21:07:43 -07:00
Tim Almdal
f80aff7434
Merge branch 'master' of git@github.com:gallery/gallery3
2010-08-31 20:46:49 -07:00
Tim Almdal
e09c6dbd5e
Patch for ticket #1216 . Move the values that were in the sendmail config file and store them as gallery module variables. Requires a version number bump to 37.
2010-08-31 20:45:09 -07:00
Tim Almdal
438cea231d
Clean up the default case in the OrganizeProperties::getProperty method
2010-08-31 20:40:48 -07:00
mamouneyya
318a94a5ef
flip the float value for RTL
2010-09-01 10:59:00 +08:00
Bharat Mediratta
23d59dec72
Merge branch 'master' of github.com:gallery/gallery3
2010-08-31 00:06:32 -07:00
Bharat Mediratta
db769b76ab
Expire completed uploads and introduce a text message that says how
...
many photos have been uploaded successfully. This is to pave the way
for retry code later on.
2010-08-31 00:03:46 -07:00
Tim Almdal
7819cc1723
Merge branch 'master' of git@github.com:gallery/gallery3
2010-08-30 22:43:42 -07:00
Tim Almdal
9bc84b6986
Clean up the default case in the OrganizeProperties::getProperty method
2010-08-30 22:43:25 -07:00
Bharat Mediratta
5568ab24de
Normalize the "flash missing" message string with the one in the
...
uploader for convenient localization.
2010-08-30 22:21:00 -07:00
Bharat Mediratta
c85b20d6ab
Merge branch 'master' of github.com:gallery/gallery3
2010-08-30 22:20:43 -07:00
Bharat Mediratta
953d63555c
Detect Flash and put up a reasonable message if your browser doesn't
...
have Flash installed. Fixes ticket #1268 .
2010-08-30 22:19:57 -07:00
Tim Almdal
866f8eefc6
Fix for ticket #1320 . Hook the loading of the initial albums and check to see if the loaded item is the requested item.
2010-08-30 22:06:26 -07:00
Tim Almdal
0f2daf29ac
Fix for ticket #1320 . Hook the loading of the initial albums and check to see if the loaded item is the requested item.
2010-08-30 22:05:01 -07:00
Bharat Mediratta
bc0d5e79cb
Revert "Change the theme option page to display using tabs if the site theme has an admin page."
...
This reverts commit d66c496fb1 .
Conflicts:
modules/gallery/helpers/theme.php
modules/gallery/views/admin_theme_options.html.php
themes/admin_wind/css/screen.css
2010-08-29 23:09:52 -07:00
Bharat Mediratta
3707d4e94f
Properly identify the base G2 url when G2 isn't using the rewrite
...
module. Fixes ticket #1322 .
2010-08-29 21:50:25 -07:00
Bharat Mediratta
e881693798
Remember which comments we imported and don't import them a second
...
time. Fixes ticket #1282 .
2010-08-29 21:29:40 -07:00
Bharat Mediratta
fcd4f77bb4
Reformat comment.
2010-08-29 21:26:25 -07:00
Bharat Mediratta
ab598b2931
Put the theme CSS at the end of the module CSS so that the theme has
...
the final say. Fixes ticket #1315 .
2010-08-29 21:15:58 -07:00
Bharat Mediratta
2c717b18d3
Don't concatenate two strings together as an argument for t() or t2();
...
the l10n_scanner cannot parse it properly and drops those from the
localization list. Fixes ticket #1284 .
2010-08-29 20:04:02 -07:00