Merge pull request #231 from Gluejar/b2u_cleanup

B2u cleanup
pull/1/head
Raymond Yee 2013-11-06 15:39:44 -08:00
commit acf346c191
17 changed files with 91 additions and 56 deletions

View File

@ -144,6 +144,20 @@ class Claim(models.Model):
return True
def __unicode__(self):
return self.work.title
def notify_claim(sender, created, instance, **kwargs):
if 'example.org' in instance.user.email:
return
try:
(rights, new_rights) = User.objects.get_or_create(email='rights@gluejar.com',defaults={'username':'RightsatUnglueit'})
except:
rights = None
if instance.user == instance.rights_holder.owner:
ul=(instance.user, rights)
else:
ul=(instance.user, instance.rights_holder.owner, rights)
notification.send(ul, "rights_holder_claim", {'claim': instance,})
post_save.connect(notify_claim,sender=Claim)
class RightsHolder(models.Model):
created = models.DateTimeField(auto_now_add=True)

View File

@ -110,7 +110,7 @@ def create_notice_types(app, created_models, verbosity, **kwargs):
notification.create_notice_type("pledge_charged", _("Your Pledge has been Executed"), _("You have contributed to a successful ungluing campaign."))
notification.create_notice_type("pledge_failed", _("Unable to charge your credit card"), _("A charge to your credit card did not go through."))
notification.create_notice_type("rights_holder_created", _("Agreement Accepted"), _("You have become a verified Unglue.it rights holder."))
notification.create_notice_type("rights_holder_claim_approved", _("Claim Accepted"), _("A claim you've entered has been accepted."))
notification.create_notice_type("rights_holder_claim", _("Claim Entered"), _("A claim has been entered."))
notification.create_notice_type("wishlist_unsuccessful_amazon", _("Campaign shut down"), _("An ungluing campaign that you supported had to be shut down due to an Amazon Payments policy change."))
notification.create_notice_type("pledge_donation_credit", _("Donation Credit Balance"), _("You have a donation credit balance"))
notification.create_notice_type("new_wisher", _("New wisher"), _("Someone new has wished for a book that you're the rightsholder for"))

View File

