Commit Graph
4459 Commits
Author SHA1 Message Date
Bharat Mediratta 6d9d6a2e5d Allow albums to have two (or more) dots in the name. Fixes #1897. 2012-07-21 15:01:31 -07:00
Bharat Mediratta a98afdb32c Refill the path and url caches in the item model at the end of this task. Fixes #1896. 2012-07-21 11:12:51 -07:00
Bharat Mediratta 3e99c37c35 Fix comment typo. 2012-07-21 11:11:16 -07:00
Bharat Mediratta f9e77c4c14 Fix the access_cache rebuilding code to not load all missing access caches into the stack, if you're missing
enough it'll blow the stack (like, if you truncate the access_caches table).  Fixes #1895.
2012-07-21 10:38:23 -07:00
Bharat Mediratta e4daa42830 Rename the comparator to something that makes more sense (to me), and make it static.
Follow-on to 5d9e717417 for #1859.
2012-06-11 14:02:23 -07:00
Bharat Mediratta 8e74750dc2 Checkpoint XSS golden file 2012-06-11 13:54:33 -07:00
Bharat Mediratta 37a0e9a710 Follow-on to 3caf3cc323 for #1866 - harden one
more place and update the test.
2012-06-11 13:47:00 -07:00
Bharat Mediratta edb17db8cf Added access check - not really necesssary because we're only doing a
redirect, but it's nice to be consistent.  Follow-on for #1837.
2012-06-11 12:47:44 -07:00
Bharat Mediratta 03d55d2530 Encode urls in 404 log entries. Fixes #1882. 2012-06-05 21:25:56 -07:00
Bharat Mediratta b416d7e3d5 Follow on to a9be0691d9 for #1872. 2012-06-05 21:15:21 -07:00
Bharat Mediratta b7074ee595 Clean file paths in Kohana_Exception::debug_path(). Fixes #1880. 2012-06-05 21:13:34 -07:00
Bharat Mediratta 713a06f234 Do a better job of escaping filenames when uploading. Fixes #1881. 2012-06-05 20:20:21 -07:00
Bharat Mediratta 9e1f975e7b Fix up syntax in the last change. Follow-on for #1879. 2012-06-05 14:08:15 -07:00
Bharat Mediratta a8034fe7b3 Merge pull request #68 from ffchung/patch-3
Force Turn off the compress as most image file already compressed.

Preliminary change for #1879 - more coming.
2012-06-05 14:05:40 -07:00
Bharat Mediratta 44d5f22d8d Remove <h2> added in last commit, it's unclear why that's necessary. The last commit had
the wrong ticket #, this actually resolves 1878.
2012-06-05 13:57:45 -07:00
Bharat Mediratta 3e7133c970 Merge pull request #70 from ffchung/patch-5
Show "Movie info" on movie page.  Fixes #1877.
2012-06-05 13:52:26 -07:00
Tony Fung 3286271376 Show "Movie info" on movie page 2012-06-05 11:24:13 +08:00
Tony Fung 3fd5f4cc87 CSS Style Update to match with other view 2012-06-05 11:20:31 +08:00
Tony Fung 6fbea19b35 Force Turn off the compress as most image file already compressed. 2012-06-05 11:16:37 +08:00
Bharat Mediratta 3fbe07078f Second attempt to fix #1821 - first attempt caused an infinite loop in some cases
when zlib.output_compression is enabled.
2012-06-04 19:54:01 -07:00
Bharat Mediratta 648d9a4de8 Remove accidental double encoding. 2012-05-19 11:51:10 -07:00
Bharat Mediratta a9be0691d9 Create an ajax response framework that inserts <meta> tags to guard
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's
autocomplete that expects the first line to be a <meta> tag and
discards it.  More complete fix for #1871.
2012-05-19 11:31:25 -07:00
Bharat Mediratta 74fa9422db Revert "Prevent server_add autocomplete from being interpreted as UTF-7. Fixes #1871."
This only fixes server_add, we need to fix it more systemically.

This reverts commit 88c0363344.
2012-05-19 11:31:25 -07:00
Bharat Mediratta 9e2ea2ffed Smash multiple extensions down into a single one when accepting file
uploads.  Fixes #1872.
2012-05-17 20:25:27 -07:00
Bharat Mediratta 88c0363344 Prevent server_add autocomplete from being interpreted as UTF-7. Fixes #1871. 2012-05-16 12:26:51 -07:00
Bharat Mediratta 355679fa55 Revert "Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)"
This will break many legal UTF-8 strings.

