Commit graph

3214 commits

Author SHA1 Message Date
jgen
d2349216b5 I can totally spell environment correctly. 2014-02-17 21:37:56 -05:00
jgen
09fe543a4b Push the test environment setup into a separate shell script. 2014-02-17 21:26:06 -05:00
jgen
173e8ef164 These commands need to be done as root. 2014-02-17 20:11:26 -05:00
jgen
5e13a01ffd The config file is in the test folder. 2014-02-17 17:42:40 -05:00
jgen
8974c2cbc7 Change the apt-get commands. 2014-02-17 17:12:01 -05:00
jgen
dbb90465df Derp, forgot a dash. 2014-02-17 16:59:54 -05:00
jgen
58474d4bd3 We actually need a webserver in order to use SimpleTest. 2014-02-17 16:57:46 -05:00
jgen
6f057028b7 Test cases should start with 'test'. 2014-02-17 15:53:22 -05:00
jgen
48932af7c5 Working on testing the installer. 2014-02-17 15:45:42 -05:00
jgen
630f5c2c77 This include is necessary. 2014-02-17 15:03:27 -05:00
jgen
4b6b283f02 Can we assume that the server is 127.0.0.1? 2014-02-17 15:00:04 -05:00
jgen
8a700a34fc No idea why it was set to use the directory "2.Xm" 2014-02-17 14:46:00 -05:00
jgen
fe83e3d343 Adding comments to help explain the simpletest setup. 2014-02-17 13:59:41 -05:00
jgen
c05b4719d6 Fix the tests for the Alias extension. 2014-02-17 01:52:30 -05:00
jgen
807b0c7037 Commenting this out as it assumes Nice URLs, and fails if they are not enabled. 2014-02-17 01:51:40 -05:00
jgen
073813d0ea Fix the warning that these variables aren't defined. 2014-02-17 01:49:16 -05:00
jgen
5f0b7e989e PHP's getopt function on allows single character arguments. 2014-02-17 01:44:54 -05:00
jgen
3cb79f0e8a SimpleTest works now. 2014-02-16 19:36:52 -05:00
jgen
d069c7b50a Argh, PHP. 2014-02-10 00:54:27 -05:00
jgen
0a8abc54df Rename the class. 2014-02-10 00:46:43 -05:00
jgen
8d8ebddadc Change the include to the SimpleTest files. 2014-02-10 00:44:30 -05:00
jgen
c3835ceea9 Playing around with Travis-ci. 2014-02-10 00:33:57 -05:00
jgen
5b0f0b4bef Merge branch 'master' of git://github.com/shish/shimmie2 2014-01-28 20:35:33 -05:00
Shish
d7ce075a43 Merge pull request #367 from DakuTree/patch
Metatag tweaks + Fix for issue 359 & 362.
2014-01-25 06:58:35 -08:00
Shish
851b33ec1d Merge pull request #369 from Diftraku/master
Fix EXIF data throwing a notice when showing an image
2014-01-25 06:54:56 -08:00
Daku
c07dc2e0ab use resolve_aliases rather than resolve_alias 2014-01-16 03:28:23 +00:00
Diftraku
85303d232e Fixing stuff with API output being output twice
Also some code formatting and a redirect from post/show for clients such
as CartonBox so you can actually view the image after opening it in the
browser on the client.
2014-01-15 23:28:40 +02:00
Diftraku
b856b13235 Fix EXIF data throwing a notice when showing an image 2014-01-15 23:06:27 +02:00
Daku
b5f70de496 change source metatag regex to allow searching for URLs 2014-01-14 07:52:45 +00:00
Daku
55ff224ac0 added any/none options to the source/pool metatags 2014-01-14 06:27:12 +00:00
Daku
ce256f5bf4 added pool & pool_by_name search metatags 2014-01-14 06:12:34 +00:00
Daku
ae4da2b410 add option for getMimeType to return list of extensions 2014-01-13 10:03:38 +00:00
Daku
325da11119 artist/comment/numeric_score metatags now work using :
also updated docs
2014-01-13 09:13:56 +00:00
Daku
7d49e21792 readability + moved stuff 2014-01-13 08:19:12 +00:00
Daku
152f5fbf26 add config option for default order 2014-01-13 08:19:11 +00:00
Daku
2c2f27ca64 add order metatag
not too happy with how this works...but it does work
2014-01-13 08:19:11 +00:00
Daku
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
Daku
9f06a5c565 fix search not working properly for aliases to multiple tags
fix issue 359
2014-01-13 08:04:26 +00:00
Shish
952594cdce Merge pull request #365 from HungryFeline/patch-2
Don't silently ignore invalid URLs
2014-01-05 03:14:01 -08:00
Daku
14899e79ad added height & width metatags 2014-01-02 14:10:08 +00:00
Daku
25c286b71f add support for using : as a metatag seperator + updated docs 2014-01-02 14:00:24 +00:00
HungryFeline
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
HungryFeline
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
Daku
85880804d2 have theme.php manage block creation
so themes can move/remove if they wish
2013-12-31 08:22:58 +00:00
Shish
2d40fcc92d Merge pull request #364 from DakuTree/patch
Pools ext tweaks/additions.
2013-12-30 02:49:06 -08:00
Daku
c892386bcb remove backticks 2013-12-30 10:36:32 +00:00
Shish
de6ad33e12 Merge pull request #356 from Diftraku/master
Bumping Ouroros API to v0.2: now with XML support and post creation!
2013-12-30 02:20:43 -08:00
Shish
bc2100940d Merge pull request #360 from DakuTree/master
bookmarklet.js support for danbooru2 + fixed most issues with other sites
2013-12-30 02:16:35 -08:00
Shish
7d3d331272 Merge pull request #358 from jgen/master
PHP Notice being generated in comment.php
2013-12-30 02:15:06 -08:00
Daku
fd6f2ddb43 show pool navigation box on pool/view pages 2013-12-30 08:42:29 +00:00