@ -22,7 +22,7 @@
<dt>What are Ungluing Campaigns?</dt>
<dd>There are two types of Ungluing Campaigns, Pledge Campaigns and Buy-to-Unglue Campaigns.
<dd>There are two types of Ungluing Campaigns: Pledge Campaigns and Buy-to-Unglue Campaigns.
<ul>
<li> In a <i>Pledge Campaign</i>, book lovers pledge their support for ungluing a book. If enough support is found to reach the goal (and only then), the supporter's credit cards are charged, and an unglued ebook is released.</li>
<li> In a <i>Buy-to-Unglue Campaign</i>, every ebook copy sold moves the book's ungluing date closer to the present. And you can donate ebooks to your local library- that's something you can't do in the Kindle or Apple Stores!
@ -38,7 +38,7 @@ In other words, crowdfunding is working together to support something you love.
<dt>What does it cost?</dt>
<dd>Unglue.it is free to join. Many of the things you can do here -- discovering books, adding them them to your list, downloading unglued books, commenting, sharing -- are free too.
<dd>Unglue.it is free to join. Many of the things you can do here -- discovering books, adding them to your list, downloading unglued books, commenting, sharing -- are free too.
<br /><br /> If you choose to support a Pledge Campaign, you may pledge whatever amount you're comfortable with. Your credit card will only be charged if the campaign reaches its goal price.<br /><br /> If you choose to buy an unglue.it ebook, you can read it anywhere you like - there's no restrictive DRM.
<br /><br />
If you hold the electronic rights to a book, starting campaigns is free, too. You only pay Unglue.it a fraction of your revenue. For the basics on campaigns, see the FAQ on <a href="/faq/campaigns/">Campaigns</a>; for more details, see the <a href="/faq/rightsholders/">FAQ for Rights Holders</a>.</dd>
@ -178,11 +178,11 @@ If you receive our newsletter, there's a link at the bottom of every message to
<dt>How can I claim a work for which I am the rights holder?</dt>
<dd>On every book page there is a More... tab. If you have a signed Platform Services Agreement on file, one of the options on the More... tab will be "Claim This Work". If you represent more than one rights holder, choose the correct one for this work and click "Claim".<br /><br />If you expect to see that and do not, either we do not have a PSA from you yet, or we have not yet verified and filed it. Please contact us at <a href="mailto:rights@gluejar.com">rights@gluejar.com</a>.</dd>
<dd>On every book page there is a More... tab. If you have a signed Platform Services Agreement on file, one of the options on the More... tab will be "Claim This Work". If you represent more than one rights holder, choose the correct one for this work and click "Claim".<br /><br />If you expect to see a "Claim" button and do not, either we do not have a PSA from you yet, or we have not yet verified and filed it. Please contact us at <a href="mailto:rights@gluejar.com">rights@gluejar.com</a>.</dd>
<dt>Why should I claim my works?</dt>
<dd>You need to claim a work before you will be able to start a campaign for it. Additionally, we're working new features for verified rights holders which will help you show off your works and connect to your readers. Claiming your works will let you take advantage of these features in the future.</dd>
<dd>You need to claim a work before you will be able to start a campaign for it. Additionally, we're adding features for verified rights holders which will help you show off your works and connect to your readers. Claiming your works will let you take advantage of these features in the future.</dd>
<dt>Can I have more than one campaign?</dt>
@ -486,9 +486,6 @@ Need more ideas? We're happy to work with rights holders personally to craft a
<dd>We automatically generate those lists from the books with the most (or most recent) wishes, pledges, and comments. The more people you can rally to show their love of your book, the more likely it is to be featured there.</dd>
<dt>How can I get press coverage or social media buzz for my campaign?</dt>
<dd>We're developing a social media toolkit to help you with this; stay tuned. We're also happy to work with you one-on-one. Email <a href="mailto:support@gluejar.com">support@gluejar.com</a>.
</dl>
{% endif %}
{% if sublocation == 'conversion' or sublocation == 'all' %}
@ -558,7 +555,7 @@ Need more ideas? We're happy to work with rights holders personally to craft a
<dt>What happens if my Pledge Campaign doesn't reach its funding goal by its deadline?</dt>
<dd>The campaign ends. Supporters' credit cards are not charged, so you are not paid, and not obligated to release an unglued ebook.<br /><br />
<dd>The campaign ends. Supporters' credit cards are not charged, so you are not paid and not obligated to release an unglued ebook.<br /><br />
If you're concerned a campaign may not reach its goal you have several options. You can lower the target price to a level more likely to succeed. Or you are welcome to run a second campaign at a later time, perhaps with a different goal, duration, and publicity strategy. We'd be happy to consult with you about this.</dd>
<dt>What happens if my Buy-to-Unglue Campaign doesn't reach its revenue goal by its termination?</dt>

View File

@ -1,4 +1,4 @@
{% load humanize %}Congratulations!
{% load humanize %}An Ungluing!
Thanks to you and other ungluers, {{ transaction.campaign.work.title }} will be released to the world in an unglued ebook edition. Your credit card has been charged ${{ transaction.amount|intcomma }}.

View File

