Commit Graph

755 Commits

Author SHA1 Message Date
ced3006915 At its finest. 2014-02-18 21:25:08 -05:00
892b323c4d 21st century debugging 2014-02-18 20:58:08 -05:00
741eb0f739 I too like to live dangerously. 2014-02-18 20:49:20 -05:00
fe83e3d343 Adding comments to help explain the simpletest setup. 2014-02-17 13:59:41 -05:00
d7ce075a43 Merge pull request #367 from DakuTree/patch
Metatag tweaks + Fix for issue 359 & 362.
2014-01-25 06:58:35 -08:00
c07dc2e0ab use resolve_aliases rather than resolve_alias 2014-01-16 03:28:23 +00:00
ae4da2b410 add option for getMimeType to return list of extensions 2014-01-13 10:03:38 +00:00
7d49e21792 readability + moved stuff 2014-01-13 08:19:12 +00:00
152f5fbf26 add config option for default order 2014-01-13 08:19:11 +00:00
2c2f27ca64 add order metatag
not too happy with how this works...but it does work
2014-01-13 08:19:11 +00:00
9cae856df7 use the Content-Disposition header for filename & Content-Type for
extension
if either doesn't exist, it will fallback to using pathinfo
2014-01-13 08:19:01 +00:00
9f06a5c565 fix search not working properly for aliases to multiple tags
fix issue 359
2014-01-13 08:04:26 +00:00
25c286b71f add support for using : as a metatag seperator + updated docs 2014-01-02 14:00:24 +00:00
7cf79171a8 Update extension.class.php
Fix my previous commit. Also put the results of the tests into variables so we don't need to check them again.
2014-01-01 18:25:28 +01:00
fde6558a6f Don't silently ignore invalid URLs
Scenario: Providing an invalid url via $_GET (wrong/missing extension or file isn't an image (also happens on download errors))
Behavior before: Silently redirect to index
Behavior after: Display error message
2014-01-01 01:41:11 +01:00
3dd3101995 added option to set pool & source via tag 2013-12-30 08:15:10 +00:00
a5ea9ed743 Lets comment this rather tricky function. 2013-11-28 00:31:46 -05:00
bf4d434c86 Fixes for the installer. Display error messages on failures, as well as actually check for tables before installing. 2013-11-28 00:31:09 -05:00
5b1a99d0c5 Fixing missing $. (Thanks Shish!) 2013-10-05 14:28:02 -04:00
b01ca89220 Some more small speed related tweaks. 2013-10-04 17:53:26 -04:00
0512858bd4 Some more small tweaks for speed. 2013-10-04 17:17:42 -04:00
70428b2b5d Its better to pass to the right function. (Side note, this is why you always test your code) 2013-10-03 21:19:19 -04:00
393a9e60df No need to have HTML in the image thumb title. Derp. 2013-10-03 21:17:15 -04:00
2d041d468f Adding ability to specify the 'date' in the image thumbnail title (when you hover over the thumbnail). 2013-10-03 21:09:41 -04:00
1db371345e Merge branch 'master' of git://github.com/shish/shimmie2 2013-10-03 20:33:47 -04:00
67c026e8d8 unique request ID, for associating several log entries with one request 2013-09-12 16:29:38 +01:00
1b73dd4ddc add 'hellbanned' user class, with support from the comments extension 2013-09-09 13:41:08 +01:00
7c95981319 load thumbnails on demand is more trouble than it's worth 2013-09-08 23:21:06 +01:00
07304861f3 log IDs of things 2013-08-30 00:19:46 +01:00
7c140680b7 log args 2013-08-30 00:19:46 +01:00
12bc4a90f7 core-image -> core_image, for elasticsearch's sake 2013-08-30 00:19:46 +01:00
44deff21a8 Merge branch 'master' of https://github.com/shish/shimmie2 2013-08-05 20:37:40 +01:00
4fc1f2f217 save cached config when saving database config, fixes #311 2013-08-05 20:21:57 +01:00
e50d9c4dbb only sanitise when saving tags - when searching, '*' is important 2013-08-04 18:21:52 +01:00
8b22652aa0 resolve negative aliases 2013-08-04 18:19:23 +01:00
2b628a395f resolve_list -> resolve_aliases, to better describe what it actually does 2013-08-04 18:13:50 +01:00
7e89481105 have Tag::resolve_list always take an array 2013-08-04 18:11:02 +01:00
00e297c7d4 Merge pull request #317 from HungryFeline/patch-1
Let the admin define how much space should be free
2013-07-07 03:28:44 -07:00
39753fe7a9 Finish the process of removing $query from thumb links. (Forgot to remove $query from the thumb links) 2013-07-07 10:34:19 +01:00
9edbaf2ec7 Let the user define how much space should be free 2013-07-07 09:08:50 +02:00
47c1b5d094 move query-string-passing to JS rather than embedding in the HTML, so that the HTML can be commonised and cached better 2013-07-05 22:32:16 +01:00
30886b3a69 cache lookup debugging 2013-07-05 22:32:16 +01:00
65fcbcb9ba Actually set the cookie prefix
When COOKIE_PREFIX was not shm (the default) the script tried to read cookies prefixed with the new prefix but the script was setting the old default prefix from before the constants were implemented.
2013-07-02 06:46:54 +02:00
616aa3300a Don't check the certificate when transloading
This allows the download of images via https even if the cert is self-signed.
2013-07-02 04:44:27 +02:00
df2f90016f trim leading slashes more efficiently 2013-06-13 12:20:27 +01:00
19c0868b2c sqlite got case sensitive by default at some point - lowercase strings for comparing them 2013-06-13 10:34:47 +01:00
cc95eb5deb Some more small speed tweaks. 2013-05-13 20:40:01 -04:00
7701758959 log old source in event log when changing source 2013-05-07 09:13:03 +01:00
7ff0ae51a1 fixup wildcards 2013-03-03 18:34:27 +00:00
72a82c7487 saner wildcard handling, and only handle '*' 2013-03-03 18:26:47 +00:00