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
Shish
7045b21b44
uploader javascript fixes from jgen (copy & paste is easier than fixing merge conflicts >.>;;)
2012-01-16 21:10:51 +00:00
Shish
6ca81cb636
Merge branch 'master' of github.com:shish/shimmie2
2012-01-16 20:59:00 +00:00
green-ponies (jgen)
d46244f926
Display message if no comments.
2012-01-16 20:54:34 +00:00
green-ponies (jgen)
fdca5e4662
Patch for displaying error message when disk full.
2012-01-16 20:52:26 +00:00
green-ponies (jgen)
cd7de93a0a
Changing for-loops to use pre-calculated values.
...
Rather than calculating the value each time.
2012-01-16 00:07:04 -05:00
green-ponies (jgen)
8252534cff
Small changes with quotes.
2012-01-15 23:03:27 -05:00
Shish
9d36a6a1bb
sometimes when looking for next/prev the image doesn't exist
2012-01-14 14:38:45 +00:00
Thasan
aa452bf8eb
Added $force to vars
2012-01-14 11:15:13 +02:00
green-ponies (jgen)
2c6b5128c6
More tweaks for minor speed gains.
2012-01-12 21:17:37 -05:00
green-ponies (jgen)
fc12bbbfe5
More small changes to help save a few microseconds.
2012-01-12 15:46:34 -05:00
Thasan
cd34879cf1
oops, forgot debug code
2012-01-12 03:59:58 +02:00
Thasan
9f8a49483f
check if thumbnail already exists before regenerating it, way to force regen.
2012-01-12 03:54:27 +02:00
green-ponies (jgen)
0b03f91f1c
Fixed the new upload form.
...
Changed it over to use jQuery since shimmie has that already.
Works with FF, Chrome, and IE 7 now.
2012-01-09 20:45:30 -05:00
green-ponies (jgen)
f7fc253075
Display message if no comments.
2012-01-08 22:18:17 -05:00
green-ponies (jgen)
dcf96456f1
Fixed issue with Cancelling Transloads.
...
Also added some features to the Bookmarklet.
2012-01-08 16:50:35 -05:00
green-ponies (jgen)
57da47c93a
using the new uploader
2012-01-08 13:36:39 -05:00
green-ponies (jgen)
f93b86261e
Small feature for uploading using a bookmark.
2012-01-08 13:23:39 -05:00
Shish
5b717870d1
case sensitivity blargh
2012-01-01 17:13:50 +00:00
Shish
0c96603861
Merge branch 'master' of git@github.com:shish/shimmie2
2012-01-01 16:58:01 +00:00
Shish
beff330a37
Merge branch 'master' of github.com:shish/shimmie2
2012-01-01 16:54:58 +00:00
Shish
56a780bfd3
in per-letter mode, don't separate a and A
2012-01-01 16:54:44 +00:00
Shish
c39697a40f
stub for comment time-ago
2011-12-31 14:21:02 +00:00
Daku
b9bd4db41e
Tag list should now show under the search block, instead of under every other block
2011-12-31 14:18:53 +00:00
Daku
12d4fcf813
related block should now change title depending on what tag list is set to
2011-12-31 14:18:52 +00:00
Daku
d9e1b935b0
+/- buttons should now work in FF, instead of directing you to blank page
2011-12-31 14:18:51 +00:00
Daku
c2ad8322ef
fixed downloading flash with bookmarklet + added comments
2011-12-31 14:18:50 +00:00
Shish
ad2bb8b8b6
switch timeago to a javascript implementation
2011-12-31 14:12:34 +00:00
Shish
e8791d0759
Merge branch 'master' of git@github.com:shish/shimmie2
2011-12-31 13:57:56 +00:00
Shish
1857075bd9
show comments made by user
2011-12-31 13:54:32 +00:00
Shish
77b4bd8d46
Merge branch 'master' of git@github.com:shish/shimmie2
2011-12-27 19:27:05 +00:00
Shish
cfbeddde9f
HTTP level caching, so we can stick varnish in front of the web pages
2011-12-27 19:23:37 +00:00
Shish
009b7ccbbb
stick the tag list paging option in the right place, and PDO/PG compat
2011-12-25 23:14:13 +00:00
Shish
082730f29a
get the tag initials from the database itself
2011-12-25 22:34:20 +00:00
Shish
8887ffe101
make paging optional
2011-12-25 18:23:00 +00:00
Shish
e05d4619db
Also I hate PHP on a personal level.
2011-12-25 17:07:55 +00:00
Shish
e9fedb570a
PHP is shit. MySQL is also shit.
2011-12-25 16:59:13 +00:00
Shish
b57a2d2121
paged tag lists backend, and speed hax
2011-12-25 16:42:05 +00:00
Shish
67e0c87b20
create a generic bool_escape function, use that
2011-12-25 15:11:26 +00:00
Shish
d167849ffc
huge if block is correct, but unnecessary - we can just take the first letter and the even system will validate it
2011-12-25 14:47:54 +00:00
Shish Moom
d25ef4e6f6
Merge pull request #63 from DakuTree/master
...
Few new features + More fixes
2011-12-25 06:31:36 -08:00
Shish
ba02e589b0
IP isn't an int
2011-12-25 12:38:07 +00:00
Shish
070aeff199
search images by uploader IP
2011-12-25 12:31:28 +00:00
Daku
394f4518a3
More improvements to the uploader.
2011-12-24 23:28:33 +00:00
Shish
b5f5c861c4
quality in imagemagick mode
2011-12-24 21:30:54 +00:00