Commit Graph

51 Commits

Author SHA1 Message Date
92da1e539e Autoformat backend project 2020-06-11 14:35:29 +02:00
0a0bc34e38 Fix today endpoint to only show entries for today
Add more sample data
2020-05-31 23:29:13 +02:00
17a759ce1e bugfix for allBetweenAndUser Endpoint of records 2020-05-30 18:46:39 +02:00
75d2cb6670 Fix crash when all record fields are null 2020-05-28 19:03:10 +02:00
4e560b9d36 Add cascading delete for connected entities 2020-05-25 21:10:25 +02:00
781ec85851 Implement to query accounts for a given user 2020-05-25 14:11:34 +02:00
Tim Zieger
3a04ff8823 edit user 2020-05-24 10:46:03 +02:00
5e161d9c9d Remove accounts references from User 2020-05-20 23:45:36 +02:00
5eb6efcffe Implement /track endpoint 2020-05-20 23:26:35 +02:00
9f8fd0af1e Implement custom record searches
Create record overview projection
Add today search with scoped principal
Add sample data for records
2020-05-20 23:26:35 +02:00
24b6ff4618 Make UserController a BasePathAwareController 2020-05-19 10:50:33 +02:00
0f700d87b0 Adjust records endpoint name and rels, enable paging 2020-05-19 10:35:14 +02:00
Tim Zieger
efa7587702 login communication 2020-05-17 20:33:45 +02:00
f8f9f12dcc Bugfix data-initialization
Bugfix login
Bugfix sign-up
Docker-compose restart backend always
2020-05-15 16:02:19 +02:00
71ee4b9bd9 Add projection userAllEmbedded to the whoami endpoint 2020-05-13 15:50:54 +02:00
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
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
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
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
b7f84e0715 Remove HelloWorld and Create User Service 2020-04-15 23:51:06 +02:00