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

Release v0.1.0 #5

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a8b47ab
custom colors
strangnet Mar 1, 2020
aa1a2d7
fixing errors in compile stages
strangnet Mar 1, 2020
c52ebc3
reusable theme definition
strangnet Mar 1, 2020
9b0940b
Experimenting with layout and table of reports
strangnet Mar 1, 2020
3d65a39
adding material design icons svg
strangnet Mar 1, 2020
436fa06
mdi js
strangnet Mar 1, 2020
57a664f
enabling icons
strangnet Mar 1, 2020
36ce924
reworking header
strangnet Mar 1, 2020
84bcc16
cleaner design on sub pages
strangnet Mar 1, 2020
8b069f0
preparing reports view
strangnet Mar 1, 2020
c9f0956
adding axios
strangnet Mar 1, 2020
da10f72
api calls to the reports api with axios
strangnet Mar 1, 2020
f1f77a3
rudimentary api call and ui viz
strangnet Mar 1, 2020
6360cd0
Create LICENSE
strangnet Mar 1, 2020
d430f99
Merge pull request #1 from strangnet/add-license-1
strangnet Mar 1, 2020
9bf68e4
Create CODE_OF_CONDUCT.md
strangnet Mar 1, 2020
c7a94c4
Merge pull request #2 from strangnet/feature/add-code-of-conduct-1
strangnet Mar 1, 2020
f3063a3
Create CONTRIBUTING.md
strangnet Mar 1, 2020
dd8de7d
Merge pull request #3 from strangnet/feature/add-contributing-guidelines
strangnet Mar 1, 2020
de253ed
Update issue templates
strangnet Mar 1, 2020
b96c642
adding device detector
strangnet Mar 12, 2020
8cccd19
reports api service
strangnet Mar 12, 2020
77faf26
lint
strangnet Mar 12, 2020
ac5fe8c
parsing the user agent
strangnet Mar 12, 2020
4a06dba
Merge branch 'develop' of github.com:strangnet/csp-uri-report-vue int…
strangnet Mar 12, 2020
b2d3e25
Merge pull request #4 from strangnet/feature/issue-templates
strangnet Mar 12, 2020
5fe4dd5
Bump acorn from 5.7.3 to 5.7.4
dependabot[bot] Apr 4, 2020
75f5126
Bump websocket-extensions from 0.1.3 to 0.1.4
dependabot[bot] Jun 7, 2020
802f5a9
Merge pull request #6 from strangnet/dependabot/npm_and_yarn/acorn-5.7.4
strangnet Jun 7, 2020
fc8d20b
Merge pull request #7 from strangnet/dependabot/npm_and_yarn/websocke…
strangnet Jun 7, 2020
5fa7a66
Bump elliptic from 6.5.2 to 6.5.3
dependabot[bot] Aug 1, 2020
3a8547d
Merge pull request #8 from strangnet/dependabot/npm_and_yarn/elliptic…
strangnet Aug 1, 2020
5a176dd
Bump http-proxy from 1.18.0 to 1.18.1
dependabot[bot] Sep 11, 2020
531e9e7
Merge pull request #9 from strangnet/dependabot/npm_and_yarn/http-pro…
strangnet Oct 21, 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
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

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, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at strangnet@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contribution Guidelines

1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device.
2. Start making changes.
3. Submit a [pull request](https://help.github.com/articles/using-pull-requests/) to the original repository.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Patrick Strang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.19.2",
"core-js": "^3.6.4",
"device-detector-js": "^2.2.1",
"register-service-worker": "^1.6.2",
"vue": "^2.6.11",
"vue-class-component": "^7.2.2",
Expand All @@ -20,6 +22,7 @@
"vuex": "^3.1.2"
},
"devDependencies": {
"@mdi/js": "^4.9.95",
"@types/jest": "^24.0.19",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
Expand Down
49 changes: 13 additions & 36 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,53 +1,30 @@
<template>
<v-app>
<v-app-bar app color="primary" dark>
<div class="d-flex align-center">
<v-img
alt="Vuetify Logo"
class="shrink mr-2"
contain
src="https://cdn.vuetifyjs.com/images/logos/vuetify-logo-dark.png"
transition="scale-transition"
width="40"
/>

<v-img
alt="Vuetify Name"
class="shrink mt-1 hidden-sm-and-down"
contain
min-width="100"
src="https://cdn.vuetifyjs.com/images/logos/vuetify-name-dark.png"
width="100"
/>
</div>

<v-spacer></v-spacer>

<v-btn
href="https://github.com/vuetifyjs/vuetify/releases/latest"
target="_blank"
text
>
<span class="mr-2">Latest Release</span>
<v-icon>mdi-open-in-new</v-icon>
</v-btn>
</v-app-bar>

<page-header />
<v-content>
<HelloWorld />
<v-sheet
id="scrolling-techniques"
class="overflow-y-auto"
max-height="600"
>
<v-container fluid>
<router-view></router-view>
</v-container>
</v-sheet>
</v-content>
<page-footer />
</v-app>
</template>

<script lang="ts">
import Vue from "vue";
import HelloWorld from "./components/HelloWorld.vue";

export default Vue.extend({
name: "App",

components: {
HelloWorld
PageHeader: () => import("@/components/core/Header.vue"),
PageFooter: () => import("@/components/core/Footer.vue")
},

data: () => ({
Expand Down
22 changes: 22 additions & 0 deletions src/components/core/Footer.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<v-card height="80">
<v-footer absolute class="font-weight-medium">
<v-col class="text-center" cols="12">
&copy; {{ new Date().getFullYear() }} &mdash; csp-uri-report
</v-col>
</v-footer>
</v-card>
</template>

<script lang="ts">
import Vue from "vue";
export default Vue.extend({
name: "Footer",
components: {
//
},
data: () => ({
//
})
});
</script>
53 changes: 53 additions & 0 deletions src/components/core/Header.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<template>
<nav>
<v-navigation-drawer app v-model="drawer" clipped color="grey lighten-4">
<v-list dense>
<v-list-item
v-for="item in items"
:key="item.title"
router
:to="item.route"
>
<v-list-item-action>
<v-icon>{{ item.icon }}</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>
{{ item.title }}
</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-list>
</v-navigation-drawer>
<v-app-bar app class="primary" flat clipped-left>
<v-app-bar-nav-icon @click.stop="drawer = !drawer"></v-app-bar-nav-icon>

<header-logo />

<v-spacer></v-spacer>

<v-btn icon>
<v-icon>mdi-apps</v-icon>
</v-btn>
</v-app-bar>
</nav>
</template>

<script lang="ts">
import Vue from "vue";
export default Vue.extend({
name: "Header",
components: {
HeaderLogo: () => import("@/components/core/Logo.vue")
},
data: () => ({
items: [
{ title: "Home", icon: "mdi-home", route: "/" },
{ title: "Reports", icon: "mdi-table", route: "/reports" },
{ title: "About", icon: "mdi-information", route: "/about" }
],
right: false,
drawer: true
})
});
</script>
19 changes: 19 additions & 0 deletions src/components/core/Logo.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<v-toolbar-title class="gray--text">
<span class="font-weight-light">CSP</span>
<span>URIreport</span>
</v-toolbar-title>
</template>

<script lang="ts">
import Vue from "vue";
export default Vue.extend({
name: "HeaderLogo",
components: {
//
},
data: () => ({
//
})
});
</script>
Loading