Update app name

This commit is contained in:
2023-01-04 15:45:45 +01:00
parent 2bdea63c0a
commit 4ade73c516
15 changed files with 29 additions and 50 deletions

7
DiunaBI.code-workspace Normal file
View File

@@ -0,0 +1,7 @@
{
"folders": [
{
"path": "."
}
]
}

View File

@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33110.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAPI", "WebAPI\WebAPI.csproj", "{799D68C2-A4C1-43F8-8C35-1126C0AC32D6}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DiunaBI-WebAPI", "WebAPI\DiunaBI-WebAPI.csproj", "{799D68C2-A4C1-43F8-8C35-1126C0AC32D6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -0,0 +1,7 @@
{
"folders": [
{
"path": ".."
}
]
}

View File

@@ -1,27 +0,0 @@
# Diuna
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.3.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application 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.

View File

@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"Diuna": {
"DiunaBI": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
@@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/diuna",
"outputPath": "dist/diunaBI",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
@@ -76,10 +76,10 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "Diuna:build:production"
"browserTarget": "DiunaBI:build:production"
},
"development": {
"browserTarget": "Diuna:build:development"
"browserTarget": "DiunaBI:build:development"
}
},
"defaultConfiguration": "development"
@@ -87,7 +87,7 @@
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "Diuna:build"
"browserTarget": "DiunaBI:build"
}
},
"test": {

View File

@@ -25,7 +25,7 @@ module.exports = function (config) {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/diuna'),
dir: require('path').join(__dirname, './coverage/diunaBI'),
subdir: '.',
reporters: [
{ type: 'html' },

View File

@@ -1,5 +1,5 @@
{
"name": "diuna",
"name": "diuna-bi",
"version": "0.0.5",
"scripts": {
"ng": "ng",

View File

@@ -6,5 +6,5 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'Diuna';
title = 'DiunaBI';
}

View File

@@ -63,7 +63,7 @@ export class LoginPageComponent implements OnInit {
} catch (e: any) {
this.loading = false;
if (e.status === 401) {
this.snackBar$.open("Użytkownik nie istnieje w bazie danych aplikacji Diuna.", "", { duration: 3000 });
this.snackBar$.open("Użytkownik nie istnieje w bazie danych aplikacji DiunaBI.", "", { duration: 3000 });
} else {
this.snackBar$.open("Błąd połączenia z serwerem. Skontaktuj się z administratorem.", "", { duration: 3000 });
}

View File

@@ -12,7 +12,7 @@
<button mat-icon-button (click)="snav.toggle()">
<mat-icon>menu</mat-icon>
</button>
<h1 class="topbar-app-name">Diuna</h1>
<h1 class="topbar-app-name">DiunaBI</h1>
<span class="fill-to-right"></span>
<span class="topbar-user-name" *ngIf="auth$.user">
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">

View File

@@ -1,7 +1,7 @@
export const environment = {
production: true,
api: {
url: "https://diuna.bim-it.pl/api"
url: "https://diunabi.bim-it.pl/api"
},
google: {
clientId: "107631825312-bkfe438ehr9k9ecb2h76g802tj6advma.apps.googleusercontent.com"

View File

@@ -6,7 +6,7 @@ export const environment = {
production: false,
api: {
//url: "http://localhost:5400/api"
url: "https://diuna.bim-it.pl/api"
url: "https://diunabi.bim-it.pl/api"
},
google: {
clientId: "107631825312-bkfe438ehr9k9ecb2h76g802tj6advma.apps.googleusercontent.com"

View File

@@ -1,6 +1,6 @@
{
"name": "Diuna",
"short_name": "Diuna",
"name": "DiunaBI",
"short_name": "DiunaBI",
"theme_color": "#FF9800",
"background_color": "#fafafa",
"display": "standalone",

View File

@@ -1,8 +0,0 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}