@ -0,0 +1,23 @@
{% ifequal claim.status 'active' %}
{{ claim.rights_holder }}'s claim to {{ claim.work }} on Unglue.it has been approved.
You are now free to start a campaign to sell or unglue your work. If you're logged in, you will see the option to open a campaign at https://{{ current_site.domain }}/rightsholders . (You can also find this page by clicking on "Rights Holder Tools" at the bottom of any Unglue.it page.)
To run a campaign, you'll need to set up campaign parameters. You'll also need to write a pitch. This will appear in the Description tab on your book's page (https://{{ current_site.domain }}{% url work claim.work.id %}). Think about who your book's audience is, and remind them why they'll love this book -- your pitch is not a catalog page! We encourage video, audio, and links to make your pitch come alive. Feel free to email us (rights@gluejar.com) if you need any help with this.
If you're running a Pledge Campaign, you need to decide on a funding target, and you should also come up with some custom premiums to reward ungluers for supporting your book. Again, we can help you if you need ideas for what these should be or how to price them.
If you're running a Buy-to-Unglue Campaign, now is the time to upload your EPUB file and decide on revenue targets and pricing for individual and library licenses.
Finally, think about how you're going to publicize your campaign: social media, newsletters, media contacts, professional organizations, et cetera. Have a plan for how to reach out to these potential supporters before you launch your campaign. Your supporters' sense of connection with you and your book is key to your campaign's success. Again, email us if you'd like help.
We're thrilled to be working with you.
{% endifequal %}
{% ifequal claim.status 'pending' %}
{{ claim.rights_holder }}'s claim to {{ claim.work }} on Unglue.it has been entered. Our team will examine the claim and get back to you soon.
{% endifequal %}
{% ifequal claim.status 'release' %}
{{ claim.rights_holder }}'s claim to {{ claim.work }} on Unglue.it has been released. email us (rights@gluejar.com) if you have any questions about this.
{% endifequal %}
The Unglue.it team

View File

@ -0,0 +1,23 @@
{% extends "notification/notice_template.html" %}
{% block comments_book %}
<a href="{% url work claim.work.id %}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ claim.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
{{ claim.rights_holder }}'s Claim to {{ claim.work.title }} is now {{ claim.status }}.
{% endblock %}
{% block comments_textual %}
{{ claim.rights_holder }}'s Claim to {{ claim.work.title }} is now {{ claim.status }}.
<br /><br />
{% ifequal claim.status 'active' %}
To get started on the on a campaign, please visit <a href="{% url rightsholders %}">rights holder tools page</a> (also available through a link at the bottom of every page). Contact us at support@gluejar.com if you need any help.
{% endifequal %}
{% ifequal claim.status 'pending' %}
The claim will be examined, and we'll email you. Contact us at support@gluejar.com if you need any help.
{% endifequal %}
{% ifequal claim.status 'release' %}
The claim has been released. Contact us at rights@gluejar.com if you have questions.
{% endifequal %}
{% endblock %}

View File

@ -0,0 +1 @@
{{ claim.rights_holder }}'s claim to {{ claim.work }} is now {{ claim.status }}

View File

@ -1,13 +0,0 @@
Congratulations! Your claim to {{ claim.work }} on Unglue.it has been approved.
You are now free to run a campaign to unglue your work. If you're logged in, you will see the option to open a campaign at https://{{ current_site.domain }}/rightsholders . (You can also find this page by clicking on "Rights Holder Tools" at the bottom of any Unglue.it page.)
To run a campaign, you'll need to select a target price and a deadline. You'll also need to write a pitch. This will appear in the Description tab on your book's page (https://{{ current_site.domain }}{% url work claim.work.id %}). Think about who your book's audience is, and remind them why they love this book -- your pitch is not a catalog page! We encourage video, audio, and links to make your pitch come alive. Feel free to email us (rights@gluejar.com) if you need any help with this.
You should also come up with some custom premiums to reward ungluers for supporting your book. Again, we can help you if you need ideas for what these should be or how to price them.
Finally, think about how you're going to publicize your campaign: social media, newsletters, media contacts, professional organizations, et cetera. Have a plan for how to reach out to these potential supporters before you launch your campaign. Your supporters' sense of connection with you and your book is key to your campaign's success. Again, email us if you'd like help.
We're thrilled to be working with you.
The Unglue.it team

View File

