Commit graph

1158 commits

Author SHA1 Message Date
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