Commit Graph

43 Commits

Author SHA1 Message Date
89ba108078 Add location implementation 2020-05-13 15:50:08 +02:00
0d95e5f8f6 Update whoami endpoint to return a userWithRole projection 2020-05-13 14:44:45 +02:00
bd89747020 Comply to spring package structure 2020-05-13 14:27:15 +02:00
055abd95a4 Add withUser projection to account 2020-05-13 14:18:58 +02:00
3a48734544 Switch from crud to paging and sorting, adjust paths and rels 2020-05-13 14:02:24 +02:00
4c05c668cb Define lazy and eager fetching explicit 2020-05-13 13:42:43 +02:00
d4f39f27ae Add LoginUser to successfully parse the request and create a token 2020-05-11 21:15:25 +02:00
3ca73361f0 Introduce proper many to one relation 2020-05-11 20:21:05 +02:00
22df05010b Expose user resource
Add projection withRole
Remove TimetrackUser reference from TimetrackAccount
2020-05-09 21:05:06 +02:00
f186a89bb8 Change sign-up url, Add whoami endpoint 2020-05-09 19:20:35 +02:00
6abdab2cf6 Formatting and little optimization 2020-05-09 19:19:14 +02:00
8e7f9c06d3 Implement Sign-up, Add id generation type identity to Entities 2020-05-09 19:19:13 +02:00
5afa5daece Change backend port from 80 to 5000 everywhere 2020-05-09 18:25:44 +02:00
4da43de4f6 Add DTO / DAO description 2020-05-09 18:25:41 +02:00
8d9b6a0348 Update Spring dependencies 2020-05-03 19:50:25 +02:00
004d1eef67 Change password notice 2020-05-02 11:52:01 +02:00
ec702d93c5 Add sample user controller with sign-up and name of current user 2020-05-01 23:57:47 +02:00
c7ff49bc64 Update data.sql to drop all existing entries at restart 2020-05-01 23:55:23 +02:00
20eb68b44f Implement JWT Security Manager Filter
Rename User to TimetrackUser
Add default data
Add BCrypter as password encryptor
Add security constants
Enable websecurity on all endpoints except on SIGN_UP_URL
Implement UserDetailsService
Update properties files
2020-05-01 23:10:54 +02:00
db05d41d06 Add spring security and jwt, Add lombok, Reorder dependencies 2020-05-01 19:57:30 +02:00
b4cf5eb96b Activate SQL statement logging in debug 2020-05-01 19:52:17 +02:00
23a72fa238 Formatting 2020-04-30 20:42:22 +02:00
56a3ddad27 Create TimeRecord, Timetrackaccount and Role
Move Entities in correct packages
2020-04-30 20:40:59 +02:00
945316ae67 Add Role Repository 2020-04-30 20:40:59 +02:00
92de6cc6f4 Add Role, TimeRecord, TimetrackAccount and RecordType
Update User to have Roles and TimetrackAccounts
2020-04-30 20:40:59 +02:00
60f069b635 Activate H2 console for the dev environment 2020-04-30 20:40:59 +02:00
05cb94abf0 Generate User Constructor with lombok 2020-04-30 20:40:58 +02:00
e944d34316 Move User and UserRepository to the correct packages 2020-04-30 20:40:58 +02:00
144305a6c0 Lower max lifetime value for mysql connection 2020-04-26 15:52:50 +02:00
52b5065558 Add fail timeout for mariadb spring boot connection, Add spring actuator 2020-04-22 20:36:34 +02:00
2c7418529b Add dev and prod profile, Add MariaDB connector
Prod is default
Add IDEA Run Configs for DEV (IDEA) and PROD (Docker-Compose)
2020-04-22 19:13:46 +02:00
496394dac1 Add Compose run config for IDEA 2020-04-22 19:13:45 +02:00
916524eed5 Remove UserService because it's not needed for a data entity 2020-04-17 18:45:22 +02:00
dd94b40110 Update base endpoint to "/api" 2020-04-17 18:44:31 +02:00
b40d87375a Make UserRepository from type PagingAndSorting 2020-04-17 18:44:06 +02:00
ce81ff07ba Remove UserController, Add UserRepository 2020-04-17 18:03:36 +02:00
9ef00cc092 Create User entity 2020-04-17 18:02:57 +02:00
41338738b0 Add lombok dependencies 2020-04-15 23:51:07 +02:00
73aef924fa Add data-jpa dependencies 2020-04-15 23:51:07 +02:00
7bf6110290 Add some config files and Run config 2020-04-15 23:51:06 +02:00
b7f84e0715 Remove HelloWorld and Create User Service 2020-04-15 23:51:06 +02:00
3c0e774a59 Add Dockerfile for spring backend 2020-04-14 09:55:13 +02:00
15478b096b Add backend project with some boiler plate code, Add gitignore for spring project 2020-04-04 19:59:18 +02:00