Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP pull request - ERC viewable as galley #1

Merged
merged 15 commits into from
Jul 9, 2021
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported byopening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the Contributor Covenant (http:contributor-covenant.org), version 1.0.0, available at http://contributor-covenant.org/version/1/0/0/
875 changes: 674 additions & 201 deletions LICENSE
100644 → 100755

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# ojs-erc-plugin
A plugin to publish Executable Research Compendia on OJS
OJS-ERC-Plugin

*Plugin for making (E)RC uploadable, viewable, manipulateable in the article view.*

work in progress

# Contribute

All help is welcome: asking questions, providing documentation, testing, or even development.

Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md).
By participating in this project you agree to abide by its terms.
26 changes: 26 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"files": {
"main.css": "./static/css/main.5b4a0fad.chunk.css",
"main.js": "./static/js/main.e1feb570.chunk.js",
"main.js.map": "./static/js/main.e1feb570.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.1cd5c833.js",
"runtime-main.js.map": "./static/js/runtime-main.1cd5c833.js.map",
"static/css/2.48fcd7aa.chunk.css": "./static/css/2.48fcd7aa.chunk.css",
"static/js/2.839101b7.chunk.js": "./static/js/2.839101b7.chunk.js",
"static/js/2.839101b7.chunk.js.map": "./static/js/2.839101b7.chunk.js.map",
"index.html": "./index.html",
"static/css/2.48fcd7aa.chunk.css.map": "./static/css/2.48fcd7aa.chunk.css.map",
"static/css/main.5b4a0fad.chunk.css.map": "./static/css/main.5b4a0fad.chunk.css.map",
"static/js/2.839101b7.chunk.js.LICENSE.txt": "./static/js/2.839101b7.chunk.js.LICENSE.txt",
"static/media/DOI_logo.svg.32b95c2a.png": "./static/media/DOI_logo.svg.32b95c2a.png",
"static/media/o2r-logo-only-white.4c04269a.svg": "./static/media/o2r-logo-only-white.4c04269a.svg",
"static/media/orcid.96638b06.png": "./static/media/orcid.96638b06.png"
},
"entrypoints": [
"static/js/runtime-main.1cd5c833.js",
"static/css/2.48fcd7aa.chunk.css",
"static/js/2.839101b7.chunk.js",
"static/css/main.5b4a0fad.chunk.css",
"static/js/main.e1feb570.chunk.js"
]
}
6 changes: 6 additions & 0 deletions build/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const config= {
"baseUrl": "https://o2r.uni-muenster.de/api/v1/",
"ercUrl": "http://localhost/erc/",
"title":" | o2r Demoserver",
nuest marked this conversation as resolved.
Show resolved Hide resolved
"ojsView" : true,
}
1 change: 1 addition & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/manifest.json"/><title>o2r</title><link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.3/leaflet.draw.css"/><link rel="stylesheet" href="https://highlightjs.org/static/demo/styles/railscasts.css"/><link href="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/static/css/2.48fcd7aa.chunk.css" rel="stylesheet"><link href="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/static/css/main.5b4a0fad.chunk.css" rel="stylesheet"></head><body><script src="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/config.js"></script><script id="ercID"></script><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,l=r[0],f=r[1],a=r[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var f=t[l];0!==o[f]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="./";var l=this.webpackJsonpui=this.webpackJsonpui||[],f=l.push.bind(l);l.push=r,l=l.slice();for(var a=0;a<l.length;a++)r(l[a]);var p=f;t()}([])</script><script src="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/static/js/2.839101b7.chunk.js"></script><script src="http://localhost:8000/plugins/generic/ojs-erc-plugin/build/static/js/main.e1feb570.chunk.js"></script></body></html>
Binary file added build/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change short name and name to something more reasonable.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NJaku01 Can you take care of it so that it is done in general for the build?

Copy link

@njakuschona njakuschona Jun 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have adapted it in my fork, the changes will be available in the build with the next release.

"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
2 changes: 2 additions & 0 deletions build/static/css/2.48fcd7aa.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/static/css/2.48fcd7aa.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading