Skip to content

Commit

Permalink
Merge pull request #226 from Fraunhofer-AISEC/migrate_domain
Browse files Browse the repository at this point in the history
Migration to the new domain
  • Loading branch information
taudor authored May 15, 2023
2 parents f62ce8d + d3906a4 commit 5cb95bc
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 22 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ We have configured github hooks that automatically run validation after pushing.

If you think a change to the schema is necessary (for example to add further APIs or security notions), please do so in a separate commit and justify the change.

When you are done, please [create a pull request](https://github.com/cryptoeng/pqdb/compare).
When you are done, please [create a pull request](https://github.com/Fraunhofer-AISEC/pqdb/compare).

Data Format Overview
--------------------
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# ![PQDB Logo](misc/logo/pqdb-transparent.png)
# ![PQDB Logo](misc/logo/pqdb-transparent.png)
A comprehensive list of post-quantum crypto schemes and their properties.

[Query Frontend](https://cryptoeng.github.io/pqdb/)

## List of primitives

### KEM
Expand Down
4 changes: 2 additions & 2 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PQDB Frontend

This is the frontend for displaying data from pqdb. The latest deployment of the frontend can be accessed at https://cryptoeng.github.io/pqdb/.
This is the frontend for displaying data from pqdb. The latest deployment of the frontend can be accessed at https://www.pqdb.info/.

## Testing locally

Expand Down Expand Up @@ -30,4 +30,4 @@ yarn install
yarn start
```

This starts the React app and loads the url (http://localhost:3000/pqdb) in the browser.
This starts the React app and loads the url (http://localhost:3000/) in the browser.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pqdb-frontend",
"version": "0.1.0",
"private": true,
"homepage": "https://cryptoeng.github.io/pqdb",
"homepage": "https://www.pqdb.info/",
"dependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
<meta name="google-site-verification" content="1XuO9etM5Uug42xtQzfi1ks4HHO7oZAsMI7mEcM19lM" />
<meta name="google-site-verification" content="u2QbFqJftr6oMNt8RySGH00h7bUhKa0pWLRbpiX8N9Q" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/robots.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sitemap: https://cryptoeng.github.io/pqdb/sitemap.txt
Sitemap: https://www.pqdb.info/sitemap.txt
8 changes: 4 additions & 4 deletions frontend/public/sitemap.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://cryptoeng.github.io/pqdb/
https://cryptoeng.github.io/pqdb/?/raw_sql
https://cryptoeng.github.io/pqdb/?/detail
https://cryptoeng.github.io/pqdb/?/comparison
https://www.pqdb.info/
https://www.pqdb.info/?/raw_sql
https://www.pqdb.info/?/detail
https://www.pqdb.info/?/comparison
2 changes: 1 addition & 1 deletion frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class App extends React.Component {

loadDatabase(SQL) {
const xhr = new XMLHttpRequest();
xhr.open('GET', '/pqdb/pqdb.sqlite', true);
xhr.open('GET', '/pqdb.sqlite', true);
xhr.responseType = 'arraybuffer';

xhr.onload = () => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/DrawerList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ const defaultProps = {
};
const propTypes = {
onClick: PropTypes.func.isRequired,
views: PropTypes.shape({
views: PropTypes.objectOf(PropTypes.shape({
name: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
view: PropTypes.elementType.isRequired,
routing: PropTypes.bool,
}),
})),
};

function DrawerList({ views, onClick }) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import App from './App';
const AppWithRouter = withRouter(App);
ReactDOM.render(
<React.StrictMode>
<Router basename="/pqdb">
<Router>
<AppWithRouter />
</Router>
</React.StrictMode>,
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/views/Welcome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function Welcome({ db }) {
<Typography paragraph>
This is the frontend presenting data from
{' '}
<Link href="https://github.com/cryptoeng/pqdb/">https://github.com/cryptoeng/pqdb/</Link>
<Link href="https://github.com/Fraunhofer-AISEC/pqdb/">https://github.com/Fraunhofer-AISEC/pqdb</Link>
. You can select different views by clicking the menu icon in the top left corner.
</Typography>
<Typography paragraph>
Expand All @@ -80,7 +80,7 @@ function Welcome({ db }) {
<Typography paragraph>
Contributions are warmly welcomed, see
{' '}
<Link href="https://github.com/cryptoeng/pqdb#contribute">here</Link>
<Link href="https://github.com/Fraunhofer-AISEC/pqdb#contribute">here</Link>
{' '}
for details.
</Typography>
Expand Down
2 changes: 1 addition & 1 deletion tools/enter-data-helper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There are two possible ways of using it:

## Use Packaged Build (Recommended)

Download a packaged build for your system [here](https://github.com/cryptoeng/pqdb/releases).
Download a packaged build for your system [here](https://github.com/Fraunhofer-AISEC/pqdb/releases).

### Linux

Expand Down
4 changes: 2 additions & 2 deletions tools/enter-data-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "enter-data-helper",
"author": "CryptoEng",
"author": "Fraunhofer AISEC",
"version": "0.1.4",
"private": true,
"homepage": "./",
"build": {
"appId": "de.cryptoeng.enter-data-helper",
"appId": "de.aisec.fraunhofer.enter-data-helper",
"files": [
"build/**/*",
"node_modules/**/*",
Expand Down

0 comments on commit 5cb95bc

Please sign in to comment.