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 # Visual Studio Version 17
VisualStudioVersion = 17.4.33110.190 VisualStudioVersion = 17.4.33110.190
MinimumVisualStudioVersion = 10.0.40219.1 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 EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution 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, "version": 1,
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"Diuna": { "DiunaBI": {
"projectType": "application", "projectType": "application",
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
@@ -17,7 +17,7 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"outputPath": "dist/diuna", "outputPath": "dist/diunaBI",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
@@ -76,10 +76,10 @@
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "Diuna:build:production" "browserTarget": "DiunaBI:build:production"
}, },
"development": { "development": {
"browserTarget": "Diuna:build:development" "browserTarget": "DiunaBI:build:development"
} }
}, },
"defaultConfiguration": "development" "defaultConfiguration": "development"
@@ -87,7 +87,7 @@
"extract-i18n": { "extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n", "builder": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "Diuna:build" "browserTarget": "DiunaBI:build"
} }
}, },
"test": { "test": {

View File

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

View File

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

View File

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

View File

@@ -63,7 +63,7 @@ export class LoginPageComponent implements OnInit {
} catch (e: any) { } catch (e: any) {
this.loading = false; this.loading = false;
if (e.status === 401) { 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 { } else {
this.snackBar$.open("Błąd połączenia z serwerem. Skontaktuj się z administratorem.", "", { duration: 3000 }); 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()"> <button mat-icon-button (click)="snav.toggle()">
<mat-icon>menu</mat-icon> <mat-icon>menu</mat-icon>
</button> </button>
<h1 class="topbar-app-name">Diuna</h1> <h1 class="topbar-app-name">DiunaBI</h1>
<span class="fill-to-right"></span> <span class="fill-to-right"></span>
<span class="topbar-user-name" *ngIf="auth$.user"> <span class="topbar-user-name" *ngIf="auth$.user">
<img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar"> <img *ngIf="auth$.user.avatar" src="{{auth$.user.avatar}}" class="avatar">

View File

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

View File

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

View File

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

View File

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