[tor-commits] [tpo/master] Update press clips

2021-02-22 Thread hiro
commit 480cd6e513dae143bd6b9bee22d8445bfabf7625
Author: hiro 
Date:   Mon Feb 22 15:19:01 2021 +0100

Update press clips
---
 bin/csv_to_markdown| 46 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr"   | 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 content/press/privacy-isnt-radical/contents.lr | 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../contents.lr| 20 ++
 .../why-more-apps-should-integrate-tor/contents.lr | 20 ++
 31 files changed, 646 insertions(+)

diff --git a/bin/csv_to_markdown b/bin/csv_to_markdown
new file mode 100755
index ..fe0c697e
--- /dev/null
+++ b/bin/csv_to_markdown
@@ -0,0 +1,46 @@
+#!/usr/bin/python3
+
+import csv
+import os
+import re
+import sys
+
+
+csv_file = sys.argv[1]
+
+with open(csv_file, newline='') as csvfile:
+  spamreader = csv.reader(csvfile, delimiter=',', quotechar='"')
+  for row in spamreader:
+publisher = row[0]
+re_path = re.sub(r'[^\w\s]','',row[1]).lower()
+create_path = re.sub(' ','-',re_path)
+title = row[1]
+date = row[2].split('/')
+pub_date = "{}-{}-{}".format(date[2], date[0], date[1])
+link = row[3]
+full_path = 
os.path.join(os.getcwd(),"content/press/{}".format(create_path))
+if not os.path.exists(full_path):
+  os.mkdir(full_path)
+  filename = "{}/contents.lr".format(full_path)
+  file_object  = open(filename, 'w')
+  file_object.write("_model: post\n")
+  file_object.write("---\n")
+  file_object.write("_hidden: yes\n")
+  file_object.write("---\n")
+  file_object.write("active: True\n")
+  file_object.write("---\n")
+  file_object.write("type: snippet\n")
+  file_object.write("---\n")
+  file_object.write("publisher:  {}\n".format(publisher))
+  file_object.write("---\n")
+  file_object.write("title:  {}\n".format(title))
+  file_object.write("---\n")
+  file_object.write("link:  {}\n".format(link))
+  file_object.write("---\n")
+  file_object.write("pub_date:  {}\n".format(pub_date))
+  file_object.write("---\n")
+  file_object.write("summary: \n")
+  file_object.write("---\n")
+  file_object.write("body: \n")
+  file_object.write("---\n")
+  file_object.close()
diff --git 
a/content/press/11-rules-to-ensure-cyber-security-when-you-work-from-home/contents.lr
 
b/content/press/11-rules-to-ensure-cyber-security-when-you-work-from-home/contents.lr
new file mode 100644
index ..652c30d1
--- /dev/null
+++ 
b/content/press/11-rules-to-ensure-cyber-security-when-you-work-from-home/contents.lr
@@ -0,0 +1,20 @@
+_model: post
+---
+_hidden: yes
+---
+active: True
+---
+type: snippet
+---
+publisher:  Economic Times
+---
+title:  11 rules to ensure cyber security when you work from home
+---
+link:  
https://economictimes.indiatimes.com/magazines/panache/tape-the-webcam-enable-firewall-11-rules-to-ensure-cyber-security-when-you-work-from-home/articleshow/75005471.cms
+---
+pub_date:  2020-4-6
+---
+summary: 
+---
+body: 
+---
diff --git 
a/content/press/all-the-privacy-apps-you-should-have-downloaded-in-2020/contents.lr
 
b/content/press/all-the-privacy-apps-you-should-have-downloaded-in-2020/contents.lr
new file mode 

[tor-commits] [tpo/master] Update press page

2019-03-27 Thread hiro
commit e6c5c999faefa382161b3ce1c78f30f6467e1263
Author: hiro 
Date:   Wed Mar 27 10:36:49 2019 +0100

Update press page
---
 content/press/contents.lr | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/content/press/contents.lr b/content/press/contents.lr
index 2176b41..d360c09 100644
--- a/content/press/contents.lr
+++ b/content/press/contents.lr
@@ -2,10 +2,6 @@ _template: layout.html
 ---
 _model: press
 ---
-_discoverable: yes

-_hidden: no

 section: The Tor Project
 ---
 section_id: the_tor_project
@@ -16,4 +12,8 @@ color: primary
 ---
 title: Press
 ---
+_discoverable: yes
+---
+_hidden: no
+---
 body: Email inquiries to press[@]torproject.org.

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tpo/master] update press

2019-02-08 Thread hiro
commit 03692bac93bedbdcfbbab200a3717a1fb8c41375
Author: Antonela 
Date:   Thu Feb 7 17:37:13 2019 +0200

update press
---
 templates/press.html | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/templates/press.html b/templates/press.html
index 2a6fd82..e87b31e 100644
--- a/templates/press.html
+++ b/templates/press.html
@@ -1,9 +1,9 @@
 
   
 
-
+
   
-
+
Get support
   
 https://support.torproject.org/; 
title="Tor Project Support Portal" target="_blank">Visit our Support Portal
@@ -15,7 +15,10 @@
 http://lists.torproject.org/; 
title="Tor Project Mailing List" target="_blank">Write to a mailing list
   
 
-
+
+  
+
+
Brand Assets
 
   https://styleguide.torproject.org/visuals/#assets; title="The Tor Project 
Brand Assets" target="_blank">The Tor Project



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tpo/master] update press

2019-02-07 Thread hiro
commit 73001f52ea15631432c6ec654b118c8be2d94fa6
Author: Antonela 
Date:   Thu Feb 7 17:37:13 2019 +0200

update press
---
 templates/press.html | 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/templates/press.html b/templates/press.html
index 2a6fd82..e87b31e 100644
--- a/templates/press.html
+++ b/templates/press.html
@@ -1,9 +1,9 @@
 
   
 
-
+
   
-
+
Get support
   
 https://support.torproject.org/; 
title="Tor Project Support Portal" target="_blank">Visit our Support Portal
@@ -15,7 +15,10 @@
 http://lists.torproject.org/; 
title="Tor Project Mailing List" target="_blank">Write to a mailing list
   
 
-
+
+  
+
+
Brand Assets
 
   https://styleguide.torproject.org/visuals/#assets; title="The Tor Project 
Brand Assets" target="_blank">The Tor Project

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tpo/master] Update press releases

2019-02-07 Thread hiro
commit 1db8b10211a045b43de90d4f93b4a3cd44a8ec78
Author: hiro 
Date:   Thu Feb 7 14:49:56 2019 +0100

Update press releases
---
 content/press/new-release-tails/contents.lr | 18 ++
 1 file changed, 18 insertions(+)

diff --git a/content/press/new-release-tails/contents.lr 
b/content/press/new-release-tails/contents.lr
new file mode 100644
index 000..70b4728
--- /dev/null
+++ b/content/press/new-release-tails/contents.lr
@@ -0,0 +1,18 @@
+_model: post
+---
+active: True
+---
+type: release
+---
+title: New Release: Tails 3.12
+---
+link: https://blog.torproject.org/new-release-tails-312
+---
+summary:
+
+This release fixes many security vulnerabilities. You should upgrade as soon 
as possible.
+
+The biggest news for 3.12 is that we completely changed the installation 
methods for Tails.
+
+---
+body:

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tpo/master] Update press releases

2019-02-07 Thread hiro
commit c0aaafae600dad57b4bc7e4e05072c0b86e5ea87
Author: hiro 
Date:   Thu Feb 7 14:47:38 2019 +0100

Update press releases
---
 content/press/new-release-tor/contents.lr | 16 
 1 file changed, 16 insertions(+)

diff --git a/content/press/new-release-tor/contents.lr 
b/content/press/new-release-tor/contents.lr
new file mode 100644
index 000..076f933
--- /dev/null
+++ b/content/press/new-release-tor/contents.lr
@@ -0,0 +1,16 @@
+_model: post
+---
+active: True
+---
+type: release
+---
+title: New Release: Tor 0.4.0.1-alpha
+---
+link: https://blog.torproject.org/new-release-tor-0401-alpha
+---
+summary:
+
+There's a new alpha release available for download. If you build Tor from 
source, you can download the source code for 0.4.0.1-alpha from the usual place 
on the website.
+
+---
+body:

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits