nonamethanks
5051c6649d
Tumblr: parse new dashboard links
2022-09-28 17:00:08 +02:00
nonamethanks
425a905b83
tests: update tumblr tests
2022-09-15 09:48:28 +02:00
nonamethanks
67534a5482
Modqueue: remove self_upload from highlighted tags
2022-08-28 00:54:26 +02:00
nonamethanks
b1ae6112bd
Uploads: allow admins to bypass duration limits again
2022-06-29 21:17:39 +02:00
nonamethanks
e7584c7e0a
Nicoseiga: normalize oekaki links
2022-06-04 22:57:54 +02:00
nonamethanks
2fd8e9bc14
Deviantart: fix regression in 3a0a32b98a
2022-06-04 20:26:14 +02:00
nonamethanks
5932d8d3a3
BURs: don't allow edits to approved scripts
...
Also fix bad formatting for non-admins in BUR index
2022-06-01 14:07:30 +02:00
nonamethanks
3a0a32b98a
Fix deviantart strategy to get biggest available size
2022-05-27 17:07:22 +02:00
nonamethanks
c97dd8958f
Tags: sort list of relationships alphabetically
2022-05-16 13:08:11 +02:00
nonamethanks
dcbb2216aa
Fc2: don't mark valid blog page sources as bad_source
2022-05-15 18:46:50 +02:00
nonamethanks
4eb579ebe4
Tags: show better message in edit form if tag lacks wiki
2022-05-11 20:52:55 +02:00
nonamethanks
5b8402751c
Furaffinity: fix uploads for non-ascii image urls
...
Use Addressable::URI, which supports non-ascii urls.
2022-05-09 18:38:38 +02:00
nonamethanks
8edd5dd810
Add furaffinity support
2022-04-27 03:47:59 +02:00
nonamethanks
e1b9166a56
Sources: do not use an empty else in case blocks
2022-04-22 03:53:18 +02:00
nonamethanks
3b055138ff
Fix normalization for fandom sources
2022-04-22 03:27:05 +02:00
nonamethanks
e6cb255a7a
Foundation: fix some video posts not being extracted
...
Also adjusts SourceTestHelper to not autogenerate contexts, so that
tests can be launched individually.
2022-04-21 17:54:22 +02:00
nonamethanks
e4a24d000f
Fix regression in 7486836b0f that removed the delete button from pending posts
2022-04-20 19:33:17 +02:00
nonamethanks
234ac98640
Posts: don't try to ban/unban a post that is already banned/unbanned
2022-04-19 21:40:47 +02:00
nonamethanks
c5e6044c23
Anifty: regex fixup for c9227645d9
2022-04-19 15:54:56 +02:00
nonamethanks
7486836b0f
Readd approval button to the sidebar
...
The quick mod buttons are also used in the modqueue so it's not
possible to bind the shift-o shortcut to them, hence the need
for this button.
2022-04-18 19:50:35 +02:00
nonamethanks
c9227645d9
Add anifty.jp support
2022-04-18 16:50:26 +02:00
nonamethanks
9612578fcb
Add Booth support
2022-04-16 17:52:18 +02:00
nonamethanks
70148366d9
Add source test helper
2022-04-15 23:09:27 +02:00
nonamethanks
1a990d5ab9
Allow post disapprovals to be edited
2022-04-11 21:05:44 +02:00
nonamethanks
63bd5daa3b
Posts: prune disapprovals on new appeal or flag
2022-04-11 15:54:28 +02:00
nonamethanks
11281d6f58
Tags: don't allow deprecation of tags without wiki
2022-04-09 20:16:55 +02:00
nonamethanks
0c6994f487
Add /vendor to .gitignore
...
This folder is created by running `bundle install`
2022-04-09 14:54:15 +02:00
nonamethanks
ea76a889db
Add ability to mark tags as deprecated
...
* Deprecated tags can't be added to posts, but existing deprecated tags
in a post won't be removed
* Only empty tags can be marked as deprecated manually
* No tags can be manually undeprecated
** These limits don't apply to admins
* Deprecating or undeprecating a tag will create a new mod action to
prevent people from going rogue
* Added deprecate/undeprecate commands for BURs
* Deprecating a tag via BUR removes all implications to and from it as well
2022-04-08 09:07:14 +02:00
nonamethanks
38bd487e6b
Fantia: use non-transparent site icon
2022-03-22 19:17:35 +01:00
nonamethanks
5b5f61c2ea
Modqueue: support variable size thumbnails
2022-03-10 20:39:45 +01:00
nonamethanks
a6549bc6fe
Add Fantia support
...
Also fixes a regression in 74fdeef10c
that stopped mastodon urls from being given the right priority.
2022-03-10 17:43:32 +01:00
nonamethanks
93adba06e5
weibo: fix typo in strategy
2022-03-10 08:31:23 +01:00
nonamethanks
c9be77d1f8
Weibo: fix exception for deleted url
2022-03-09 05:31:38 +01:00
nonamethanks
ff6bfff311
Lofter: simplify tag extraction logic
...
Now that we have a separate parsing class we can just use it to properly
parse tag urls as well.
2022-03-08 17:01:50 +01:00
nonamethanks
ebd3670076
sources: remove redundant comments
...
These comments are already present under the parse blocks, so the huge
walls of text before the code are not needed anymore.
2022-03-08 16:56:00 +01:00
nonamethanks
b9c7e467e5
sources: factor out Source::URL::Tumblr
...
Also adds support for fetching source data from direct image urls when
possible.
2022-03-08 15:06:06 +01:00
nonamethanks
d8e2f2ee33
sources: factor out Source::URL::Weibo
...
Additionally, fixed some broken tests and changed normalization for urls
of album type to point to the mobile version instead, because they're
only visible to logged-in users.
2022-03-07 16:52:43 +01:00
nonamethanks
d195d30587
Foundation: fix normalization error
...
Urls like https://foundation.app/@yohan1754/fso/3 would get normalized
like https://foundation.app/@foundation/foundation/3 , which was wrong
because it would point to a completely different collection
2022-03-07 06:52:23 +01:00
nonamethanks
a34f5f95be
docker-compose: do db:seed before server start
...
This is needed to create DanbooruBot and enable uploads, among other
things.
2022-03-07 03:10:51 +01:00
nonamethanks
1a66feddcf
Moderation Reports: deprecate the forum topic
2022-02-22 23:47:36 +01:00
nonamethanks
9ff01c1a4b
Moderation Reports: add link for moderators to navbar
2022-02-14 17:22:03 +01:00
nonamethanks
1c9014a5bb
Fix lofter not working with iqdb
2022-02-05 09:43:17 +01:00
nonamethanks
33db1a2761
Skeb: fix several issues with the strategy
...
* Fix fetching of videos
* Fix fetching of original commentary
* Fix images being returned out of order in bookmarklet
2022-01-14 21:24:48 +01:00
nonamethanks
15bd5f73b3
Fix duration check for uploads from twitter
...
Some twitter videos near the max duration had some stray
milliseconds that made the check fail.
For example
https://twitter.com/kivo_some_18/status/1152167154059321344?s=20 (nsfw)
has 140.053333 duration.
2021-12-29 14:25:14 +01:00
nonamethanks
524eacf4b9
SpamDetector: raise autoban duration to 100 years.
...
This is to match the max duration usable by mods in the site.
The previous value of 999_999 seconds only amounted to 11 days.
2021-11-22 18:29:46 +01:00
nonamethanks
41f9fde2e0
Fix foundation urls not working with iqdb
2021-11-15 10:10:49 +01:00
nonamethanks
49e232f2ae
Foundation: add support for unconventional account names
2021-11-09 13:35:52 +01:00
nonamethanks
6c9b49c194
Foundation: add support for videos
2021-11-05 09:43:49 +01:00
nonamethanks
060223c9e2
Add Plurk support
2021-11-01 16:21:27 +01:00
nonamethanks
043f2fb124
Add Foundation support
2021-11-01 01:39:56 +01:00
nonamethanks
5946544f71
Lofter: Add support for additional theme
2021-10-30 17:22:45 +02:00
nonamethanks
d6daec8918
Autotag the meme tag on posts with *_(meme) tags
2021-10-06 18:06:46 +02:00
nonamethanks
45313c56a6
Lofter: fix tag extraction
2021-10-04 14:21:07 +02:00
nonamethanks
13741d88b5
Add million scale to humanized number helper
2021-09-30 14:14:40 +02:00
nonamethanks
16f76fe396
Update artist finder blacklist
2021-09-24 14:50:19 +02:00
nonamethanks
ce8c8e1ab7
Posts: stop autotagging long_image
2021-09-22 11:16:52 +02:00
nonamethanks
a845477cba
Sources: fix artist_name not being caught in skeb and weibo
2021-09-14 11:32:24 +02:00
nonamethanks
9a6a6e52ea
Lofter: raise timeout for file download
2021-09-10 13:10:29 +02:00
nonamethanks
7b817b0a30
Uploads: prevent submission of unfinished uploads
2021-09-08 20:26:53 -05:00
nonamethanks
08234c496d
Fix url fields in forms not having the same length as other text inputs
2021-08-26 13:32:16 +02:00
nonamethanks
0ddac45160
Mass updates: make the destination search clickable
2021-08-15 02:16:57 -05:00
nonamethanks
f60fce614b
Fix lofter strategy due to changes in their image urls
2021-08-15 02:16:57 -05:00
nonamethanks
2a13667422
Tag nuke: remove implications to a tag before nuking it
2021-08-15 02:16:57 -05:00
nonamethanks
539af4421d
IQDB direct url lookup: send the thumbnail instead of the full size
2021-08-15 02:16:57 -05:00
nonamethanks
d469b87ae2
Fix link to rest of user's post disapprovals
2021-08-15 02:16:57 -05:00
nonamethanks
bb4bdefc23
Lofter: add support for another theme
2021-08-15 02:16:56 -05:00
nonamethanks
716b9a5b88
Add utility links to user events from user page
2021-08-15 02:16:56 -05:00
nonamethanks
dddf21df92
Fix broken link to howto:pools in /pools/new
2021-08-15 02:16:56 -05:00
nonamethanks
b4b80b9618
Forum link search: also include BURs
2021-08-15 02:16:56 -05:00
nonamethanks
606b311841
Fix skeb strategy
2021-08-15 02:16:56 -05:00
nonamethanks
3f4174a917
Favgroups: only add shortcuts for first 10 groups
2021-08-15 02:16:56 -05:00
nonamethanks
bea03b7dc6
Upload page: show artist tag if it exists even if artist_name is empty in source
2021-08-15 02:16:56 -05:00
nonamethanks
e9d845e7cc
Update site map
2021-08-15 02:16:56 -05:00
nonamethanks
b7c73d7c9d
Add post disapprovals to available includes
2021-06-21 21:12:00 +02:00
nonamethanks
66e6d235c1
Posts sidebar: add link to tag discussions in forums
2021-06-21 16:42:38 +02:00
nonamethanks
6f78bae7c6
Quote different disapproval reasons to separate them
2021-06-21 14:09:06 +02:00
nonamethanks
89c14717ec
Upload page: disallow swf uploads in javascript too
2021-06-21 03:32:16 +02:00
nonamethanks
09f671fb72
Fix text in batch bookmarklet
2021-06-19 17:01:05 +02:00
nonamethanks
9a49a257e1
Reorder feedback type dropdown search
2021-06-04 15:45:00 +02:00
nonamethanks
90823d7ee1
BUR individual page: show link to forum, not topic, if it exists
2021-06-02 23:58:51 +02:00
nonamethanks
ac4b4a151c
Weibo: fix new lengthier image urls breaking the batch bookmarklet
2021-05-31 00:36:53 +02:00
nonamethanks
1234d93292
Nijie: get correct image when using bookmarklet
2021-05-25 12:20:39 +02:00
nonamethanks
b7fa8027a5
BUR: add link to wiki help page in navbar
2021-05-24 16:31:23 +02:00
nonamethanks
ac071b147f
Lofter: fix strategy for additional type of html theme
2021-05-23 18:05:16 +02:00
nonamethanks
bc4fd16c2c
Add Lofter support
2021-05-19 16:40:33 +02:00
nonamethanks
1bc266a3db
Skeb: add support for multi-image posts and fix tests
2021-05-16 12:50:39 +02:00
nonamethanks
e95731d58f
Skeb: fix broken strategy
2021-05-04 21:18:12 +02:00
nonamethanks
cb6196c259
Nicoseiga: auto-add spoiler tags to commentary
2021-04-06 14:08:49 +02:00
nonamethanks
cda1f64d89
Tag implications: fix typo in validate error
2021-03-28 14:21:18 +02:00
nonamethanks
e7e0c2314d
Add embed wiki to delete dialog
2021-03-20 05:45:34 +01:00
nonamethanks
917b08639f
Tag Aliases: automatically remove redundant implications
2021-03-19 15:38:47 +01:00
nonamethanks
073f63cfa7
Pixiv: don't add auto-generated usernames to the other names field
2021-03-16 02:44:49 +01:00
nonamethanks
0cae2e75b9
Artist finder: add skeb.jp root to blacklist
2021-03-14 04:13:55 +01:00
nonamethanks
ce86f6d274
User profiles: use name instead of id in links to post edits
2021-03-12 03:10:44 +01:00
nonamethanks
7dd83a12e2
BURs: don't check for category when implicating empty tags
...
The default category for empty tags is general, so implications are otherwise
always going to be rejected when the tag is created via BUR beforehand.
Ref: https://danbooru.donmai.us/forum_topics/18013?page=2#forum_post_182107
2021-03-11 17:58:02 +01:00
nonamethanks
a123bf0ee8
Mastodon: fix strategy not working for direct or dead links
2021-03-09 22:35:36 +01:00
nonamethanks
a4ae07416a
Optimize Sources::Strategies.find()
...
Use lazy.map instead of map, so that we do not run every single
strategy's match method for every source
2021-03-07 18:20:10 +01:00
nonamethanks
4118a3f3c9
Baraag: fix image regex
...
Fixes a bug for Baraag.net that caused the batch bookmarklet to always pick the first picture in multi-image posts.
2021-03-06 08:50:08 +01:00
nonamethanks
dc97f4483b
Add skeb support
2021-03-04 21:53:27 +01:00
nonamethanks
e75489aa94
Twitter: update common hashtag regexes
2021-03-02 17:05:47 +01:00