Commit graph

107 commits

Author SHA1 Message Date
6be9c80c6e Work on Swagger integration 2020-03-01 12:15:43 +01:00
5d1549cfa2 room controller updated 2020-02-28 17:06:42 +01:00
6a244b27f1 Merge branch 'email-fix' into 'dev'
Fix to email constraint

See merge request sa4-2020/the-sanmarinoes/backend!11
2020-02-28 17:02:46 +01:00
11d3679fdb Fix to email constraint 2020-02-28 16:57:32 +01:00
Jacob Salvi
c853c4cd4e Added a class DeviceRepository that is needed to mirror in the database the class inheritances that are present among the various Devices. Also the method getDevices, that returns a List of the Devices present in a given room, has been added to RoomController.java 2020-02-28 16:51:31 +01:00
2ae0ab5b15 Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into model-update 2020-02-28 15:29:01 +01:00
01ccf6d968 wip 2020-02-28 15:28:55 +01:00
ce939cb7ea Merge branch 'pipeline-feature' into 'dev'
Setting of code quality check in Gitlab pipeline

See merge request sa4-2020/the-sanmarinoes/backend!10
2020-02-28 09:45:47 +01:00
147480605d Trying Gitlab CI 2020-02-28 09:30:20 +01:00
omenem
2271f4a5b9 Email Verifcation Works 2020-02-27 21:39:38 +01:00
omenem
990f1bd6d4 Initial Setup for email verification 2020-02-27 17:31:28 +01:00
c6a769c1b8 updated button and knob dimmers 2020-02-27 17:24:08 +01:00
Matteo Omenetti
88cb2bcf87 Merge branch 'documentation' into 'dev'
polished er diagram for current db model

See merge request sa4-2020/the-sanmarinoes/backend!9
2020-02-27 16:01:15 +01:00
3c7749b271 polished er diagram for current db model 2020-02-27 15:48:53 +01:00
e4236fa780 Merge branch 'cose' into 'dev'
Partial work on input validation and stronger definition of models

See merge request sa4-2020/the-sanmarinoes/backend!8
2020-02-27 10:46:25 +01:00
omenem
f70084dd40 Added minimum length of password 2020-02-27 09:40:44 +01:00
40785d0cf1 Better email validation for user and partial update for /auth/update 2020-02-27 09:33:03 +01:00
48441dfe07 Started work on input validation 2020-02-26 21:41:54 +01:00
omenem
b2353e9834 Small Changes 2020-02-26 18:58:01 +01:00
omenem
1ab4fee6ff Little changes to Room and dimmableLight classes 2020-02-26 18:56:47 +01:00
Matteo Omenetti
3e57e047a5 Merge branch 'documents' into 'dev'
Document folder

See merge request sa4-2020/the-sanmarinoes/backend!7
2020-02-26 15:31:00 +01:00
4a141b7cb8 added entity relationship diagram 2020-02-26 15:13:43 +01:00
Matteo Omenetti
4b9944ab0d Merge branch 'controllers-feature' into 'dev'
Controllers feature

See merge request sa4-2020/the-sanmarinoes/backend!6
2020-02-26 14:52:24 +01:00
Matteo Omenetti
3070113ba2 Merge branch 'dev' into 'controllers-feature'
# Conflicts:
#   .idea/misc.xml
#   git-hooks/pre-commit.sh
2020-02-26 14:51:47 +01:00
df3f4de271 Merge branch 'login-feature' into 'dev'
Login feature

See merge request sa4-2020/the-sanmarinoes/backend!5
2020-02-26 14:43:39 +01:00
0cb1f1606a Updated hibernate DDL policy and solved LazyInitializationException bug on User.toString() 2020-02-26 14:41:11 +01:00
omenem
ae993b0bab New Controllers 2020-02-26 13:25:38 +01:00
4818929dad fixed redundant id in update methods 2020-02-26 11:40:33 +01:00
ad3e5271ac Working auth with JWT 2020-02-25 17:51:45 +01:00
3c0c09c375 added image and icon fields to Room 2020-02-25 16:23:12 +01:00
Jacob Salvi
7195e999ea UserController 2020-02-25 16:07:48 +01:00
a3128b7cb7 added controllers and fixed RoomRepository 2020-02-25 16:04:11 +01:00
03fed60a34 fixed user controller 2020-02-25 15:44:10 +01:00
Jacob Salvi
423e17ecb8 small changes 2020-02-25 15:03:41 +01:00
e26f5976c6 added User controller, renamed DeviceController 2020-02-25 14:38:14 +01:00
omenem
2681806091 First Controller 2020-02-25 14:25:03 +01:00
d9348bb6da Merge branch 'data-model-feature' into 'dev'
Data model feature

See merge request sa4-2020/the-sanmarinoes/backend!4
2020-02-24 16:53:00 +01:00
e3df659e82 Formatted code according to google java (aosp) format 2020-02-24 14:28:13 +01:00
e932c5cf58 Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into data-model-feature 2020-02-24 14:19:06 +01:00
e859d85451 Merge branch 'git-hook-feature' into 'dev'
Git hook feature

See merge request sa4-2020/the-sanmarinoes/backend!3
2020-02-24 14:16:37 +01:00
f8c268111c Formatted code according to google java (aosp) format 2020-02-24 14:15:49 +01:00
cbac8fc8db Added git hooks scripts for java formatting 2020-02-24 14:12:51 +01:00
Claudio Maggioni (maggicl)
a353007651 Upd. models and added repository for each entity 2020-02-23 00:11:09 +01:00
Claudio Maggioni (maggicl)
32f1412564 Improvements to data model
Set up connection parameters for local postgres db. Updated schema in
order not to cause clashes with reserved SQL tokens.
2020-02-22 23:19:34 +01:00
Claudio Maggioni (maggicl)
87c17434ac Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into data-model-feature 2020-02-22 20:57:15 +01:00
ad8c408645 Merge branch 'gradle-gitignore-feature' into 'dev'
Updated .gitignore to ignore gradle files

See merge request sa4-2020/the-sanmarinoes/backend!2
2020-02-22 20:53:55 +01:00
Claudio Maggioni (maggicl)
0a51533b5c Updated .gitignore to ignore gradle files@ 2020-02-22 20:52:54 +01:00
1359800845 Merge branch 'data-model-feature' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into data-model-feature 2020-02-22 11:33:50 +01:00
0cc59e608c Updated models to implement JPA and agreed ER diagram 2020-02-22 11:31:10 +01:00
Jacob Salvi
9f5821e993 small changes to Romm 2020-02-21 16:10:58 +01:00