mirror of
https://github.com/immich-app/immich.git
synced 2025-01-27 22:22:45 +01:00
Update bug report template
This commit is contained in:
parent
2e61cf3183
commit
d8b26c6da8
5 changed files with 16 additions and 15 deletions
.github/ISSUE_TEMPLATE
server
apps/immich/src
libs/database/src/config
web/src
16
.github/ISSUE_TEMPLATE/bug_report.md
vendored
16
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -16,8 +16,11 @@ Note: Please search to see if an issue already exists for the bug you encountere
|
||||||
A clear and concise description of what the bug is.
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
**Task List**
|
**Task List**
|
||||||
|
|
||||||
|
*Please complete the task list below. We need this information to help us reproduce the bug or point out problems in your setup. You are not providing enough info may delay our effort to help you.*
|
||||||
|
|
||||||
- [ ] I have read thoroughly the README setup and installation instructions.
|
- [ ] I have read thoroughly the README setup and installation instructions.
|
||||||
- [ ] If my setup is different, I have included my docker-compose file.
|
- [ ] I have included my `docker-compose` file.
|
||||||
- [ ] I have included my redacted `.env` file.
|
- [ ] I have included my redacted `.env` file.
|
||||||
- [ ] I have included information on my machine, and environment.
|
- [ ] I have included information on my machine, and environment.
|
||||||
|
|
||||||
|
@ -34,13 +37,10 @@ A clear and concise description of what you expected to happen.
|
||||||
**Screenshots**
|
**Screenshots**
|
||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
**Desktop (please complete the following information):**
|
**System**
|
||||||
- OS: [e.g. iOS]
|
- Phone OS [iOS, Android]: `<version>`
|
||||||
|
- Server Version: `<version>`
|
||||||
**Smartphone (please complete the following information):**
|
- Mobile App Version: `<version>`
|
||||||
- Device: [e.g. iPhone6]
|
|
||||||
- OS: [e.g. iOS8.1]
|
|
||||||
- Version [e.g. 22]
|
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
Add any other context about the problem here.
|
||||||
|
|
|
@ -7,11 +7,12 @@ import { ApiTags } from '@nestjs/swagger';
|
||||||
import { ServerPingResponse } from './response-dto/server-ping-response.dto';
|
import { ServerPingResponse } from './response-dto/server-ping-response.dto';
|
||||||
import { ServerVersionReponseDto } from './response-dto/server-version-response.dto';
|
import { ServerVersionReponseDto } from './response-dto/server-version-response.dto';
|
||||||
import { ServerInfoResponseDto } from './response-dto/server-info-response.dto';
|
import { ServerInfoResponseDto } from './response-dto/server-info-response.dto';
|
||||||
|
import { DataSource } from 'typeorm';
|
||||||
|
|
||||||
@ApiTags('Server Info')
|
@ApiTags('Server Info')
|
||||||
@Controller('server-info')
|
@Controller('server-info')
|
||||||
export class ServerInfoController {
|
export class ServerInfoController {
|
||||||
constructor(private readonly serverInfoService: ServerInfoService, private readonly configService: ConfigService) {}
|
constructor(private readonly serverInfoService: ServerInfoService) {}
|
||||||
|
|
||||||
@Get()
|
@Get()
|
||||||
async getServerInfo(): Promise<ServerInfoResponseDto> {
|
async getServerInfo(): Promise<ServerInfoResponseDto> {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { dataSource } from '@app/database/config/database.config';
|
||||||
import { Logger } from '@nestjs/common';
|
import { Logger } from '@nestjs/common';
|
||||||
import { NestFactory } from '@nestjs/core';
|
import { NestFactory } from '@nestjs/core';
|
||||||
import { NestExpressApplication } from '@nestjs/platform-express';
|
import { NestExpressApplication } from '@nestjs/platform-express';
|
||||||
|
@ -46,7 +47,6 @@ async function bootstrap() {
|
||||||
customSiteTitle: 'Immich API Documentation',
|
customSiteTitle: 'Immich API Documentation',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
await app.listen(3001, () => {
|
await app.listen(3001, () => {
|
||||||
if (process.env.NODE_ENV == 'development') {
|
if (process.env.NODE_ENV == 'development') {
|
||||||
// Generate API Documentation only in development mode
|
// Generate API Documentation only in development mode
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions';
|
import { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions';
|
||||||
import {DataSource} from "typeorm";
|
import { DataSource } from 'typeorm';
|
||||||
|
|
||||||
export const databaseConfig: PostgresConnectionOptions = {
|
export const databaseConfig: PostgresConnectionOptions = {
|
||||||
type: 'postgres',
|
type: 'postgres',
|
||||||
|
|
|
@ -22,7 +22,7 @@ export const handle: Handle = async ({ event, resolve }) => {
|
||||||
firstName,
|
firstName,
|
||||||
lastName,
|
lastName,
|
||||||
isAdmin,
|
isAdmin,
|
||||||
email,
|
email
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ export const handle: Handle = async ({ event, resolve }) => {
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('Error [handle]', error);
|
console.log('Error [handle]');
|
||||||
return await resolve(event);
|
return await resolve(event);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -45,7 +45,7 @@ export const getSession: GetSession = async ({ locals }) => {
|
||||||
firstName: locals.user.firstName,
|
firstName: locals.user.firstName,
|
||||||
lastName: locals.user.lastName,
|
lastName: locals.user.lastName,
|
||||||
isAdmin: locals.user.isAdmin,
|
isAdmin: locals.user.isAdmin,
|
||||||
email: locals.user.email,
|
email: locals.user.email
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue