From 24bbc3d1a354377fc360c1e3a8896e953da82978 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 6 Nov 2018 11:36:04 +0200 Subject: [PATCH] Update notes --- content/posts/2018-11.md | 7 +++++++ docs/2018-11/index.html | 17 ++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/content/posts/2018-11.md b/content/posts/2018-11.md index 448f32fb2..b8e270da9 100644 --- a/content/posts/2018-11.md +++ b/content/posts/2018-11.md @@ -232,6 +232,9 @@ $ grep -c -E 'session_id=[A-Z0-9]{32}:ip_addr=2a03:2880:11ff' dspace.log.2018-11 - I added the "most-popular" pages to the list that return `X-Robots-Tag: none` to try to inform bots not to index or follow those pages - Also, I implemented an nginx rate limit of twelve requests per minute on all dynamic pages... I figure a human user might legitimately request one every five seconds + +## 2018-11-05 + - I wrote a small Python script [add-dc-rights.py](https://gist.github.com/alanorth/4ff81d5f65613814a66cb6f84fdf1fc5) to add usage rights (`dc.rights`) to CGSpace items based on the CSV Hector gave me from MARLO: ``` @@ -254,4 +257,8 @@ $ ./add-dc-rights.py -i /tmp/marlo.csv -db dspace -u dspace -p 'fuuu' - 29,000 requests from Facebook, 29,000 Tomcat sessions, and none of the requests are to the dynamic pages I rate limited yesterday! +## 2018-11-06 + +- I updated all the [DSpace helper Python scripts](https://github.com/ilri/DSpace/wiki/Scripts) to validate against PEP 8 using Flake8 + diff --git a/docs/2018-11/index.html b/docs/2018-11/index.html index e370258f0..4ee52fcc1 100644 --- a/docs/2018-11/index.html +++ b/docs/2018-11/index.html @@ -23,7 +23,7 @@ Today these are the top 10 IPs: " /> - + @@ -52,9 +52,9 @@ Today these are the top 10 IPs: "@type": "BlogPosting", "headline": "November, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-11/", - "wordCount": "1129", + "wordCount": "1146", "datePublished": "2018-11-01T16:41:30+02:00", - "dateModified": "2018-11-05T17:45:39+02:00", + "dateModified": "2018-11-06T00:04:18+02:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -368,6 +368,11 @@ Today these are the top 10 IPs: + +

2018-11-05

+ + @@ -393,6 +398,12 @@ Today these are the top 10 IPs:
  • 29,000 requests from Facebook, 29,000 Tomcat sessions, and none of the requests are to the dynamic pages I rate limited yesterday!
  • +

    2018-11-06

    + + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 18edea762..6cf925e10 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-11/ - 2018-11-05T17:45:39+02:00 + 2018-11-06T00:04:18+02:00 @@ -194,7 +194,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-11-05T17:45:39+02:00 + 2018-11-06T00:04:18+02:00 0 @@ -205,7 +205,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-11-05T17:45:39+02:00 + 2018-11-06T00:04:18+02:00 0 @@ -217,13 +217,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-11-05T17:45:39+02:00 + 2018-11-06T00:04:18+02:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-11-05T17:45:39+02:00 + 2018-11-06T00:04:18+02:00 0