| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-02-21 | Fix 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-21 | Add Menu::add_before() | Bharat Mediratta | |
| 2010-02-19 | Fix the resize_url and file_url in as_restful_array() | Bharat Mediratta | |
| 2010-02-19 | Merge branch 'master' of git@github.com:gallery/gallery3 | Tim Almdal | |
| 2010-02-19 | Correct 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-19 | Refactor 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-19 | Add spaces around %name in the "create a file" text so that | Bharat Mediratta | |
| double-clicking the token only selects that one word, not the word on the line before (which happens on Chrome/Linux) | |||
| 2010-02-18 | Merge branch 'master' of github.com:gallery/gallery3 | Chad Kieffer | |
| 2010-02-18 | First pass at user profile formatting updates. Moved buttons to the top, ↵ | Chad Kieffer | |
| simplified HTML and CSS. | |||
| 2010-02-18 | Restore the user_profile.php change from reverted | Bharat 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-18 | Restore the gallery_installer change from reverted ↵ | Bharat Mediratta | |
| dcddc68f58dac2f0fe71f5a00ea4af32618efa13 that casts $powered_by_string from SafeString to string. | |||
| 2010-02-18 | Revert "Fix for ticket #491: Make user and group names translatable." | Bharat Mediratta | |
| This reverts commit 409121942590e12692eaf4e6e9e8b71bfe5ed60c. | |||
| 2010-02-18 | Revert "Never assign a SafeString instance to a Model member (or hell will ↵ | Bharat Mediratta | |
| break loose)." This reverts commit dcddc68f58dac2f0fe71f5a00ea4af32618efa13. | |||
| 2010-02-18 | Revert "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-18 | Improve setlocale() call, using some of G2's locale fallback code to match ↵ | Andy Staudacher | |
| the platform's locale names. | |||
| 2010-02-18 | Improve setlocale() call, using some of G2's locale fallback code to match ↵ | Andy Staudacher | |
| the platform's locale names. | |||
| 2010-02-16 | Fix for ticket #1017: Handle the common case of t(html::clean($var)) by ↵ | Andy Staudacher | |
| casting SafeString instances to string in translate(). | |||
| 2010-02-15 | Put focus on password field in reauthenticate dialog. | Andy Staudacher | |
| 2010-02-15 | Update of reviewed XSS audit data. | Andy Staudacher | |
| 2010-02-15 | Never assign a SafeString instance to a Model member (or hell will break loose). | Andy Staudacher | |
| 2010-02-15 | return the absolute url not the relative for the full size, resize and thumb ↵ | Tim Almdal | |
| images. | |||
| 2010-02-14 | Fix 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-14 | Fix 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-14 | Need to allow access to ::change_provider for CLI, to make packager work. | Andy Staudacher | |
| 2010-02-14 | Enable session expiration. Currently, it's set to expire sessions after 7 ↵ | Andy Staudacher | |
| days of inactivity. | |||
| 2010-02-14 | Minor security tightening of IdentityProvider::change_provider(). | Andy Staudacher | |
| 2010-02-14 | Create an items REST collection requests that accepts a list of resource ↵ | Tim Almdal | |
| urls and returns the items associated with them. | |||
| 2010-02-14 | Remove the dirty flags from the information returned from the rest request ↵ | Tim Almdal | |
| for an item. In addition, add links to the images. | |||
| 2010-02-14 | Change JavaScript reauthentication check to check via XHR. | Andy Staudacher | |
| Benefit: Getting the real deadline this way, not interfering with an ongoing maintenance task. | |||
| 2010-02-14 | HTML validation fix (<script>) | Andy Staudacher | |
| 2010-02-14 | Some HTML validation fixes (don't render empty <ul> lists, empty id ↵ | Andy Staudacher | |
| attributes, use & not &) | |||
| 2010-02-14 | For consistency, use straight Kohana_404_Exception instead of the event system. | Andy Staudacher | |
| 2010-02-12 | Tighten up the text. | Bharat Mediratta | |
| 2010-02-12 | Fix for tickets 1009 and 603: Show a themed error page to guests / ↵ | Andy Staudacher | |
| registered users (not to admins though). And show a login form to guests for 404 (incl. insufficient view permissions) errors. | |||
| 2010-02-12 | Revert "1) Add a depth parameter to retrieving an item thru the rest api" | Bharat Mediratta | |
| This reverts commit 3439671bcfb99c1884285e4b4e53295f044e688f. | |||
| 2010-02-12 | 1) Add a depth parameter to retrieving an item thru the rest api | Tim Almdal | |
| 2) Standardize the structure of members so that client programs can consistently parse the return information. 3) Added a summary parameter so that client programs can easily determine if the information returned is summary (item type, item title) or the full meal deal | |||
| 2010-02-11 | Security: Fix leaking of album / photo names. Reject previous fix for ticket ↵ | Andy Staudacher | |
| 1009. Side effect: Renaming auth::required_login() to login_page(). | |||
| 2010-02-11 | Use the admin/users/edit_user_form version of the user editing form | Bharat Mediratta | |
| right after initial install so that we're not requiring the user to re-enter the auto-generated password to change their password and email. Fixes ticket #1007 | |||
| 2010-02-10 | Refactor the code to display the login page if the user does not have view | Tim Almdal | |
| permission into the common auth::require_login() method. | |||
| 2010-02-10 | If the user does not have permission to view the album, photo or movie, redirect | Tim Almdal | |
| to a logon page to allow the user to login. Pass the target url as a session variable to allow the user to be redirected where they want to go if the login was successful. Fixes ticket #1009. | |||
| 2010-02-10 | Use the helper ulr:current instead of manually creating the continue url. | Tim Almdal | |
| 2010-02-09 | Merge branch 'master' of github.com:gallery/gallery3 | Bharat Mediratta | |
| 2010-02-09 | Formated upgrader for RTL languages. Closes ticket #883 | Chad Kieffer | |
| 2010-02-09 | Rename item name and slug if necessary to avoid a conflict when we | Bharat Mediratta | |
| move photos. Fixes ticket #957. | |||
| 2010-02-09 | Whitespace. | Bharat Mediratta | |
| 2010-02-09 | Add unit tests for item::move() in preparation for renaming when there | Bharat Mediratta | |
| are conflicts (see ticket #957) | |||
| 2010-02-08 | Merge commit 'upstream/master' | Andy Staudacher | |
| 2010-02-08 | Change admin area timeout from 20 to 90 minutes | Andy Staudacher | |
| 2010-02-08 | Merge branch 'master' of github.com:gallery/gallery3 | Bharat Mediratta | |
| 2010-02-08 | Override Input::clean_input_keys() to sanitize malicious values out of | Bharat Mediratta | |
| strings instead of dying. This at least gives us graceful degradation. Fixes ticket #764, patch thanks to djnz. | |||
