Commit graph

316 commits

Author SHA1 Message Date
shish
a0cb32f4b2 simpletest unit testing framework
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1068 7f39781d-f577-437e-ae19-be835c7a54ca
2008-10-11 07:05:24 +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
jjs
bbb4de4bac [danbooru api] bugfix for page_name -> page_matches
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1050 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-18 03:14:36 +00:00
shish
94fe6f5a70 to the trunk-mobile /o/
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1045 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-09 09:20:39 +00:00
shish
d2b251aea8 make sure there's something to click on...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1041 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-09 09:14:52 +00:00
shish
c52cad5637 back to trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1040 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-08 19:38:09 +00:00
shish
d5955e97a8 add the ability to send PMs (and make it an event, so other extensions can send them)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1033 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-07 13:55:28 +00:00
shish
2511b79935 private messaging system
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1032 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-07 05:57:28 +00:00
shish
5f05f4543d IPs should be varchars
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1030 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-07 04:52:40 +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
a6adfa85cd upload handlers have themes too...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1024 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:10:27 +00:00
shish
4e143e9f05 gah, inconsistent naming
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1021 7f39781d-f577-437e-ae19-be835c7a54ca
2008-09-06 17:05:21 +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
432e0c4dc6 move image functions to the image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1007 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-26 09:11:40 +00:00
shish
aee1af4e0e move user stuff into the user class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1004 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:49:47 +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
8074be77a7 another loose global
git-svn-id: file:///home/shish/svn/shimmie2/trunk@995 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 13:10:22 +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
0cbc905e7c give the report image extension some love
git-svn-id: file:///home/shish/svn/shimmie2/trunk@983 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-12 02:37:48 +00:00
shish
e3701f3916 tidying up
git-svn-id: file:///home/shish/svn/shimmie2/trunk@982 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-12 01:36:39 +00:00
shish
89e8805fc8 sql uses >= not =>
git-svn-id: file:///home/shish/svn/shimmie2/trunk@981 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-12 00:31:59 +00:00
shish
cb63e8d605 index a column which exists
git-svn-id: file:///home/shish/svn/shimmie2/trunk@980 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-12 00:22:05 +00:00
shish
3c91224e8b standard sql
git-svn-id: file:///home/shish/svn/shimmie2/trunk@962 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-29 21:09:43 +00:00
shish
c741ea216f pull a bunch of r34 tweaks intro trunk
git-svn-id: file:///home/shish/svn/shimmie2/trunk@959 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-29 19:43:34 +00:00
shish
8ac2428820 update image_hash_ban to the 2.2 APIs
git-svn-id: file:///home/shish/svn/shimmie2/trunk@940 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-27 15:55:45 +00:00
shish
e6ec382aee and the other bit <_<
git-svn-id: file:///home/shish/svn/shimmie2/trunk@932 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-25 11:55:55 +00:00
shish
304ef0351f avoid the use of an SQL keyword
git-svn-id: file:///home/shish/svn/shimmie2/trunk@930 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-25 11:30:47 +00:00
shish
1f242d873e another bit
git-svn-id: file:///home/shish/svn/shimmie2/trunk@928 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-24 16:18:14 +00:00
shish
8f39ae6d3f more standard sqlness
git-svn-id: file:///home/shish/svn/shimmie2/trunk@926 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-24 15:07:39 +00:00
shish
2c3b82a2fb <= and =>
git-svn-id: file:///home/shish/svn/shimmie2/trunk@919 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-23 10:57:40 +00:00
shish
797e644c1f actually, this works better as a block of it's own...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@916 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-21 15:16:48 +00:00
shish
051389606e make more things use move_upload_to_archive(), and make that function quieter
git-svn-id: file:///home/shish/svn/shimmie2/trunk@914 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-21 11:13:25 +00:00
shish
9b515faf34 Specify who banned a person on the ban list
git-svn-id: file:///home/shish/svn/shimmie2/trunk@910 7f39781d-f577-437e-ae19-be835c7a54ca
2008-07-17 08:13:52 +00:00
shish
87f99dee99 *headdesk*
git-svn-id: file:///home/shish/svn/shimmie2/trunk@909 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-25 00:25:22 +00:00
shish
fc8cdce2fd piclenslite button
git-svn-id: file:///home/shish/svn/shimmie2/trunk@908 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-25 00:18:26 +00:00
shish
a59072a663 add a couple of mediarss tags
git-svn-id: file:///home/shish/svn/shimmie2/trunk@907 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-25 00:05:19 +00:00
shish
bb9534073e say when a ban ends
git-svn-id: file:///home/shish/svn/shimmie2/trunk@904 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-19 14:55:32 +00:00
shish
1f11bbc7c1 I swear this worked before I looked at it and realised it couldn't possibly work o_O
git-svn-id: file:///home/shish/svn/shimmie2/trunk@902 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-16 11:28:10 +00:00
shish
c5ed35fba7 typo fix
git-svn-id: file:///home/shish/svn/shimmie2/trunk@901 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-16 01:08:28 +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
fab31bcb53 rely on PHP rather than using my own function (hmmm...)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@896 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-14 11:18:41 +00:00
shish
8a4524378c well that was remarkably simple...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@894 7f39781d-f577-437e-ae19-be835c7a54ca
2008-06-09 11:21:44 +00:00
shish
2cbc4669ff documentation for some extensions with non-obvious functionality
git-svn-id: file:///home/shish/svn/shimmie2/trunk@885 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-28 22:36:39 +00:00
shish
91f0e8dc4d and compressed file support :3
git-svn-id: file:///home/shish/svn/shimmie2/trunk@883 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-26 22:02:23 +00:00
shish
2f34a0f153 flash file dimentions (uncompressed files only)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@882 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-26 21:56:06 +00:00
shish
97b7deb1da just in case the featured image is deleted
git-svn-id: file:///home/shish/svn/shimmie2/trunk@875 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-20 19:20:58 +00:00
shish
782b57724f this should never need to be set by hand
git-svn-id: file:///home/shish/svn/shimmie2/trunk@874 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-20 19:18:40 +00:00
shish
a658019697 Slightly major rework of the search code internals, makes things more sane and fixes a couple of bugs
git-svn-id: file:///home/shish/svn/shimmie2/trunk@867 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 15:59:58 +00:00
shish
1f9f306cb2 random image download extension
git-svn-id: file:///home/shish/svn/shimmie2/trunk@864 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 03:30:56 +00:00
shish
1fba968ffe featured image extension
git-svn-id: file:///home/shish/svn/shimmie2/trunk@861 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-19 02:19:46 +00:00
shish
62f6354368 remove use of sql date types (different databases have wildly different support for them; storing integer times is easier...)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@856 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-18 03:32:28 +00:00
shish
9026856a91 backing off of xmldb D:
git-svn-id: file:///home/shish/svn/shimmie2/trunk@852 7f39781d-f577-437e-ae19-be835c7a54ca
2008-05-18 02:17:16 +00:00
shish
41d1b4c653 oh no it isn't :3
git-svn-id: file:///home/shish/svn/shimmie2/trunk@826 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-16 10:30:31 +00:00
jjs
4621b5e16f [danbooru api] forgot $this so last update was broken
git-svn-id: file:///home/shish/svn/shimmie2/trunk@821 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-15 04:03:10 +00:00
shish
d4bc3ace03 fix javascript error in ie
git-svn-id: file:///home/shish/svn/shimmie2/trunk@819 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-14 11:21:05 +00:00
shish
7edf906065 manually set the mime type when serving .ico files
git-svn-id: file:///home/shish/svn/shimmie2/trunk@817 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-14 10:50:46 +00:00
jjs
411b933b72 [danbooru api] Properly escape returned tags, other minor cleanup
git-svn-id: file:///home/shish/svn/shimmie2/trunk@816 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-14 03:20:25 +00:00
shish
cc3767c1b8 get SVG size
git-svn-id: file:///home/shish/svn/shimmie2/trunk@814 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 06:56:31 +00:00
shish
62d0f3df7c allow ban for '1 week' etc instead of specifying end time
git-svn-id: file:///home/shish/svn/shimmie2/trunk@812 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 06:26:13 +00:00
shish
ccde7b6cab missed a couple
git-svn-id: file:///home/shish/svn/shimmie2/trunk@810 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 06:12:50 +00:00
shish
2b723fe525 Extension meta-info tidyups
git-svn-id: file:///home/shish/svn/shimmie2/trunk@809 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 06:12:07 +00:00
shish
4e19a29dd0 ip ban isn't essential either
git-svn-id: file:///home/shish/svn/shimmie2/trunk@806 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:46:06 +00:00
shish
59a0979d7f marge admin utils into admin
git-svn-id: file:///home/shish/svn/shimmie2/trunk@804 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:36:36 +00:00
shish
ff199a7c63 Now that the extension manager is working, the non-essential extensions can be made optional
git-svn-id: file:///home/shish/svn/shimmie2/trunk@803 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:28:36 +00:00
shish
09f768afdd handle icons as objects in the hope of making ie7 happy
git-svn-id: file:///home/shish/svn/shimmie2/trunk@797 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 01:49:18 +00:00
shish
337dbb340e .ico handler, by request
git-svn-id: file:///home/shish/svn/shimmie2/trunk@792 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 21:58:17 +00:00
shish
c1238af7db don't die when no ratio limits are specified
git-svn-id: file:///home/shish/svn/shimmie2/trunk@790 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 21:55:59 +00:00
shish
ffe6b2ab7c search by score
git-svn-id: file:///home/shish/svn/shimmie2/trunk@787 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 17:16:29 +00:00
shish
b28c77b32d bug fix
git-svn-id: file:///home/shish/svn/shimmie2/trunk@785 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 16:58:04 +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
a885d1481e working numeric score
git-svn-id: file:///home/shish/svn/shimmie2/trunk@782 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 16:53:48 +00:00
shish
fba18e10fc case insensetive file type detection for svg / swf / mp3
git-svn-id: file:///home/shish/svn/shimmie2/trunk@777 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-08 15:41:11 +00:00
shish
935c235e63 same for archive handler
git-svn-id: file:///home/shish/svn/shimmie2/trunk@774 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-07 23:17:30 +00:00
shish
4553bf00b8 and fix the home extension too
git-svn-id: file:///home/shish/svn/shimmie2/trunk@772 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 22:01:37 +00:00
shish
f0ab3ee7a5 archive handler can use the system temp dir
git-svn-id: file:///home/shish/svn/shimmie2/trunk@770 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 21:38:32 +00:00
shish
73ba66fbc8 integrate spoiler into bbcode
git-svn-id: file:///home/shish/svn/shimmie2/trunk@766 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 18:41:36 +00:00
shish
7b1eed5ce0 extension manager enabled by default \o/
git-svn-id: file:///home/shish/svn/shimmie2/trunk@763 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 17:54:07 +00:00
shish
d866d0fd46 Various extension manager improvements from Christian Walde, and a recursive copy if symlink() isn't defined (ie, windows)
git-svn-id: file:///home/shish/svn/shimmie2/trunk@761 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 17:43:03 +00:00
shish
52639e6c3a image_hash_ban whitespacing
git-svn-id: file:///home/shish/svn/shimmie2/trunk@759 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 16:47:05 +00:00
shish
7db7096b2e variable
git-svn-id: file:///home/shish/svn/shimmie2/trunk@758 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-06 16:43:09 +00:00
shish
3a9063b02b trunk also <_<
git-svn-id: file:///home/shish/svn/shimmie2/trunk@755 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-04 22:41:45 +00:00
shish
499d752ca9 make rating use the new image metainfo editor api
git-svn-id: file:///home/shish/svn/shimmie2/trunk@727 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-24 04:03:34 +00:00
jjs
430163c29d [danbooru api] fixed for trunk, hopefully
git-svn-id: file:///home/shish/svn/shimmie2/trunk@724 7f39781d-f577-437e-ae19-be835c7a54ca
2008-03-02 01:11:52 +00:00
shish
8b517a6a7c search for images with given ratings
git-svn-id: file:///home/shish/svn/shimmie2/trunk@717 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-07 20:28:07 +00:00
shish
5bae3dc733 graphical glitch
git-svn-id: file:///home/shish/svn/shimmie2/trunk@716 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-07 20:23:52 +00:00
shish
fb62229634 move md5: to danbooru api
git-svn-id: file:///home/shish/svn/shimmie2/trunk@714 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 17:27:45 +00:00
shish
5ebc559595 make res_limit work with the new upload system, and have a ratio limit
git-svn-id: file:///home/shish/svn/shimmie2/trunk@710 7f39781d-f577-437e-ae19-be835c7a54ca
2008-02-06 15:54:50 +00:00
shish
1bdfb285c1 replace words
git-svn-id: file:///home/shish/svn/shimmie2/trunk@697 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-19 17:21:33 +00:00
shish
f38da63bca tag_history should check if anon is allowed to revert tags
git-svn-id: file:///home/shish/svn/shimmie2/trunk@695 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-19 17:14:13 +00:00
shish
52bdd38cfd more readable spoilers
git-svn-id: file:///home/shish/svn/shimmie2/trunk@693 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-12 07:30:50 +00:00
shish
3e25a08db2 safety wrapper for db->GetAll
git-svn-id: file:///home/shish/svn/shimmie2/trunk@690 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-05 00:22:19 +00:00
shish
1f1987131d Don't die on deleted images, fixes #252
git-svn-id: file:///home/shish/svn/shimmie2/trunk@676 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-30 12:17:12 +00:00
shish
70b3d791d8 2.1 code moved to 2.1 branch
git-svn-id: file:///home/shish/svn/shimmie2/trunk@675 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-30 12:11:51 +00:00
shish
efa7da6c1c layout
git-svn-id: file:///home/shish/svn/shimmie2/trunk@663 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-17 03:41:22 +00:00
shish
b2ef2502db proper tags, no need for loader hack?
git-svn-id: file:///home/shish/svn/shimmie2/trunk@660 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-13 23:27:22 +00:00
shish
b31a0fd1ac imagemagick SVG thumbnailing, but needs more version check...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@659 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-11 22:47:55 +00:00
shish
c894fd2752 SVG handler
git-svn-id: file:///home/shish/svn/shimmie2/trunk@658 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-11 18:40:44 +00:00
shish
c83ba877d3 word banning extension
git-svn-id: file:///home/shish/svn/shimmie2/trunk@653 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-09 05:18:13 +00:00
shish
babe924921 database dump part 1
git-svn-id: file:///home/shish/svn/shimmie2/trunk@646 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-08 18:44:52 +00:00
shish
7981e4014d much tag_history rearrangement, and a global history page
git-svn-id: file:///home/shish/svn/shimmie2/trunk@645 7f39781d-f577-437e-ae19-be835c7a54ca
2007-12-08 18:10:44 +00:00