Justin Brewer
f243092634
count("") == 1
2014-04-11 23:55:30 -04:00
Shish
6c9a4a3b86
A start on video thumbnailing; see #400
...
Almost certainly not working yet; not tested, just committing so that
other people have something to work with and we aren't duplicating
effort
2014-04-10 08:15:00 +01:00
Jeff Genovy
3a0da5df5a
Merge pull request #399 from Diftraku/ouroboros_api
...
Special chars in tags barf filter_var
2014-04-09 22:33:05 -04:00
Diftraku
7ac61f4234
Special chars in tags barf filter_var
...
Due to how FILTER_SANITIZE_STRING works, if you had special chars in
your tags (eg. <3 or !) the string would be cut before the offending
character(s) and in worst case, result in no tags passing to the API
2014-04-10 04:11:43 +03:00
Shish
d247713311
Merge pull request #397 from jgen/develop
...
Manual Merge of More Linting #391
2014-04-10 00:15:02 +01:00
jgen
3c6b8b6fe6
Merge branch 'linting' of git://github.com/shish/shimmie2 into develop
...
Conflicts:
ext/resize/main.php
2014-04-09 15:04:18 -04:00
Shish
f72bfbb050
fix indentation
2014-04-06 20:47:01 +01:00
Daku
f88ba20319
Merge pull request #393 from shish/resize_tweak
...
pass already fetched image object into resize()
2014-04-04 17:38:08 +01:00
Daku
2d25d43ecf
Merge pull request #389 from HungryFeline/patch-1
...
Redirect to default page if referer isn't set
2014-04-04 17:30:19 +01:00
Shish
a0d1948a4f
pass already fetched image object into resize(), rather than passing the ID to be re-fetched
2014-04-02 08:49:13 +01:00
Shish
745f91e939
Merge pull request #392 from jgen/develop
...
Resizing images actually was broken, how nobody noticed I don't know.
2014-04-02 08:39:11 +01:00
jgen
1e49cc9122
More comments and fix undefined variables.
2014-04-01 22:02:36 -04:00
jgen
9b1c3db400
Slight re-word of the exception error message.
2014-04-01 21:43:12 -04:00
jgen
18b8e7912f
Fix warning generated when an image doesn't have bits or channel info (and use sane defaults).
2014-04-01 21:42:40 -04:00
jgen
225d197790
Remove duplicate code.
2014-04-01 21:41:57 -04:00
jgen
749f846b79
Fix typo.
2014-04-01 20:33:36 -04:00
jgen
a442fbe409
Resizing images actually was broken, how nobody noticed I don't know.
2014-04-01 19:29:31 -04:00
jgen
737f96b8bb
Merge remote-tracking branch 'shish/master'
2014-04-01 17:27:08 -04:00
Shish
c8aa3327a1
A bunch of small changes from scrutinizer-ci; some tidying, some actual bug fixes
2014-03-30 13:26:48 +01:00
Shish
db5aa56300
remove a bunch of dead code
2014-03-29 11:44:34 +00:00
HungryFeline
c215d6991a
Redirect to default page if referer isn't set
...
Instead of displaying `You should be redirected to <a href=""></a>`
2014-03-27 09:57:43 +01:00
Shish
7a95325a5f
Merge pull request #388 from DakuTree/patch
...
Fixes issues 233 & 234.
2014-03-26 10:41:31 +00:00
Daku
7837362711
make sure source is still used if provided
2014-03-26 08:26:21 +00:00
Daku
994652c3f7
make sure mass_tag_edit reads high > low id if default order is different
2014-03-26 08:05:05 +00:00
Daku
37b21e7fcb
Merge pull request #387 from shish/linting
...
Use new-style constructors everywhere
2014-03-26 04:04:47 +00:00
Shish
7b68d8ebfd
use new-style constructors everywhere
2014-03-22 09:00:59 +00:00
Daku
61764e7f9d
Merge pull request #386 from shish/linting
...
A few fixes for things scrutinizer-ci found
2014-03-18 01:34:52 +00:00
Shish
da29912646
tidy up a bunch of lint errors
2014-03-17 22:05:37 +00:00
Shish
6f0d898c28
Merge pull request #385 from justinbrewer/scrutinizer-config
...
Scrutinizer-CI
2014-03-16 09:10:42 +00:00
Justin Brewer
6ad530fd49
Scrutinizer config file
2014-03-14 13:10:12 -05:00
Daku
76526f371c
Add option to use transloaded URL as source
...
fixes #234
2014-03-14 16:54:14 +00:00
Daku
5f3ff8db86
don't add "tagme" when trying to mass-edit to null
...
fixes #233
2014-03-13 23:29:47 +00:00
Shish
208e8de7f0
Merge pull request #382 from DakuTree/patch
...
New metatags, fixes various PostgreSQL errors & misc tweaks.
2014-03-08 15:33:58 +00:00
Daku
4351dc53c5
make sure all existing exts are converted to lowercase
2014-03-08 15:27:39 +00:00
Daku
258fda188e
use different selector rather than hardcoding url
2014-03-08 15:20:50 +00:00
Shish
cf7f79194e
Merge branch 'master' into develop
2014-03-07 08:28:03 +00:00
Shish
fa5ad5b77d
bump the minimum PHP version, the README was updated but not the version check in the code. Fixes #383
2014-03-07 08:27:34 +00:00
Shish
faec25226a
'x ?: y' is a new PHP thing?
2014-03-06 09:14:03 +00:00
Daku
ddb6d32e29
fix fourm errors under postgresql
2014-03-02 21:59:19 +00:00
Daku
87065d08f6
use elseif
2014-03-02 21:58:45 +00:00
Daku
524ead8344
PostgreSQL doesn't return trimmed results for CHAR columns, so use VARCHAR instead
2014-03-02 21:07:25 +00:00
Daku
a863072bfb
DATETIME > SCORE_DATETIME
...
fixes #354
2014-03-02 18:50:46 +00:00
Daku
53a7e23b64
various autocomplete tweaks
...
* made limit for /api/internal/tag_list/complete optional (as this breaks the autocomplete on dbs with lots of tags)
* removed delay + minChars = 1 again (due to above change)
* first autocomplete tag is selected by default
* tab now works as a select button
* autocompleted tags will now be followed by a space (so the next tag can be instantly autocompleted)
2014-02-28 02:03:41 +00:00
Daku
e78ddc69f3
fix strict standard errors
2014-02-25 21:51:52 +00:00
Daku
34e90c1cfc
updated date/links in footer
2014-02-25 17:56:51 +00:00
Shish
63a71c239c
Merge pull request #381 from jgen/master
...
Automated Tests via Travis-CI
2014-02-25 00:17:02 +00:00
Daku
df29537e74
use default minchars again
...
the tag list only returns a max of 10 results, and is only called once per autocomplete, making it harder to autocomplete longer tags
2014-02-24 20:07:05 +00:00
Daku
d675827173
order[=|:]random_#### metatag
...
possible replacement for random_list ext?
2014-02-24 19:54:15 +00:00
Daku
320a92289b
have query use EXISTS rather than IN
...
preferably we would have a table with image tag counts, but this works for now
2014-02-24 01:50:31 +00:00
Daku
790cb0d7a9
[.+]tags metatag for tag_categories
...
This is nowhere as near as fast as I'd like. Need to find a better query.
2014-02-24 01:40:35 +00:00