Commit graph

158 commits

Author SHA1 Message Date
Shish
c54e336695 mark tests as incomplete rather than commenting them out 2015-09-24 23:16:38 +01:00
Shish
83a1336b76 more test 2015-09-20 20:04:16 +01:00
Shish
9af5995dcc PHPUnit proof of concept 2015-09-20 20:03:29 +01:00
Shish
35a4f385b3 phpstorm tidying 2015-09-12 11:43:28 +01:00
Daku
8c2d8df81d use html5 input types
we would use type='url' for source but non-urls can be used as source too
2015-04-18 10:39:34 +01:00
jgen
8a2eb4b121 Fixing more PHP Doc related issues. 2014-04-27 19:29:36 -04:00
jgen
1ca3865a1c Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag ) 2014-04-25 22:54:51 -04:00
jgen
daee99c1bc Removing the closing PHP "?>" tag as per style guidelines. 2014-04-24 22:28:53 -04:00
Shish
7b68d8ebfd use new-style constructors everywhere 2014-03-22 09:00:59 +00:00
Daku
87065d08f6 use elseif 2014-03-02 21:58:45 +00:00
jgen
9255c861f7 Cleaning up. 2014-02-19 20:50:00 -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
Shish
57d687a7e1 give images priority 10 2012-03-19 19:09:52 +00:00
Shish
6632521218 permission name tweaks 2012-03-14 19:24:10 +00:00
Shish
c78ad128bf forms 2012-03-11 15:49:40 +00:00
Shish
eb8c15b9a0 whitespace 2012-03-09 22:08:55 +00:00
Shish
5d3d4e8d76 test fixes 2012-03-09 18:56:06 +00:00
Shish
79ce40abd0 less code 2012-03-09 18:14:14 +00:00
Shish
fb111803c7 save a warning 2012-03-09 18:12:46 +00:00
Shish
4245cd268c if user has no js, default to showing info editor 2012-03-05 10:22:55 +00:00
Shish
af7704825b use HTTP status codes with error messages 2012-02-16 15:37:05 +00:00
Shish
519e46578d more notation for which strings are HTML safe and which aren't 2012-02-13 20:51:34 +00:00
Shish
6c29ccee40 split extension styles, so other themes can use them better 2012-02-12 11:25:58 +00:00
Shish
a93247327a editable tags by default, and hide .edit by default 2012-02-11 00:52:42 +00:00
Shish
db9a1cc7d8 only show edit / set if the user can edit tags 2012-02-09 17:29:04 +00:00
Shish
fbbdc898b0 Move image uploader info into the image info editor, make it editable 2012-02-09 17:03:39 +00:00
Shish
7ced04d0d0 separate uploader info 2012-02-09 15:35:59 +00:00
Shish
6e8970b15d functioning 2012-02-09 15:17:11 +00:00
Shish
f9c1f8229c remove non-functional bits 2012-02-09 15:06:35 +00:00
Shish
8d15ae8c0a more js to lib/shimmie.js 2012-02-09 14:38:32 +00:00
Shish
0698b780f9 remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods 2012-02-08 12:07:01 +00:00
Shish
0589f9d72e fine grained permission bits 2012-02-07 15:15:18 +00:00
Shish
cc8f1f35a5 more type hints 2012-02-02 14:14:33 +00:00
Shish
ee40a9aad3 merge 2012-01-27 16:49:35 +00:00
Shish
85af28c0b5 return after error, don't handle the bad data 2012-01-26 17:16:57 +00:00
Shish
98f09695b6 sometimes tags are set with no images id... 2012-01-26 15:16:52 +00:00
Shish
b8bdbd3533 after detecting an error, don't carry on processing the bad data... 2012-01-19 15:23:44 +00:00
Shish
bdf274074c some people like heading to the image after an image that isn't there (mostly robots with old URLs) 2012-01-18 03:13:27 +00:00
Shish
9d36a6a1bb sometimes when looking for next/prev the image doesn't exist 2012-01-14 14:38:45 +00:00
Shish
8cb95ceb98 also allow https sources 2011-10-25 16:17:44 +01:00
green-ponies (jgen)
fca286913e Working on moving header() inside of the global $page data structure. 2011-09-04 14:06:34 -04:00
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04:00
Shish
9db12f54f9 opengraph metadata on images 2011-03-07 23:57:56 +00:00
Shish
1e04df7765 <form> -> make_form(), or add auth token manually 2010-10-07 21:26:27 +01:00
Shish
41cc80df34 more url_escape 2010-07-26 23:10:43 +01:00
Shish
faf313d5ba repeat of GET forms breaking on sites without niceurls 2010-07-26 11:18:07 +01:00
Shish
a71bf287dd blargh 2010-06-17 19:44:05 +01:00
Shish
da449245de Convert some Extensions to SimpleExtensions with priorities 2010-05-28 13:06:31 +01:00
Shish
0ba232694d tidy up 2010-03-23 04:30:33 +00:00
Shish
e7cbb00191 actually, we can use this 2010-03-08 18:29:53 +00:00
Shish
893ee38e60 next/prev with query test 2010-03-08 18:25:23 +00:00
Shish
9c26f9efb4 image locking 2010-02-17 14:16:20 +00:00
Shish
2b21471441 the final bit? 2010-02-09 10:08:08 +00:00
Shish
0d95bcb0b3 take next/prev from hash rather than query 2010-02-09 10:04:20 +00:00
Shish
4df08e9477 more sanity checks 2010-02-01 23:30:37 +00:00
Shish
44c8461f3b Show all extensions in the extension list 2010-01-05 10:32:39 +00:00
Shish
7a60e6fae5 lots of extension docs 2010-01-05 10:11:53 +00:00
Shish
3a9b82ab1e this isn't slow any more 2009-09-19 23:07:39 +01:00
Shish
d7038a0098 test the next and prev buttons 2009-09-19 20:19:09 +01:00
Shish
15d7a76799 meta keywords with commas 2009-08-24 06:49:40 +01:00
Shish
1946e3c943 consistent naming for test functions 2009-08-19 01:28:48 +01:00
Shish
2720272a5f tags as page keywords 2009-08-19 00:51:13 +01:00
Shish
6f67a134ff this needs autoblanking too 2009-08-02 08:33:20 +01:00
Shish
a3f57c8fd6 make autodate work, and use it a bit 2009-07-28 23:56:46 +01:00
Shish
ce8915ba07 not only for admins 2009-07-28 11:18:09 +01:00
Shish
c88ecebb7b A ton of tests, figured out how to test uploads \o/ 2009-07-15 02:43:14 +01:00
Shish Moom
0d58b58523 more theme niceness 2009-07-06 08:51:34 -07:00
Shish
389eed5867 make things use SimpleExtension 2009-05-11 14:09:24 -07:00
Shish
bb84a735a2 requestcontext stuff is messy, go back to globals :( 2009-05-11 07:04:33 -07:00
Shish
7cedd4735c only search for prev/next when asked for 2009-04-21 15:02:23 -07:00
Shish
d98962a30e a bunch of fixes 2009-01-22 05:42:44 -08:00
Shish
94c0ab0255 make tag setting work 2009-01-17 17:07:06 -08:00
Shish
eeda4d6ab3 very classy 2009-01-04 11:54:16 -08:00
Shish
11873e9601 remove EOL whitespace 2009-01-04 11:18:37 -08:00
Shish
bca8221609 move extension-specific events into their extensions 2009-01-03 13:00:09 -08:00
Shish
646cf1decb make the image info editor only visible when relevant 2008-12-15 21:29:48 -08:00
shish
98f6800f9d configurable testing URL
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1096 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-18 10:34:15 +00:00
shish
c68df68195 test files for various extensions
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1070 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-11 07:09:42 +00:00
shish
2e48f233b5 changed this too
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1059 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:23:12 +00:00
shish
072b22ee8f Image code moved to image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1058 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-09 03:21:18 +00:00
shish
73c88716a8 this wasn't meant to be ported here yet <_<
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1049 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-18 02:48:12 +00:00
shish
96a37605e4 port page_matches from score to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1028 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:48:03 +00:00
shish
7030727a6d another badly named theme
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1025 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:11:57 +00:00
shish
f8f7470e61 much friendlier get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 16:59:02 +00:00
shish
434fab2dc5 and make the extensions match
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:08:19 +00:00
shish
09b2be6830 PHP4 is dead \o/ \o/ \o/ (Part 1, make use of instanceof)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@994 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 09:41:30 +00:00
shish
8f252df282 merge image admin buttons into a single block
git-svn-id: file:///home/shish/svn/shimmie2/trunk@897 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-14 11:36:19 +00:00
shish
c736f6b7b6 theme change for image info editor
git-svn-id: file:///home/shish/svn/shimmie2/trunk@783 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 16:54:13 +00:00
shish
975251ed42 enforced whitespace around metainfo editor
git-svn-id: file:///home/shish/svn/shimmie2/trunk@728 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-24 04:05:42 +00:00
shish
c7c33a1a8d fix tag editing with danbooru theme, hopefully in a more permanant way
git-svn-id: file:///home/shish/svn/shimmie2/trunk@721 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-17 02:39:43 +00:00
shish
7f752180bf various minor bugs showed up in debug mode
git-svn-id: file:///home/shish/svn/shimmie2/trunk@715 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:33:08 +00:00
shish
a5a6f4781c generic file handler support :)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@623 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-06 02:26:34 +00:00
shish
614f11d910 One True Image Info Editor
git-svn-id: file:///home/shish/svn/shimmie2/trunk@616 7f39781d-f577-437e-ae19-be835c7a54ca
2007-11-14 10:11:56 +00:00
shish
3a78f3f451 separate source_edit_anon from tag_edit_anon
git-svn-id: file:///home/shish/svn/shimmie2/trunk@598 7f39781d-f577-437e-ae19-be835c7a54ca
2007-10-28 17:59:56 +00:00
shish
862e647365 theme engine 2.1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@466 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-23 11:14:03 +00:00
shish
f36c783868 source url editor
git-svn-id: file:///home/shish/svn/shimmie2/trunk@412 7f39781d-f577-437e-ae19-be835c7a54ca
2007-08-01 16:58:50 +00:00
shish
0b7c038f52 much theme docs, and some display_my_foo_error replaced with generic display_error
git-svn-id: file:///home/shish/svn/shimmie2/trunk@395 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-28 20:30:01 +00:00
shish
2e8e839f5c make_link with no args links to default page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@373 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 13:19:39 +00:00
shish
d166a88e8d view page -> post list
git-svn-id: file:///home/shish/svn/shimmie2/trunk@368 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-26 11:54:34 +00:00
shish
0c5f7244db consistency
git-svn-id: file:///home/shish/svn/shimmie2/trunk@312 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-17 07:45:35 +00:00