This reverts commit 1c5c2e7de4.
2012-05-16 12:01:41 -07:00
Bharat Mediratta 1c5c2e7de4 Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)
won't be mistakenly interpreted as UTF-7.  Fixes #1869.
2012-05-16 11:32:28 -07:00
Bharat Mediratta 91e87cb811 Oops, fix indentation in 99af395a01 2012-05-16 11:32:11 -07:00
Bharat Mediratta 99af395a01 Force the error page to UTF-8. Fixes #1868. 2012-05-16 11:07:26 -07:00
Bharat Mediratta ce209b9eaa Fix a typo leading to notification module not sending any text. Fixes #1862. 2012-05-15 16:10:49 -07:00
Bharat Mediratta 891652b233 Send back form errors wrapped in JSON. Fixes #1867. 2012-05-15 16:00:46 -07:00
Bharat Mediratta aac18ef833 Don't allow new albums with a slug that matches a controller - put up a
message telling the user that it's a reserved address.  Partial fix for #95.
2012-05-15 15:53:38 -07:00
Bharat Mediratta 3caf3cc323 Harden installer against bad characters in the database name or prefix. Fixes #1866. 2012-05-15 10:54:51 -07:00
Bharat Mediratta 3d03ea697f Follow-on to ce34e89c89 for #1865 -
allow strings and coerce them to integers.  It might be easier to just
cast whatever comes in, but I'm worried that we'll accidentally cast
an array to an int(1) without realizing it.
2012-05-15 10:50:21 -07:00
Bharat Mediratta ce34e89c89 Different approach to resolving #1865, this replaces 6a6b3f90f3
which was rolled back.
2012-05-15 09:50:57 -07:00
Bharat Mediratta 0d5187eadf Revert "Verify that where() clauses are well formed. Fixes #1865."
This reverts commit 6a6b3f90f3.
2012-05-15 09:33:43 -07:00
Bharat Mediratta f06c227505 Oops dropped a semicolon in e3d50dd8be 2012-05-15 09:26:13 -07:00
Bharat Mediratta 6a6b3f90f3 Verify that where() clauses are well formed. Fixes #1865. 2012-05-14 21:54:41 -07:00
Bharat Mediratta e3d50dd8be Simplify dialog title for editing advanced settings. Fixes #1864. 2012-05-14 20:52:01 -07:00
Bharat Mediratta 1531c3898f Force uploader status messages to be integers. Fixes #1863. 2012-05-14 20:52:01 -07:00
Bharat Mediratta ffbaa7bf82 Follow on for #1845 - handle paths with dots in them properly. 2012-05-13 21:09:59 -07:00
Bharat Mediratta 5d9e717417 Sort modules by visible name, not id. Fixes #1859. 2012-05-11 17:14:41 -07:00
Bharat Mediratta 6aebc2598e Fix canonical name for this module. Fixes #1858. 2012-05-11 17:12:10 -07:00
Bharat Mediratta ca037dc955 Improve the way server add deals with wacky directory names. Fixes #1857. 2012-05-11 15:58:46 -07:00
Bharat Mediratta 34ac1a466d Verify that theme names are well formed. Fixes #1856. 2012-05-11 15:12:30 -07:00
Bharat Mediratta fd4296c70f Inject some sanity into watermark file extensions. 2012-05-11 14:34:27 -07:00
Bharat Mediratta 3191f0f18b Fix up a title that I overlooked in 581d9a58db 2012-05-08 19:03:26 -07:00
Bharat Mediratta b512734b9d Close all buffers, not just the ones that Kohana opened. Fixes #1821,
thanks to pvalsecc.
2012-05-08 18:23:33 -07:00
Bharat Mediratta a563dcdfb3 Convert the missing movie placeholder over to a JPG for consistency. Fixes #1828. 2012-05-07 21:41:28 -07:00
Bharat Mediratta 1ea6210303 Use legal_file::get_extensions() and variants where appropriate. Fixes #1815. 2012-05-07 21:26:38 -07:00