mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-11-22 14:45:03 +01:00
Update notes for 2018-10-23
This commit is contained in:
parent
1f1860636e
commit
88728a42ad
@ -518,5 +518,28 @@ UPDATE 76608
|
|||||||
|
|
||||||
- Improve the usage rights (dc.rights) on CGSpace again by adding the long names in the submission form, as well as adding versio 3.0 and Creative Commons Zero (CC0) public domain license ([#399](https://github.com/ilri/DSpace/pull/399))
|
- Improve the usage rights (dc.rights) on CGSpace again by adding the long names in the submission form, as well as adding versio 3.0 and Creative Commons Zero (CC0) public domain license ([#399](https://github.com/ilri/DSpace/pull/399))
|
||||||
- Add "usage rights" to the XMLUI item display ([#400](https://github.com/ilri/DSpace/pull/400))
|
- Add "usage rights" to the XMLUI item display ([#400](https://github.com/ilri/DSpace/pull/400))
|
||||||
|
- I emailed the MARLO guys to ask if they can send us a dump of rights data and Handles from their system so we can tag our older items on CGSpace
|
||||||
|
- Testing REST login and logout via httpie because Felix from Earlham says he's having issues:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ http --print b POST 'https://dspacetest.cgiar.org/rest/login' email='testdeposit@cgiar.org' password=deposit
|
||||||
|
acef8a4a-41f3-4392-b870-e873790f696b
|
||||||
|
|
||||||
|
$ http POST 'https://dspacetest.cgiar.org/rest/logout' rest-dspace-token:acef8a4a-41f3-4392-b870-e873790f696b
|
||||||
|
```
|
||||||
|
|
||||||
|
- Also works via curl (login, check status, logout, check status):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl -H "Content-Type: application/json" --data '{"email":"testdeposit@cgiar.org", "password":"deposit"}' https://dspacetest.cgiar.org/rest/login
|
||||||
|
e09fb5e1-72b0-4811-a2e5-5c1cd78293cc
|
||||||
|
$ curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/status
|
||||||
|
{"okay":true,"authenticated":true,"email":"testdeposit@cgiar.org","fullname":"Test deposit","token":"e09fb5e1-72b0-4811-a2e5-5c1cd78293cc"}
|
||||||
|
$ curl -X POST -H "Content-Type: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/logout
|
||||||
|
$ curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/status
|
||||||
|
{"okay":true,"authenticated":false,"email":null,"fullname":null,"token":null}%
|
||||||
|
```
|
||||||
|
|
||||||
|
- Improve the documentatin of my [dspace-statistics-api](https://github.com/alanorth/dspace-statistics-api)
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<meta property="og:description" content="2018-10-01 Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now 2018-10-03 I see Moayad was busy collecting item views and downloads from CGSpace yesterday: # zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "02/Oct/2018" | awk '{print $1} ' | sort | uniq -c | sort -n | tail -n 10 933 40." />
|
<meta property="og:description" content="2018-10-01 Phil Thornton got an ORCID identifier so we need to add it to the list on CGSpace and tag his existing items I created a GitHub issue to track this #389, because I’m super busy in Nairobi right now 2018-10-03 I see Moayad was busy collecting item views and downloads from CGSpace yesterday: # zcat --force /var/log/nginx/*.log /var/log/nginx/*.log.1 | grep -E "02/Oct/2018" | awk '{print $1} ' | sort | uniq -c | sort -n | tail -n 10 933 40." />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-10/" /><meta property="article:published_time" content="2018-10-01T22:31:54+03:00"/>
|
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2018-10/" /><meta property="article:published_time" content="2018-10-01T22:31:54+03:00"/>
|
||||||
<meta property="article:modified_time" content="2018-10-22T18:02:19+03:00"/>
|
<meta property="article:modified_time" content="2018-10-23T11:29:17+03:00"/>
|
||||||
|
|
||||||
<meta name="twitter:card" content="summary"/>
|
<meta name="twitter:card" content="summary"/>
|
||||||
<meta name="twitter:title" content="October, 2018"/>
|
<meta name="twitter:title" content="October, 2018"/>
|
||||||
@ -24,9 +24,9 @@
|
|||||||
"@type": "BlogPosting",
|
"@type": "BlogPosting",
|
||||||
"headline": "October, 2018",
|
"headline": "October, 2018",
|
||||||
"url": "https://alanorth.github.io/cgspace-notes/2018-10/",
|
"url": "https://alanorth.github.io/cgspace-notes/2018-10/",
|
||||||
"wordCount": "3794",
|
"wordCount": "3922",
|
||||||
"datePublished": "2018-10-01T22:31:54+03:00",
|
"datePublished": "2018-10-01T22:31:54+03:00",
|
||||||
"dateModified": "2018-10-22T18:02:19+03:00",
|
"dateModified": "2018-10-23T11:29:17+03:00",
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Alan Orth"
|
"name": "Alan Orth"
|
||||||
@ -682,6 +682,31 @@ UPDATE 76608
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Improve the usage rights (dc.rights) on CGSpace again by adding the long names in the submission form, as well as adding versio 3.0 and Creative Commons Zero (CC0) public domain license (<a href="https://github.com/ilri/DSpace/pull/399">#399</a>)</li>
|
<li>Improve the usage rights (dc.rights) on CGSpace again by adding the long names in the submission form, as well as adding versio 3.0 and Creative Commons Zero (CC0) public domain license (<a href="https://github.com/ilri/DSpace/pull/399">#399</a>)</li>
|
||||||
<li>Add “usage rights” to the XMLUI item display (<a href="https://github.com/ilri/DSpace/pull/400">#400</a>)</li>
|
<li>Add “usage rights” to the XMLUI item display (<a href="https://github.com/ilri/DSpace/pull/400">#400</a>)</li>
|
||||||
|
<li>I emailed the MARLO guys to ask if they can send us a dump of rights data and Handles from their system so we can tag our older items on CGSpace</li>
|
||||||
|
<li>Testing REST login and logout via httpie because Felix from Earlham says he’s having issues:</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ http --print b POST 'https://dspacetest.cgiar.org/rest/login' email='testdeposit@cgiar.org' password=deposit
|
||||||
|
acef8a4a-41f3-4392-b870-e873790f696b
|
||||||
|
|
||||||
|
$ http POST 'https://dspacetest.cgiar.org/rest/logout' rest-dspace-token:acef8a4a-41f3-4392-b870-e873790f696b
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Also works via curl (login, check status, logout, check status):</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<pre><code>$ curl -H "Content-Type: application/json" --data '{"email":"testdeposit@cgiar.org", "password":"deposit"}' https://dspacetest.cgiar.org/rest/login
|
||||||
|
e09fb5e1-72b0-4811-a2e5-5c1cd78293cc
|
||||||
|
$ curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/status
|
||||||
|
{"okay":true,"authenticated":true,"email":"testdeposit@cgiar.org","fullname":"Test deposit","token":"e09fb5e1-72b0-4811-a2e5-5c1cd78293cc"}
|
||||||
|
$ curl -X POST -H "Content-Type: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/logout
|
||||||
|
$ curl -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "rest-dspace-token: e09fb5e1-72b0-4811-a2e5-5c1cd78293cc" https://dspacetest.cgiar.org/rest/status
|
||||||
|
{"okay":true,"authenticated":false,"email":null,"fullname":null,"token":null}%
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Improve the documentatin of my <a href="https://github.com/alanorth/dspace-statistics-api">dspace-statistics-api</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<!-- vim: set sw=2 ts=2: -->
|
<!-- vim: set sw=2 ts=2: -->
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/2018-10/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/2018-10/</loc>
|
||||||
<lastmod>2018-10-22T18:02:19+03:00</lastmod>
|
<lastmod>2018-10-23T11:29:17+03:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
@ -189,7 +189,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||||
<lastmod>2018-10-22T18:02:19+03:00</lastmod>
|
<lastmod>2018-10-23T11:29:17+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -200,7 +200,7 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||||
<lastmod>2018-10-22T18:02:19+03:00</lastmod>
|
<lastmod>2018-10-23T11:29:17+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
@ -212,13 +212,13 @@
|
|||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||||
<lastmod>2018-10-22T18:02:19+03:00</lastmod>
|
<lastmod>2018-10-23T11:29:17+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||||
<lastmod>2018-10-22T18:02:19+03:00</lastmod>
|
<lastmod>2018-10-23T11:29:17+03:00</lastmod>
|
||||||
<priority>0</priority>
|
<priority>0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user