Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Release 1.4.0
Browse files Browse the repository at this point in the history
Release 1.4.0
  • Loading branch information
Casper authored Mar 10, 2021
2 parents 9cbe2a8 + 56c33ef commit 9821b4a
Show file tree
Hide file tree
Showing 159 changed files with 7,413 additions and 4,054 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
build
public
scripts
.github
docs
**/*.json
13 changes: 10 additions & 3 deletions client/.eslintrc.json → .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"plugin:promise/recommended",
"plugin:json/recommended",
"plugin:promise/recommended",
"prettier"
Expand All @@ -25,7 +25,7 @@
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "json", "promise"],
"plugins": ["react", "@typescript-eslint", "promise", "prettier", "json"],
"rules": {
"quotes": ["error", "double"],
"semi": ["error", "always"],
Expand All @@ -52,11 +52,18 @@
{
"files": ["**/*.tsx", "**/*.ts"],
"rules": {
"quotes": "off",
"no-unused-vars": "off",
"react/prop-types": "off",
"react/display-name": "off"
}
},
{
"files": ["./server/**/*.ts"],
"rules": {
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "off",
"react/react-in-jsx-scope": "off"
}
}
],
"settings": {
Expand Down
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ 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 '....'
Expand All @@ -24,8 +25,9 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

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

- Browser [e.g. chrome, safari]
- Version [e.g. 22]

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

---

**Describe the feature you'd like to get added**
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.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ updates:
target-branch: "dev"
schedule:
interval: "monthly"

- package-ecosystem: "npm" # See documentation for possible values
directory: "." # Location of package manifests
target-branch: "dev"
schedule:
interval: "monthly"
23 changes: 23 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check ESlint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm install
- name: Run lint
run: "npm run lint"
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
build
public
scripts
.github
docs
**/*.json
File renamed without changes.
32 changes: 23 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,37 @@

**If you need help updating/installing or have found any bugs, please join [our Discord server](https://discord.gg/eGnrPqEH7U) or open a [GitHub issue here](https://github.com/Dev-CasperTheGhost/snaily-cadv3/issues/new/choose)**

## 1.4.0

- New: Added a global search, use `CTRL+K` or `CMD+K` to open it. Use the `Escape` key to close
- New: Able to enable/disable features (Bleeter, taxi, tow and truck-logs)
- New: Able to update officer department in Manage Officers
- New: Able to track officer logs (Total time on-duty. LEO Dashboard -> my officers -> my officer logs)
- New: Send webhook when officer status was changed
- Minor: Only show navigation bar items where user has access too
- Minor: See author of expungement request ([#107](https://github.com/Dev-CasperTheGhost/snaily-cadv3/issues/107))
- Minor: Updated dependencies
- Minor: Updated page titles
- Major: Add Prettier & ESLint
- Major: Code improvements

## 1.3.9

- Minor code improvements
- Added `rank` to officers, assignable by moderators, admins and owners
- Added `supervisor` rank to users, this rank can only manage officers
- Minor: code improvements
- New: Added `rank` to officers, assignable by moderators, admins and owners
- New: Added `supervisor` rank to users, this rank can only manage officers

## 1.3.8

- Fixed small bug not being able to search for medical records
- Minor improvements to live map
- Updated dependencies (Make sure to run `npm run auto-install` after updating! )
- Minor: Fixed small bug not being able to search for medical records
- Minor: improvements to live map
- Minor: Updated dependencies (Make sure to run `npm run auto-install` after updating! )

## 1.3.7

- Fixed small bug
- Added phone-number field
- EMS-FD is able to update medical records for citizens
- New: Added phone-number field
- New: EMS-FD is able to update medical records for citizens
- Minor: Fixed small bug

## 1.3.6

Expand Down
2 changes: 0 additions & 2 deletions client/.prettierignore

This file was deleted.

Loading

0 comments on commit 9821b4a

Please sign in to comment.