Skip to content

Commit b3a64aa

Browse files
committed
Add DMCA page
1 parent c08cf1b commit b3a64aa

File tree

4 files changed

+64
-2
lines changed

4 files changed

+64
-2
lines changed

resources/dmca.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<div class="small-section raw-text">
2+
<script type="application/ld+json">
3+
{"@context":"http://schema.org",
4+
"@type":"BreadcrumbList",
5+
"itemListElement":[{"@type":"ListItem",
6+
"position":1,
7+
"item":{"@id":"https://clojars.org/dmca","name":"DMCA"}}]}
8+
9+
</script>
10+
11+
<h2 id="copyright-agent">Copyright Agent</h2>
12+
13+
<p>If material on Clojars infringes your copyright, please send a notice to
14+
or write:</p>
15+
<pre>
16+
Software Freedom Conservancy Inc.
17+
Attn: Copyright Agent
18+
137 Montague St Ste 380
19+
Brooklyn, NY 11201-3548
20+
USA
21+
</pre>
22+
23+
<p>You can phone Conservancy at +1&nbsp;(212)&nbsp;461&nbsp;3245.</p>
24+
25+
<p>Please ensure that your notice identifies the copyrighted work being infringed; the Clojars package(s) that
26+
infringe those copyrights; and contact information for the copyright holder or their agent filing the complaint.
27+
Please note that all infringement notices will be forwarded to the <a href="https://www.lumendatabase.org/">Lumen
28+
Database</a> for publication and analysis.</p>
29+
30+
<h2 id="account-termination-policy-for-repeat-infringers">Account Termination Policy for Repeat Infringers</h2>
31+
32+
<p>Clojars will terminate any account that infringes other parties' copyrights three times in a rolling 365-day
33+
window. An infringement occurs when:</p>
34+
35+
<ul>
36+
<li><p>Clojars receives a valid notice to take down material, and the account holder does not respond to it within 14
37+
days; or</p></li>
38+
<li><p>a court rules the account holder distributed infringing material on Clojars, and the ruling is not
39+
appealed.</p></li>
40+
</ul>
41+
42+
<p>Clojars may also terminate accounts when it determines the account holder has engaged in willful or egregious
43+
infringement, negatively impacting the service.</p>
44+
45+
</div>

resources/public/stylesheets/screen.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,3 +589,15 @@ pre.error-id {
589589
text-align: center;
590590
margin-top: 10px;
591591
}
592+
593+
.raw-text p, .raw-text li, .raw-text ul {
594+
margin-bottom: 14px;
595+
}
596+
597+
.raw-text ul {
598+
padding-left: 40px;
599+
}
600+
601+
.raw-text li {
602+
list-style-type: initial;
603+
}

src/clojars/web.clj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
(try-account
7777
#(html-doc "Security" {:account %}
7878
(raw (slurp (io/resource "security.html"))))))
79+
(GET "/dmca" []
80+
(try-account
81+
#(html-doc "DMCA" {:account %}
82+
(raw (slurp (io/resource "dmca.html"))))))
7983
session/routes
8084
(group/routes db)
8185
(artifact/routes db reporter stats)

src/clojars/web/common.clj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
(link-to "https://github.com/clojars/clojars-web/wiki/Contact" "contact")
3131
(link-to "https://github.com/clojars/clojars-web" "code")
3232
(link-to "/security" "security")
33+
(link-to "/dmca" "DMCA")
3334
(link-to "https://github.com/clojars/clojars-web/wiki/" "help")
3435
[:div.sponsors
3536
[:div.row
@@ -72,13 +73,13 @@
7273
[:footer.row]))
7374

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

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

0 commit comments

Comments
 (0)