Commit Graph

1441 Commits

Author SHA1 Message Date
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
dbfd747dd3 remove more slashes 2013-02-06 08:36:30 +00:00
c9491ad714 Get SQLite:scoreql_to_sql to return something 2013-01-31 08:07:19 +00:00
78442e96c3 add daily cache breakage to gravatars 2012-12-30 18:08:58 +00:00
cebebcd975 Merge branch 'master' of https://github.com/shish/shimmie2 2012-12-10 21:28:44 +00:00
5a3b4dae49 normalise usernames 2012-12-10 21:28:41 +00:00
ef44d6ccf3 Fix for issue 263 - ReCAPTCHA private and public keys reversed. 2012-11-03 13:49:10 -04:00
d8c670eaa6 move yet more stuff out of index.php 2012-10-16 23:05:11 +01:00
b141632785 some mock objects, for testing (coming soon, maybe) 2012-10-16 22:58:47 +01:00
38fea60056 handle CLI_LOG_LEVEL not being set 2012-10-16 22:58:24 +01:00
073b21aaa1 split up event listener loading, so parts can be called individually 2012-10-16 22:31:50 +01:00
52718b0590 util.inc: Default to static extension lookup
Magic can return invalid results for video files, breaking their playback. Default to the static extension lookup to avoid this problem but still return application/octet-stream if nothing works.
2012-10-16 18:56:39 +01:00
0663bf54a0 Grr... 2012-10-16 18:55:43 +01:00
1bd6f9f0ba Update core/util.inc.php 2012-10-16 18:55:38 +01:00
fcdf784acc Update static thumb + bug fix
Add videos to static thumb and make Shimmie compare lowercase extensions.
2012-10-16 18:55:23 +01:00