Commit graph

2089 commits

Author SHA1 Message Date
NaGeL
9009ab2c95 named the foreign keys. 2012-01-22 20:20:26 +01: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
Shish
565b15c91e access the start time too... 2012-01-22 14:48:06 +00:00
Shish
f3c0c0e637 allow a configurable timezone 2012-01-22 14:40:41 +00:00
Shish
da45389c42 have autodate include hours and minutes 2012-01-22 14:40:25 +00:00
Shish Moom
0300ee79c6 Merge pull request #93 from DakuTree/master
Holiday ext + Fixes
2012-01-22 06:12:04 -08:00
Daku
f589ee3f80 git ignore update 2012-01-21 13:13:10 +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
7049b3bf4d rating/source/locked now log info when set 2012-01-20 23:04:28 +00:00
NaGeL
b219d79a22 A database update, for user deletion
now user_favorites clean itself too.
And a DBfix for those who installed shimmie before this date.
2012-01-20 22:08:19 +01:00
Daku
eeaa27133a fixed rating with bookmarklet 2012-01-20 12:45:43 +00:00
Daku
53211aa0a7 delete with jquery should no longer hide under flash 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
dc10fa22af change email form now shows in lite theme 2012-01-20 12:45:41 +00:00
Daku
38e2f961fb holiday ext should work properly now 2012-01-20 12:45:41 +00:00
Daku
9a35401666 image replace form now uses jquery 2012-01-20 12:45:40 +00:00
Daku
df20a75271 removing holiday feature from lite theme 2012-01-20 12:45:39 +00:00
Daku
fd9ab64132 Holiday ext 2012-01-20 12:45:39 +00:00
Daku
79b4adf1d1 renamed style.css for the upload ext to avoid autoloading 2012-01-20 12:45:38 +00:00
Shish
208320f072 Reeeeeeally old bug that nobody cared about: getrusage returns CPU time used by the current process, not by the current page. PHP-FPM has many pages per process 2012-01-20 05:45:09 +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
9b96b44d64 tag cache is glitchy, too many things might update it 2012-01-20 05:16:40 +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
18e36f9b31 Rather than three levels of configuration, let's have two (define()'d values in config.php for system-level stuff, the web-editable config table for user-level stuff). Basically switches database_dsn from a global variable to a defined constant. 2012-01-20 03:15:58 +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
NaGeL
520fb08652 just gitignore update 2012-01-19 16:28:16 +01: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
Shish
b1d1d71093 author search from nagel 2012-01-18 17:53:52 +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
NaGeL
46776bf853 added author=<name> search tag. 2012-01-17 22:43:16 +01:00
Shish
e46c22a228 weighted CDN targets 2012-01-17 15:47:58 +00:00
Shish
153e3ca3db Merge branch 'master' of github.com:shish/shimmie2 2012-01-17 15:33:53 +00:00
Shish
940b95c9e6 searching for image hash bans 2012-01-17 15:33:42 +00:00
Shish Moom
dff8aa06fe Merge pull request #92 from DakuTree/master
Bookmarklet update + Holiday feature for lite theme.
2012-01-17 07:14:08 -08: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