Kira
d532cd28c5
[Login] Add captcha to login page.
2022-01-09 12:39:53 -08:00
Earlopain
aa77f1a76a
[Posts] Save post events in separate table
...
Part of #346
2022-01-06 13:44:30 +01:00
Earlopain
05c704b83d
Merge pull request #353 from zwagoth/docker-iqdb
...
[Docker] Add iqdb/s to composer
2022-01-05 14:03:26 +01:00
Zwagoth
0d531ff146
Merge pull request #284 from Earlopain/replacements-audit
...
Add replacement tracking for uploader
2022-01-02 19:56:10 -05:00
Earlopain
0e6640871f
[TagAlias] Add redirect for old aliases in forum requests
2022-01-02 13:04:59 +01:00
Zwagoth
163bf18e84
Merge pull request #345 from zwagoth/blacklist-rework
...
Fix blacklist not applying on videos
2021-12-03 14:43:14 -05:00
Earlopain
65383ca5c1
[Docker] Another batch of review improvements
...
* Fix boolean value in compose file. I just removed the variable altogether,
the iqdb site already checked against iqdbs_server.present? anyways
* Add checksum check for iqbd download
* Fix newline in iqdb patchfile
2021-11-18 19:13:00 +01:00
Earlopain
71aab10d18
[Docker] Add iqdb/s to composer
...
Closes #315
2021-11-18 01:13:38 +01:00
Earlopain
765c6769fb
[Blacklist] Simplify hiding logic
...
Instead of switching out the src just hide the element.
This removed quite a bit of code and the blacklist now works with webm.
Fixes #318
2021-11-17 18:08:13 +01:00
bitWolfy
21ed3764ce
Merge branch 'master' into formatting-helper
2021-11-17 01:54:29 -08:00
Zwagoth
f519e889b1
Merge pull request #352 from zwagoth/docker
...
Replace vagrant with docker
2021-11-16 23:33:25 -05:00
Earlopain
8009972e9b
[Flags] Fix some words in the avoid posting flag reason
2021-11-15 18:31:25 +01:00
Earlopain
061176e095
[Setup] Ignore limits when seeding
...
This makes the environment config understand booleans. If something
ends with "?" it tries to interpret it as a boolean. A bunch of
existing configs where changed to reflect this change.
2021-11-14 22:16:36 +01:00
Earlopain
ce871e412c
[Setup] Improve docker setup
...
* Reduces the image size by using alpine and cleaning up after some things
* Simplify the initial setup instructions slightly
* Access via localhost:3000 instead of e621.local
2021-11-14 14:12:51 +01:00
Earlopain
7c972ecf91
[Setup] Replace vagrant with docker
2021-11-14 03:31:26 +01:00
Earlopain
0d06391298
[Misc] Remove unused install/docker files
2021-11-13 14:25:52 +01:00
Earlopain
ef0e81156c
[Config] Align max pages with live site
2021-11-02 14:32:40 +01:00
Earlopain
34cc839016
[Config] Remove upload feedback thread
...
This isn't used on e6 and someone might make this thread and have it
appear for other users
2021-11-02 14:30:38 +01:00
bitWolfy
db8cf6cb74
[UI] Add formatting buttons to DText inputs
2021-10-31 20:30:37 -07:00
bitWolfy
0c99e12095
[Flags] Fix a typo on the 48 hour reason explanation
2021-10-17 23:02:23 -07:00
bitWolfy
2d76eae435
[Flags] Re-arrange the config values for clarity
...
48 hour flag reason ended up under the deletion reasons because of a rebase gone awry
2021-10-17 22:00:18 -07:00
bitWolfy
8aee306952
[Flags] Fix a configuration error
...
Rebasing the branch went wrong
2021-10-17 21:55:59 -07:00
bitWolfy
b589931b9d
[Flags] Tweaks to the 48 hour deletion reason
2021-10-17 21:39:13 -07:00
bitWolfy
f39ee08820
[Flags] Redesign the new flag page
2021-10-17 21:37:37 -07:00
bitWolfy
1170c4a71c
[Posts] Minor changes to the prebuilt deletion reasons
2021-10-17 10:04:24 -07:00
bitWolfy
c70ed04e40
[Posts] Add pre-built deletion reason selector
2021-10-14 10:41:01 -07:00
Earlopain
bdeb4b3501
[IQDB] Remove dead code
2021-10-02 21:15:48 +02:00
Earlopain
7b3077e348
[PostSets] Remove atom feed
2021-10-02 21:02:41 +02:00
Kira
088a6a2740
[JS] Try to fully target older browsers
2021-09-30 02:26:05 -07:00
Kira
3da92e81e7
[JS] Because I was forced to upgrade webpack and redo everything from scratch
...
This is probably going to be partially broken somehow. Let's find out.
2021-09-22 23:29:14 -07:00
Zwagoth
bc283e9284
Merge pull request #296 from Earlopain/blacklist-sizing
...
Fix blacklisted posts starting out with original sizing instead of the users setting
2021-09-23 00:26:39 -04:00
Earlopain
869d3dd8e7
Merge remote-tracking branch 'origin/master' into blacklist-sizing
2021-09-05 19:28:39 +02:00
Earlopain
d8b00bf94b
[Rails] Allow easy disable of the cache_store
...
Setting it in the individual environment config does not work because it
was overwritten by the cache_store.rb initializer
2021-08-24 19:22:01 +02:00
Zwagoth
0b0184fca1
Merge pull request #294 from Earlopain/readonly
...
Add readonly mode
2021-08-12 09:59:28 -04:00
Zwagoth
4b4afd0f90
Merge pull request #297 from Earlopain/misc-again
...
Misc again
2021-08-04 08:05:38 -04:00
Zwagoth
522676bb08
Merge pull request #288 from Earlopain/cors
...
[CORS] Allow authorization header
2021-08-03 18:46:38 -04:00
Earlopain
18fb718658
[Posts] Update embeded title to account for 3d artwork
2021-07-20 18:09:51 +02:00
Earlopain
3fd543327b
[Pools] Replace select all with a link to the gallery
...
This is not terribly useful and actually slows down my browser quite a bit
because of the huge number of entries it needs to displays
2021-07-19 18:23:30 +02:00
Earlopain
bd93c61e77
[ReadOnly] Add basic read-only mode
2021-07-18 17:50:57 +02:00
Earlopain
19f84e6acd
[Posts] Unify scale naming on post and in settings
...
Moves generation of the options from js to templates in order
to access the sample image width to display.
2021-07-18 01:35:52 +02:00
Earlopain
9564f714e6
[CORS] Allow authorization header
...
Fixes #270
2021-07-07 13:44:58 +02:00
Earlopain
6910369e2a
[Misc] Add rubocop and solargraph config
...
A bunch of rules are disabled or tweaked for the current style
2021-07-05 13:21:49 +02:00
Earlopain
5d430e8210
[Replacements] Use ajax for approve/reject/toggle/promote actions
2021-06-26 18:25:25 +02:00
Earlopain
f54e5d7f84
[Replacements] Allow toggling user penalize
2021-06-26 14:01:07 +02:00
Kira
80ba696d35
Merge branch 'staff_notes'
2021-05-18 11:14:48 -07:00
Kira
b3eb88405d
[Staff Notes] Add staff notes
2021-05-12 21:57:12 -07:00
Earlopain
f2696386a8
[Misc] Remove unused help:upload_notice
2021-05-03 13:05:00 +02:00
Earlopain
4b27ebb6f9
[Seeding] Fix system user not being promoted
2021-04-30 23:46:28 +02:00
Kira
32f4dc32a7
[Gems] Fix sidekiq warning about session secret
...
Sidekiq no longer shims its own session system, so it isn't relevant
to provide it the session key.
2021-04-30 10:12:24 -07:00
Kira
33013e0a44
[Debug] Better logging of slow queries
...
Rails is VERY opaque about which query timed out when reviewing
backtraces for code that loads relations. Often it becomes difficult
to tell exactly which query was generated.
This interrogates the exceptions for these and pulls out the SQL
and bind params for further debugging. Automatic unwrapping of
rails template exceptions is done, as a majority of these seem
to be triggered in production by relations that are lazily loaded
through templates, or template code.
Also I cleaned up the backtrace display a little bit while I was
messing with this code. Usually it isn't relevant to see the 130
lines of rails relationship loader code. Full traces are still
saved so that in the event something happens inside a gem/framework
file it can still be easily located.
2021-04-30 10:12:10 -07:00
Zwagoth
af7f7f9d10
Merge pull request #256 from Earlopain/remove-useless-config
...
Remove useless config entries
2021-04-18 17:41:12 -04:00
Kira
dff34d0f13
Merge branch 'user_warned'
2021-04-16 15:39:51 -07:00
Kira
1feee5e9a5
[Admin] Allow marking content as having earned a user a warning/ban
2021-04-16 15:39:32 -07:00
Kira
0b4e3fc57e
[Post] Ability to regenerate image and video samples on demand
2021-04-07 10:33:19 -07:00
Kira
173294fb56
[Replacements] Testing
2021-04-07 10:33:19 -07:00
Kira
43ffb7925f
[temp] tests
2021-04-07 10:33:19 -07:00
Kira
d4a4be82bb
[Replacements] Fix errors caught in review
2021-04-07 10:33:19 -07:00
Kira
a28466bdaf
[Replacements] Continued progress
...
[Replacements] Fix exceptions when processing replacements
[Replacements] Fix handling of invalid file types
[Replacements] Fix error reporting and promote dupe checking
[Replacements] Prevent duplicate replacements from cropping up
2021-04-07 10:33:19 -07:00
Kira
3855d64228
Post replacement system
2021-04-07 10:33:18 -07:00
Earlopain
e7b03a84e9
[Config] remove dead keys
2021-04-03 20:14:15 +02:00
Zwagoth
c40498ce41
Merge pull request #250 from Earlopain/post-favorites
...
Add list of post favorites to seperate route
2021-04-03 03:11:33 -04:00
Kira
3db4c30721
[Admin] Ability to reowner posts for special conditions
2021-04-01 22:33:37 -07:00
Earlopain
e18813895a
[Feature] Move post favorites to seperate path
...
This makes them visible to normal users but moves them to a seperate page.
This operation is expensive, let's see if there is an easier way to fetch them.
2021-03-23 15:49:00 +01:00
Kira
121546a854
[Stats] Add basic stats system
2021-03-13 13:16:16 -08:00
Kira
ec53c66230
[Forum Votes] Fix inverted logic + raise limit + error reporting
2021-03-11 11:28:43 -08:00
Kira
adabdd1028
[Forum] Revise forum post vote system
2021-03-04 20:33:56 -08:00
Kira
a7317a668a
[Rails] Turn off url safe csrf until migration complete
2021-02-25 12:31:57 -08:00
Kira
784890ca3e
[Posts] Fix tag set presenter using broken memoist gem
2021-02-25 12:08:09 -08:00
Kira
76d1999ade
[Rails] Upgrade to rails 6.1 + fix tests
2021-02-25 12:08:09 -08:00
Kira
048e5d7182
[Rails] Update to rails 6
...
Fix sidekiq initializer
2021-02-25 12:08:09 -08:00
Kira
9c88cbe0ec
[Uploads] Remove ability to upload flash files
2021-01-23 14:11:05 -08:00
Zwagoth
5e3a62fd06
Update development box bringup scripts
2020-12-23 15:13:56 -05:00
Kira
436d2aea38
[Ruby 3] Fix up some deprecations involving ruby 3
...
Still pending are gems that make poor choices and need to be removed,
replaced, or fixed up.
Memoist
ActiveModelSerializers
2020-11-11 21:06:12 -08:00
Kira
db8d4c4773
Normalize EOL style + newline at end of files.
2020-10-24 05:50:32 -07:00
Kira
ac17597afb
[Video] Small tweaks
...
Automatically fix up file path based on deleted status in posts
Don't make the default sidekiq runner participate in video
2020-10-17 23:01:58 -07:00
Kira
afdaf3a486
[Samples] Resize logic + sample support for images
2020-10-17 22:35:28 -07:00
Kira
c35d272d1e
Updated encode settings
...
Save space, save time, make it clear it's a sample
2020-10-17 22:35:28 -07:00
Kira
555bd25b8d
[Video] Temp
2020-10-17 22:35:28 -07:00
Kira
aff0f5f2da
[Gems] Update gems + fix cache deprecation
2020-10-01 08:12:04 -07:00
Kira
f24c14307c
[Dev] Add e621.lc to dev env allowed hosts
2020-09-05 05:08:48 -07:00
Kira
556ae6080a
[Tags] Allow suggesting unicode source tags
...
Also rate limit creation of tag suggestions.
This allows the creation and acceptance of tag aliases and implications
that contain unicode. This allows people to suggest aliases that
romanize names or remove unicode from names.
2020-07-10 04:20:24 -07:00
Kira
aad6714931
[Tag Relations] Place new requests in configurable category
...
Previously these were being forced into category 1, which always
placed them in the general category. This is undesirable.
This allows for new tag aliases, implications and bulk update requests
to be placed inside a forum category set in a configuration value.
2020-07-04 18:27:17 -07:00
Kira
6fddcc7d58
[Cookies] Hopefully fix Firefox defaulting to SameSite=none
2020-07-02 17:23:16 -07:00
Kira
c379640738
[Discord] Fix discord domain after discord changed it
2020-05-08 18:45:37 -07:00
Kira
61bc341df7
[Admin] dumb hacky test stuff
2020-04-30 16:34:31 -07:00
Kira
3cb1e91adf
Better remember support
2020-04-12 19:08:33 -07:00
Kira
e780d5d182
Throttle pool post edits
...
This limits the number of pools that a user can edit the posts of
per hour. This allows for high rate of post edits but limits how
many pools can be touched.
2020-04-12 18:03:36 -07:00
Kira
5db95b362b
Add deleted posts index
2020-04-05 07:30:12 -07:00
Kira
576e503add
Save progress on theme options page
2020-03-31 03:02:33 -07:00
Kira
cbc04d3dba
Homepage
2020-03-31 03:02:33 -07:00
Kira
8dba62fe77
Main menu restyle
2020-03-31 03:02:33 -07:00
Kira
074971aa71
Make metrika tag optional
2020-03-18 20:18:21 -07:00
Kira
b55802d49a
Add back metrika on request
2020-03-18 19:57:35 -07:00
Kira
94154ca600
Fix /user/login redirect
2020-03-13 19:07:30 -07:00
Kira
7026209af9
Fix insane production logging level
2020-03-13 19:07:08 -07:00
Kira
f774a06831
Update CSP with right captcha domain
2020-03-08 18:04:26 -07:00
Kira
c2ccd647fd
Fix up captcha for sign up
2020-03-08 17:43:28 -07:00
Kira
d65a1a7d8e
Update some needed redirects
2020-03-07 08:33:05 -08:00
Kira
33524e19d5
Cookie update
2020-03-06 11:00:07 -08:00
Kira
293e500863
More CSP nonsense surrounding discord.
2020-03-05 15:06:48 -08:00
Kira
82beab098f
More discord fixing
2020-03-05 14:09:33 -08:00
Kira
b2925f3f69
Fix webm playback.
2020-03-05 12:46:01 -08:00
Kira
629f7f3169
Add missing redirect targets for post pages
2020-03-04 07:03:51 -08:00
Kira
048d1dcc1c
Update CSP
2020-03-04 06:56:28 -08:00
Kira
eb318b19c7
Better opt out of mobile responsive display
...
Users keep asking for this, so here it is.
2020-03-01 08:30:41 -08:00
Kira
377425b6f5
Update gems
2020-02-26 02:02:37 -08:00
Kira
be4e075699
Limit tag count to a configured value per post
2020-02-26 00:26:13 -08:00
Kira
2d97f292ca
Fix typo in CSP policy
2020-02-22 09:38:09 -08:00
Kira
38aaa8cbe2
Fix show all comments link
2020-02-21 21:40:37 -08:00
Kira
a4f9f10658
Remove link_to_function
2020-02-21 21:40:37 -08:00
Kira
b532ec88fa
Replace inline scripts with js tags with nonce
2020-02-21 21:40:37 -08:00
Kira
8e18c6d4e4
Initial CSP setup
2020-02-21 21:40:37 -08:00
Kira
7efd7ceda1
Fix up takedowns
2020-02-13 23:17:42 -08:00
Kira
caf5ba7d13
Don't nuke my darn settings!
2020-02-04 15:23:09 -08:00
Kira
f19c3e408b
Add discord server support
2020-02-02 13:50:20 -08:00
Kira
512b00d321
Use new news style
2020-01-25 02:13:55 -08:00
Kira
7a1f10b977
Add user setting for compact uploader mode
2020-01-03 06:39:55 -08:00
Kira
0c69db869c
Post serializer
2020-01-02 10:23:09 -08:00
Kira
4c61ee2557
Fix upload limit related pieces and uploader links
2019-12-29 02:37:50 -08:00
Kira
7d02d90232
Allow file uploads and urls for image search
2019-11-28 12:27:06 -08:00
Kira
d55b96253b
Add better tag editor
2019-11-09 21:16:25 -08:00
Kira
4b7345f7ea
Kill legacy controller and routes
2019-11-08 12:43:52 -08:00
Kira
da11044024
Nuke the reports controller
...
And as many references to it as was quickly possible to isolate.
2019-10-31 12:22:05 -07:00
Kira
b5d24df7e3
Bump default max video duration
2019-10-30 09:33:57 -07:00
Kira
2c229d4369
Add tag list collapsing
2019-10-29 06:38:14 -07:00
Kira
8e80df77ff
Update gems
...
This also removes the sprockets based asset pipeline because it
isn't being used, and it was causing startup exceptions.
2019-10-22 21:26:35 -07:00
Kira
d679fd7292
Remove most viewed support
...
This service wasn't something planned to be supported and there
are some links to it. If we add view counts(unlikely) this can be
integrated into the site again.
2019-10-21 23:12:00 -07:00
Kira
d765bc5981
Remove batch upload
...
Limit upload listing to janitor+
2019-10-21 23:05:40 -07:00
Kira
160b0cb22e
Remove saved searches
2019-10-21 02:57:03 -07:00
Kira
c729a4d641
Update unicorn settings
2019-10-18 19:19:47 -07:00
Kira
0102e4239b
Update sidekiq settings
2019-10-18 19:14:34 -07:00
Kira
e1fe3cc9c0
Add config option for elasticsearch host
2019-10-18 19:09:02 -07:00
Kira
9d3de75e52
Add support for mobile ads
2019-10-12 12:42:13 -07:00
Kira
a2f97acfdc
Fix sidekiq route security
2019-10-05 23:41:48 -07:00
Kira
6f74ef28bf
Remove broken bulk revert tool
2019-09-28 22:10:23 -07:00
Kira
b5a726b909
Fix some IQDB query stuff
...
Added blacklist inline so that you can see the results if they are
on your blacklist.
Added timeout and some minor error handling, in case the endpoint
is dead.
2019-09-28 00:43:43 -07:00
Kira
ea43834b8c
Add option to update post IQDB from frontend
2019-09-28 00:20:37 -07:00
Kira
d15acddca1
Remove broken sitemap.xml
2019-09-25 15:56:17 -07:00
Kira
5a133e1643
Add lore tag category
2019-09-24 17:04:46 -07:00
Kira
f5bf733c86
Fix email verification being a user level
...
Having a distinct level for user verification proved to be rather
problematic for code flow and introduced an extra level below
blocked. Since it makes the account unusable until activated
it made sense to use an extra field and stop messing with user
levels explicitly.
This should also make tests a lot easier to deal with because it
doesn't require any changing of the user level.
2019-09-23 16:16:45 -07:00
Kira
e42324dd03
Remove counts controller
2019-09-19 15:40:05 -07:00
Kira
32d8d8ac34
Update post mode menu
...
Add add to set and remove from set option
2019-09-19 12:41:37 -07:00
Kira
c9496797cf
Fix set maintainer links
2019-09-16 17:19:17 -07:00
Kira
ce38222a00
Add support for mod only tag categories
...
Allow for setting up tag categories that can only be used by
moderators.
2019-09-16 13:16:52 -07:00
Kira
64fffb5bd9
Add framework for disabling age checks
...
This adds two helper methods to the user model along with a config
toggle for using or disabling them as age checks within the code.
2019-09-15 10:19:16 -07:00
Kira
47ccf8bbe7
Add missing mailgun init
2019-09-13 14:12:32 -07:00
Kira
3d7f1532f2
Send mail using mailgun
2019-09-13 12:46:44 -07:00
Kira
9c7b7a23d6
Use rails 6.0 defaults
2019-09-13 10:20:07 -07:00
Kira
b7ce7a7ae9
Customize new users before save
...
The old before_create callback fired too late and it was almost
certain to overwrite changes to the model made elsewhere without
very careful orchestration. This moves customization closer
to instance creation and averts many potential problems.
The customize method still needs to take into account that models
can be customized during creation with hash params and check
for those changes for important parameters.
The better way to do this is probably to change the defaults in
the database, but it's less customizable.
2019-09-12 15:00:03 -07:00
Zwagoth
96f2b208f3
Fix development install process
2019-09-11 18:51:55 -04:00
Kira
e15b6d16c0
admin password reset stuff
2019-09-08 11:57:00 -07:00
Kira
3b4a5145bb
Split hide and delete actions in forums.
2019-09-07 03:15:50 -07:00
Kira
6127ea6d25
Initial comment hide vs delete distinction
2019-09-06 07:01:37 -07:00
Kira
b658b2c682
Post flagging and ticket limits
2019-09-03 23:06:30 -07:00
Kira
e94bb0f30e
User limit
2019-09-03 21:56:41 -07:00
Kira
f0a7f76136
Email confirmation
2019-08-31 20:06:20 -07:00
Kira
532e2c1e04
Update to rails 6
2019-08-28 21:50:40 -07:00
evazion
ae5d039745
app controller: move safe mode from app controller to SessionLoader.
2019-08-28 21:09:37 -07:00
evazion
c8c0e31474
rails: update defaults from 5.1 to 5.2.
...
protect_from_forgery removed from because it's now on by default.
ref: https://edgeguides.rubyonrails.org/configuring.html
2019-08-28 20:51:39 -07:00
evazion
30ee20a570
dmails: factor out spam detector service.
2019-08-28 20:48:31 -07:00
Kira
655dd88671
Allow admins to edit users blacklists
2019-08-23 15:05:46 -07:00
Kira
c4119fdf49
Basic ads support
2019-08-23 12:48:18 -07:00
Kira
35d3729f68
First pass at theme.
2019-08-20 12:15:41 -07:00
Kira
b343bab532
User home page
2019-08-17 09:35:48 -07:00
evazion
89e7a6dec8
sessions: remove nonexistent GET /session
route.
2019-08-15 04:26:49 -07:00
evazion
2cd0355665
Fix #4130 : Remove tag alias corrections.
2019-08-13 03:18:39 -07:00
evazion
725d6489d1
Fix #4117 : Use memcache for fragment caching.
2019-08-10 05:43:13 -07:00
Kira
e60cc2a46f
Remove unused gems
2019-08-10 04:56:05 -07:00
Kira
c28ad3b8a3
Remove unused term-ansicolor and query tracer config
2019-08-10 04:49:18 -07:00
evazion
3a0c2fbdc2
Remove obsolete scripts.
...
These are mostly old files mostly related to maintenance of Danbooru 1
or the upgrade to Danbooru 2.
2019-08-10 04:45:49 -07:00
Kira
1fdc3926df
Update webpacker and fix a bunch of broken things with it
2019-08-03 20:25:22 -07:00
Kira
0b92d9c2f9
Static list of flagging reasons like old e6
2019-08-02 15:25:00 -07:00
Kira
ccbbe39338
Quick unflag options for posts
...
This also loosens the restrictions on what can be flagged and how
frequently. Previously pending posts could not be flagged, which
was not in line with our current flagging system purpose.
2019-08-01 16:03:13 -07:00
Kira
8dfb2b8e7d
So yarn is removing this, and it's known to be broken
2019-07-25 09:22:24 -07:00
Kira
89256f5b76
Allow uploading of ugoira
2019-07-22 16:59:36 -07:00
Kira
1b929f7190
Allow post unapproval
2019-07-19 18:05:43 -07:00
Kira
e0f1d69ead
Allow turning off throttles during testing
2019-07-19 03:48:16 -07:00
Zwagoth
624eb2c1b2
Merge pull request #109 from zwagoth/exception_logging
...
Add some cheap exception logging until something better is made
2019-07-17 17:41:13 -04:00
Kira
4fb3c9fedb
Add some cheap exception logging until something better is made
2019-07-17 14:40:03 -07:00
Kira
79ea8bde71
Allow for forcing logins based on post attributes
2019-07-17 12:30:28 -07:00
Kira
7b750ac862
Descriptions on posts
2019-07-14 06:24:52 -07:00
Kira
1636b62c3e
Move post uploader to vue.js and inline it
2019-07-11 20:19:56 -07:00
Kira
826d038cf5
Add tag preview functionality for uploader
2019-07-06 14:15:43 -07:00
Kira
528500e316
Add related tags functionality for upload page
2019-07-06 14:15:43 -07:00
Kira
03de07a2a1
Bunch of dumb little fixes related to user level changes
2019-06-30 11:16:05 -07:00
Kira
55e57edab8
Replace hardcoded levels with config based levels
2019-06-29 12:25:44 -07:00
Kira
16af051931
Convert platinum -> contributor for user rank
2019-06-29 12:06:13 -07:00
Kira
9fa294ba31
Convert gold -> privileged for user level
2019-06-29 08:45:58 -07:00
Kira
c819a34443
Add user based action throttles
2019-06-29 05:29:21 -07:00
Kira
0715b0c251
Add species and invalid tag types
2019-06-23 00:27:33 -07:00
Kira
847257966e
Change upload limit formula to match e6
2019-06-22 02:01:49 -07:00
Kira
a907df4b9a
File limits and processing that matches closer to e6
2019-06-20 19:51:51 -07:00
Kira
a2a26e25d4
Replace google cloud with ElasticSearch
...
Most of this was related to use of BigQuery for post versions and
generating reports and bulk reverts, but elasticsearch can easily
handle returning 5k results in a few ms, so this isn't a big deal.
There is also some pubsub stuff which has been gone for a while now.
I don't remember what it was being used for, but it is likely reporting
items, so not an immediate priority.
2019-05-16 16:29:08 -07:00
Kira
5d8494caac
Replace post archive service with inline code
2019-05-10 16:08:08 -07:00
Kira
2f5964292b
Remove AWS from iqdb and post archive
...
TODO: redo how post versions work, because they are too complicated.
2019-05-10 11:35:55 -07:00
Kira
06db14aceb
Add simple versioning replacement
...
This replaces the old simple versioning helper that existed on
e621. The implementaiton is roughly the same but has been updated
to use newer rails methods.
No, it's not very flexible, but it didn't need to be.
2019-04-27 11:28:02 -07:00
Kira
8698bd4e39
Support for access locked forum categories
2019-04-21 20:32:11 -07:00
Kira
0503d7bb8c
Most of comment voting fixes and vote viewer
...
TODO: locking and admin deletion
2019-04-07 21:46:08 -07:00
Kira
4513516e76
Post vote view and locking support
2019-04-06 13:13:50 -07:00
Kira
66b6d29ae3
Add pool import
...
This also limits the number of posts in a pool to 1000.
2019-04-05 16:08:33 -07:00
Kira
d9f5dcd4ce
Tag type restrictions and history
2019-04-03 18:56:47 -07:00
Zwagoth
1089773d0c
Merge branch 'elasticsearch'
2019-04-03 11:25:41 -04:00
Kira
b79b8e1f62
Silly mistakes in takedown code
2019-03-29 23:52:47 -07:00
Kira
e62099af44
A whole boatload of elasticsearch changes
...
Makes index job unique to account for changes to update triggering.
Fixes instances of mixed SQL and ES searches with tag_matches.
Adds utility methods for exists? and count_only ES searches.
Adds comment_bumped_at for comments page usage.
Adds random seeding capability.
Fixes random searches not working correctly.
Fixes status:active.
2019-03-28 14:04:01 -07:00
Kira
23c2e2d851
Help system
2019-03-26 21:55:16 -07:00
Kira
eaa5ee822d
Add back limit on tag count, raised defaults
...
In order to prevent unbounded term generation, add back tag count
limit to the query generator.
Updated defaults to reflect the great increase in speed.
2019-03-24 08:48:59 -04:00
Kira
057edaa8d1
Add pagination support to Elasticsearch
2019-03-24 08:45:44 -04:00
byte
d1aa2e69f5
add post index
2019-03-24 08:45:44 -04:00
Kira
5083e6d92e
Remove favorite groups
2019-03-23 00:57:37 -07:00
Kira
45394916d8
Sets
2019-03-23 00:40:44 -07:00
Kira
9b31e0a3a1
Add post report reasons editor
2019-03-14 22:15:37 -07:00
Kira
6f1d47c10b
Add ticket infrastructure.
2019-03-13 14:04:59 -07:00
Kira
bc1218044c
Blips
2019-03-01 08:44:29 -08:00
Kira
7b97883d29
Finish up takedowns
2019-02-27 03:47:23 -08:00
Kira
118459af1b
Takedowns
2019-02-23 08:45:10 -08:00
Kira
22a077a2dd
Convert delayed_jobs to activejob
...
Add sidekiq and create jobs for the majority of delayed actions.
Temporary hookup of sidekiq UI in routes for testing purposes.
2019-02-17 19:28:40 -08:00
Kira
a3ad66eff2
Show deleted post thumbnails
...
Allow users to see and click on deleted posts without showing
the actual post preview. This roughly equates to how deleted
posts work on E621 at present.
This also resulted in some clean up and bug fixing surrounding
determining if a post should be visible or not. Previously this
was limited to user level(for ugrade incentive), safe mode, and
if the post was banned. Now it's only safe mode and if the post
is deleted.
Future work items:
- Remove display deleted toggle and support code, as it is broken.
2019-02-15 03:14:35 -08:00
Kira
43cad3f5e7
Remove post banning functionality
...
The distinction between file deletion and banning is pretty weird
and there are a bunch of edge cases that make this not worth
trying to maintain a distinction.
Left in the automatic implication code on banned artists because
it looked useful for automating some of the basic tasks that are
done surrounding DNP artists.
2019-02-14 01:44:54 -08:00
Kira
2ec0fed659
Prevent viewing deleted or banned posts
...
This fixes an exploit where you can view deleted and banned posts
through the atom service regardless of user level.
2019-02-13 19:58:38 -08:00
Kira
895fa25c03
Move deleted posts to a protected folder
...
Set up support for moving deleted files to a protected location
and support for emitting urls with authorization parameters to
permit access to them.
This closes #14
2019-02-12 03:00:57 -08:00
Kira
0bd76687a6
Add email blacklist controller
2019-02-09 18:42:43 -08:00
Kira
08e08b18b4
Add whitelist to upload services and file downloaders
2019-02-07 10:05:50 -08:00
Kira
21aaa2a185
Add upload whitelist model + controller
...
Allow preventing uploads from unknown sources by having a whitelist
of allowed domains and patterns that can be directly fetched from.
2019-02-06 21:08:03 -08:00
Kira
dbf46d3522
Initial setup script changes as required by danbooru.
2019-01-31 12:27:40 -08:00
Albert Yi
33063a72de
Add a listing page for post disapprovals (accessible to approvers only)
2019-01-24 16:14:57 -08:00
Albert Yi
d10b898dd6
add dependency for redis image on docker compose config
2019-01-24 13:25:40 -08:00
Albert Yi
ad3ab4c9a3
add redis image to docker compose config
2019-01-24 13:24:43 -08:00
evazion
54f562bf1c
Fix #4042 : Remove source_request by default when replacing posts.
2019-01-13 15:06:30 -06:00
Albert Yi
0508b127fd
continue refactoring savedsearch
2018-11-15 12:06:13 -08:00
Albert Yi
df02eb7951
eliminate listbooru references
2018-11-12 18:02:49 -08:00
evazion
1281481548
Fix #3978 : Pool name/category validations not being enforced.
2018-11-07 16:10:16 -06:00
Albert Yi
9ddb9cd434
use only 1 copyright tag by default in humanized essential tag string
2018-11-05 14:34:07 -08:00
Albert Yi
66ce07e993
add additional install scripts, fix staging deploy
2018-10-16 09:47:58 -07:00
Albert Yi
2aabaf56d8
Merge pull request #3951 from evazion/fix-maintenance-logging
...
Improve daily maintenance error handling
2018-10-15 14:20:44 -07:00
Albert Yi
6ca9b65716
add dynamic sitemap.xml
2018-10-11 10:13:54 -07:00
evazion
6e54c37b04
maintenance: add rake tasks for maintenance jobs.
2018-10-09 20:11:24 -05:00
evazion
5201954413
maintenance: consolidate maintenance tasks in logical/maintenance.rb.
2018-10-09 20:11:23 -05:00
Albert Yi
1a4949368c
add server
2018-10-09 14:40:43 -07:00
Albert Yi
1b6da3da71
remove oogaki from app role
2018-10-08 17:43:15 -07:00
Albert Yi
f065186c32
change default server login from albert -> danbooru
2018-10-08 15:51:32 -07:00
Albert Yi
7eab2fc0a7
disable server sync
2018-10-08 15:51:32 -07:00
r888888888
abbe181de6
add cronjob for syncing files
2018-10-04 01:51:42 -07:00
r888888888
25c0c8884c
move production2 configs to production
2018-10-04 01:12:25 -07:00
r888888888
82cb31eb28
standardize on new servers
2018-10-04 01:11:31 -07:00
Albert Yi
6a0d44b496
fixes for production2 env
2018-10-03 13:09:52 -07:00
Albert Yi
897d3d3a99
add production2 env for testing new servers
2018-10-03 11:23:26 -07:00
evazion
99babe19f3
views/static: removed unused templates.
2018-09-23 20:18:34 -05:00
evazion
235271706b
Fix #3913 : Remove legacy /post/create.xml endpoint.
2018-09-20 12:25:16 -05:00
evazion
1fce794b99
artist urls: add /artist_urls index page.
2018-09-15 19:58:05 -05:00
evazion
10ca4dd3ad
artists: replace artist finder with fetch source data.
...
* On posts, automatically trigger "Fetch source data" when clicking the
Edit tab, instead of triggering the artist finder button. This way we
find both the artist and the translated tags in one ajax call.
* Remove the "Artist" finder button next to the source field. This isn't
necessary given that "Fetch source data" finds the artist itself.
* Remove the /artists/finder.json API endpoint. This is no longer used
after removing the "Artist" finder button.
2018-09-11 20:09:25 -05:00