summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2010-02-28Fix profiler display: It looks like it was broken by an API change in the ↵Andy Staudacher
latest kohana upgrade.
2010-02-27Fix for ticket #1035: Make .htaccess access rules work for the case when ↵Andy Staudacher
index.php isn't part of generated URLs.
2010-02-27Fix for ticket #1037: Only show language drop-down when there's actually a ↵Andy Staudacher
choice.
2010-02-27Additional fixes for plural handling when deleting translations / marking ↵Andy Staudacher
them as untranslated.
2010-02-27Fix l10n client, copy of existing plural translation to form fields.Andy Staudacher
I think this was broken in a recent jQuery update. It used to allow matching the HTML "name" attribute with #name_value, now you need to match by elementName[name=name_value].
2010-02-27Client (UI) side fix for ticket #1042, based on a patch from fpaterno ↵Andy Staudacher
(Florent Paterno). Mark message as untranslated if the translation is empty.
2010-02-27Incremental fix for ticket #1042: Delete translation from ↵Andy Staudacher
outgoing_translations when the user submits a form with an empty translation.
2010-02-27Fix for ticket #1036 - Don't echo any sensitive information such as ↵Andy Staudacher
passwords, hashes or personally identifiable information.
2010-02-24Fix multi-column layout of language admin.Andy Staudacher
2010-02-24Add Faroese to the language list. Verified that it uses the default plural ↵Andy Staudacher
rules, thus no changes in Gallery_I18n.php or on the server side required.
2010-02-24Fix for ticket #1034: Fix db cache driver delete() call which was missed in ↵Andy Staudacher
a recent refactoring / fix.
2010-02-23Reset the active user to admin in all test cases where we change theBharat Mediratta
user to something else.
2010-02-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-02-23Fix Cache tests for recent Cache/Database.php driver fix.Andy Staudacher
Cache::delete($arg) allows for scalars and arrays, but Cache drivers' delete($arg) function always expects an array.
2010-02-23VerifiedBharat Mediratta
2010-02-23Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-02-23Name this release "Santa Fe". Fixes ticket #683.Bharat Mediratta
2010-02-23Fix translation cache for installations with 0 translations in the DB.Andy Staudacher
2010-02-22Fix for ticket #1027: Add index on cache key column.Andy Staudacher
(and fix the packager to truncate the cache table before packaging)
2010-02-22Merge commit 'upstream/master'Andy Staudacher
2010-02-21Performance improvement: Load all translations of a locale as one serialized ↵Andy Staudacher
array from the Cache. Until now, we loaded hundreds of translation messages row by row, and unserializing one by one at bootstrap time. That amounted to a significant percentage of the complete request time. This approach is more than 10x faster.
2010-02-21Fix delete() function of DB based Cache driver. It expected a scalar key / ↵Andy Staudacher
tag value, but it was always an array of keys / tags. (compare to system/libraries/Cache.php and the File.php driver)
2010-02-21Fix progress bar / maintenance tasks for locales that use comma as decimal ↵Andy Staudacher
separator, such as German.
2010-02-21Revert "Fix Kohana's internal cache for Gallery's usage pattern."Andy Staudacher
This reverts commit 5ddd7c9677b644396981de7df8176a3b168ffe21.
2010-02-21Fix Kohana's internal cache for Gallery's usage pattern.Andy Staudacher
Adds a core.internal_cache_read_only config variable to Kohana's internals. Kohana's internal_cache for find_file wasn't working in Gallery because the cache would be emptied on each request after reading it from disk and before most lookups would run. 1. Bootstrap sets initial core.modules (= include path): forge, kohana23_compat, gallery. 2. Kohana::setup() loads find_file cache from disk. 3. Gallery loads list of active modules and themes, and updates the core.modules value (=include path), which forces the internal find_file cache to be empties (which makes sense). 4. Request processing starts, and thus 80% of all Kohana::find_file() triggered is_file() invocations start off with an empty find_file cache. In the case of my small Gallery installation, we're talking about 3100 is_file() invocations per request with or without internal_cache enabled. With this fix, this number is down to 800 invocations. The basic idea is that we treat the cache as read only and don't write any (possibly dirty) values to it in memory until we're sure that the include path won't change later on in the request processing. Once we know the list of active modules and themes, we can update core.modules and finally flip the read-only state of the cache and start writing to it.
2010-02-21Add Menu::add_before()Bharat Mediratta
2010-02-19Fix the resize_url and file_url in as_restful_array()Bharat Mediratta
2010-02-19Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2010-02-19Correct the view_fillsize permission to view_full. In addition, change the ↵Tim Almdal
name of the field containing the url to the fullsize image to file_url instead of fullzie_url
2010-02-19Refactor away the "display_all" construct in User_Profile_Controller.Bharat Mediratta
"display_all" is too coarse, and we should be letting event handlers make the appropriate decision on what to display and when. This duplicates some code, but it's now very clear in the event handlers what's getting shown. Throw a 404 if we try to view the user profile for a missing user. The only feature change in this should be that we now display the name, full name and website for a user to any other registered user, which makes sense since these are typically public fields. Don't show any of the edit buttons unless identity::is_writable()
2010-02-19Add spaces around %name in the "create a file" text so thatBharat Mediratta
double-clicking the token only selects that one word, not the word on the line before (which happens on Chrome/Linux)
2010-02-18Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2010-02-18First pass at user profile formatting updates. Moved buttons to the top, ↵Chad Kieffer
simplified HTML and CSS.
2010-02-18Restore the user_profile.php change from revertedBharat Mediratta
409121942590e12692eaf4e6e9e8b71bfe5ed60c that had this comment in the change: "Also fixed a UI bug: No longer showing the edit user buttons to admins in the profile view (to be consistent with the requirements in the controller)."
2010-02-18Restore the gallery_installer change from reverted ↵Bharat Mediratta
dcddc68f58dac2f0fe71f5a00ea4af32618efa13 that casts $powered_by_string from SafeString to string.
2010-02-18Revert "Fix for ticket #491: Make user and group names translatable."Bharat Mediratta
This reverts commit 409121942590e12692eaf4e6e9e8b71bfe5ed60c.
2010-02-18Revert "Never assign a SafeString instance to a Model member (or hell will ↵Bharat Mediratta
break loose)." This reverts commit dcddc68f58dac2f0fe71f5a00ea4af32618efa13.
2010-02-18Revert "Fix for ticket #1017: Handle the common case of t(html::clean($var)) ↵Bharat Mediratta
by casting SafeString instances to string in translate()." This reverts commit 4ca55a90ee2f8e1d8595b0ec53a601d6c65475f6.
2010-02-18Improve setlocale() call, using some of G2's locale fallback code to match ↵Andy Staudacher
the platform's locale names.
2010-02-18Improve setlocale() call, using some of G2's locale fallback code to match ↵Andy Staudacher
the platform's locale names.
2010-02-16Fix for ticket #1017: Handle the common case of t(html::clean($var)) by ↵Andy Staudacher
casting SafeString instances to string in translate().
2010-02-15Put focus on password field in reauthenticate dialog.Andy Staudacher
2010-02-15Update of reviewed XSS audit data.Andy Staudacher
2010-02-15Never assign a SafeString instance to a Model member (or hell will break loose).Andy Staudacher
2010-02-15return the absolute url not the relative for the full size, resize and thumb ↵Tim Almdal
images.
2010-02-14Fix for ticket #491: Make user and group names translatable.Andy Staudacher
Also fixed a UI bug: No longer showing the edit user buttons to admins in the profile view (to be consistent with the requirements in the controller).
2010-02-14Fix for ticket 901: Wrap Gallery version string into bdo tag to override the ↵Andy Staudacher
BiDi algorithm. Also, properly marking the "Powere by" string for translation. See: http://www.w3.org/International/tutorials/bidi-xhtml/#Slide0420
2010-02-14Need to allow access to ::change_provider for CLI, to make packager work.Andy Staudacher
2010-02-14Enable session expiration. Currently, it's set to expire sessions after 7 ↵Andy Staudacher
days of inactivity.
2010-02-14Minor security tightening of IdentityProvider::change_provider().Andy Staudacher