Commit Graph

60 Commits

Author SHA1 Message Date
75e5874dc2 Add extra logging for tests. 2025-01-26 18:50:27 +04:00
ddcb6b6d5d Add extra logging for tests. 2025-01-26 18:43:05 +04:00
1b5917f651 Add VKID OAuth integration and constants
- Add VKIDModule
- Define vkIdConstants in constants.ts
- Create OAuthRequestDto for VKID
- Create OAuthResponseDto for VKID
2025-01-26 01:14:46 +04:00
bf58c2b66a fixup! 3.0.0. 2025-01-25 23:26:16 +04:00
425805031a fixup! 3.0.0. 2025-01-25 22:52:04 +04:00
50325c3862 3.0.0.
- Updated package version to 3.0.0
- Improved FCM topic handling logic
- Enhanced schedule parser accuracy
- Removed HTTPS options for dev simplicity
- Added detailed API documentation
- Removed support for older api versions
2025-01-25 22:51:33 +04:00
1174f61487 Refactor and reorganize codebase for better maintainability and clarity
- Rename DTOs to entities and move them to appropriate directories
- Remove deprecated controllers and services
- Update imports and dependencies
- Implement new class transformer decorators for better serialization
- Add VK authentication support
- Improve error handling and validation
- Update ESLint configuration and TypeScript settings
- Refactor schedule parsing logic
- Enhance user and authentication services
- Update Prisma schema and related entities
- Improve code organization and structure

This commit introduces significant changes to improve the overall structure and maintainability of the codebase, including better organization of DTOs, enhanced authentication features, and updated tooling configurations.
2025-01-25 03:36:58 +04:00
09a55fdff8 Смена времени действия jwt токенов. 2024-12-23 18:55:05 +04:00
855206d822 АХАХААХАХХАХ 2024-12-20 23:02:58 +04:00
a41064e24a 2.2.3 2024-12-20 22:41:58 +04:00
f92e27dd34 Фикс регистрации для адекватной работы регистрации преподавателей. 2024-12-20 22:41:47 +04:00
31f7f3c9c3 2.2.2 2024-12-13 06:03:22 +04:00
e9e10ad17e Отключение обновление ссылки для старых версий 2024-12-13 06:03:11 +04:00
c79052c8d4 Повторный фикс 2024-12-02 11:36:12 +04:00
1faae50863 2.2.1 2024-12-02 11:31:28 +04:00
38badf3c2f Фикс парсинга подгруппы и добавление парсинга пары типа "экзамен". 2024-12-02 11:31:16 +04:00
e20fe9745d format & lint 2024-11-17 23:20:07 +04:00
ea70c5cd07 2.2.0 2024-11-17 23:17:47 +04:00
504f06db92 Прекращение поддержки расписания v1.
Новые типы пар.

Фикс парсинга информации о паре, если в названии присутствуют дополнительные данные.
2024-11-17 23:17:33 +04:00
387b847a5d 2.1.1 2024-11-12 04:12:23 +04:00
b2f9b3a7df Исправление краша при обновлении расписания.
Исправление отсутствия субботы из-за изменившегося формата расписания.
2024-11-12 04:11:38 +04:00
4b5fe6e1bd Откат обновления пакета jest.
Спасибо ещё не обновившемуся ts-jest.
2024-11-03 07:10:51 +04:00
d5abb537fb 2.1.0 2024-11-03 07:05:02 +04:00
7f6ab874db Добавлено получение расписания по имени преподавателя. 2024-11-03 07:04:52 +04:00
2bb09f1f52 2.0.3 2024-11-01 02:00:46 +04:00
fe88c685e0 Возможный фикс невозможности отправить уведомление.
Добавлена возможность отправки сообщений вручную.
2024-11-01 02:00:33 +04:00
979877532c 2.0.2
Фикс получения списка групп во второй версии api.
2024-10-26 17:59:13 +04:00
ab15fdc136 2.0.1
Фикс уведомлений при обновлении расписания и хеширования кеша.
2024-10-21 00:50:12 +04:00
39ba88105f ESLint фиксы 2024-10-19 02:16:42 +04:00
5fe5d56ca9 2.0.0
Я пока перечислю - умру.
Надо научиться писать changelog постепенно.
2024-10-19 02:12:37 +04:00
ad730e0943 Пришлось изменить версию SignInResDtoV1 на SignInResDtoV2 из-за непродуманного кода приложения. 2024-10-13 18:02:52 +04:00
c594039ca2 1.4.0
Энд-поинт schedule/get-group-names теперь не требует авторизации (для формы регистрации).

Энд-поинт schedule/get-group теперь не требует указания группы. Она берётся из данных пользователя.

