From ba5e43d12798ddf76f796283e5e723ca9c118792 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Fri, 12 Aug 2016 11:39:55 -0700 Subject: [PATCH] updated rules about self artwork --- app/models/post.rb | 3 +-- app/views/static/terms_of_service.html.erb | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/post.rb b/app/models/post.rb index 02bebd461..4e9097e03 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -1377,12 +1377,11 @@ class Post < ActiveRecord::Base def notify_pubsub return unless Danbooru.config.google_api_project - require 'google/apis/pubsub_v1' pubsub = Google::Apis::PubsubV1::PubsubService.new pubsub.authorization = Google::Auth.get_application_default([Google::Apis::PubsubV1::AUTH_PUBSUB]) topic = "projects/#{Danbooru.config.google_api_project}/topics/post_updates" request = Google::Apis::PubsubV1::PublishRequest.new(messages: []) - request.messages << Google::Apis::PubsubV1::Message.new(data: id.to_s) + request.messages << Google::Apis::PubsubV1::Message.new(data: "1") pubsub.publish_topic(topic, request) end end diff --git a/app/views/static/terms_of_service.html.erb b/app/views/static/terms_of_service.html.erb index 448b4528c..40c9c5ea3 100644 --- a/app/views/static/terms_of_service.html.erb +++ b/app/views/static/terms_of_service.html.erb @@ -30,6 +30,7 @@
  • Western: Drawings of characters from non-Japanese comics, games, and other properties.
  • Furry: Any explicit image where a person's skin is made of fur or scales.
  • Grotesque: Any depiction of extreme mutilation, extreme bodily distension, feces, or bodies that are far outside the realm of normal human proportion (for example, breasts that are larger than three heads in size or penises that are larger than two heads in size).
  • +
  • Self Artwork: You can upload your own artwork but be aware that Danbooru is not a place to expect positive reinforcement. Your uploads will be subject to the same standards as everything else and may be flagged, downvoted, or even deleted. If you don't want to risk experiencing these things then don't upload your art.
  • The following may be uploaded but are generally not recommended unless a better copy cannot be found:

    @@ -64,7 +65,7 @@

    Recent Changes