35 Commits

Author SHA1 Message Date
df66398b9e Admin cannot block employee if it is admin too v1.0 2025-02-20 16:34:34 +03:00
e6c0ba5c67 Little fix error 2025-02-20 16:02:27 +03:00
18b978badd Delete Utils and add ExceptionHandler for exceptions 2025-02-20 16:00:13 +03:00
52c75deff8 Delete Utils and add ExceptionHandler for exceptions 2025-02-20 15:58:48 +03:00
b5a88952ff Add employee endpoint /visits 2025-02-20 12:40:15 +03:00
6501d3098f Add admin endpoint /{username}/block 2025-02-20 12:20:47 +03:00
6dd60a2f2f Add test employees 2025-02-20 12:19:36 +03:00
9b2c4501e1 Add method Forbidden to Utils; change logic of endpoint /employee/open 2025-02-20 10:58:08 +03:00
e6ca7e5322 Change last name for test employee 2025-02-20 10:46:06 +03:00
20db8878bc Add table Visits 2025-02-19 19:00:13 +03:00
f14f91f725 [controller] Add controllers and change EmployeeController
- Create AdminController with path /api/admin with endpoint admin endpoint `/employees`
- Create GlobalController with endpoint `/api/login`
- Remove some endpoints and refactor remaining endpoints
2025-02-19 16:02:50 +03:00
604166fbf8 [security] Add SpringSecurity with Basic authorization 2025-02-19 15:57:42 +03:00
d6ba2d4c29 [data.sql] Fix little error :) 2025-02-19 15:51:08 +03:00
be139f2178 [service] Add func getAllEmployees 2025-02-19 15:44:03 +03:00
345c922be9 [data.sql] Add columns hashed_password, role, blocked to test-employees 2025-02-19 15:42:26 +03:00
7d59c875dd [Utils] move result-models methods to class Utils 2025-02-19 15:40:38 +03:00
9bc8425381 [spring] Add dependency spring-boot-security 2025-02-19 15:38:50 +03:00
ab0c956d9f [entity] Add columns hashed_password, role, blocked in table Employee 2025-02-19 15:38:13 +03:00
2ae3fd429d [sql-data] fix little error 2025-02-19 14:58:05 +03:00
e3fbdfd6fc [sql-data] fix little error 2025-02-19 14:56:58 +03:00
237a197ebd [sql-data] add test user 'Владимир Сигмович' 2025-02-19 14:47:03 +03:00
cdda90508a [properties] Set DEBUG-level logging and port 2025 2025-02-19 14:27:56 +03:00
60fce4cd3d Files from NTO-2 stage (Olympath command) 2025-02-18 18:54:02 +03:00
61b130fdfc revert 68a2acd9257a4f9b8a345a0cfa16e1445e4da88f
revert Update template and add liquibase
2024-11-23 11:42:25 +00:00
d4b192eccc revert 1a2662d4f0c22bc25ba6adafafb60f3595c99912
revert Удалить src/main/resources/data.sql
2024-11-23 11:42:06 +00:00
50f01f407b revert 68a2acd9257a4f9b8a345a0cfa16e1445e4da88f
revert Update template and add liquibase
2024-11-23 11:41:38 +00:00
3b49914bee Обновить readme.md 2024-11-23 11:39:55 +00:00
6f389c1cb4 Добавить read.me 2024-11-23 11:39:18 +00:00
79fca06866 revert a23ad50d417597d971fe28cbab20ba6c52e39ae2
revert Добавить README.md
2024-11-23 11:38:21 +00:00
15e0e7ced4 revert 135190530beb747194de6497102f4e6f9f12928a
revert Update template and add liquibase
2024-11-23 11:36:07 +00:00
135190530b Update template and add liquibase 2024-11-22 14:25:12 +07:00
1a2662d4f0 Удалить src/main/resources/data.sql 2024-11-22 07:17:54 +00:00
68a2acd925 Update template and add liquibase 2024-11-22 13:58:16 +07:00
Анастасия Таразевич
a23ad50d41 Добавить README.md 2024-11-20 01:55:22 +00:00
9f44325590 Inital commit 2024-10-30 01:40:49 +07:00