Commit Graph

109 Commits

Author SHA1 Message Date
evazion
65e53b86b3 Drop support for /cache/tag.json.
Drop support for https://danbooru.donmai.us/cache/tags.json. This was a
nightly dump of the tags table that was originally added in #1012. It
was never documented and never really used except for by the DanbooruUp
extension.
2019-08-29 00:52:23 -05:00
evazion
fd639e3c81 capistrano: lower downtime window for delayed jobs. 2019-08-22 16:56:42 -05:00
evazion
39d70ae5cf capistrano: simplify unicorn:terminate task.
Use the builtin task provided by capistrano3-unicorn. Ours failed with
invalid pidfile errors in some cases.
2019-08-15 12:51:51 -05:00
evazion
5f1226ca92 Rename maintenance.rb -> danbooru_maintenance.rb.
Fixes random test failures caused by ambiguous constant lookup issues
(the `Maintenance` module name was used in multiple conflicting places).
2019-08-15 00:36:25 -05:00
evazion
5acc75d21b capistrano: fix sleep calls.
Minor optimization for `cap production deploy --dry-run`. Sleep on the
server instead of in the client.
2019-08-12 18:22:44 -05:00
evazion
072885bbf8 delayed jobs: run dj workers under systemd (fix #4108). 2019-08-10 02:57:32 -05:00
evazion
bfffb57c13 capistrano: clean up unicorn:terminate task.
Do a SIGQUIT (graceful shutdown, allow workers to finish current
request) before doing a SIGTERM (immediate shutdown).
2019-08-07 22:36:12 -05:00
evazion
c225d54de1 capistrano: add deploy:rolling task (fix #4123). 2019-08-07 22:11:07 -05:00
evazion
6e54c37b04 maintenance: add rake tasks for maintenance jobs. 2018-10-09 20:11:24 -05:00
Albert Yi
897d3d3a99 add production2 env for testing new servers 2018-10-03 11:23:26 -07:00
Albert Yi
762dc3da24 Refactor sources 2018-08-24 12:10:51 -07:00
Albert Yi
c9fe91c74b fix base dir for image distribute rake task 2018-04-12 10:48:53 -07:00
Albert Yi
03e2a2ca3b add rake task for distributing images using storage managers 2018-04-12 10:40:24 -07:00
evazion
4b5129d447 lib/tasks/images.rake: fix bad ref to danbooru_image_resizer.
Fixup for efeaad25.
2017-12-18 18:08:41 -06:00
evazion
efeaad25ca Move lib/danbooru, lib/danbooru_image_resizer to app/logical. 2017-12-18 12:07:52 -06:00
r888888888
ec81b87766 include paginator in delayed::job 2017-12-13 17:15:25 -08:00
evazion
1c5c3b5f9f Include paginator extensions in ApplicationRecord. 2017-11-26 15:34:44 -06:00
r888888888
c2029b62b5 delayedjob fixes 2017-10-10 15:49:34 -07:00
r888888888
c23ea7f7b2 dont upload cropped thumbnails 2017-10-10 13:00:09 -07:00
r888888888
75f87bcc8e potential fix for #3290 2017-09-13 13:00:20 -07:00
r888888888
b9b38ca25e tweak css for responsive 2017-09-06 13:32:32 -07:00
evazion
ba408c8718 simple_form: regen config files (#2913).
Regens simple form config using `rails generate simple_form:install`.
Seems to fix #2913 (erroneous minlength validations being enforced as of
simple_form 3.4.0).
2017-03-03 17:21:37 -06:00
r888888888
6c9d5e4f9a remove advertisement code 2017-02-21 13:35:22 -08:00
r888888888
651dad473d fixes #2884: Comment unvoting is broken 2017-02-14 10:35:27 -08:00
r888888888
e5cd79eddd remove preview/large file upload rake tasks 2017-02-08 16:53:43 -08:00
r888888888
f0a8598ba2 update aws gem, stub in rake tasks for s3 2017-02-08 15:06:54 -08:00
r888888888
b57b54113f add cdn hosted flag to posts 2017-02-07 17:26:16 -08:00
Albert Yi
9a75a05c25 move newrelic + deploytags gem to production env, rename cap tasks to .rake 2016-12-06 15:47:21 -08:00
r888888888
8abd94b02d add kill step to unicorn cap 2016-08-02 22:14:50 -07:00
r888888888
7cf2dbc15b terminate unicorn procs on deploy 2016-08-02 22:12:14 -07:00
r888888888
d90fd6c46a force unicorn to terminate before restarting 2016-08-02 21:08:41 -07:00
r888888888
4fea400b79 fixes #2610: Strip image metadata when creating thumbnails and samples 2016-06-15 11:38:35 -07:00
r888888888
2ade577639 add rake task for redownloading pixiv posts 2016-04-28 11:46:26 -07:00
r888888888
dd36da1a45 install script fixes 2015-10-02 14:51:02 -07:00
r888888888
a509658d5b fixes to install scripts 2015-10-02 13:36:40 -07:00
r888888888
6234802157 set rails_env for delayed_job 2015-08-24 15:09:00 -07:00
r888888888
59c7460456 fix cap tasks 2015-08-24 14:11:34 -07:00
r888888888
ba04068bfc move cap tasks into separate files 2015-08-19 16:51:15 -07:00
r888888888
554a616963 fixes #2481: Include approvers on janitor trial report 2015-08-11 15:47:39 -07:00
r888888888
bf6dd87df8 refactor bit flags code 2015-08-04 16:33:20 -07:00
Toks
9585e32914 Improve sequential paginator
fixes #2044, fixes #1298
2013-12-04 14:41:50 -05:00
r888888888
c520c7f03c fixes #1847 2013-07-11 15:50:51 -07:00
kittey
70616dd1a7 Enable progressive encoding for new JPEG thumbnails and samples; see issue #1665
Enable progressive encoding for resized images, as discussed in issue #1665. Works with every normal browser, but might introduce compatibility issues with certain embedded devices.
2013-05-26 15:12:41 +02:00
r888888888
677d6c11a5 fixes #1629 2013-05-24 14:21:01 -07:00
albert
ee1a70033c fix counts 2013-03-22 21:18:13 -04:00
albert
3e4d149d28 fixes #959 2013-03-22 10:38:37 -07:00
albert
05aaefdf48 add support for pre tags in dtext 2013-03-20 15:09:35 -07:00
小太
3ce4c704d4 Kill trailing whitespace in txt files 2013-03-19 23:14:39 +11:00
小太
cba839ba76 Kill trailing whitespace in ruby files 2013-03-19 23:10:10 +11:00
albert
207001655d fix tag legacy api limit 2013-02-28 21:48:48 -08:00