@ -1,13 +0,0 @@
{% extends "notification/notice_template.html" %}
{% block comments_book %}
<a href="{% url work claim.work.id %}"><img src="{{ claim.work.cover_image_small }}" alt="cover image for {{ claim.work.title }}" /></a>
{% endblock %}
{% block comments_graphical %}
Congratulations! Your claim to {{ claim.work.title }} has been approved.
{% endblock %}
{% block comments_textual %}
You are now free to run campaigns for this work. See your email for full details. Then get started on the <a href="/rightsholders/">rights holder tools page</a> (also available through a link at the bottom of every page). Contact us if you need any help.
{% endblock %}

View File

@ -1 +0,0 @@
Congratulations! Your claim to {{ claim.work }} has been approved.

View File

@ -1,4 +1,4 @@
Congratulations! Your Platform Services Agreement has been accepted and you're now an official Unglue.it rights holder.
Your Platform Services Agreement has been accepted and you're now an official Unglue.it rights holder.
Here's what to do next. Find your book(s) on Unglue.it. On the More... tab of the book page, you'll now see an option to claim the book. Do this. We'll follow up. Once we've approved your claim, you'll be able to run campaigns for the book.

View File

@ -1,4 +1,4 @@
{% extends "notification/notice_template.html" %}
{% block comments_textual %}
Congratulations! You are now an approved rights holder on Unglue.it. For your next step, find your works in our database and claim them (under the More... tab). See your email for more details.
You are now an approved rights holder on Unglue.it. For your next step, find your works in our database and claim them (under the More... tab). See your email for more details.
{% endblock %}

View File

@ -1 +1 @@
Congratulations! You're now a confirmed rights holder on Unglue.it.
You're now a confirmed rights holder on Unglue.it.

View File

@ -1,4 +1,4 @@
{% load humanize %}{% ifequal campaign.type 1 %}Congratulations, you wished for it, and now there is an active Campaign for {{ campaign.work.title }} to be unglued. If ungluers like you pledge ${{ campaign.target|intcomma }} by {{ campaign.deadline }}, this book will be released under a Creative Commons license for everyone to enjoy.
{% load humanize %}{% ifequal campaign.type 1 %}You wished for it, and now there is an active Campaign for {{ campaign.work.title }} to be unglued. If ungluers like you pledge ${{ campaign.target|intcomma }} by {{ campaign.deadline }}, this book will be released under a Creative Commons license for everyone to enjoy.
You can help!

View File

