Commit graph

1372 commits

Author SHA1 Message Date
Diftraku
095f743d57 Checking if the user can actually create new posts, seems the base DataHandlerExtension doesn't do this. Also forgot to update documentation! 2013-12-03 01:07:27 +02:00
Diftraku
6a4031dfd5 Bumping Ouroros API to v0.2: now with XML support and post creation! 2013-12-03 00:45:07 +02:00
jgen
049108e6ca Fix for issue 330 - "Tag list does not handle non-english text correctly". 2013-11-30 15:19:41 -05:00
Diftraku
9237c78f55 Adding basic Ouroboros API 2013-11-29 01:09:05 +02:00
Shish
9430ddc374 Merge pull request #350 from jgen/master
Fixed bookmarklet.js to allow uploading from Gelbooru. (was broken before)
2013-11-27 00:29:40 -08:00
Shish
0e90d58d85 Don't crash if no relevant tags are found, see #324 2013-11-27 08:28:07 +00:00
jgen
9d8bcbce37 Fixed bookmarklet.js to allow uploading from Gelbooru. (was broken before) 2013-11-24 14:54:10 -05:00
Shish
4fd58019e5 Merge pull request #324 from justinbrewer/editcloud_revamp
Tag Edit Cloud improvements
2013-11-24 09:07:43 -08:00
Thasan
b16be279a8 ext\rating documentation 2013-11-06 00:32:27 +02:00
Thasan
fe84c8d9dd Also checking rating permissions 2013-11-06 00:11:17 +02:00
Thasan
5aa2f823d8 Fixing rating= search 2013-11-05 22:43:46 +02:00
Shish
81d44cbb4f lower tags before checking for mass replacement 2013-10-25 09:26:25 +01:00
Shish
ae3ee1fe79 Merge pull request #341 from jgen/master
More small tweaks
2013-10-14 05:29:47 -07:00
Peter Lejeck
0e4717ecae Unify two regexes used in rating searches, intersect with user privs
Fixes issue with unpriveleged users being able to circumvent the ratings
they could see, just by searching for it.  Also makes code much much
prettier.
2013-10-06 04:38:34 -07:00
jgen
b01ca89220 Some more small speed related tweaks. 2013-10-04 17:53:26 -04:00
jgen
0512858bd4 Some more small tweaks for speed. 2013-10-04 17:17:42 -04:00
jgen
1db371345e Merge branch 'master' of git://github.com/shish/shimmie2 2013-10-03 20:33:47 -04:00
Justin Brewer
8c5987a6b2 Fixed tags with quotes killing the Javascript
Of course not.
2013-09-26 10:47:37 -05:00
Justin Brewer
7be1f9e637 Properly escape tags while building query
Could it really be that easy?
2013-09-25 23:39:40 -05:00
Justin Brewer
55bfa4cfd7 Use API calls 2013-09-25 22:59:08 -05:00
Shish
827ce2e0fe merge cron_uploader changes manually 2013-09-23 13:43:39 +01:00
YaoiFox
a7c39105e7 Cron Uploader: Link to install guide & info from board config. And now i'm going to sleep before I want to change more... 2013-09-23 13:41:43 +01:00
YaoiFox
5afeeb0991 Cron Uploader: Fixed documentation & added page /cron_upload with info & install guide if user is admin. 2013-09-23 13:41:36 +01:00
DrudexSoftware
f4b9c8aca2 Cron Uploader: Board Config wasn't getting the right root directory. 2013-09-23 13:41:30 +01:00
DrudexSoftware
455b94c4fa Cron Uploader Extension added that allows automatic image uploading from an image queue using cron jobs. 2013-09-23 13:41:25 +01:00
Shish
835361b272 make tags in the image info box clickable (#336) 2013-09-23 13:09:47 +01:00
Shish
b0b0324ee7 image only button 2013-09-19 19:30:50 +01:00
Shish
ff330d542d Merge pull request #335 from vomitcuddle/image_hash_ban_patch
[image_hash_ban] Fix confusing button label
2013-09-18 08:13:00 -07:00
vomitcuddle
ea21e0657b [image_hash_ban] Fix confusing button label 2013-09-18 09:28:07 +01:00
Shish
bf8b085de6 fix being logged in after changing password 2013-09-12 16:29:20 +01:00
Shish
76c7da0161 add hellban support to PMs 2013-09-09 13:47:42 +01:00
Shish
4584bf603a finally got that zero... 2013-09-09 13:46:47 +01:00
Shish
1b73dd4ddc add 'hellbanned' user class, with support from the comments extension 2013-09-09 13:41:08 +01:00
Shish
07304861f3 log IDs of things 2013-08-30 00:19:46 +01:00
Justin Brewer
e93785339f Fix another corner case
If $counter == $def_count and the next tag in the list is a used tag, the
tagcloud_extra div would be printed twice, breaking the list.

This solution feels ugly, perhaps there's a better way to do this?
2013-08-26 23:32:44 -05:00
Justin Brewer
946dec9415 readdir is not guaranteed to be in order
readdir's ordering is filesystem-dependent. On many systems, that means it
might as well be random. People uploading archives will reasonably expect the
files to appear in alphabetical order, so we should make sure they do.
2013-08-11 17:52:38 -05:00
Justin Brewer
305e25f676 Fix incorrect DataUploadEvent creation, triggering an assertion failure
I guess this one slipped through the cracks when $user was made global.
2013-08-11 17:38:50 -05:00
Justin Brewer
8732f1a9ef Extra-switch fixes
Wrong variable name, and don't do the math unless we have to.
Fixed the diplayed number being wrong.
Also fixed a corner case where number of tags in the cloud equals number to
display. Would display "[show 0 more tags]".
2013-08-10 16:19:03 -05:00
Justin Brewer
fa1fb45c1e Polish 2013-08-07 16:08:05 -05:00
Justin Brewer
03e78bd19f Tag Category integration 2013-08-07 15:58:58 -05:00
Justin Brewer
e133138be2 Config option for which tags to ignore 2013-08-07 15:25:11 -05:00
Justin Brewer
905dc2df31 Relevance sorting method 2013-08-07 14:47:44 -05:00
Justin Brewer
d27079ca9f Cleanup build_tag_map
Millions of temp variables. Assuming there's only two sorting methods. Grammar.
[show 100 more problems]
2013-08-07 14:15:04 -05:00
Shish
194b68e046 show when a ban was added, fixes #250 2013-08-05 20:46:54 +01:00
Shish
44deff21a8 Merge branch 'master' of https://github.com/shish/shimmie2 2013-08-05 20:37:40 +01:00
Shish
390db4d6f4 have setup 'Help' link link to github wiki, fixes #303 2013-08-05 20:34:50 +01:00
Shish
8bbf7e2171 hide https variable warning 2013-08-05 20:10:54 +01:00
Shish
2b628a395f resolve_list -> resolve_aliases, to better describe what it actually does 2013-08-04 18:13:50 +01:00
Shish
7e89481105 have Tag::resolve_list always take an array 2013-08-04 18:11:02 +01:00
Shish
9c70d1bd3f ban from mass delete 2013-08-04 18:03:31 +01:00
Shish
2ef76708c5 untag table titles 2013-08-04 02:20:28 +01:00
HungryFeline
e9b0553876 use upload_tmp_dir as temp place, see #297
We changed a line like this some time ago in upload/main
2013-07-21 02:10:17 +02:00
Shish
1c5d717d27 put untags in the database 2013-07-13 09:35:34 +01:00
HungryFeline
17efb92b4e Update main.php 2013-07-07 09:13:14 +02:00
Shish
b9a00e4c28 this doesn't work 2013-07-07 03:24:21 +01:00
Shish
bc253eef04 load list of voters in-place with ajax 2013-07-06 10:42:25 +01:00
Shish
48e40a6712 trim whitespace when adding aliases 2013-07-06 10:42:25 +01:00
Shish
589bda1b00 Merge pull request #316 from HungryFeline/patch-5
Fixing csv upload form
2013-07-06 01:53:29 -07:00
Shish
a212013d9d Merge pull request #314 from vomitcuddle/rm_dup_ext
Remove duplicate arrow key navigation extension
2013-07-06 01:50:38 -07:00
HungryFeline
03b0c82887 Better CSV validation
When uploading a CSV, check every entry before executing the INSERT. The checks are the same as with the normal add except that no errors are shown.
2013-07-06 00:33:31 +02:00
HungryFeline
db64370815 Fixing csv upload form
The 2nd argument of make_form is the method. Also, I don't see any point in defining the $multipart variable. Just true as argument is enough. C&P mistake?!
2013-07-06 00:12:25 +02:00
Shish
47c1b5d094 move query-string-passing to JS rather than embedding in the HTML, so that the HTML can be commonised and cached better 2013-07-05 22:32:16 +01:00
Shish
e4bfa7df70 further breakdown for page stats 2013-07-05 22:32:16 +01:00
Shish
47447ee982 generate rss thumbs in a different function, with cache 2013-07-05 22:32:16 +01:00
vomitcuddle
b8cf3562b0 Remove duplicate arrow key navigation extension 2013-07-04 01:30:48 +01:00
Shish
79ff722d10 Merge pull request #307 from HungryFeline/patch-1
Allow transload from urls with query string
2013-07-02 05:36:38 -07:00
HungryFeline
71117cf8fa Look for the source in _GET and not in _POST when uploading via _GET 2013-07-02 04:35:18 +02:00
HungryFeline
cbd927ffa2 Allow transload of image urls with querystrings
And remove them from the filename and fileext
2013-07-02 04:31:06 +02:00
Shish
e547b1362f Update theme.php 2013-07-01 09:45:32 +01:00
Shish
e6146d82ea Update theme.php 2013-07-01 08:05:30 +01:00
Daniel Oaks
2a51a9d6ba Fixed things Shish pointed out 2013-06-23 16:57:25 +10:00
Daniel Oaks
bf0146cc41 Danbooru2 theme, initial tag categories extension, tag list update/rework 2013-06-23 09:42:15 +10:00
Shish
1264ec5b35 Merge pull request #298 from aki--aki/master
Add reset_image_ids from shish/shimmie2-utils to the admin extension
2013-06-22 06:31:55 -07:00
Aki Jenkinson
e5e12220b3 Made reset image IDs button only appear on MySQL 2013-06-22 18:30:10 +12:00
Shish
5c13fcac62 resolve aliases on input as well, so the target shows in the url 2013-06-20 22:59:42 +01:00
Shish
4a2c47459c Chatbox 2013-06-19 20:59:59 +01:00
Drudex Software
a3486f9b29 Bulk Remove 2013-06-19 20:59:37 +01:00
Drudex Software
668ebdcb2e Arrowkey Navigation 2013-06-19 20:56:19 +01:00
vomitcuddle
35f7ccb3ba Include thumbnail dimensions 2013-06-18 22:31:24 +01:00
vomitcuddle
911caadc84 Support Gelbooru API page offsets 2013-06-18 22:31:16 +01:00
vomitcuddle
619382d1b9 Include image count and offset in root tag 2013-06-18 22:31:09 +01:00
Shish
b6235695da unique IDs for 'posted' search params 2013-06-16 12:20:53 +01:00
Shish
c8b12a0459 update comment 2013-06-15 19:57:15 +01:00
Shish
e7ddd2960b use upload_tmp_dir as temp place for transloading, see #297 2013-06-15 19:54:00 +01:00
Zarek Jenkinson
f2d0bc6cfa Merge branch 'master' of https://github.com/shish/shimmie2 2013-06-13 23:47:47 +12:00
Shish
e01b9b22c4 don't try to set tags / source if they aren't sent 2013-05-30 14:19:03 +01:00
Shish
b562de3e94 redirect to referrer after adding image hash ban 2013-05-30 10:21:11 +01:00
Zarek Jenkinson
ac764d0e9c protect reset_image_ids & move protected checkbox 2013-05-29 23:00:01 +12:00
Zarek Jenkinson
344e8afd98 Add reset_image_ids from shish/shimmie2-utils to the admin extension 2013-05-29 19:59:41 +12:00
Shish
261dee5a7c hacky source history 2013-05-18 13:52:11 +01:00
Shish
5a9f69afbe Numeric type and aspect keeping - #281 2013-05-18 10:20:08 +01:00
Shish
f4a49b2fb1 Current size as default for resize, if default is otherwise 0 - #281 2013-05-18 10:20:08 +01:00
jgen
cc95eb5deb Some more small speed tweaks. 2013-05-13 20:40:01 -04:00
jgen
bf49c7ce19 Fix for Enabling Image View count extension causes fatal error. 2013-05-11 22:49:36 -04:00
Shish
18b94a801d allow custom themelets to call TagEditTheme::format_source() 2013-05-07 09:13:26 +01:00
Shish
44e9714d88 logging for delete user 2013-04-28 07:48:42 +01:00
Shish
bb0ebc5d42 first version of pm_trigger ext 2013-04-26 17:27:22 +01:00
Bill Garrett
861e04d85f Use ['HTTPS'] to construct the nicetest URL, allowing Shimmie to use nice URLs when served over HTTPS 2013-04-23 21:48:32 -07:00
Shish
8d77d251a5 Merge pull request #285 from kenshiros/fixvoteslistlinks
fix numeric_score to use make_link for user profile links
2013-04-07 05:33:51 -07:00
kenshiros
455bf795de fix numeric_score to use make_link for user profile links 2013-04-07 07:30:38 -04:00