Commit graph

698 commits

Author SHA1 Message Date
green-ponies (jgen)
8e68d650a1 Cleaned up how the Image Replace html is made. 2011-09-03 16:03:21 -04:00
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
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
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