evazion
2170961f47
artists: improve prefilling of new artist form ( #4028 )
...
* When creating an artist by clicking the '?' next to the artist tag in
the tag list, prefill the new artist form by finding the artist's last
upload and fetching its source data.
Previously we filled the urls with the source of the artist's last
upload, which was wrong because it was usually a direct image URL (#3078 ).
* Fix the other names field not escaping spaces within names to underscores.
* Fix the other names field being potentially prefilled with duplicate names.
2018-12-27 15:03:11 -06:00
evazion
0dd44e64a4
artists: add notice about separating other names with spaces ( #4028 ).
2018-12-27 15:03:11 -06:00
Albert Yi
372338e0e5
fix : #4022 Gifting someone a gold account shows "You are now a Builder level account."
2018-12-19 15:19:00 -08:00
evazion
b24ccb0595
tag edit dialog: fix clicking button before handler is bound.
...
https://danbooru.donmai.us/forum_topics/9127?page=265#forum_post_153180 :
> I'm not sure how to reproduce this, but sometimes on the upload page
> when I click the button to pop out the tag box, the screen scrolls up to
> the picture but the box doesn't pop out, and I have to scroll back down
> and click it again
https://danbooru.donmai.us/forum_topics/9127?page=266#forum_post_153183 :
> Yes, this was brought up by Unbreakable on Discord a while back. It's
> due to the fact that the event handler that pops out the dialog box has
> not yet been bound by the time you click it. Since that clickable
> control has an empty anchor link of "#" which goes nowhere, it therefore
> redirects the user to the top of the page.
2018-12-18 19:10:23 -06:00
evazion
d52d5ff260
Fix #4018 : Drag and drop upload errors
...
Disable upload timeout. This timeout caused uploads to silently fail when
the timeout was exceeded (ref: https://gitlab.com/meno/dropzone/issues/23 ).
2018-12-16 17:45:26 -06:00
evazion
d2f92b7aa7
artists: fix quick search to search urls.
...
ref: https://danbooru.donmai.us/forum_topics/9127?page=265#forum_post_153124
2018-12-16 12:07:50 -06:00
Albert Yi
8ac530a909
fixes #4006 : Bring back the "edit tags" button to the sidebar
...
fixes #4011 : Comment input field under posts is too big, goes slightly beyond view boundaries
fixes #4010 : Incorrect dynamic tag counts
2018-12-12 11:44:25 -08:00
evazion
79ec053cef
Fix #4009 : Tag list is empty when editing tags, causing destructive changes.
2018-12-12 13:02:04 -06:00
Albert Yi
4706cae114
Add user permissions for flagging and for giving user feedback
2018-12-11 17:08:31 -08:00
Albert Yi
3893926048
add dynamic tag counts on upload form
2018-12-10 17:51:28 -08:00
evazion
fe60672ef3
Fix #4005 : Add confirmation for unbanning a post.
2018-12-10 00:39:02 -06:00
evazion
61f6de5ff3
artist versions: rearrange layout to better fit small screens.
...
* Move group name beneath the artist name.
* Replace 'Active' column with '(deleted)' notice next to artist name.
* Combine updater, updated at, and ip address fields in single column.
* Combine templates for standard listing and revert listing (only
difference is presense of 'Revert to' column).
2018-12-10 00:30:05 -06:00
Albert Yi
a66f9837ec
Merge pull request #4003 from evazion/fix-3946
...
Artist versions: improve diffing of urls and other names (#3946 )
2018-12-08 20:43:27 -08:00
evazion
d213173d3d
Fix #4002 : Always include "updated by" line when creator != updater
2018-12-08 11:30:11 -06:00
evazion
e25e8d564a
artist versions: refactor diffs.
2018-12-07 12:45:51 -06:00
Albert Yi
75e7177167
clarifiaction on sock puppet account rules
2018-12-05 16:57:05 -08:00
Albert Yi
0317b99330
add rules about sockpuppets
2018-11-29 17:10:17 -08:00
Albert Yi
60cee5f452
Merge pull request #3989 from evazion/fix-3987
...
Wiki pages: convert other_names column to array (#3987 )
2018-11-19 16:23:32 -08:00
evazion
41ff05c121
artists: convert other_names to array ( #3987 ).
2018-11-15 14:31:16 -06:00
evazion
29fdfc42a4
pools/gallery: allow searching for collection pools ( #3992 ).
...
Default to showing only series pools when not doing a search. Otherwise,
when doing a search, show both series and collection pools.
2018-11-15 12:22:51 -06:00
evazion
4fcb82f2e6
Fix #3991 : Loading post #1604318 is broken.
...
Fix exception in Pool#previous_post_id when the post id is not contained
in the pool.
This can happen when a post's pool_string lists the post as being in a
certain pool, but the post is not included in the pool's post_ids. Such
pool_string / post_ids inconsistencies exist because of past bugs.
2018-11-15 10:28:20 -06:00
evazion
308a5021b4
wiki pages: convert other_names to array ( #3987 ).
2018-11-13 19:18:11 -06:00
evazion
b660aeefd7
application record: add array_attribute method.
...
Add `array_attribute` method that defines helper methods for converting
array attributes to or from strings.
2018-11-13 19:18:11 -06:00
Albert Yi
a57d4a9558
fixes #2680
2018-11-12 16:29:44 -08:00
Albert Yi
8344ad7a9b
user string for matomo user id
2018-11-12 10:34:53 -08:00
Albert Yi
5493e16f04
tweak matomo tracking
2018-11-12 10:28:48 -08:00
evazion
6a7cd6ce8e
Fix #3984 : Twitter: undefined method `first' for nil:NilClass.
...
Fix Sources::Strategies::Twitter#image_urls to return an empty array
instead of nil when the tweet doesn't contain any images.
2018-11-11 17:41:32 -06:00
Albert Yi
684e2bdbad
fix undefined _paq references
2018-11-09 15:49:42 -08:00
Albert Yi
c8793457cb
remove mixpanel + add more matomo tracking
2018-11-09 15:40:38 -08:00
evazion
115ed16a96
pools: store post_ids as array instead of string ( fix #3979 )
2018-11-08 15:09:31 -06:00
evazion
5c4a310589
Fix #3975 : Upload tags report is broken.
2018-11-06 18:18:18 -06:00
Albert Yi
c2e0763986
default to pool gallery from main navlinks
2018-11-06 15:55:18 -08:00
evazion
bd0bb658b8
Fix #3974 : Pool galleries: link thumbnails to pools instead of posts.
2018-11-06 14:33:04 -06:00
evazion
ff9ce25b01
Fix #3973 : Pool gallery is broken.
2018-11-06 13:11:11 -06:00
evazion
26c1eadf6a
modqueue: move score highlighting from js to presenter.
...
The 'post-has-children' class was dropped because it was unused
('post-status-has-children' is already added elsewhere).
2018-11-06 10:42:48 -06:00
evazion
00f36605c4
modqueue: fix typo in 1d3eb584c
2018-11-05 17:27:33 -06:00
Albert Yi
1d3eb584c7
fix new postpresenter styles
2018-11-05 15:11:27 -08:00
evazion
5b3f3253a4
related tags: fix broken translated tag names
...
ref: https://danbooru.donmai.us/forum_topics/9127?page=261#forum_post_152040
2018-11-05 12:54:53 -06:00
evazion
29b6121a07
pools: refactor #neighbors + fix broken #neighbors tests.
2018-11-04 19:40:57 -06:00
evazion
628341f7f0
Fix #3969 : Translated tags should ignore artist tags.
2018-11-04 17:07:35 -06:00
evazion
19b92acabc
Fix #3970 : Make "Copy all notes" not builder exclusive.
2018-11-04 16:42:55 -06:00
Albert Yi
4219163042
add mixpanel tracking for clicking stripe buttons
2018-11-02 17:03:24 -07:00
Albert Yi
e360058aca
refactor
2018-11-02 13:40:01 -07:00
Albert Yi
542641e3e2
refactor pool nav html
2018-11-01 17:42:49 -07:00
Albert Yi
e334c34836
fix image container html
2018-10-31 16:15:07 -07:00
evazion
39374a70d3
posts/show: rename tags params to q in various places.
...
Fixup for 011a6f1f7 .
2018-10-30 11:32:07 -05:00
Albert Yi
011a6f1f7c
move post preview presenter to partial
2018-10-29 17:46:45 -07:00
Albert Yi
1fb7924afb
fix interaction between burger menu and news listing
2018-10-26 15:19:10 -07:00
Albert Yi
3a5eba0eaf
switch reltags css to use flexbox
2018-10-26 15:01:49 -07:00
Albert Yi
28414800f8
artist urls in reltags should open in new window by default
2018-10-26 11:52:06 -07:00