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

Upgrade coreui #495

Merged
merged 99 commits into from Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
bfc0735
replaced template
stephanprantl Apr 17, 2023
b4d24c8
basic update
stephanprantl Apr 17, 2023
81045b4
Revert "basic update"
stephanprantl Apr 18, 2023
afd89a7
updated node version
stephanprantl Apr 18, 2023
96e216a
updated node version
stephanprantl Apr 18, 2023
1e235e6
updated angular by guide
stephanprantl Apr 18, 2023
187bef9
updated coreui
stephanprantl Apr 18, 2023
9357001
fixed dependencies
stephanprantl Apr 18, 2023
6759928
migrated some files
stephanprantl Apr 18, 2023
4ca459a
mostly migrated
stephanprantl Apr 18, 2023
2aa89fb
redefined polyfills
stephanprantl Apr 18, 2023
616c69b
updated coreui
stephanprantl Apr 18, 2023
9c05122
further updates
stephanprantl Apr 18, 2023
350294b
fixing tests
stephanprantl Apr 18, 2023
51a7916
minor improvements
stephanprantl Apr 22, 2023
83bac4a
adapted bg color
stephanprantl Apr 22, 2023
0a35dc8
fixed bgcolor
stephanprantl Apr 22, 2023
f98241f
fixed login page
stephanprantl Apr 22, 2023
9474877
fixed 404 page
stephanprantl Apr 22, 2023
f77266c
fixed 500 page
stephanprantl Apr 22, 2023
bb6ebc3
reset main colors
stephanprantl Apr 22, 2023
65960f9
fixed menu badge
stephanprantl Apr 22, 2023
913f8d2
updated font-awesome
stephanprantl Apr 22, 2023
fc0dd41
improved
stephanprantl Apr 22, 2023
4f73ac8
adapted dashboard and re-enabled bootstrap
stephanprantl Apr 22, 2023
59703f6
fixed margins
stephanprantl Apr 22, 2023
ba0033f
fixed some selects
stephanprantl Apr 22, 2023
4a668d8
improved and fixed badges for scanner
stephanprantl Apr 22, 2023
abd3a7a
fixed badge
stephanprantl Apr 22, 2023
3534ac8
improved
stephanprantl Apr 22, 2023
6ff8dd3
simplified
stephanprantl Apr 22, 2023
7304530
minor improvements
stephanprantl Apr 22, 2023
036b861
improved buttons
stephanprantl Apr 22, 2023
4b21e8c
rewritten
stephanprantl Apr 23, 2023
2ea3191
improved
stephanprantl Apr 23, 2023
85c5a22
added todos
stephanprantl Apr 23, 2023
6e9997b
some changes
stephanprantl Apr 23, 2023
1dfe187
fixed icons
stephanprantl Apr 23, 2023
cf347d4
improved
stephanprantl Apr 23, 2023
5fd45b3
fixed position
stephanprantl Apr 23, 2023
a74554f
fixed warning
stephanprantl Apr 23, 2023
0a6456d
fixed color
stephanprantl Apr 23, 2023
98c210c
fixed bootstrap
stephanprantl Apr 23, 2023
84a9802
fixed height
stephanprantl Apr 23, 2023
4138dab
fixed margin
stephanprantl Apr 23, 2023
594e9f5
added todo
stephanprantl Apr 23, 2023
c93e171
fixed buttons
stephanprantl Apr 23, 2023
90bbd7a
fixed
stephanprantl Apr 23, 2023
c7e26e8
fixed button
stephanprantl Apr 23, 2023
b22dad4
restored tabs
stephanprantl Apr 23, 2023
8fad0bc
minor
stephanprantl Apr 23, 2023
cbc209a
fixed modal
stephanprantl Apr 23, 2023
55cdb5e
fixed modal
stephanprantl Apr 23, 2023
b1ac26d
fixed modal
stephanprantl Apr 23, 2023
1233805
fixed modal
stephanprantl Apr 23, 2023
36f9fe4
fixed modal
stephanprantl Apr 23, 2023
a1cfaf0
Merge branch 'main' into upgrade-coreui
stephanprantl Apr 23, 2023
a7c32f2
re added linting
stephanprantl Apr 23, 2023
5911a4e
updated version
stephanprantl Apr 23, 2023
76c5483
improved user menu
stephanprantl Apr 23, 2023
ded01d7
fixed test
stephanprantl Apr 23, 2023
bc23392
test improvements
stephanprantl Apr 23, 2023
8ebdda4
fixing tests
stephanprantl Apr 24, 2023
c40c2f5
added bottom space
stephanprantl Apr 24, 2023
51b9e24
Merge branch 'main' into upgrade-coreui
stephanprantl Apr 25, 2023
b4d84bd
renamed folder
stephanprantl Apr 25, 2023
5509a61
defined default
stephanprantl Apr 25, 2023
eacbb52
added user module
stephanprantl Apr 25, 2023
0deb333
added basic content
stephanprantl Apr 25, 2023
398e088
basic impl
stephanprantl Apr 25, 2023
7099602
cleanup
stephanprantl Apr 25, 2023
fd2cae5
also purge success
stephanprantl Apr 25, 2023
46e1e7d
added tests
stephanprantl Apr 25, 2023
e9eb669
improved tests
stephanprantl Apr 25, 2023
5fafd87
improved tests
stephanprantl Apr 25, 2023
4d2281c
fixed tests
stephanprantl Apr 25, 2023
7ebcc9b
fixed tests
stephanprantl Apr 25, 2023
3c09b3f
improved
stephanprantl Apr 25, 2023
14606ee
fixed layout
stephanprantl Apr 25, 2023
6589294
added 2nd button, fixed test
stephanprantl Apr 25, 2023
865fb44
removed schematics
stephanprantl Apr 25, 2023
7c6a276
fixed eslint
stephanprantl Apr 25, 2023
1834467
fixed lint messages
stephanprantl Apr 25, 2023
7c320fe
improved tests
stephanprantl Apr 25, 2023
91c72be
fixed test
stephanprantl Apr 25, 2023
6be42dd
centralized locale config for tests
stephanprantl Apr 25, 2023
b718f7a
improved test
stephanprantl Apr 25, 2023
948e5ff
improved test
stephanprantl Apr 25, 2023
063ffba
improved test
stephanprantl Apr 25, 2023
0740ee7
fixed test
stephanprantl Apr 25, 2023
441dc8e
fixed test
stephanprantl Apr 25, 2023
46d6254
fixed test
stephanprantl Apr 25, 2023
ed5df73
improved test
stephanprantl Apr 25, 2023
f376ad1
improved test
stephanprantl Apr 25, 2023
da62f9f
fixed test
stephanprantl Apr 25, 2023
9bbbb02
fixed test
stephanprantl Apr 25, 2023
2030480
improved test
stephanprantl Apr 25, 2023
cb3e2c6
skip assert for now
stephanprantl Apr 26, 2023
012be9e
Merge branch 'main' into upgrade-coreui
stephanprantl Apr 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions frontend/pom.xml
Expand Up @@ -18,8 +18,8 @@
<version>1.12.1</version>
<configuration>
<workingDirectory>./src/main/webapp</workingDirectory>
<nodeVersion>v14.17.6</nodeVersion>
<npmVersion>6.14.15</npmVersion>
<nodeVersion>v18.16.0</nodeVersion>
<npmVersion>9.5.1</npmVersion>
</configuration>
<executions>
<execution>
Expand Down
16 changes: 16 additions & 0 deletions frontend/src/main/template/.editorconfig
@@ -0,0 +1,16 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
45 changes: 45 additions & 0 deletions frontend/src/main/template/.gitignore
@@ -0,0 +1,45 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log