@ -1,4 +1,4 @@
{% if pledged %}Congratulations! You pledged toward{% else %}Hooray! You wished for{% endif %} it, and now the campaign
{% if pledged %}You pledged toward{% else %}Hooray! You wished for{% endif %} it, and now the campaign
for {{ campaign.work.title}} (https://{{current_site.domain}}{% url work campaign.work.id %}) has succeeded.
You will notified when an Unglued ebook edition is available, within 90 days.

View File

@ -122,9 +122,9 @@
</span>
</label>
{% else %}
<a href="{% url library_list %}"><span class="menu-item-desc">
Join a Library to share and borrow unglue.it ebooks
</span></a>
<span class="menu-item-desc">
If you <a href="{% url library_list %}">join a Library</a>, you can share and borrow unglue.it ebooks!
</span>
{% endif %}
</li>
{% endwith %}

View File

@ -173,41 +173,45 @@ Any questions not covered here? Please email us at <a href="mailto:rights@gluej
<h2>How to launch an Unglue.it campaign</h2>
<ol>
{% if not request.user.is_authenticated %}<li>{% else %}<li class="checked">{% endif %}Set up an Unglue.it account (start at the Sign Up button at the top of the page).</li>
{% if not request.user.rights_holder.count %}<li>{% else %}<li class="checked">{% endif %}Email rights@gluejar.com about becoming an authorized rights holder.</li>
{% if not request.user.is_authenticated %}
<li>Set up an Unglue.it account. (<a href="{% url registration_register %}?next={% url rightsholders %}">Click here</a> or use the Sign Up button at the top of the page).</li>
{% else %}
<li class="checked">You've already set up an Unglue.it account.</li>
{% endif %}
{% if not request.user.rights_holder.count %}<li>{% else %}<li class="checked">{% endif %}Email <a href="mailto:rights@gluejar.com?subject=Becoming%20an%20authorized%20rights%20holder">rights@gluejar.com</a> about becoming an authorized rights holder.</li>
{% if not request.user.rights_holder.count %}<li>{% else %}<li class="checked">{% endif %}After we review your credentials, sign a Platform Services Agreement (available from us).</li>
<li>Claim your work(s)...
<ul>
<li>Find them through the search box at the top of every page.</li>
<li>Use the Claim option on the More... tab of each book's page.</li>
<li>Agree to our <a href="{{ termsurl }}">Terms</a> on the following page. This includes agreeing that you are making the claim in good faith and can substantiate that you have legal control over worldwide electronic rights to the work.</li>
<li>If you have any questions or you claim a work by mistake, email us.</li>
<li>If you have any questions or you claim a work by mistake, <a href="mailto:rights@gluejar.com?subject=claiming%20works">email us</a>.</li>
<li>We will review your claim. We may contact you at {{ request.user.email }} if we have any questions. If this is the wrong email address, please <a href="{% url regluit.frontend.views.edit_user %}">change the email address</a> for your account.</li>
</ul></li>
<li>...or send us metadata for books you have rights to.
<ul>
<li>Your ebooks must have ISBNs assigned.</li>
<li>Your metadata should have title, authors, language, description.</li>
<li>Contact us to load ONIX or CSV files for you.</li>
<li><a href="mailto:support@gluejar.com?subject=loading%20metadata">Contact us</a> to load ONIX or CSV files for you.</li>
</ul></li>
<li>Once your claim is approved, you can set up a campaign for it. All the campaigns you can manage will be listed on this page.</li>
<li>You may optionally add other Unglue.it users as campaign managers, if you'd like them to be able to edit your campaign. That option will also appear on this page.</li>
<li>Once your claim is approved (you should get an email), you can set up a campaign for it. All the campaigns you can manage will be listed on this page, above.</li>
<li>You may optionally add other Unglue.it users as campaign managers, if you'd like them to be able to edit your campaign. That option will also appear on this page, above.</li>
</ol>
<h2>Campaigns </h2>
<p> if you have an EPUB file ready to sell, you should use a "Buy to Unglue" campaign. Otherwise, you'll want to offer rewards in a "Pledge" campaign. </p>
<p>For Pledge campaigns, you can run campaigns for books that exist only as print or are out of print.
<p>For Pledge campaigns, you can run campaigns for books that haven't been converted to digital.
Any print book can be scanned to create a digital file that can then become an ePub-format unglued ebook to be released after the Pledge Campaign succeeds.</p>
<h3>Files for Buy-to-Unglue Campaigns</h3>
<p>Buy-to-Unglue is a program that delivering sales revenue for downloads. To make that happen, you'll need to upload an epub file for each book.
There are no “rewards” for a “Buy to Unglue” campaign, but you may offer time-limited, special price promotions for the ebook download.</p>
<h2>Buy-to-Unglue Campaigns</h2>
<p>Buy-to-Unglue is a program that sells ebook licenses to reach the campaign goal. To enable ebook sales, you'll need to upload an epub file for each book.
There are no “rewards” for a “Buy to Unglue” campaign, but you may offer time-limited, special price promotions for the ebook.</p>
<p>
A Buy-to-Unglue Campaign provides long-term promotion and sales opportunities for your ebook before it becomes an Unglued Ebook. Until the revenue goal is reached, supporters and libraries know that every book that gets purchased through Unglue.it brings the ungluing date closer to the present.
</p>
<h3>Rewards for Pledge Campaigns</h3>
<h2>Rewards for Pledge Campaigns</h2>
<p>Campaigns run for a short period (2-6 months) and can have rewards as a way to motivate and thank supporters for helping to reach your goal. You are strongly encouraged to add rewards - they are given special prominence on the campaign page.</p>