Энд-поинт auth/sign-in теперь может возвращать группу пользователя начиная с версии 1.
2024-10-13 17:59:48 +04:00
a4d7bb9cdc 1.3.5
Мда... Хуже не придумаешь.
2024-10-10 23:52:51 +04:00
64168dc517 1.3.4
Обновление пакетов.
2024-10-07 03:08:03 +04:00
Nikita
b2287653e1 Merge pull request #2 from N08I40K/dependabot/npm_and_yarn/multi-822288a268
Bump body-parser, @nestjs/platform-express and express
2024-10-07 03:03:00 +04:00
Nikita
77d0038816 Merge branch 'master' into dependabot/npm_and_yarn/multi-822288a268 2024-10-07 03:02:45 +04:00
dependabot[bot]
0a6a7c97d5 Bump body-parser, @nestjs/platform-express and express
Bumps [body-parser](https://github.com/expressjs/body-parser) to 1.20.3 and updates ancestor dependencies [body-parser](https://github.com/expressjs/body-parser), [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express) and [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `@nestjs/platform-express` from 10.4.1 to 10.4.4
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.4.4/packages/platform-express)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-06 23:01:26 +00:00
Nikita
5b0b221174 Merge pull request #1 from N08I40K/dependabot/npm_and_yarn/multi-405b23abac
Bump path-to-regexp, @nestjs/core, @nestjs/platform-express, @nestjs/swagger and express
2024-10-07 03:01:10 +04:00
dependabot[bot]
fa9b8d9b25 Bump path-to-regexp, @nestjs/core, @nestjs/platform-express, @nestjs/swagger and express
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 3.3.0 and updates ancestor dependencies [path-to-regexp](https://github.com/pillarjs/path-to-regexp), [@nestjs/core](https://github.com/nestjs/nest/tree/HEAD/packages/core), [@nestjs/platform-express](https://github.com/nestjs/nest/tree/HEAD/packages/platform-express), [@nestjs/swagger](https://github.com/nestjs/swagger) and [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.7 to 3.3.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v3.3.0)

Updates `@nestjs/core` from 10.4.1 to 10.4.4
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.4.4/packages/core)

Updates `@nestjs/platform-express` from 10.4.1 to 10.4.4
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.4.4/packages/platform-express)

Updates `@nestjs/swagger` from 7.4.0 to 7.4.2
- [Release notes](https://github.com/nestjs/swagger/releases)
- [Changelog](https://github.com/nestjs/swagger/blob/master/.release-it.json)
- [Commits](https://github.com/nestjs/swagger/compare/7.4.0...7.4.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: "@nestjs/core"
  dependency-type: direct:production
- dependency-name: "@nestjs/platform-express"
  dependency-type: direct:production
- dependency-name: "@nestjs/swagger"
  dependency-type: direct:production
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-06 23:00:52 +00:00
504ca54124 1.3.3
Фикс парсинга ФИО преподавателей при отсутствии пробела между ФИО преподавателя и его подгруппой.
2024-10-06 20:43:18 +04:00
5c66c617ff Крутой фикс, согласен... 2024-10-06 17:55:40 +04:00
ac95dad30e 1.3.2
Фикс подписки пользователя на уведомления.
2024-10-06 17:46:14 +04:00
2efceeaec4 1.3.1
Уведомления об обновлении приложения.
2024-10-06 02:43:13 +04:00
6ffe39a4a9 1.3.0
Добавлена совместимость с Firebase Cloud Messaging.

Сервис и контроллер модуля schedule-replacer были перенесены в модуль schedule.
2024-10-05 00:36:50 +04:00
32e06350ad 1.2.0
Добавлена возможность заменять файл с расписанием.

Добалена возможность давать доступ к end-point'ам только определённым ролям.

Чуть-чуть меньше спагетти в объявлениях модулей.
2024-10-03 01:49:23 +04:00
d18a6764c9 1.1.1
Фикс невозможности парсинга субботы.

class-validator.interceptor.ts
- Добавлена возможность возвращать клиенту любой DTO из списка.

Добавлен разный ответ клиенту в зависимости от его версии.
2024-09-28 01:40:19 +04:00
99dc3c86e7 1.1.0 2024-09-26 03:52:26 +04:00
cd9dc319eb Обновлённая система кеширования и чистка кода. 2024-09-26 01:37:44 +04:00
811feff173 Добавление теста и некоторые переработки кода. 2024-09-25 22:42:13 +04:00
a6c84302b2 Обход бана по IP за частые обращения к сайту политехникума за счёт скачивания кода страницы на стороне клиентов. 2024-09-16 15:12:29 +04:00