# profiling files
chrome-profiler-events*.json

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
49 changes: 49 additions & 0 deletions frontend/src/main/template/CHANGELOG.md
@@ -0,0 +1,49 @@
### [coreui-free-angular-admin-template](https://coreui.io/angular/) changelog

---

#### `4.3.11`

- chore(dependencies): update `@angular/*` to version `^15.2.7`
- standalone components:
- chore(dependencies): update `@coreui/angular` to version `~4.4.1`
- chore(dependencies): update `@coreui/angular-chartjs` to version `~4.4.1`
- chore(dependencies): update `@coreui/icons-angular` to version `~4.4.1`
- fix(widgets): breakpoints

---

#### `4.3.10`

- chore(dependencies): update `@angular/*` to version `^15.2.4`
- chore(dependencies): update `@coreui/angular` to version `~4.3.17`
- chore(dependencies): update `@coreui/angular-chartjs` to version `~4.3.17`
- chore(dependencies): update `@coreui/icons-angular` to version `~4.3.17`
- chore(dependencies): update `@coreui/icons` to version `^3.0.1`
- chore(dependencies): update `@coreui/charts` to version `^3.1.1`
- chore(dependencies): update `@coreui/utils` to version `^2.0.1`

imports update required :boom: :exclamation:
- from `import {getStyle, ...} from '@coreui/utils/src`
- to `import {getStyle, ...} from '@coreui/utils`

---

#### `4.3.9`

- chore: dependencies update
- fix(widgets): add missing pointBackgroundColor

---

