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

Milestone 1.0.0 #1

Draft
wants to merge 72 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
28f4bb0
initial commit
hurrtz Apr 22, 2019
c801108
Remove default example
hurrtz Apr 22, 2019
a3b5cf6
removed unnecessary stuff
hurrtz Apr 22, 2019
c9e3cc8
Merge branch 'master' of github.com:devilbox/web-ui
hurrtz Apr 22, 2019
4f7a103
moved to shrinkwrap
hurrtz Jun 28, 2020
e1f20f6
updated repo
hurrtz Jun 28, 2020
b42572e
added material
hurrtz Jun 29, 2020
73c93cc
improved upon helmet output
hurrtz Jun 29, 2020
e8bf09f
added dark theme
hurrtz Jun 29, 2020
331eaec
added base styling for app
hurrtz Jun 29, 2020
f028dd0
added home to appbar
hurrtz Jun 29, 2020
4724738
added logos and favicons
hurrtz Jun 29, 2020
0f89015
added more logos
hurrtz Jun 29, 2020
195e9ee
moved code into own structure
hurrtz Jun 29, 2020
6f75f5a
added axios
hurrtz Jun 29, 2020
9b396f3
moved page into own page folder
hurrtz Jun 29, 2020
5199084
added routing and dummy pages
hurrtz Jun 29, 2020
e733f1c
consistent naming for devilbox
hurrtz Jun 29, 2020
3ec40b2
added page loading speed to bottom bar
hurrtz Jun 29, 2020
5b5f6e3
moved footer into own folder
hurrtz Jun 29, 2020
a2a6a59
added string to render time output
hurrtz Jun 29, 2020
c5a00db
added redux for initial app data request
hurrtz Jun 30, 2020
238e931
removed editor settings from git
hurrtz Jun 30, 2020
db6bf02
added logo
hurrtz Jun 30, 2020
79da08f
added base components for panels and stacks
hurrtz Jul 2, 2020
a4981ef
added endpoints to get information about docker containers
hurrtz Jul 2, 2020
e761c56
added healthbar
hurrtz Jul 2, 2020
47d9da7
added healthbar
hurrtz Jul 2, 2020
a54fe37
added defaults for selectors
hurrtz Jul 2, 2020
20df81b
fixed boolean
hurrtz Jul 2, 2020
94c84b1
added placeholders for home content
hurrtz Jul 2, 2020
4b2424b
added mock json for home/networking
hurrtz Jul 2, 2020
f782c1b
added mock json for home/ports
hurrtz Jul 2, 2020
49dbdab
added mock json for home/data mounts
hurrtz Jul 2, 2020
b969697
added mock json for home/config mounts
hurrtz Jul 2, 2020
0173105
added mock json for home/log mounts
hurrtz Jul 3, 2020
3e8b78c
moved sites urls into own sites section
hurrtz Jul 3, 2020
2654598
added mock json for home/settings
hurrtz Jul 3, 2020
eebc3c4
added mock json for home/tools
hurrtz Jul 3, 2020
3ca5077
added services to docker container mocks
hurrtz Jul 3, 2020
ae0685e
added mocks for tools
hurrtz Jul 3, 2020
d58bd38
adjusted slice to work with updated json
hurrtz Jul 3, 2020
87e43e3
added home/settings table
hurrtz Jul 3, 2020
17aa42f
added home/tools table
hurrtz Jul 3, 2020
21f6398
dynamic calls to tool apis
hurrtz Jul 3, 2020
ac2ce06
added content for home/networking
hurrtz Jul 3, 2020
db01b11
added content for home/ports
hurrtz Jul 3, 2020
300e892
added content for mounts tables, adjusted some styling
hurrtz Jul 3, 2020
0d91834
added content for home/services
hurrtz Jul 3, 2020
e7dc543
added rowspan to ports table
hurrtz Jul 3, 2020
aeb9473
added snapshot
hurrtz Jul 3, 2020
c88ceaa
fixed travis
hurrtz Jul 3, 2020
936a467
added box shadow for container status
hurrtz Jul 3, 2020
7b29f7b
serveral optimizations
hurrtz Jul 4, 2020
d952489
renamed api
hurrtz Jul 4, 2020
df7ed8e
split getAppData into getAppData and getDockerData
hurrtz Jul 4, 2020
e86440b
added npm-shrinkwrap to prettierignore
hurrtz Jul 4, 2020
21884a3
added default content vor vhost page
hurrtz Jul 4, 2020
82fc57a
added mocks for vhosts
hurrtz Jul 4, 2020
368cbf4
added dummy output for vhosts
hurrtz Jul 4, 2020
44dd0cd
removed unneccessary fetches
hurrtz Jul 4, 2020
c8219ca
added dynamic content for vhosts
hurrtz Jul 4, 2020
90fd41e
added dynamic content for vhosts
hurrtz Jul 4, 2020
92bcc74
added logic and more content for vhost page
hurrtz Jul 5, 2020
fe84473
added tooltip to github button
hurrtz Jul 5, 2020
9967291
added mails and table to inspect sent mails
hurrtz Jul 5, 2020
7727178
improved upon visuals and ui in mails table
hurrtz Jul 5, 2020
c34756e
inline styles to classes
hurrtz Jul 5, 2020
c22b4d3
updated readme
hurrtz Jul 12, 2020
5a6e5ef
Implement API endpoints
cytopia Jul 12, 2020
40dc461
Update src/apis.ts
cytopia Jul 12, 2020
cac885b
Merge pull request #61 from devilbox/apis
cytopia Jul 13, 2020
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
5 changes: 5 additions & 0 deletions .babel-plugin-macrosrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
styledComponents: {
displayName: process.env.NODE_ENV !== 'production',
},
};
2 changes: 2 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BROWSER=none
EXTEND_ESLINT=true
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_SOURCEMAP=false
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const fs = require('fs');
const path = require('path');

