Commit graph

1278 commits

Author SHA1 Message Date
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
Shish
b4fb667eaa use URLs for linking to comments 2012-03-13 16:04:50 +00:00
Shish
e31b6af28b site:// protocol support 2012-03-13 16:01:13 +00:00
Shish
c887580074 with no more wordwrap, there's no need for unwrap 2012-03-13 16:01:03 +00:00
Shish
d11dad3055 sup/sub support in bbcode 2012-03-13 16:00:25 +00:00
Shish
d6227ef1b3 #c123 is now the comment element directly, no need for parent() 2012-03-13 15:25:04 +00:00
Shish
8b78fce982 more forminess 2012-03-13 15:23:56 +00:00
Shish
947fbfd820 comment index -> comment/list, not post/list 2012-03-13 09:28:05 +00:00
Shish
bdf24c1f2a Merge branch 'master' of github.com:shish/shimmie2 2012-03-13 08:09:41 +00:00
Shish
028457ec32 parsing 2012-03-13 07:34:39 +00:00
Shish
9a0228720a truncate as a function, which works 2012-03-13 07:01:27 +00:00
Shish
dde5d4c9b5 html5 validation 2012-03-13 06:33:21 +00:00
Shish
ba46af2045 Merge branch 'master' of github.com:shish/shimmie2 2012-03-13 06:04:57 +00:00
Shish
f5c4c20f4b mass edit as its own test 2012-03-13 06:04:52 +00:00
Shish
16b232c857 user needs perm /and/ the image needs to be unlocked 2012-03-13 04:48:18 +00:00
Shish
f67b049176 allow logout from link 2012-03-12 18:04:06 +00:00
Shish
2ed73f9a68 user signup form 2012-03-12 18:03:46 +00:00
Shish
34d42d27f4 delete with images / with comments, and check auth token 2012-03-12 17:44:07 +00:00
Shish
0e262f5500 change_X -> edit_X for consistency 2012-03-12 17:29:03 +00:00
Shish
05f8d0d23e justify~ 2012-03-12 15:43:18 +00:00
Shish
41971f907f missed a bit 2012-03-12 05:36:39 +00:00
Shish
78d13ff214 many theme updates 2012-03-12 05:31:19 +00:00
Shish
aaf9280ee4 more styling 2012-03-12 04:56:30 +00:00
Shish
f2dfbb9080 no background for image-list 2012-03-12 04:41:57 +00:00
Shish
98310df9ee nothing actually used this... 2012-03-12 03:28:24 +00:00
Shish
40b09c8ee1 less divvy comments 2012-03-12 03:28:08 +00:00
Shish
5d6cf955af refactoring styles 2012-03-12 03:06:14 +00:00
Shish
7d027494b6 toggle-id -> toggle-sel 2012-03-12 02:50:41 +00:00
Shish
5803920bcc more forms 2012-03-11 15:53:19 +00:00
Shish
b7006e90db Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 15:50:04 +00:00
Shish
4c0b2dcb39 Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 15:49:52 +00:00
Shish
c78ad128bf forms 2012-03-11 15:49:40 +00:00
Shish
071b783f56 forms 2012-03-11 15:49:25 +00:00
Shish
e4c95d5b56 Merge branch 'master' of github.com:shish/shimmie2 2012-03-11 04:33:23 +00:00
Shish
9e65732ea1 mysql ignores the FK names anyway, so all they were doing was bothering me ~_~ 2012-03-11 01:52:25 +00:00
Shish
97eb527714 named constraints 2012-03-10 19:38:50 +00:00
Shish
89efc3b524 Merge branch 'master' of github.com:shish/shimmie2 2012-03-10 19:13:42 +00:00
Shish
6c459c8323 make it so 2012-03-10 19:13:41 +00:00
Shish
a2d2ceb015 foreign keys delete comments now 2012-03-10 19:07:40 +00:00
Shish
f62edc3e83 add FKs for comments 2012-03-10 19:07:02 +00:00
Shish
37672bc1ee comment schema wibbles 2012-03-10 18:57:35 +00:00
Shish
1bfa656e35 another unused function 2012-03-10 02:21:42 +00:00
Shish
5c36d996e0 test 404 handler's static files too 2012-03-10 02:19:04 +00:00
Shish
b5bca91bee toggler in default setup theme 2012-03-10 02:04:15 +00:00
Shish
a20245ff70 Merge branch 'master' of github.com:shish/shimmie2 2012-03-10 01:07:02 +00:00
Shish
eb8c15b9a0 whitespace 2012-03-09 22:08:55 +00:00
Shish
788f25a12d Merge pull request #168 from DakuTree/master
Shimmie API
2012-03-09 14:02:12 -08:00
Shish
1f07a273f6 move copy & pasted transload code into a shared function 2012-03-09 21:07:21 +00:00
Daku
f76955123f update source & rating if &update is set 2012-03-09 20:46:26 +00:00
Shish
126ed2ee78 example.com changed... 2012-03-09 20:01:51 +00:00
Shish
36226d3b15 normalised source display 2012-03-09 19:18:20 +00:00
Shish
5d3d4e8d76 test fixes 2012-03-09 18:56:06 +00:00
Shish
5d8169c577 bbcode test fixes 2012-03-09 18:15:58 +00:00
Shish
d7d2bf7418 user test updates 2012-03-09 18:15:03 +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
c7e2ef74f8 if username or password are blank, exit early (saves logging the failed attempt) 2012-03-08 04:35:52 +00:00
Shish
9ebe425520 Merge branch 'master' of github.com:shish/shimmie2 2012-03-08 03:35:17 +00:00
Shish
285b78c185 image specific tags on mass upload form 2012-03-08 03:34:57 +00:00
Shish
569e93cd6b postgres requires a sequence name to be passed to get_last_insert_id 2012-03-08 02:55:04 +00:00
Shish
58d533ceb9 put a snippet of each comment in the event log 2012-03-08 02:36:21 +00:00
Shish
90347a08dd extent rather than crop and repage 2012-03-06 20:30:41 +00:00
Shish
232991979c upload page wibbling 2012-03-06 15:38:53 +00:00
Shish
24c64b50b4 make bookmarlet code more readable 2012-03-06 12:22:08 +00:00
Shish
cba1e76b1f only force-wrap comments 2012-03-05 10:24:01 +00:00
Shish
4245cd268c if user has no js, default to showing info editor 2012-03-05 10:22:55 +00:00
Shish
8448a4cee1 don't overwrite global $user... 2012-03-05 09:55:11 +00:00
Shish
b17fe7e7bd make bookmarklet.js easier to read 2012-03-05 09:52:48 +00:00
Shish
8b62ad281a if upload_collision_handler is set to 'don't merge tags', then don't merge tags 2012-03-05 09:32:08 +00:00
Daku
0dd7d086f2 option to sort taglists alphabetically rather than by tag count 2012-03-04 22:18:03 +00:00
Daku
e5e27a7804 bookmarklet should now play nice with tags that contain + 2012-03-04 22:18:03 +00:00
Daku
74e307b55f update tags if image already exists 2012-03-04 22:18:02 +00:00
Josh Sutinen
fa77d999eb Wordwrapping BEFORE applying bbcode breaks long links
Wordwrapping AFTER breaks the HTML generated by bbcode when using PHP's wordwrap(), better not to hard wordwrap at all and just do it with CSS
2012-03-03 12:39:24 -05:00
Shish
74f0d38c04 comment snippets should link to the specific comment 2012-03-02 21:15:04 +00:00
Justin Brewer
8f49922556 Fixed Popular Tags List
All the links pointed to /post/list/$link
2012-02-27 17:37:09 -06:00
Shish
1ff0703a91 Merge branch 'master' of github.com:shish/shimmie2 2012-02-26 15:24:30 +00:00
Shish
dadcb809ba don't log for null->null 2012-02-26 15:24:02 +00:00
Shish
ff30b54130 better solution, replace /post/view/123#456 with #456 if #456 exists 2012-02-22 15:13:05 +00:00
Shish
11c804b347 only need to view the image page if the linked-to comment doesn't already exist on the current page 2012-02-22 14:46:47 +00:00
Shish
a4f2c417ec CSS3 powarr 2012-02-22 14:27:56 +00:00
Shish
2e66ca44d7 temporary old-syntax support; also, parent() makes sense for default and r34 themes 2012-02-22 14:14:40 +00:00
Shish
169ae5f590 installer fails 2012-02-22 13:58:55 +00:00
Shish
f9de9ece21 replace comment links with usernames 2012-02-22 13:49:57 +00:00
Shish
6222c0d093 redirect to the bottom of the thread when commenting 2012-02-22 13:25:03 +00:00
Shish
833ef69ec4 reliability 2012-02-22 13:21:37 +00:00
Shish
e03537f89b missed a char 2012-02-22 13:18:51 +00:00
Shish
f8fec8a036 prefix comment ID with c, so it isn't just a random number 2012-02-22 13:07:04 +00:00
Shish
aaceb99aa5 rather than <a name=foo>, stick an ID on the comment 2012-02-22 13:05:17 +00:00
Shish
eccea620ba only admins can change user classes, and they should be protected from moderators 2012-02-22 12:32:54 +00:00
Shish
cf621c066c remove duplicate code 2012-02-22 10:18:07 +00:00
Shish
5e8560facb move static files into lib/static, and allow different themes to override them 2012-02-22 09:54:49 +00:00
Shish
6110be6af9 Merge branch 'master' of github.com:shish/shimmie2 2012-02-22 09:38:01 +00:00
Shish
4d2a066717 user classes in the installer 2012-02-21 18:37:36 +00:00
Shish
7b6112dc2c and document it 2012-02-17 01:45:55 +00:00
Shish
a6f8ce2a14 better search by date 2012-02-17 01:43:49 +00:00
Shish
af7704825b use HTTP status codes with error messages 2012-02-16 15:37:05 +00:00
Shish
5fc7d6e574 Merge branch 'master' of github.com:shish/shimmie2 2012-02-16 15:20:36 +00:00
Daku
6ba66789e4 highlight comment on >> click (this seems like the wrong way of doing this) 2012-02-16 04:44:23 +00:00
Shish
c2bf42ef5a less passing of $page 2012-02-15 08:59:24 +00:00
Shish
3c1b20e05b user classes 2012-02-14 20:38:19 +00:00
Shish
809e1c22d6 Merge branch 'master' of github.com:shish/shimmie2 2012-02-14 06:34:28 +00:00
Shish
85fb34e20f allow failed upgrades 2012-02-14 06:33:59 +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
7ab867cc79 remove the extra </div> 2012-02-12 12:40:07 +00:00
Shish
2da52689cf upload box style 2012-02-12 12:00:19 +00:00
Shish
5241ed24b5 more style to file 2012-02-12 11:37:12 +00:00
Shish
6c29ccee40 split extension styles, so other themes can use them better 2012-02-12 11:25:58 +00:00
Shish
67623246e9 leave sizes to css 2012-02-12 11:14:04 +00:00
Shish
94eb1fab88 variable size longtext config fields 2012-02-12 10:19:35 +00:00
Shish
a2459da61b even better columns: CSS 2012-02-12 09:51:25 +00:00
Shish
830105193d better settings columning 2012-02-12 09:22:11 +00:00
Shish
1dcda150f7 nicer whitespace for upload settings 2012-02-12 07:30:29 +00:00
Shish
e535b1f002 only show samefag ID if showing regular IDs 2012-02-11 10:37:50 +00:00
Shish Moom
6da4da8060 Merge pull request #129 from green-ponies/master
Type hints
2012-02-11 01:22:43 -08:00
Shish
9aa5644504 colours don't scale either D: numbers then... 2012-02-11 08:33:09 +00:00
Shish
ce5db719c3 coloured anons 2012-02-11 08:18:51 +00:00
Shish
d83c596c01 consistent width for comment list tables 2012-02-11 04:27:00 +00:00
Shish
0a4a211c2b wider info box 2012-02-11 02:30:59 +00:00
Shish
0013d67a80 actually, go back to consistency; inconsistency can be a customisation 2012-02-11 01:34:24 +00:00
Shish
4b0bcf44f8 Merge branch 'master' of github.com:shish/shimmie2 2012-02-11 00:55:39 +00:00
Shish
f1c4684ac0 Merge branch 'master' of github.com:shish/shimmie2 2012-02-11 00:52:59 +00:00
Shish
a93247327a editable tags by default, and hide .edit by default 2012-02-11 00:52:42 +00:00
green-ponies (jgen)
a95766c410 More type hints. 2012-02-10 00:08:03 -05:00
green-ponies (jgen)
30eb5ddd8b More type hints! 2012-02-09 23:04:37 -05:00
Shish
77fc6f22b2 colour anons by IP address, for easier samefag spotting (commented out atm though) 2012-02-10 02:16:44 +00:00
Shish
0b26eba141 gaaah inconsistent database schema 2012-02-10 01:55:33 +00:00
Shish
c627e564c4 Merge branch 'master' of github.com:shish/shimmie2 2012-02-10 01:29:49 +00:00
Shish
34fd9751db username CSS, so that the name can be consistent even when it's a non-linked anon 2012-02-10 01:29:31 +00:00
Shish
01b89c2a1b function for showing IPs with ban button 2012-02-09 22:51:41 +00:00
Shish
f8af5c0e07 link to IP ban page from comments and images 2012-02-09 22:21:54 +00:00
Shish
d15c3010c8 clearer terminology 2012-02-09 17:35:42 +00:00
Shish
db9a1cc7d8 only show edit / set if the user can edit tags 2012-02-09 17:29:04 +00:00
Shish
5f4f941444 half-logged-in only for one day 2012-02-09 17:11:03 +00:00
Shish
912f096d8c give nocache cookies to people who /attempt/ to post on old forms, not just those who succeed 2012-02-09 17:07:36 +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
339f2b0497 more jquery magic, less inline scripting 2012-02-09 14:45:18 +00:00
Shish
8d15ae8c0a more js to lib/shimmie.js 2012-02-09 14:38:32 +00:00
Shish
efa7f4f17c autocomplete on a class name 2012-02-09 14:34:29 +00:00
Shish
3584f40551 Merge branch 'master' of github.com:shish/shimmie2 2012-02-09 01:07:21 +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 Moom
3b99605521 Merge pull request #116 from green-ponies/speed_tweaks
More Speed tweaks
2012-02-07 21:53:00 -08:00
Shish Moom
1b5f1dcafb Merge pull request #107 from DakuTree/master
Reset Image ids & Download all images
2012-02-07 20:32:28 -08:00
green-ponies (jgen)
d69fa6ae9d Merge branch 'master' into speed_tweaks 2012-02-07 23:21:56 -05:00
green-ponies (jgen)
2d443f0be9 Mostly just adding the Link to comments. 2012-02-07 21:52:11 -05:00
green-ponies (jgen)
0cdc303397 Just more comments. 2012-02-07 20:25:05 -05:00
Shish
37bffe0689 actually, ext-specific DB changes should live in that ext... 2012-02-07 19:26:40 +00:00
Shish
1455956f18 putting foreign key additions into auto-upgrade ext 2012-02-07 19:18:58 +00:00
Shish
0589f9d72e fine grained permission bits 2012-02-07 15:15:18 +00:00
Shish
ab7c62515e move JS bits into static files 2012-02-07 11:33:42 +00:00
Daku
e92d4f6809 fixes gelbooru with bookmarklet 2012-02-07 00:02:53 +00:00
Daku
94d2f99df2 this should fix bookmarklet not working with nice urls 2012-02-07 00:02:51 +00:00
Daku
9efce5378c small fix for bookmarklet image url 2012-02-07 00:02:50 +00:00
Daku
6e602aa430 forgot to remove this... 2012-02-07 00:02:50 +00:00
Daku
1f871a69e1 fixing flash again :x 2012-02-07 00:02:49 +00:00
Daku
a25f405470 bookmarklet now supports sankaku and konachan 2012-02-07 00:02:49 +00:00
Daku
26b688fe9b bookmarklet now supports oreno.imouto 2012-02-07 00:02:48 +00:00
Shish
a9ec9b6b70 comment info box 2012-02-06 14:42:38 +00:00
Shish
aa2696ca07 only add ellipsis if the comment actually is too long 2012-02-06 14:42:07 +00:00
Shish
e38f9e720f CSS has odd/even built-in now 2012-02-06 12:24:13 +00:00
Shish
d2d03396af info box 2012-02-06 12:23:56 +00:00
Shish
7a25fad4b0 link to specific comments 2012-02-05 07:37:20 +00:00
Shish
4e1300631b Merge branch 'master' of github.com:shish/shimmie2 2012-02-05 04:25:58 +00:00
Shish
0b13db8ed7 hide anonymous's user page - having made a million comments, it was taking upwards of 60 seconds to process that one page, triggering the DOS defences... 2012-02-05 04:25:50 +00:00
Shish
5843aae4f2 random unused global o_O 2012-02-05 04:20:42 +00:00
green-ponies (jgen)
3b028696a0 Rewind arrays before foreach loops over all the elements.
(fixed a small typo as well)
2012-02-04 15:35:21 -05:00
green-ponies (jgen)
68e9bd694e Storing copies of config variables outside of for loops. 2012-02-04 14:17:52 -05:00
green-ponies (jgen)
0a1e8f2af4 Store config values that are used inside a loop. 2012-02-04 12:20:49 -05:00
Shish
dab85e5f26 merge type hints 2012-02-02 14:16:14 +00:00
Shish
cc8f1f35a5 more type hints 2012-02-02 14:14:33 +00:00
Shish
bbb51b60f8 typos~ 2012-02-02 08:09:48 +00:00
Shish
dc6c173efd type hints for hiphop 2012-02-02 08:07:57 +00:00
Shish
ec0fab54d8 these are magicked now 2012-02-02 07:53:27 +00:00
Shish
465011a68c hiphop chokes on this 2012-02-02 05:27:40 +00:00
Shish
b3d5878ce8 use the param 2012-02-02 05:24:06 +00:00
Shish
d5527d6dc8 missed a global 2012-02-02 05:23:55 +00:00
Shish
75b9bc2650 typo in merged code 2012-01-31 14:46:19 +00:00
Shish
fe85b2b5ee Merge remote branch 'zshall/master' 2012-01-31 14:00:41 +00:00
Shish
6f22207603 merge pdo fixes 2012-01-31 13:55:12 +00:00
Shish
aed5e1a30e hand merge of speed tweaks 2012-01-31 13:20:43 +00:00
Shish
1cd4f867b5 don't die if [/code] comes before [code] 2012-01-31 12:24:29 +00:00
Shish
8192f278d5 different sql for different databases :( 2012-01-31 12:15:25 +00:00
Shish
7af442855d this isn't so necessary with latest upstream changes 2012-01-30 02:18:16 +00:00
Shish
21904794ea Upload to simpleext 2012-01-27 17:12:08 +00:00
Shish
7aeb0ec097 tag list needs no manual adding 2012-01-27 17:06:29 +00:00
Shish
cb1b45e4ad code formatting consistency 2012-01-27 17:05:02 +00:00
Shish
2d49d9b103 use the right inheritance 2012-01-27 17:02:36 +00:00
Shish
f5eadb9011 Tag List to simpleext 2012-01-27 17:02:08 +00:00
Shish
5c2140a028 Tag Editor to simpleext 2012-01-27 16:58:48 +00:00
Shish
ee40a9aad3 merge 2012-01-27 16:49:35 +00:00
Shish
7a5f87572c an image already knows what its own details are, it doesn't need to be passed them... 2012-01-27 16:27:02 +00:00
Shish
f3014e4e1e less regex 2012-01-27 12:24:38 +00:00
Shish
93c2aa2084 only show IP list to admin and self-user, and don't show anon's list 2012-01-27 10:17:44 +00:00
Shish
ad9dcfe926 make sure s is set 2012-01-26 18:03:04 +00:00
Shish
85af28c0b5 return after error, don't handle the bad data 2012-01-26 17:16:57 +00:00
Shish
52bbb36af4 shm_user breaks varnish cache 2012-01-26 16:51:24 +00:00
Shish Moom
38aa55dafd Merge pull request #99 from DakuTree/master
Auto resize on upload + Popular by Day/Month/Year
2012-01-26 08:01:37 -08:00
Shish
1877aa9973 Merge branch 'master' of github.com:shish/shimmie2 2012-01-26 15:26:08 +00:00
Shish
98f09695b6 sometimes tags are set with no images id... 2012-01-26 15:16:52 +00:00
Daku
0565568e5c source should log now when uploading 2012-01-26 09:56:29 +00:00
Shish
f38b45e2a9 there are some odd cases where anonymous is not user #1, so use the anon_id variable 2012-01-24 16:40:36 +00:00
NaGeL
ddd3f99835 deleting the user withouth images delete resulted in image deletion too: the DB entriy gets removed but the image stays on the Hard drive.
this is fixed.
also the Foreign key needs to be manually updated in images table.
named the foreign keys in install.php for easier altering in the future.
2012-01-22 20:14:35 +01:00
NaGeL
023384149f User deletion (Deletes the user with comments, favorites and private messages)
User deletion with uploaded images ( all above plus the images the user uploaded)
Also the Database fix that is all needed for this in DBupdate.php
2012-01-22 18:55:52 +01:00
NaGeL
1ccc26ebd4 Merge branch 'master' of git://github.com/shish/shimmie2 2012-01-22 16:30:12 +01:00
Shish
03204859c1 merge~ 2012-01-22 15:11:39 +00:00
Shish
ddf61714f6 argh sql syntaxes 2012-01-22 14:54:03 +00:00
Daku
3338ff0420 tags/source/rating/locked should only update/log if different than current 2012-01-21 00:17:07 +00:00
Daku
eeaa27133a fixed rating with bookmarklet 2012-01-20 12:45:43 +00:00
Daku
471e3d057a fixed bookmarklet on danbooru flash pages again.. 2012-01-20 12:45:42 +00:00
Daku
9a35401666 image replace form now uses jquery 2012-01-20 12:45:40 +00:00
Daku
79b4adf1d1 renamed style.css for the upload ext to avoid autoloading 2012-01-20 12:45:38 +00:00
Shish
f5edb4fb4e the 24 hour limit can apply to the page count too, making that also 70x faster 2012-01-20 05:24:29 +00:00
Shish
4c2adce744 limiting by date at the database level is ~70x faster than limiting by page at the PHP level 2012-01-20 04:34:06 +00:00
Shish
f100e6a9d4 5 may have been a little extreme 2012-01-20 04:05:54 +00:00
Shish
49e7bfa1b2 tidy up some ancient base_href / data_href messes; base_href as a config variable is no longer used 2012-01-20 03:29:29 +00:00
Shish
36e443e07d the algorithm for listing old comments pages is *really* inefficient; the first few pages are quick, page 100 can take a few seconds to generate... rule34 has over 100,000 pages of comments. Limit to the first few pages for now, as I don't know anyone who even goes past the front page. 2012-01-20 03:12:48 +00:00
NaGeL
8eaaa6a7ca Added user deletion.
User is deleted from database
the Comments are deleted too, unknown reason for me
Noting else is deleted so far.
2012-01-19 18:23:43 +01:00
NaGeL
557a82e7be Fixed linking bug in admin_user/list page. 2012-01-19 16:43:20 +01:00
Shish
8ba22d8fbc same for user-agent 2012-01-19 15:28:55 +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
7608107232 lib/askismet expects the referrer to either be set manually, or exist; if it doesn't exist we need to set it manually 2012-01-19 15:20:32 +00:00
Shish
a75d8744c9 Merge branch 'master' of github.com:shish/shimmie2 2012-01-18 18:00:10 +00:00
NaGeL
b52651c558 added [align=(left|center|right)] BBcode which aligns text naturally. 2012-01-18 17:49:29 +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
NaGeL
3c6217fa4c added [align=(left|center|right)] BBcode which aligns text naturally. 2012-01-17 22:45:24 +01:00
Daku
a336944b11 uploader fixes 2012-01-17 10:56:52 +00:00
Daku
a45c09b2b6 Bookmarklet now checks if ext is supported/filesize is lower than limit before attempting to upload. 2012-01-17 07:57:58 +00:00
Daku
433197e187 Bookmarklet seems to work fine with Gelbooru now... 2012-01-17 04:57:14 +00:00
Daku
9f5465c0e5 Bookmarklet now asks if you want to use current/new tags again. 2012-01-17 04:28:45 +00:00
Daku
fcb8307f58 Booru bookmarklet now works with shimmie sites + is now loaded via .js script on the site. 2012-01-17 04:03:32 +00:00
Daku
7759700160 fixes tag_edit__locked/locked errors 2012-01-17 03:58:28 +00:00