#### `4.3.0`

update to:
- `Angular 15`
- `TypeScript 4.8`
- `RxJS 7.5`

refactor:
- refactor(AppComponent): change selector to `app-root`

---
221 changes: 221 additions & 0 deletions frontend/src/main/template/README.md
@@ -0,0 +1,221 @@
[![@coreui angular](https://img.shields.io/badge/@coreui%20-angular-lightgrey.svg?style=flat-square)](https://github.com/coreui/angular)
[![npm-coreui-angular][npm-coreui-angular-badge]][npm-coreui-angular]
[![NPM downloads][npm-coreui-angular-download]][npm-coreui-angular]
[![@coreui coreui](https://img.shields.io/badge/@coreui%20-coreui-lightgrey.svg?style=flat-square)](https://github.com/coreui/coreui)
[![npm package][npm-coreui-badge]][npm-coreui]
[![NPM downloads][npm-coreui-download]][npm-coreui]
![angular](https://img.shields.io/badge/angular-^15.2.0-lightgrey.svg?style=flat-square&logo=angular)

[npm-coreui-angular]: https://www.npmjs.com/package/@coreui/angular
[npm-coreui-angular-badge]: https://img.shields.io/npm/v/@coreui/angular.png?style=flat-square
[npm-coreui-angular-badge-next]: https://img.shields.io/npm/v/@coreui/angular/next?style=flat-square&color=red
[npm-coreui-angular-download]: https://img.shields.io/npm/dm/@coreui/angular.svg?style=flat-square
[npm-coreui]: https://www.npmjs.com/package/@coreui/coreui
[npm-coreui-badge]: https://img.shields.io/npm/v/@coreui/coreui.png?style=flat-square
[npm-coreui-download]: https://img.shields.io/npm/dm/@coreui/coreui.svg?style=flat-square

# CoreUI Free Admin Dashboard Template for Angular 15

CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of redundant components, so the app is light enough to offer ultimate user experience. This means mobile devices also, where the navigation is just as easy and intuitive as on a desktop or laptop. The CoreUI Layout API lets you customize your project for almost any device – be it Mobile, Web or WebApp – CoreUI covers them all!

- [CoreUI Angular Admin Dashboard Template & UI Components Library](https://coreui.io/angular)
- [CoreUI Angular Demo](https://coreui.io/angular/demo/4.3/free/)
- [CoreUI Angular Docs](https://coreui.io/angular/docs/)

## Table of Contents

* [Versions](#versions)
* [CoreUI Pro](#coreui-pro)
* [Quick Start](#quick-start)
* [Installation](#installation)
* [Basic usage](#basic-usage)
* [What's included](#whats-included)
* [Documentation](#documentation)
* [Versioning](#versioning)
* [Creators](#creators)
* [Community](#community)
* [Copyright and License](#copyright-and-license)

## Versions

* [CoreUI Free Bootstrap Admin Template](https://github.com/coreui/coreui-free-bootstrap-admin-template)
* [CoreUI Free Angular Admin Template](https://github.com/coreui/coreui-free-angular-admin-template)
* [CoreUI Free React.js Admin Template](https://github.com/coreui/coreui-free-react-admin-template)
* [CoreUI Free Vue.js Admin Template](https://github.com/coreui/coreui-free-vue-admin-template)

## CoreUI Pro

**Only customers with [Enterpise Membership Plan](https://coreui.io/pro/#buy) have access to private GitHub CoreUI Pro repository.**

* 💪 [CoreUI Pro Angular Admin Template](https://coreui.io/product/angular-dashboard-template/)
* 💪 [CoreUI Pro Bootstrap Admin Template](https://coreui.io/product/bootstrap-dashboard-template/)
* 💪 [CoreUI Pro React Admin Template](https://coreui.io/product/react-dashboard-template/)
* 💪 [CoreUI Pro Next.js Admin Template](https://coreui.io/product/next-js-dashboard-template/)
* 💪 [CoreUI Pro Vue Admin Template](https://coreui.io/product/vue-dashboard-template/)

## Quick Start

- [Download the latest release](https://github.com/coreui/coreui-free-angular-admin-template/)
- Clone the repo: `git clone https://github.com/coreui/coreui-free-angular-admin-template.git`

#### <i>Prerequisites</i>
Before you begin, make sure your development environment includes `Node.js®` and an `npm` package manager.

###### Node.js
[**Angular 15**](https://angular.io/guide/what-is-angular) requires `Node.js` LTS version `^14.20` or `^16.13` or `^18.10`.

- To check your version, run `node -v` in a terminal/console window.
- To get `Node.js`, go to [nodejs.org](https://nodejs.org/).

###### Angular CLI
Install the Angular CLI globally using a terminal/console window.
```bash
npm install -g @angular/cli
```

### Installation

``` bash
$ npm install
```

### Basic usage

``` bash
# dev server with hot reload at http://localhost:4200
$ npm start
```

Navigate to [http://localhost:4200](http://localhost:4200). The app will automatically reload if you change any of the source files.

#### Build

Run `build` to build the project. The build artifacts will be stored in the `dist/` directory.

```bash
# build for production with minification
$ npm run build
```
## What's included

Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:

```
coreui-free-angular-admin-template
├── src/ # project root
│ ├── app/ # main app directory
| │ ├── containers/ # layout containers
| | │ └── default-layout/ # layout containers
| | | └── _nav.js # sidebar navigation config
| │ ├── icons/ # icons set for the app
| │ └── views/ # application views
│ ├── assets/ # images, icons, etc.
│ ├── components/ # components for demo only
│ ├── scss/ # scss styles
│ └── index.html # html template
├── angular.json
├── README.md
└── package.json
```

## Documentation

The documentation for the CoreUI Admin Template is hosted at our website [CoreUI for Angular](https://coreui.io/angular/)

---

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0.

## Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, CoreUI Free Admin Template is maintained under [the Semantic Versioning guidelines](http://semver.org/).

See [the Releases section of our project](https://github.com/coreui/coreui-free-angular-admin-template/releases) for changelogs for each release version.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

## Creators

**Łukasz Holeczek**
* <https://twitter.com/lukaszholeczek>
* <https://github.com/mrholek>
* <https://github.com/coreui>

**CoreUI team**
* https://github.com/orgs/coreui/people

## Community

Get updates on CoreUI's development and chat with the project maintainers and community members.

- Follow [@core_ui on Twitter](https://twitter.com/core_ui).
- Read and subscribe to [CoreUI Blog](https://coreui.io/blog/).

## Support CoreUI Development

CoreUI is an MIT-licensed open source project and is completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing. You can support development by buying the [CoreUI PRO](https://coreui.io/pricing/) or by becoming a sponsor via [Open Collective](https://opencollective.com/coreui/).

<!--- StartOpenCollectiveBackers -->

### Platinum Sponsors

Support this project by [becoming a Platinum Sponsor](https://opencollective.com/coreui/contribute/platinum-sponsor-40959/). A large company logo will be added here with a link to your website.

<a href="https://opencollective.com/coreui/contribute/platinum-sponsor-40959/checkout"><img src="https://opencollective.com/coreui/tiers/platinum-sponsor/0/avatar.svg?avatarHeight=100"></a>

### Gold Sponsors

Support this project by [becoming a Gold Sponsor](https://opencollective.com/coreui/contribute/gold-sponsor-40960/). A big company logo will be added here with a link to your website.

<a href="https://opencollective.com/coreui/contribute/gold-sponsor-40960/checkout"><img src="https://opencollective.com/coreui/tiers/gold-sponsor/0/avatar.svg?avatarHeight=100"></a>

### Silver Sponsors

Support this project by [becoming a Silver Sponsor](https://opencollective.com/coreui/contribute/silver-sponsor-40967/). A medium company logo will be added here with a link to your website.

<a href="https://opencollective.com/coreui/contribute/silver-sponsor-40967/checkout"><img src="https://opencollective.com/coreui/tiers/gold-sponsor/0/avatar.svg?avatarHeight=100"></a>

### Bronze Sponsors

Support this project by [becoming a Bronze Sponsor](https://opencollective.com/coreui/contribute/bronze-sponsor-40966/). The company avatar will show up here with a link to your OpenCollective Profile.

<a href="https://opencollective.com/coreui/contribute/bronze-sponsor-40966/checkout"><img src="https://opencollective.com/coreui/tiers/bronze-sponsor/0/avatar.svg?avatarHeight=100"></a>

### Backers

Thanks to all the backers and sponsors! Support this project by [becoming a backer](https://opencollective.com/coreui/contribute/backer-40965/).

<a href="https://opencollective.com/coreui/contribute/backer-40965/checkout" target="_blank" rel="noopener"><img src="https://opencollective.com/coreui/backers.svg?width=890"></a>

<!--- EndOpenCollectiveBackers -->

## Copyright and License

copyright 2022 creativeLabs Łukasz Holeczek.


Code released under [the MIT license](https://github.com/coreui/coreui-free-react-admin-template/blob/master/LICENSE).
There is only one limitation you can't re-distribute the CoreUI as stock. You can’t do this if you modify the CoreUI. In past we faced some problems with persons who tried to sell CoreUI based templates.