const prettierOptions = JSON.parse(
fs.readFileSync(path.resolve(__dirname, '.prettierrc'), 'utf8'),
);

module.exports = {
extends: [
'react-app',
'prettier',
'prettier/react',
'prettier/@typescript-eslint',
],
plugins: ['prettier'],
rules: {
'prettier/prettier': ['error', prettierOptions],
},
overrides: [
{
files: ['**/*.ts?(x)'],
rules: { 'prettier/prettier': ['warn', prettierOptions] },
},
],
};
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Don't check auto-generated stuff into git
coverage
build
node_modules
stats.json

# Cruft
.DS_Store
npm-debug.log
.idea
# Don't check auto-generated stuff into git
coverage
build
node_modules
stats.json
.pnp
.pnp.js
.vscode

# misc
.DS_Store
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.env.development.local
.env.test.local
.env.production.local

generated-cra-app
.cra-template-rb
template
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact = true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/dubnium
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build/
node_modules/
package-lock.json
yarn.lock
npm-shrinkwrap.json
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid"
}
7 changes: 7 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components"
]
}
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: node_js

node_js:
- 'node'
- 'lts/*'

script:
- node ./internals/scripts/generate-templates-for-linting
- npm test -- --maxWorkers=4
- npm run build

before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0

notifications:
email:
on_failure: change

after_success: 'npm run coveralls'

cache:
directories:
- node_modules
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# Devilbox Web UI

## Installation

Please install [nvm](https://github.com/nvm-sh/nvm) beforehand.

1. clone repository
2. cd into project
3. run `nvm use`, if you get an error that the node version does not exit yet then please follow the instructions on screen (the `nvm use` is included in the installation)
4. run `npm install`

## Building

Run `npm run build` to get the production ready build, which is being put under `./build`.

If you want an ad hoc server serving the latest build then run `npm run start:build` instead - it will run the build command and then serve the application from that folder.

## Development

Run `npm run start` to get the ad hoc server running.
6 changes: 6 additions & 0 deletions internals/testing/loadable.mock.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react';

export function ExportedFunc() {
return <div>My lazy-loaded component</div>;
}
export default ExportedFunc;
9 changes: 9 additions & 0 deletions internals/ts-node.tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"noEmit": true,
"allowSyntheticDefaultImports": true
}
}
Loading