Updated Web packages
This commit is contained in:
parent
1b325e880e
commit
2d663de5cf
4177
web/package-lock.json
generated
4177
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -9,20 +9,20 @@
|
||||||
"get-schema": "graphql get-schema"
|
"get-schema": "graphql get-schema"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@mdi/font": "^5.8.55",
|
"@mdi/font": "^5.9.55",
|
||||||
"apollo-link-ws": "^1.0.20",
|
"apollo-link-ws": "^1.0.20",
|
||||||
"apollo-utilities": "^1.3.4",
|
"apollo-utilities": "^1.3.4",
|
||||||
"date-fns": "^2.16.1",
|
"date-fns": "^2.25.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"qrcode.vue": "^1.7.0",
|
"qrcode.vue": "^1.7.0",
|
||||||
"roboto-fontface": "*",
|
"roboto-fontface": "*",
|
||||||
"validator": "^13.5.2",
|
"validator": "^13.7.0",
|
||||||
"vue": "^2.6.12",
|
"vue": "^2.6.14",
|
||||||
"vue-apollo": "^3.0.5",
|
"vue-apollo": "^3.0.8",
|
||||||
"vue-json-pretty": "^1.7.1",
|
"vue-json-pretty": "^1.8.2",
|
||||||
"vue-router": "^3.4.9",
|
"vue-router": "^3.5.3",
|
||||||
"vue-the-mask": "^0.11.1",
|
"vue-the-mask": "^0.11.1",
|
||||||
"vuetify": "^2.3.22",
|
"vuetify": "^2.5.14",
|
||||||
"zxcvbn": "^4.4.2"
|
"zxcvbn": "^4.4.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -32,15 +32,15 @@
|
||||||
"@vue/cli-service": "~4.5.9",
|
"@vue/cli-service": "~4.5.9",
|
||||||
"@vue/eslint-config-prettier": "^6.0.0",
|
"@vue/eslint-config-prettier": "^6.0.0",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"eslint-plugin-prettier": "^3.3.0",
|
"eslint-plugin-prettier": "^3.4.1",
|
||||||
"eslint-plugin-vue": "^7.3.0",
|
"eslint-plugin-vue": "^7.20.0",
|
||||||
"graphql-tag": "^2.11.0",
|
"graphql-tag": "^2.12.6",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.4.1",
|
||||||
"sass": "^1.30.0",
|
"sass": "^1.43.4",
|
||||||
"sass-loader": "^10.1.0",
|
"sass-loader": "^10.2.0",
|
||||||
"vue-cli-plugin-apollo": "^0.22.2",
|
"vue-cli-plugin-apollo": "^0.22.2",
|
||||||
"vue-cli-plugin-vuetify": "~2.0.8",
|
"vue-cli-plugin-vuetify": "~2.0.8",
|
||||||
"vue-template-compiler": "^2.6.12",
|
"vue-template-compiler": "^2.6.14",
|
||||||
"vuetify-loader": "^1.6.0"
|
"vuetify-loader": "^1.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const result = await this.$apollo.mutate({
|
const result = await this.$apollo.mutate({
|
||||||
mutation: gql`
|
mutation: gql`
|
||||||
mutation($username: String!) {
|
mutation ($username: String!) {
|
||||||
createResetToken(data: { username: $username }) {
|
createResetToken(data: { username: $username }) {
|
||||||
id
|
id
|
||||||
token
|
token
|
||||||
|
|
|
@ -146,7 +146,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const response = await this.$apollo.query({
|
const response = await this.$apollo.query({
|
||||||
query: gql`
|
query: gql`
|
||||||
query($username: String!) {
|
query ($username: String!) {
|
||||||
basicUser(sAMAccountName: $username) {
|
basicUser(sAMAccountName: $username) {
|
||||||
displayName
|
displayName
|
||||||
firstName
|
firstName
|
||||||
|
@ -178,7 +178,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const response = await this.$apollo.mutate({
|
const response = await this.$apollo.mutate({
|
||||||
mutation: gql`
|
mutation: gql`
|
||||||
mutation($username: String!, $password: String!) {
|
mutation ($username: String!, $password: String!) {
|
||||||
login(data: { username: $username, password: $password }) {
|
login(data: { username: $username, password: $password }) {
|
||||||
token
|
token
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<img
|
<img
|
||||||
v-if="this.$vuetify.theme.dark || dark"
|
v-if="$vuetify.theme.dark || dark"
|
||||||
src="@/assets/serti-dark.png"
|
src="@/assets/serti-dark.png"
|
||||||
:height="height"
|
:height="height"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
await this.$apollo.mutate({
|
await this.$apollo.mutate({
|
||||||
mutation: gql`
|
mutation: gql`
|
||||||
mutation($username: String!, $newPassword: String!) {
|
mutation ($username: String!, $newPassword: String!) {
|
||||||
replacePassword(
|
replacePassword(
|
||||||
data: { username: $username, newPassword: $newPassword }
|
data: { username: $username, newPassword: $newPassword }
|
||||||
)
|
)
|
||||||
|
|
|
@ -58,7 +58,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const { data } = await this.$apollo.mutate({
|
const { data } = await this.$apollo.mutate({
|
||||||
mutation: gql`
|
mutation: gql`
|
||||||
mutation($oldPassword: String!, $newPassword: String!) {
|
mutation ($oldPassword: String!, $newPassword: String!) {
|
||||||
updatePassword(
|
updatePassword(
|
||||||
data: { oldPassword: $oldPassword, newPassword: $newPassword }
|
data: { oldPassword: $oldPassword, newPassword: $newPassword }
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -97,7 +97,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
await this.$apollo.mutate({
|
await this.$apollo.mutate({
|
||||||
mutation: gql`
|
mutation: gql`
|
||||||
mutation($token: String!, $newPassword: String!) {
|
mutation ($token: String!, $newPassword: String!) {
|
||||||
useResetToken(data: { token: $token, newPassword: $newPassword })
|
useResetToken(data: { token: $token, newPassword: $newPassword })
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
|
@ -130,7 +130,7 @@ export default {
|
||||||
apollo: {
|
apollo: {
|
||||||
users: {
|
users: {
|
||||||
query: () => gql`
|
query: () => gql`
|
||||||
query($search: String!, $onlyStudents: Boolean!) {
|
query ($search: String!, $onlyStudents: Boolean!) {
|
||||||
users(
|
users(
|
||||||
where: {
|
where: {
|
||||||
displayName: $search
|
displayName: $search
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
const response = await this.$apollo.query({
|
const response = await this.$apollo.query({
|
||||||
query: gql`
|
query: gql`
|
||||||
query($username: String!) {
|
query ($username: String!) {
|
||||||
basicUser(sAMAccountName: $username) {
|
basicUser(sAMAccountName: $username) {
|
||||||
displayName
|
displayName
|
||||||
thumbnailPhoto
|
thumbnailPhoto
|
||||||
|
|
|
@ -117,7 +117,7 @@ import 'vue-json-pretty/lib/styles.css'
|
||||||
import DatetimePicker from '../../components/ui/DatetimePicker.vue'
|
import DatetimePicker from '../../components/ui/DatetimePicker.vue'
|
||||||
|
|
||||||
const LOGS_QUERY = gql`
|
const LOGS_QUERY = gql`
|
||||||
query($search: String, $dateIn: String, $dateOut: String, $limit: Int) {
|
query ($search: String, $dateIn: String, $dateOut: String, $limit: Int) {
|
||||||
logs(search: $search, dateIn: $dateIn, dateOut: $dateOut, limit: $limit) {
|
logs(search: $search, dateIn: $dateIn, dateOut: $dateOut, limit: $limit) {
|
||||||
id
|
id
|
||||||
timestamp
|
timestamp
|
||||||
|
|
|
@ -144,7 +144,7 @@ const PAHOSTS_QUERY = gql`
|
||||||
`
|
`
|
||||||
|
|
||||||
const DEL_HOST_MUTATION = gql`
|
const DEL_HOST_MUTATION = gql`
|
||||||
mutation($id: Int!) {
|
mutation ($id: Int!) {
|
||||||
delPAHost(id: $id) {
|
delPAHost(id: $id) {
|
||||||
id
|
id
|
||||||
description
|
description
|
||||||
|
|
|
@ -194,7 +194,7 @@ import gql from 'graphql-tag'
|
||||||
const CIDR_RE = /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/
|
const CIDR_RE = /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/
|
||||||
|
|
||||||
const ADDPAHOST_MUTATION = gql`
|
const ADDPAHOST_MUTATION = gql`
|
||||||
mutation(
|
mutation (
|
||||||
$cidr: String!
|
$cidr: String!
|
||||||
$user: String!
|
$user: String!
|
||||||
$password: String!
|
$password: String!
|
||||||
|
|
|
@ -49,7 +49,7 @@ export default {
|
||||||
|
|
||||||
cache: 'network',
|
cache: 'network',
|
||||||
query: gql`
|
query: gql`
|
||||||
query($sAMAccountName: String!) {
|
query ($sAMAccountName: String!) {
|
||||||
user(sAMAccountName: $sAMAccountName) {
|
user(sAMAccountName: $sAMAccountName) {
|
||||||
id
|
id
|
||||||
|
|
||||||
|
|
|
@ -262,7 +262,7 @@ export default {
|
||||||
userPresence: {
|
userPresence: {
|
||||||
// fetchPolicy: 'cache-and-network',
|
// fetchPolicy: 'cache-and-network',
|
||||||
query: gql`
|
query: gql`
|
||||||
query($search: String = "") {
|
query ($search: String = "") {
|
||||||
userPresence(search: $search) {
|
userPresence(search: $search) {
|
||||||
id
|
id
|
||||||
displayName
|
displayName
|
||||||
|
|
Loading…
Reference in New Issue
Block a user