Commit graph

1210 commits

Author SHA1 Message Date
Shish
442e1a0de1 stricter data for ban adding 2012-07-28 11:42:07 +01:00
Shish
0a73424679 Merge branch 'master' of github.com:shish/shimmie2 2012-07-28 11:12:40 +01:00
Shish
ee52d582c4 image replacing simplicity 2012-07-28 11:12:05 +01:00
Shish
a9bfd1bcdc break 2012-07-24 20:38:10 +01:00
Shish
8b83b90b53 make tags required in the HTML form 2012-06-27 11:13:36 +01:00
Shish
951da261e8 Use the same 'create new image' block for post/list and oekaki pages 2012-06-26 20:00:38 +01:00
Shish
7391dcf0b6 configuarable oekaki size, and more consistent creation 2012-06-26 19:58:35 +01:00
Shish
80673b73ec re-arrange oekaki bits for better permissions 2012-06-26 19:47:40 +01:00
Shish
756de7b023 Merge pull request #243 from pachuco/master
Oekaki extension tweaks
2012-06-26 11:43:18 -07:00
Shish
cd693630a3 width: 100% + shadows fails 2012-06-26 19:41:20 +01:00
Shish
b82fd133fc Merge branch 'master' of github.com:shish/shimmie2 2012-06-26 19:38:53 +01:00
Shish
a3d77c6f42 firefox ignores file upload width attribute :| 2012-06-26 19:38:22 +01:00
Shish
287cea7959 >> = quote... 2012-06-26 19:38:02 +01:00
pachuco
6453c767ef Added ability to input resolution both in post index and oekaki page, as well as a little warning about losing canvas contents. 2012-06-24 23:25:46 +03:00
pachuco
6b6f60faca Authors of updated iconset credited.
Icons taken from https://github.com/CatoTH/ChibiPaint-Animexx-Edition
2012-06-24 23:22:14 +03:00
pachuco
e1c04facdb Users with insufficient privileges are now unable to use oekaki. 2012-06-24 23:21:22 +03:00
pachuco
4535299b2a Replaced icons with something actually bearable.
Updated internal readme to credit authors.
Taken from https://github.com/CatoTH/ChibiPaint-Animexx-Edition
2012-06-24 23:19:06 +03:00
Shish
0bc4ebafa5 somewhat excessive caching for index pages 2012-06-24 02:07:59 +01:00
Shish
8dfeb7cda3 longer cache timings, with better invalidation 2012-06-24 01:57:12 +01:00
Shish
9ca07641d2 build_thumb_html can't be called statically 2012-06-24 01:13:24 +01:00
Shish
a640de5283 a little extra error checking 2012-06-24 01:11:07 +01:00
Shish
38f7555d98 get rid of direct references to Database's engine 2012-06-24 00:57:55 +01:00
Shish
dd505e556e avoid using magic internal database->db value 2012-06-24 00:27:21 +01:00
Shish
d87e53ab90 cache reported image count 2012-06-23 23:28:38 +01:00
Shish
5a93e650c1 make sure featured image object is fully populated before caching, else it still lazy-queries tags each time 2012-06-23 23:25:53 +01:00
Shish
ee1162309a block caching 2012-06-23 23:21:04 +01:00
Shish
1daf0416bd optionally run jpegoptim on newly created thumbs 2012-06-23 23:02:02 +01:00
Shish
f61b4b3fcb proper setup bits for livefeed 2012-06-22 22:30:22 +01:00
Shish
16f1c06734 more livefeed tweaks - put the URL first for consistency 2012-06-22 20:04:12 +01:00
Shish
2e897e097d live feed tweaks 2012-06-22 19:32:41 +01:00
Shish
8dcd56e0ec udp log_net, because it's faster and more elegant 2012-06-22 19:19:13 +01:00
Shish
7ed7f4bbb8 Merge branch 'master' of github.com:shish/shimmie2 2012-06-22 19:14:15 +01:00
Shish
9291601a30 livefeed extension 2012-06-22 19:13:57 +01:00
Shish
029719cafe statsd ext, for trivially making graphs of site activity 2012-06-22 18:34:23 +01:00
Shish
4b2cba4642 bulk add uses tags from filename if filename is '123 - tag1 tag2 tag3.ext' folder name otherwise 2012-06-21 09:11:26 +01:00
Shish
8173a7cafd clear event listener cache when exts change 2012-06-18 00:29:41 +01:00
Shish
a9b3ffe0eb start of command-line ext manager 2012-06-18 00:27:58 +01:00
Shish
5519c3a320 lots of tidying and removal of duplicate code 2012-06-18 00:00:21 +01:00
Shish
082e6fa31b nice, event-based command line support; try 'php index.php' for info 2012-06-17 20:06:02 +01:00
Shish
427175983b don't pre-populate the ban lists with fake data, things get confused 2012-06-17 18:50:46 +01:00
Shish
1065a1915d bold for *unread* PMs 2012-06-10 18:40:30 +01:00
Shish
4a6f9f3245 say who a PM is from 2012-06-10 18:18:50 +01:00
Shish
f8cc785560 flashes for user changes 2012-06-10 18:13:22 +01:00
Shish
97d280501c image ban messages 2012-06-10 17:57:57 +01:00
Shish
8c1e495ab7 better IP Ban logging 2012-06-10 17:49:17 +01:00
Shish
239e028662 flash messages everywhere~ 2012-06-10 04:21:03 +01:00
Shish
a38aaba328 postgres has microseconds, which is overkill to display 2012-06-09 16:25:51 +01:00
Shish
82cc77817a delete comments by IP 2012-06-09 16:08:29 +01:00
Shish
5186601805 wording 2012-06-09 16:08:15 +01:00
Shish
b1e5ba794b update comment styles for new classes 2012-06-09 15:52:28 +01:00
Shish
2542051bc4 show user classes 2012-06-09 15:25:07 +01:00
Shish
8de1bd0c56 different classes for different types of comment list 2012-06-05 13:11:15 +01:00
Shish
5d431b9b03 apparently 'false' is an object with length, and the length is 1. Fuck PHP. 2012-05-28 09:55:55 +01:00
Shish
a809e95ff1 anonymous functions are php 5.3, shimmie aims for 5.2.6 2012-05-28 09:46:16 +01:00
Shish
4f8332f3f7 use the global and well tested make_http() rather than local hostify() 2012-05-23 11:50:04 +01:00
Shish
5fdb54c9ec missed a couple of big globs 2012-05-23 11:35:30 +01:00
Shish
bfd4ddea17 check for classes being loaded, not files existing 2012-05-23 10:39:21 +01:00
Shish
2e76add61b enhance zglob to allow really long patterns 2012-05-22 12:46:56 +01:00
Shish
cb8b4f3329 have a single var for memory limit 2012-05-22 12:26:47 +01:00
Shish
61f3a9d372 Merge branch 'master' of github.com:shish/shimmie2 2012-05-22 12:15:14 +01:00
Shish
2d451224dd only one of tags/image-specific-tags needs filling 2012-05-22 12:14:46 +01:00
Shish
708b117b2a caching for related tags 2012-05-16 06:33:04 +01:00
Shish
4cbd00c039 Merge branch 'master' of github.com:shish/shimmie2 2012-05-16 05:32:56 +01:00
Shish
23fe15e8cd clear CSS cache on theme changes 2012-05-12 10:04:17 +01:00
Shish
1ae3c8e0ba Merge branch 'master' of github.com:shish/shimmie2 2012-05-08 18:45:41 +01:00
Shish
216d137064 when uploading an archive, say the file was handled 2012-05-08 18:32:55 +01:00
Daku
3618c2dbb9 forgot to removing testing :x 2012-05-02 21:13:37 +01:00
Daku
d6de529ca5 should work properly with lite theme now.. 2012-05-02 20:48:39 +01:00
green-ponies (jgen)
dd88127c30 Undoing this commit: Removing unnecessary call to int_escape(). Simply cast to int inline, saving function call overhead. 2012-04-18 00:54:18 -04:00
green-ponies (jgen)
3b6e113e8b Merge branch 'mime_types' 2012-04-16 16:46:27 -04:00
green-ponies (jgen)
540e82a27a Actually use the mime type. 2012-04-15 20:00:27 -04:00
green-ponies (jgen)
a0a0ba5bbc A better version of bool_escape() that uses filter_var if possible.
Also removed undb_bool() as it was basically a copy of the old bool_escape function.
2012-04-15 19:28:27 -04:00
green-ponies (jgen)
a82f9382d1 Removing unnecessary call to int_escape(). Simply cast to int inline, saving function call overhead. 2012-04-15 18:40:06 -04:00
green-ponies (jgen)
8aff5c39ce Fix for mass_tagger when Nice URLs are enabled. 2012-04-15 18:24:25 -04:00
green-ponies (jgen)
a2b94b31dd Collect information on the Thumbnail engine as well. 2012-04-09 17:11:03 -04:00
Shish
f81fa08077 source search 2012-04-05 17:33:50 +01:00
Shish
df4ab51dd9 ban bad phrases from appearing in tags and source too 2012-04-05 17:22:06 +01:00
Shish
fdb6727f41 don't fail at multiple searches on the same param (eg 'id>=X id<=Y') 2012-04-05 16:18:41 +01:00
Shish
2a8643d06e Merge branch 'master' of github.com:shish/shimmie2 2012-04-05 15:20:38 +01:00
Shish
03795e7d1c if user has no votes, don't delete all their votes 2012-04-05 15:20:04 +01:00
Shish
6991bb9462 tag_editcloud breaks 'for i in array' 2012-04-03 03:52:17 +01:00
Shish
14770e4733 show stats *after* gathering them 2012-04-01 20:47:59 +01:00
Shish
e24b144acb test updates 2012-04-01 18:47:14 +01:00
Shish
2831f61489 clean up even if the mass delete fails 2012-04-01 18:17:33 +01:00
Shish
678215e4bd width / height were never used individually, now just have images 2012-04-01 17:47:39 +01:00
Shish
84cdd21e09 don't try to load notes if there are no notes 2012-04-01 17:32:02 +01:00
Shish
d80d81ea78 move jquery libs to lib/ 2012-04-01 17:09:46 +01:00
Shish
2fc4292cef expiring images is advanced, and also rarely used as people should have niceurls 2012-04-01 16:58:42 +01:00
Shish
19fb6a16ae image zoom isn't an admin option any more 2012-04-01 16:53:47 +01:00
Shish
d1a4c32ef6 only test enabled exts 2012-04-01 16:45:12 +01:00
Shish
cf5e35bd2d simpletest updates broke things... 2012-04-01 16:41:05 +01:00
Shish
070ba8c276 test improvements 2012-04-01 16:37:38 +01:00
Shish
664e6fa509 *image_ad* is blocked by opera, which makes use of image_admin a pain... 2012-04-01 16:06:11 +01:00
Shish
ab128b4b24 make non-nice images work 2012-04-01 15:55:48 +01:00
Shish
eb05458c9f change user class / delete user separate from admin 2012-03-31 19:25:27 +01:00
Shish
4a95f502f8 fix includes 2012-03-31 19:07:45 +01:00
Shish
75abdc7c04 store enabled exts in a config file, rather than moving directories around 2012-03-31 19:07:05 +01:00
Shish
67f1c1c51d store enabled exts in a config file, rather than moving directories around 2012-03-31 18:59:28 +01:00
Shish
81c7ac0120 mass source set perm 2012-03-31 16:31:10 +01:00
Shish
1d648d0d32 remove redundant code 2012-03-31 15:54:29 +01:00
Shish
5a2a2fa7e4 more removal of distinct classes 2012-03-31 15:43:25 +01:00
Shish
567755a185 Merge branch 'master' of github.com:shish/shimmie2 2012-03-31 12:38:44 +01:00
Shish
11372366ad gravatar note 2012-03-31 12:38:39 +01:00
Shish
c2de49c248 tag list caches in data/cache 2012-03-30 18:35:05 +01:00
Shish
e538181fa1 add alias after finishing the mass tag edit 2012-03-30 16:40:14 +01:00
Daku
546b7ea21e blocked tags will also set thumbblock div to 0 if theme is lite 2012-03-30 05:05:16 +01:00
Shish
e7fc084f44 log mass tag edits 2012-03-29 21:31:04 +01:00
Shish
d7578e754f test for mass tag edit 2012-03-29 21:12:24 +01:00
Shish
7a6ef55114 bleh, source validation. Anything is allowed and it's only linked on output if appropriate 2012-03-25 04:45:47 +01:00
Shish
893afe5b61 Merge branch 'master' of github.com:shish/shimmie2 2012-03-25 04:12:31 +01:00
Shish
f2f5ec720d debugging 2012-03-25 04:11:40 +01:00
Shish
cd8ec7bf41 sort alias CSV file the same way as the table 2012-03-25 03:32:32 +01:00
Shish
b628bcfa86 user deletion event, with vote deletion 2012-03-25 02:41:33 +01:00
Shish
266f3c4a9a quotes on single lines 2012-03-25 02:20:51 +01:00
Shish
5efdbdeb91 set zoomer val on shotcut too 2012-03-24 23:34:00 +00:00
Shish
1d4836e6c4 toggle zoom on click 2012-03-24 23:30:19 +00:00
Shish
8336fbfce5 and update the select box from cookie 2012-03-24 11:48:44 +00:00
Shish
0b45042161 ui- prefix for UI cookies 2012-03-24 11:23:06 +00:00
Shish
eb705d29f5 image scaling cookie 2012-03-24 11:17:09 +00:00
Shish
ecad3b9891 only refresh if needed 2012-03-22 16:35:44 +00:00
Shish
f993b3c19d js cookie expires 2012-03-22 16:28:57 +00:00
Shish
cfe0547755 force reflow after hiding some thumbs 2012-03-22 15:44:04 +00:00
Shish
898df24dd9 function for selecting blocks 2012-03-22 14:19:46 +00:00
Shish
2226bc9f15 hide thumbnails with given tags 2012-03-22 13:40:13 +00:00
Shish
b156d4f380 no need for 'load files in a good way' to be optional, just do it 2012-03-21 15:04:17 +00:00
Shish
58c06893e1 if the comment succeeds, we still want to set the 'user tried to comment' cookie :P 2012-03-19 20:05:19 +00:00
Shish
713c3db01a remove trailing slashes from displayed sources 2012-03-19 19:48:03 +00:00
Shish
49c0d09281 mass source setter 2012-03-19 19:42:52 +00:00
Shish
57d687a7e1 give images priority 10 2012-03-19 19:09:52 +00:00
Shish
e3f00166a7 remove whitespace 2012-03-19 18:51:25 +00:00
Shish
cadc99ae90 delete image after adding it, not after not-adding it 2012-03-19 14:27:04 +00:00
Shish
4db92471e1 404 for no images 2012-03-19 14:25:43 +00:00
Shish
ee4b223f65 comment_anon bool -> create_comment perm 2012-03-19 13:17:47 +00:00
Shish
bca3dd919d upload_anon bool -> create_image perm 2012-03-19 12:59:02 +00:00
Shish
1a34557da7 if image replacement is unwanted, don't allow users to replace images 2012-03-19 11:07:13 +00:00
Shish
9004c8d555 use user classes 2012-03-19 10:41:07 +00:00
Shish
fda6fb09fa don't show options that don't do anything... 2012-03-19 10:33:42 +00:00
Shish
a826a9c81a expiration only applies without niceurls 2012-03-19 10:25:36 +00:00
Shish
d21b9e58ab Merge branch 'master' of github.com:shish/shimmie2 2012-03-15 06:19:16 +00:00
Shish
a23498a8d7 more recently updated comments 2012-03-15 06:17:19 +00:00
Shish
537ae6de18 remove jquery deletion
jquery deletion was deleting the wrong image if there were multiple
delete buttons on one page (eg, on the report image page); also it
stands out awkwardly being the only bit of jquery UI on the site.
Moving to jquery UI across the site might happen later, but for now
I just want to get a release out...
2012-03-15 05:49:24 +00:00
Shish
6f4f4f3235 redirect back to report list after deleting, if that's where we came from 2012-03-15 05:48:42 +00:00
Shish
1a8ea4eb08 some windowses are not NT? 2012-03-15 05:34:55 +00:00
Shish
3acf53a32a default style:width:100% overrides width:100%. Use a local style 2012-03-14 20:28:15 +00:00
Shish
0be4f83e4e don't allow showing of metadata at all if exif_read_data is undefined 2012-03-14 20:24:34 +00:00
Shish
6632521218 permission name tweaks 2012-03-14 19:24:10 +00:00
Shish
cf7d1dded5 Merge branch 'master' of github.com:shish/shimmie2 2012-03-14 19:17:56 +00:00
Shish
16af27e6b7 only display editors for editable fields 2012-03-14 19:17:52 +00:00
Shish
7a6741d202 TYPE -> ENGINE 2012-03-14 18:11:46 +00:00
Shish
e67d679194 regexes are fun and pleasant to work with, in the same way that oranges are purple 2012-03-14 03:15:35 +00:00