Commit graph

799 commits

Author SHA1 Message Date
Shish
309a2f497f only admins should replace images (possibly people should be allowed to replace their own too? I'm erring on the side of caution for now though) 2011-09-01 00:36:38 +01:00
green-ponies (jgen)
c44ed439f8 Extra checking for the user being an admin before allowing image replacement.
Also removed some duplicated code for efficiency.
2011-08-30 13:57:14 -04:00
green-ponies (jgen)
17999cade8 Image Replace feature working, just needs more testing. 2011-08-25 21:35:59 -04:00
green-ponies (jgen)
b02c747ac1 Working on image replace.
Getting unknown 404 errors.
2011-08-24 23:55:44 -04:00
green-ponies (jgen)
62cc7e0e5e Working on Replace Image feature.
Added link to page, fixed foreach loop.
2011-08-24 21:23:18 -04:00
green-ponies (jgen)
f3b6fde7a5 Working on adding a "Replace Image" feature. 2011-08-24 20:53:53 -04:00
Shish
2049754ef2 Merge branch 'master' of github.com:shish/shimmie2 2011-08-24 09:05:10 +01:00
green-ponies (jgen)
eb5ff191c6 Confirm image delete with jQuery UI modal dialog.
Added config option for jQuery delete as well.
2011-08-16 23:14:30 -04:00
green-ponies (jgen)
e9b862b560 Better error checking when uploading files.
Also, displays PHPs limit on the setup page.
2011-08-16 16:31:23 -04:00
green-ponies (jgen)
53c10ecddf Confirm image delete operation with javascript. 2011-08-12 22:02:41 -04:00
green-ponies (jgen)
3a4aea45d5 Small addition for giving forms unique IDs. Mainly so that javascript has
something to hook onto.
2011-08-12 21:56:48 -04:00
green-ponies (jgen)
6c3e91e01c changed script tags to include language 2011-08-12 21:40:51 -04:00
Shish
4f864c6a80 remove quotes from convert.exe in some cases 2011-08-08 13:01:35 +01:00
Justin Brewer
98e170cd86 Fixed Nice URL test for servers not running on port 80.
HTTP_HOST will contain the full host name used to access the site, including
the optional port number. However, on some misconfigured servers, HTTP_HOST
will not be defined, in which case the script will attempt to reconstruct the
host name from SERVER_NAME, and if necessary, SERVER_PORT.
2011-07-27 22:38:02 -05:00
Shish
ae17700a30 half support for caching giant tag maps 2011-03-23 13:21:14 +00:00
Shish
3d0cdfff56 mark users who have commented as interacting 2011-03-23 11:40:32 +00:00
Shish
b481db493c cache recent comments and comment page count 2011-03-23 11:37:46 +00:00
Shish
9db12f54f9 opengraph metadata on images 2011-03-07 23:57:56 +00:00
Shish
eda0d66bac make CommentList::get_hash static, for calling from other places 2011-03-06 12:44:38 +00:00
Diftraku
93e2110056 Because Windows... shitty OS is shitty. Added a Windows-only fix to the extension symlink and deltree.
Windows will nag about file info not found on relative paths with symlink (php bug?).
Also, when deleting a symlink on Windows, it needs to be rmdir'd, no unlink'd (kept throwing permission denied for unlink).
2011-03-03 11:40:34 +02:00
Shish
467eed75d1 'list of tags applied to this image' should not be limited like 'related tags' is 2011-03-02 11:53:38 +00:00
Josh Sutinen
c89eb46800 alias_editor: More PDO compatibility 2011-02-22 17:35:07 -05:00
Shish
66e6cdd0a1 hopefully fix search by ID range, and related bits 2011-02-22 15:03:16 +00:00
Shish
5aa380594f GetArray -> get_all 2011-02-21 12:24:51 +00:00
Shish
b1cb655adc hopefully fix signup for PDO 2011-02-21 11:57:50 +00:00
Shish
ce0d30e0db count() rather than RecordCount 2011-02-13 13:16:49 +00:00
Shish
8495a1ac89 typo fix 2011-02-13 13:10:55 +00:00
Shish
68585bb8c8 PDO compat for comments 2011-02-13 12:44:33 +00:00
zshall
cc6b9753bb Added email extension. 2011-02-11 17:43:18 -05:00
Shish
3cf72af8cd remove extra debug 2011-01-26 17:20:46 +00:00
Shish
46b01c4042 make sure thumbnails have a max ratio of 5:1 2011-01-26 17:09:45 +00:00
Shish
a008a9e34e PDO syntaxing 2011-01-26 14:56:26 +00:00
Shish
996183a2d3 cache popular tags 2011-01-22 17:38:41 +00:00
Shish
fc7eb0609e warn on login failure 2011-01-22 16:10:07 +00:00
Shish
141e8fa106 remove the list of acceptable filetypes, as we accept more than just image/* now 2011-01-10 16:39:46 +00:00
Shish
ee3c24117b more pdo compat, database bits 2011-01-03 15:18:24 +00:00
seinoxygen
115d992ff0 merged image zoom 2011-01-01 19:19:18 +00:00
Shish
0d73aa7692 remove mysql-adodb specific function #2 2011-01-01 19:01:38 +00:00
Shish
d6baeab977 more pdo compat 2011-01-01 16:28:04 +00:00
Shish
8d978aa06a more pdo compat 2011-01-01 15:58:09 +00:00
Shish
9e00675900 pdo compat 2011-01-01 15:28:38 +00:00
Shish
ffb1762280 Insert_ID -> lastInsertId 2010-12-31 20:00:59 +00:00
Shish
7403fd7c87 Revert "checks for files without extensions, from AtomicDryad"
This seems to break something, such that uploading a jpeg results
in image size 0x0 (other bits seem to work though o_O)

Will take a look at what's up and re-commit later...

This reverts commit ead87d3934.
2010-12-24 20:44:38 +00:00
Shish
ead87d3934 checks for files without extensions, from AtomicDryad 2010-12-22 21:43:00 +00:00
Shish
1c68d34c22 what the fuck, php? this should not be necessary :/ 2010-10-11 12:21:04 +01:00
Shish
dfef932463 use config.php as CSRF salt 2010-10-07 21:26:28 +01:00
Shish
1e04df7765 <form> -> make_form(), or add auth token manually 2010-10-07 21:26:27 +01:00
Shish
18403a3fa6 csrf-proofing for extensions 2010-10-07 21:26:27 +01:00
Shish
41cc80df34 more url_escape 2010-07-26 23:10:43 +01:00
Shish
9bd19fe320 curl might not be installed 2010-07-26 22:48:15 +01:00
Shish
faf313d5ba repeat of GET forms breaking on sites without niceurls 2010-07-26 11:18:07 +01:00
Shish
59ba74d623 hide metadata on windows 2010-07-19 13:57:27 +01:00
Shish
f6486d332d hide disk_free_space errors 2010-06-27 17:32:08 +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
1ddadc37ea selectFirst is still a whore 2010-05-16 15:27:34 +01:00
Shish
e731b59676 final one? 2010-05-15 14:24:02 +01:00
Shish
26727dde64 these are redundant too 2010-05-15 14:22:44 +01:00
Shish
97db78d29e get rid of extra bits 2010-05-15 14:20:40 +01:00
Shish
0d7efd0256 class type hints for hiphop's benefit 2010-05-15 12:17:32 +01:00
Shish
46ce762949 A bunch of testing / fixes 2010-05-05 14:16:24 +01:00
Shish
c94e16f814 selectfirst is annoying 2010-04-28 11:21:02 +01:00
Shish
ba814aebaa mysql can go choke on a bucket of cocks 2010-04-27 11:36:07 +01:00
Shish
c8b7d639df a bunch of autocompletion 2010-04-26 06:00:41 +01:00
Shish
f3c9ca3e65 tag completion internal api 2010-04-26 05:49:11 +01:00
Shish
65962a591a Revert "search field autocomplete"
This reverts commit 29d9c7ae16.

zshall has already done this, better >_<
2010-04-26 05:03:58 +01:00
Shish
29d9c7ae16 search field autocomplete 2010-04-26 04:56:45 +01:00
Shish
a92a91dedb index extension 2010-04-26 02:36:05 +01:00
Shish
8a08571325 'offset ? limit ?' is supported by more than 'limit ?, ?' 2010-04-23 16:10:46 +01:00
Shish
2c1fa2fd7f move warehouse directory creation into a single place 2010-04-23 05:46:07 +01:00
Shish
ee292c2a25 crudely hide explicit images from the comment list of anons 2010-04-23 04:08:22 +01:00
Shish
27f0f2c971 link to ext_doc rather than ext_manager, for non-admins 2010-04-21 18:03:54 +01:00
Shish
3eee6f313e avatar options 2010-04-21 17:56:01 +01:00
Shish
0816e6bb67 in theory, selectable avatar hosts 2010-04-21 17:32:32 +01:00
Shish
9caa3ca560 test mincount param 2010-04-21 17:09:58 +01:00
Shish
4e05d77484 link to all 2010-04-20 02:59:41 +01:00
Shish
92695ae495 note for later 2010-04-20 02:59:41 +01:00
Shish
e82ff7d3fb mincount paramater 2010-04-20 02:59:41 +01:00
Shish
77934a7733 Comment::get_owner() function, as an official way to access user data (eg User::get_avatar()) 2010-04-07 13:38:44 +01:00
Shish
ec5b08f659 timestamped comments 2010-04-07 13:25:46 +01:00
Shish
f0b9f8909d test another path 2010-04-06 14:44:19 +01:00
Shish
1ede4443fc test wildcards 2010-04-06 14:44:13 +01:00
Josh Sutinen
a8e7389afe Fix bookmarklet using relative url into absolute url with make_http magic 2010-03-29 03:58:32 +01:00
Shish
9ab6fec30a remove carridge returns when parsing alias CSVs 2010-03-27 04:01:29 +00:00
Shish
69bfc1868e show user ID number 2010-03-25 10:51:30 +00:00
Shish
0ba232694d tidy up 2010-03-23 04:30:33 +00:00
Shish
991a66edf0 case sensitivity? 2010-03-22 04:30:07 +00:00
Shish
e3c0b3fbc2 two comments should exist now 2010-03-22 04:00:26 +00:00
Shish
7a56a9c819 only show extension docs if the extension exists 2010-03-22 03:58:14 +00:00
Shish
7a5be72cbd build warehouse directories on demand 2010-03-15 04:31:28 +00:00
Shish
35b1972b90 test unicode comments 2010-03-14 20:51:15 +00:00
Shish
86a6b09cb0 ... yeah 2010-03-14 02:19:12 +00:00
Shish
2c710bb654 make captchas optional and off by default, some people are having problems 2010-03-14 02:14:28 +00:00
Shish
4c24f44af8 more tests for search methods 2010-03-12 18:55:03 +00:00
Shish
1a3fa68ade image ext tests 2010-03-12 18:48:30 +00:00
Shish
9a04bce8d1 more ext manager tests 2010-03-12 18:44:14 +00:00
Shish
4422715278 ul and ol tags 2010-03-12 18:39:08 +00:00
Shish
f42468e6eb test source editing 2010-03-08 21:23:16 +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
278b2ef510 indentation 2010-02-27 02:41:52 +00:00
Shish
1574330a88 found a bug 2010-02-27 02:41:10 +00:00
Shish
ffb625fde5 doc fix 2010-02-27 02:09:10 +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
5f88ba906f post/view?search -> post/view#search for better caching 2010-02-09 10:05:57 +00:00
Shish
0d95bcb0b3 take next/prev from hash rather than query 2010-02-09 10:04:20 +00:00
Shish
c22f28072f correct some seemingly innocent behaviour, and thus fix a corner case in another extension 2010-02-03 23:54:43 +00:00
Shish
ca8fc63bf2 comment IDs to link to 2010-02-03 16:01:00 +00:00
Shish
e3fc8cf782 reset anon IDs on the comment/list too 2010-02-03 15:22:54 +00:00
Shish
e96e350ccb ID's anons 2010-02-02 18:15:05 +00:00
Shish
a295c210a2 limit/offset incompatability blah 2010-02-02 13:15:24 +00:00
Shish
8733249a80 no ha 2010-02-02 01:56:00 +00:00
Shish
0d81fb0538 more warehouse_path use 2010-02-02 01:06:54 +00:00
Shish
4df08e9477 more sanity checks 2010-02-01 23:30:37 +00:00
Shish
acadaa29ec pgsql fails at db->Insert_ID() 2010-02-01 23:18:10 +00:00
Shish
b292bc7a6c postgres requires separate 'offset' aside from 'limit' 2010-02-01 16:19:38 +00:00
Shish
facff9bd5b fix pixel thumb gen 2010-01-27 12:25:19 +00:00
Shish
7d63e08eaf non-admins are allowed to see the extension list now (read-only) 2010-01-23 13:20:32 +00:00
Shish
4361bb0645 put the captcha in the table 2010-01-23 12:40:03 +00:00
Shish
c7eb0cd99d redundant declaration 2010-01-23 12:39:27 +00:00
Shish
90a48abbec make convert.exe findable on windows 2010-01-22 17:42:00 +00:00
Shish
a086b9b7fc strip metadata in a single imagemagick command 2010-01-21 16:11:31 +00:00
Shish
4a71eb82da dupe function name 2010-01-17 09:54:01 +00:00
Shish
ef43fc1e57 haaaack 2010-01-11 15:19:04 +00:00
Shish
4e7f135024 htmlable t&c 2010-01-05 19:06:04 +00:00
Shish
62862994db set user creation to use the generic captcha api 2010-01-05 17:57:10 +00:00
Shish
18c0fa7df8 more documentation, and set some extensions to be hidden from the user docs list 2010-01-05 13:13:11 +00:00
Shish
843e2b2cc9 admin extension is no longer core 2010-01-05 11:08:32 +00:00
Shish
f5122af7bd move image deletion function to ImageIO 2010-01-05 11:07:13 +00:00
Shish
f4a74c4d4c better logging 2010-01-05 10:52:23 +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
31201aeab9 documentation 2010-01-05 09:40:26 +00:00
Shish
6c5e917864 search by number of tags 2010-01-05 09:05:16 +00:00
Shish
bd42beded8 update extensions links 2010-01-04 12:44:20 +00:00
Shish
c7b4cf8ead documentation updates 2010-01-04 12:41:04 +00:00
Shish
15f78d9883 don't halt the page load while waiting for this 2010-01-03 09:51:06 +00:00
Shish
3bb3ee2e86 securimage support as an alternative captcha 2010-01-03 08:15:52 +00:00
Shish
440fdb88c2 don't redirect-to-image if this is a single image on the last page of several pages 2009-12-30 09:29:25 +00:00
Shish
f3cd5d03a4 email bbcode tag 2009-12-30 09:13:57 +00:00
Shish
830635c5a9 preliminary image locking 2009-12-30 08:54:04 +00:00
Shish
c9283ef010 make sure all tables are innodb, for foreign keys to work 2009-12-30 08:48:40 +00:00
Shish
63277a0864 gah 2009-12-30 08:17:33 +00:00
Shish
694200d9f8 proper logging 2009-12-30 07:59:40 +00:00
Shish
b68f37cf5b ignore orphanned comments 2009-12-22 17:05:21 +00:00
Shish
80d8f4cfb0 this breaks on windows? 2009-11-29 09:38:26 +00:00
Shish
8b7f327440 sorted advanced options, easier to browse 2009-11-12 09:13:21 +00:00
Shish
fb0513561f recaptcha signup link including domain 2009-11-10 04:36:05 +00:00
Shish
9f37a50256 signup captcha 2009-11-10 03:21:02 +00:00
Shish
23cc4ea146 better layout 2009-11-10 03:09:44 +00:00
Shish
247d2b0637 remote api keys in their own block 2009-11-10 03:07:40 +00:00
Shish
6bee15164f make recaptcha work 2009-11-10 03:01:20 +00:00
Shish
76393c2c59 recaptcha support 2009-11-10 03:55:17 +00:00
Shish
7db5a2808a noscript link to a larger upload form 2009-10-26 12:08:54 +00:00
Shish
abf69c8137 and remove the setting 2009-10-26 11:42:19 +00:00
Shish
07178e0c4d Merge branch 'master' of git://git.shishnet.org/shimmie2 2009-10-26 10:50:56 +00:00
Shish
083d1e51f7 set comment limits higher 2009-10-26 10:50:48 +00:00
Shish
3f759619f3 test the right thing... 2009-10-26 10:49:07 +00:00
Shish
7d96035f02 fix for bug #779 2009-10-23 14:26:49 +01:00
Shish
2e24246984 test for bug #779 2009-10-23 14:26:40 +01:00
Shish
6ec72e7ac2 optional word wrapping 2009-10-18 00:27:12 +01:00
Shish
cd8b7c40da test to confirm bug #774 2009-10-09 12:27:13 +01:00
Shish
89e72b0f02 how did this work in the first place? x_x 2009-10-08 14:22:18 +01:00
Shish
a7caf1e060 prefixed cookies 2009-10-08 13:59:12 +01:00
Shish
0e2a0b6f68 add test case to confirm #761 2009-10-08 12:47:44 +01:00
Shish
159a862c02 configurability for avatars 2009-10-08 12:40:52 +01:00
Shish
82bf804fad fix avatar display on user page 2009-10-08 12:32:01 +01:00
Shish
9695c6b45b scaled category thumbnails 2009-10-08 02:51:49 +01:00
Shish
0d5b2ecab1 Merge branch 'master' of ssh://shish@marigold.shishnet.org/git/shimmie2 2009-10-08 02:44:03 +01:00
Shish
ee149ac3d1 easier to style quotes 2009-10-08 02:41:35 +01:00
Shish
91cb704daa more testing 2009-09-27 15:48:38 +01:00
Shish
9a3efd592a more testes 2009-09-20 04:10:34 +01:00
Shish
c7a9c4b92c not finished, but add to test coverage 2009-09-20 03:48:24 +01:00
Shish
3a9b82ab1e this isn't slow any more 2009-09-19 23:07:39 +01:00
Shish
281c34d64e more testing 2009-09-19 23:03:47 +01:00
Shish
846801b76d test spoiler code 2009-09-19 20:23:48 +01:00
Shish
d7038a0098 test the next and prev buttons 2009-09-19 20:19:09 +01:00
Shish
ac85a520d7 link to target of alias 2009-09-15 18:42:42 +01:00
Shish
6f64055096 don't code while asleep -_- 2009-09-15 18:35:24 +01:00
Shish
f71a0e4390 configurable autodate format 2009-09-15 18:29:22 +01:00
Shish
a69d1086ec paginated aliases 2009-08-25 02:36:00 +01:00
Shish
15d7a76799 meta keywords with commas 2009-08-24 06:49:40 +01:00
Shish
8a53cecbd7 odd/even comments 2009-08-24 03:43:10 +01:00
Shish
087444b841 did I mention 'aaaaaaargh php'? 2009-08-19 05:53:27 +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
a1725f7fe3 only show the recent few comments on each image (for the long comment list) 2009-08-19 00:33:18 +01:00
Shish
685d079da8 use_autodate option 2009-08-18 23:06:15 +01:00
Shish
b1bcb8252f extendable user stats rather than hardcoded with assumptions of extensions 2009-08-18 22:30:52 +01:00
Shish
28fd3e311f replace numeric_score 'favorite' with 'upvoted_by=name' (and add the same for downvote) 2009-08-13 19:28:14 +01:00
Shish
9aa54af90a fix this test 2009-08-13 19:01:34 +01:00
Shish
4b3fb0de86 test deleting one comment at a time 2009-08-12 15:45:13 +01:00
Shish
f9b987a7ce make comment deletion do something... 2009-08-12 15:40:13 +01:00
Shish
ffe6bc3597 missed a spot 2009-08-12 15:35:30 +01:00
Shish
76a9090ded settable email field 2009-08-11 17:07:03 +01:00
Shish
2e8eff8f38 gravatar on user page 2009-08-11 15:44:26 +01:00
Shish
940687a8ac missed a spot 2009-08-10 21:51:04 +01:00
Shish
81987f0e79 make image metadata optional 2009-08-09 22:00:59 +01:00
Shish
512503799d fix comment page count 2009-08-04 17:58:26 +01:00