Skip to content

Commit

Permalink
Add DMCA page
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcompton committed Mar 16, 2017
1 parent c08cf1b commit b3a64aa
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 2 deletions.
45 changes: 45 additions & 0 deletions resources/dmca.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<div class="small-section raw-text">
<script type="application/ld+json">
{"@context":"http://schema.org",
"@type":"BreadcrumbList",
"itemListElement":[{"@type":"ListItem",
"position":1,
"item":{"@id":"https://clojars.org/dmca","name":"DMCA"}}]}

</script>

<h2 id="copyright-agent">Copyright Agent</h2>

<p>If material on Clojars infringes your copyright, please send a notice to
or write:</p>
<pre>
Software Freedom Conservancy Inc.
Attn: Copyright Agent
137 Montague St Ste 380
Brooklyn, NY 11201-3548
USA
</pre>

<p>You can phone Conservancy at +1&nbsp;(212)&nbsp;461&nbsp;3245.</p>

<p>Please ensure that your notice identifies the copyrighted work being infringed; the Clojars package(s) that
infringe those copyrights; and contact information for the copyright holder or their agent filing the complaint.
Please note that all infringement notices will be forwarded to the <a href="https://www.lumendatabase.org/">Lumen
Database</a> for publication and analysis.</p>

<h2 id="account-termination-policy-for-repeat-infringers">Account Termination Policy for Repeat Infringers</h2>

<p>Clojars will terminate any account that infringes other parties' copyrights three times in a rolling 365-day
window. An infringement occurs when:</p>

<ul>
<li><p>Clojars receives a valid notice to take down material, and the account holder does not respond to it within 14
days; or</p></li>
<li><p>a court rules the account holder distributed infringing material on Clojars, and the ruling is not
appealed.</p></li>
</ul>

<p>Clojars may also terminate accounts when it determines the account holder has engaged in willful or egregious
infringement, negatively impacting the service.</p>

</div>
12 changes: 12 additions & 0 deletions resources/public/stylesheets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -589,3 +589,15 @@ pre.error-id {
text-align: center;
margin-top: 10px;
}

.raw-text p, .raw-text li, .raw-text ul {
margin-bottom: 14px;
}

.raw-text ul {
padding-left: 40px;
}

.raw-text li {
list-style-type: initial;
}
4 changes: 4 additions & 0 deletions src/clojars/web.clj
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
(try-account
#(html-doc "Security" {:account %}
(raw (slurp (io/resource "security.html"))))))
(GET "/dmca" []
(try-account
#(html-doc "DMCA" {:account %}
(raw (slurp (io/resource "dmca.html"))))))
session/routes
(group/routes db)
(artifact/routes db reporter stats)
Expand Down
5 changes: 3 additions & 2 deletions src/clojars/web/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
(link-to "https://github.com/clojars/clojars-web/wiki/Contact" "contact")
(link-to "https://github.com/clojars/clojars-web" "code")
(link-to "/security" "security")
(link-to "/dmca" "DMCA")
(link-to "https://github.com/clojars/clojars-web/wiki/" "help")
[:div.sponsors
[:div.row
Expand Down Expand Up @@ -72,13 +73,13 @@
[:footer.row]))

(defn google-analytics-js []
[:script "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
[:script (raw "(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-51806851-1', 'clojars.org');
ga('send', 'pageview');"])
ga('send', 'pageview');")])

(defn typekit-js []
[:script "try{Typekit.load({async:true});}catch(e){}"])
Expand Down

0 comments on commit b3a64aa

Please sign in to comment.