Commit Graph

739 Commits

Author SHA1 Message Date
evazion
41b9a8a044 post replacements: fix post_replacements_path helper.
Bug: `post_replacements_path` returned the wrong path because the
`/posts/:post_id/replacements` route took precedence over the
`/post_replacements` route.

Fix: declare the `/post_replacements` route first so that it takes
precedence instead.
2017-06-22 16:53:20 -05:00
evazion
a60520ef6a pawoo: add credentials to default config. 2017-06-19 17:08:52 -05:00
evazion
8c7c2a06e5 notes: convert internal links to Danbooru to relative urls. 2017-06-17 11:57:32 -05:00
evazion
1a998cb3fb Move API methods from initializer to ApplicationRecord. 2017-06-16 13:28:31 -05:00
r888888888
d691c1de36 fixes #3066: add bootsnap support 2017-06-14 16:35:16 -07:00
r888888888
b2245349b3 fixes #3136 2017-06-14 16:21:05 -07:00
evazion
f3f55daea6 Fix #3138: Support DeviantArt login-only works. 2017-06-10 10:34:51 -05:00
evazion
cebf29f83e Allow escaping wildcards (\*) in wildcard searches. 2017-05-31 16:15:18 -05:00
evazion
302bc52bf8 post replacement: take guidelines from help:replacement_notice. 2017-05-17 00:14:41 -05:00
Albert Yi
6ddf0821d8 Merge pull request #3055 from evazion/feat-post-replacement-controller
Add post replacements controller.
2017-05-15 16:19:34 -07:00
evazion
648cc9ecb7 Move post replacement create action to post replacements controller. 2017-05-14 21:31:01 -05:00
evazion
cb09b6661d Add /post_replacements.json, /posts/1234/replacements.json. 2017-05-14 18:49:57 -05:00
evazion
91a97e37cb Fix #3051: disable S3 proxy by default. 2017-05-14 10:40:15 -05:00
Albert Yi
dc02dcf0e0 Merge pull request #3015 from evazion/feat-replace-images
Fix #2949: Sample image replacement ability
2017-05-12 17:11:29 -07:00
r888888888
2b74fe669e increase period for deleting mod actions 2017-05-08 13:49:55 -07:00
Albert Yi
f803137106 Merge pull request #3030 from evazion/feat-backups
Backup posts to S3 on creation/replacement
2017-05-08 13:39:41 -07:00
Albert Yi
56bd81912d Merge pull request #3029 from evazion/feat-job-control
Add ability to start/stop delayed jobs.
2017-05-08 13:14:40 -07:00
evazion
fb7e6c7e8e backups: default to s3 backup for production. 2017-05-05 22:54:39 -05:00
evazion
30a1f204e9 backups: add stub backup service. 2017-05-05 22:18:28 -05:00
evazion
1a058ebe9a delayed jobs: don't delete failed jobs. 2017-05-05 11:33:11 -05:00
evazion
9c9bf28db4 /delayed_jobs: add run, cancel, retry, delete actions. 2017-05-05 11:33:10 -05:00
evazion
7b5ae5f8e0 Fix #3024: strip '?' from API attributes. 2017-05-04 12:19:51 -05:00
evazion
df7cd67a7d post replacement: add POST /moderator/post/posts/replace endpoint. 2017-05-02 20:41:18 -05:00
r888888888
76eefd0ffe add support for deploying specific branch or commit 2017-04-22 01:16:47 -07:00
evazion
192190a313 initializers/z_dalli.rb: initialize Rails.cache. 2017-04-16 16:48:36 -05:00
r888888888
8376c33980 change staging unicorn to use unix socket 2017-04-06 14:01:53 -07:00
evazion
c402e15cca /iqdb_queries: support both GET and POST; add GET /posts/1/similar. 2017-04-05 18:01:16 -05:00
r888888888
b3e3012a9c link to upload advice thread for deleted posts 2017-03-22 16:33:14 -07:00
r888888888
c90de90291 increase range of s3 proxy 2017-03-20 14:01:19 -07:00
r888888888
da06bee0ab revamp saved search implementation 2017-03-15 15:36:48 -07:00
r888888888
e946d23fa7 enable s3 proxy (wave 1) 2017-03-09 18:18:06 -08: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
7f22baa1bc refactor upload tags report 2017-02-28 15:34:40 -08:00
Albert Yi
458a9692d6 Merge pull request #2864 from r888888888/upload_tags_report
Implement #2863: basic upload tags change report
2017-02-28 15:28:40 -08:00
evazion
b1af644f67 dmails: send automated dmails from Danbooru.config.system_user.
Sends automated dmails from `Danbooru.config.system_user`, rather than
whichever user is performing the action happens to be (usually User.admins.first).

Also adds a notice in the view that the dmail was automated.
2017-02-23 22:51:17 -06:00
evazion
865211b0b5 dmails: remove unused edit template and update route. 2017-02-23 22:51:17 -06:00
r888888888
6c9d5e4f9a remove advertisement code 2017-02-21 13:35:22 -08:00
r888888888
f4d9f76646 remove contributors report 2017-02-21 13:12:43 -08:00
r888888888
ce20a5b36a remove janitor trial report 2017-02-21 13:10:38 -08:00
r888888888
359f48d871 remove user promotions report 2017-02-21 13:09:43 -08:00
evazion
ebff8d04f7 config/application.rb: set hostname so root_url works. 2017-02-18 03:10:42 -06:00
r888888888
f374eec4a1 fixes #2869: Add way to differentiate Pool Descriptions from Pool History 2017-02-14 16:03:19 -08:00
evazion
951e6d4b5f Remove unused arbitrary_sql_order_clause.
Unused since f87c71c.
2017-02-06 19:07:04 -06:00
evazion
cf54cd1480 core_extensions.rb: remove unused String#to_escaped_js. 2017-02-06 19:07:04 -06:00
evazion
23038de470 posts_controller.rb: remove unused /posts/home action.
Unused since a4911e3.
2017-02-06 19:07:03 -06:00
evazion
7e1f63de6a landings_controller.rb: remove unused /landing route.
Broken since PopularPostExplorer was removed in 7269ec0.
2017-02-06 19:07:03 -06:00
Type-kun
1e8eceeba9 Implement basic upload tags change report 2017-01-27 18:28:15 +05:00
r888888888
fe86f40f92 avoid reinstantiating CustomConfiguration 2017-01-24 15:02:53 -08:00
r888888888
2aa7a8aa9c fix for statechecker 2017-01-24 14:32:06 -08:00
r888888888
e12d5e1290 fix cap files 2017-01-24 13:15:21 -08:00