Commit graph

114 commits

Author SHA1 Message Date
Shish
c57801bce7 wildcards aren't regular tags either 2012-09-03 11:13:08 +01:00
Shish
6c4fd0d14d remove ancient non-comment 2012-06-24 01:49:53 +01:00
Shish
38f7555d98 get rid of direct references to Database's engine 2012-06-24 00:57:55 +01:00
Shish
545f5234bb less nesting, 25% speed gain 2012-05-16 07:36:20 +01:00
Shish
4cbd00c039 Merge branch 'master' of github.com:shish/shimmie2 2012-05-16 05:32:56 +01:00
Shish
fd725d3363 merge image ID lists before scanning the images table, not after 2012-05-16 05:12:19 +01:00
Shish
2347b1fab8 fff. 2012-05-14 11:12:50 +01:00
Shish
f7e25daeb5 move getMimeType to utils 2012-05-14 06:43:23 +01:00
green-ponies (jgen)
0c37be79a0 Actually get the proper mime type for a given file.
(FIXME: now we handle more than just images)
2012-04-15 19:55:06 -04:00
green-ponies (jgen)
a0a0ba5bbc A better version of bool_escape() that uses filter_var if possible.
Also removed undb_bool() as it was basically a copy of the old bool_escape function.
2012-04-15 19:28:27 -04:00
Shish
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
Shish
7cbb62c8cc move data to data folder 2012-03-30 18:21:35 +01:00
Shish
d54580e453 PLT is used by tooltips too... 2012-03-13 07:01:15 +00:00
Shish
dde5d4c9b5 html5 validation 2012-03-13 06:33:21 +00:00
Shish
efd05179f3 better log for owner change 2012-03-13 04:55:49 +00:00
Shish
3eb1f1c2ab move move common code into base classes 2012-03-12 05:08:40 +00:00
Shish
652984adc1 trim comma from tags as well as whitespace 2012-03-11 14:54:14 +00:00
Shish
a6dbe3b7f2 Image::locked should always be a boolean 2012-03-10 18:53:42 +00:00
Shish
0ce9aa02a2 'false' == true. Convert the first param from DB value to real bool, and also use triple equals 2012-03-08 01:27:59 +00:00
Shish
edbb8943d2 count pages by the aliased-to tag, not what the user typed 2012-02-12 07:30:16 +00:00
Shish
fbbdc898b0 Move image uploader info into the image info editor, make it editable 2012-02-09 17:03:39 +00:00
green-ponies (jgen)
d69fa6ae9d Merge branch 'master' into speed_tweaks 2012-02-07 23:21:56 -05:00
green-ponies (jgen)
5af54bb9e0 Added some more comments and type hints. 2012-02-07 20:05:38 -05:00
Shish
0589f9d72e fine grained permission bits 2012-02-07 15:15:18 +00:00
Shish
4e1300631b Merge branch 'master' of github.com:shish/shimmie2 2012-02-05 04:25:58 +00:00
Shish
a55eca4462 so many bots crawling the infinite search space... 2012-02-05 04:21:03 +00:00
green-ponies (jgen)
3b028696a0 Rewind arrays before foreach loops over all the elements.
(fixed a small typo as well)
2012-02-04 15:35:21 -05:00
Shish
dab85e5f26 merge type hints 2012-02-02 14:16:14 +00:00
Shish
52ff412b38 hiphop type hint placeholders 2012-02-02 13:58:48 +00:00
Shish
16745aadc6 only require flexihash once 2012-02-02 04:35:26 +00:00
Shish
2a375e7129 standard syntax 2012-02-01 17:01:41 +00:00
Shish
04ed07a0df some image links are absolute for good reason (eg they point to a CDN with a different hostname) 2012-01-31 15:11:06 +00:00
Daku
a1cc88cade this should fix custom image links 2012-01-31 14:58:55 +00:00
Shish
aed5e1a30e hand merge of speed tweaks 2012-01-31 13:20:43 +00:00
Shish
7a5f87572c an image already knows what its own details are, it doesn't need to be passed them... 2012-01-27 16:27:02 +00:00
Shish
96b8253b38 term can be empty to start with >_< 2012-01-26 17:56:48 +00:00
Shish
4530efc1e0 minus on its own was being turned into 'negative null-tag', which confused things 2012-01-26 17:16:06 +00:00
Shish
a208d5c6bc lock logging fix 2012-01-26 02:15:06 +00:00
Shish
03204859c1 merge~ 2012-01-22 15:11:39 +00:00
Daku
3338ff0420 tags/source/rating/locked should only update/log if different than current 2012-01-21 00:17:07 +00:00
Daku
7049b3bf4d rating/source/locked now log info when set 2012-01-20 23:04:28 +00:00
Shish
9b96b44d64 tag cache is glitchy, too many things might update it 2012-01-20 05:16:40 +00:00
Shish
e46c22a228 weighted CDN targets 2012-01-17 15:47:58 +00:00
Shish
8f56b9ae2c argh php, syntax that used to be required is now deprecated... 2012-01-16 19:58:03 +00:00
Shish
9bde42d452 consistent hashing for multiple data mirrors 2012-01-16 02:53:38 +00:00
green-ponies (jgen)
7195d3d1f3 Changes using empty instead of strlen. 2012-01-12 23:07:14 -05:00
green-ponies (jgen)
2c6b5128c6 More tweaks for minor speed gains. 2012-01-12 21:17:37 -05:00
green-ponies (jgen)
2e0e8475a1 A few more small changes for speed. 2012-01-12 14:46:58 -05:00
green-ponies (jgen)
26d383198a More small changes for speed. 2012-01-11 15:57:00 -05:00
green-ponies (jgen)
ea15574226 Changes and tweaks for speed.
Because every microsecond counts! :P
These changes are based on information from:
http://phpbench.com/
http://stackoverflow.com/questions/482202/is-there-a-performance-benefit-single-quote-vs-double-quote-in-php
2012-01-11 15:08:27 -05:00