Commit graph

376 commits

Author SHA1 Message Date
5995bfcad2 Allowed failures (for now) for CPD check 2020-03-12 17:47:40 +01:00
Jacob Salvi
90d951d2ac Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into ci-cd
# Conflicts:
#	build.gradle
2020-03-12 17:22:40 +01:00
c74865e3a3 Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into ci-cd 2020-03-12 16:24:57 +01:00
beeb5d82a9 Merge branch '27-tests-fail-since-h2-version-is-old' into 'dev'
Resolve "Tests fail since h2 version is old"

Closes #27

See merge request sa4-2020/the-sanmarinoes/backend!33
2020-03-12 16:23:38 +01:00
60f81c3cc1 Fixed h2 version in tests 2020-03-12 16:23:02 +01:00
Jacob Salvi
9daa9a8a42 Added an initial pipeline for the continous integration 2020-03-11 17:35:04 +01:00
046010d1d8 Merge branch '25-cors-configuration-does-not-allow-authorization-header' into 'dev'
Resolve "CORS configuration does not allow Authorization header"

Closes #25

See merge request sa4-2020/the-sanmarinoes/backend!31
2020-03-10 15:04:03 +01:00
070dde4e69 Fixed CORS config 2020-03-10 15:03:23 +01:00
78abd0c7b0 Merge branch '21-test-endpoints' into 'dev'
Resolve "Test endpoints"

Closes #21

See merge request sa4-2020/the-sanmarinoes/backend!26
2020-03-09 23:15:50 +01:00
ca63f0d7df Merge branch 'dev' into '21-test-endpoints'
# Conflicts:
#   build.gradle
2020-03-09 23:14:46 +01:00
507f523991 Merge branch 'doc-for-all-fix' into 'dev'
Added all paths to swagger documentation

See merge request sa4-2020/the-sanmarinoes/backend!29
2020-03-09 23:13:36 +01:00
dfdf9ba361 Added all paths to swagger documentation 2020-03-09 23:12:39 +01:00
4fa55e364c Merge branch '24-emailconfigurationservice-does-not-validate-and-or-fetch-the-correct-properties' into 'dev'
Resolve "EmailConfigurationService does not validate and/or fetch the correct properties"

Closes #24

See merge request sa4-2020/the-sanmarinoes/backend!28
2020-03-09 17:07:31 +01:00
0d9982fb50 Fixed email configuration 2020-03-09 17:06:59 +01:00
omenem
8838beb0e0 Removed setId methods from DTO classes 2020-03-08 18:58:45 +01:00
e3a64a6fd3 Merge branch '22-reset-password-feature' into 'dev'
Resolve "Reset password feature"

Closes #22

See merge request sa4-2020/the-sanmarinoes/backend!27
2020-03-06 11:16:11 +01:00
57e9a53cf1 Password reset manually tested and fixed 2020-03-06 11:10:58 +01:00
860fae779d Added support for password reset (still needs testing) 2020-03-06 10:24:06 +01:00
a0fe5f989a Revert "Added support for password reset (still needs testing)"
This reverts commit 7396e6f0d9.
2020-03-06 10:21:36 +01:00
7396e6f0d9 Added support for password reset (still needs testing) 2020-03-05 17:07:29 +01:00
748c5ba4b4 Added more tests on login/registration 2020-03-05 15:03:23 +01:00
e8a55ae131 Started work on tests 2020-03-05 12:42:53 +01:00
6d2f7a25fb Merge branch '20-put-post-on-room-does-not-move-room-name-in-dto' into 'dev'
Resolve "PUT/POST on room does not move room name in DTO"

Closes #20

See merge request sa4-2020/the-sanmarinoes/backend!24
2020-03-04 17:15:05 +01:00
Matteo Omenetti
f547851eac Merge branch 'statusCode' into 'dev'
Added execpetion when a device is not found

See merge request sa4-2020/the-sanmarinoes/backend!25
2020-03-04 17:08:24 +01:00
3dfcd30f4e Fixed POST /room (Git merge I will avenge you) 2020-03-04 17:01:09 +01:00
omenem
2c95915333 Added execpetion when a device is not found 2020-03-04 16:55:53 +01:00
749d79d51e added skeleton for websockets 2020-03-04 16:07:23 +01:00
Matteo Omenetti
bff433e954 Merge branch '18-username-not-enable-can-login' into 'dev'
Resolve "Username not enable can login"

Closes #18

See merge request sa4-2020/the-sanmarinoes/backend!23
2020-03-04 15:40:36 +01:00
omenem
6b9dcf2440 You nedd to verify your mail in onder to login 2020-03-04 15:33:58 +01:00
7cd2b44a44 added gitignore for iml files 2020-03-04 15:25:53 +01:00
033b52af18 Merge branch '17-email-login-does-not-work' into 'dev'
Resolve "Email login does not work"

Closes #17

See merge request sa4-2020/the-sanmarinoes/backend!22
2020-03-04 15:17:04 +01:00
britea
8c1a0db920 fixed login 2020-03-04 15:11:23 +01:00
b6add2aaf6 Merge branch '16-no-validation-on-login-route-causes-nullpointer' into 'dev'
Resolve "No validation on login route causes NullPointer"

Closes #16

See merge request sa4-2020/the-sanmarinoes/backend!21
2020-03-04 13:35:38 +01:00
d209586933 Fixed login request validation 2020-03-04 13:28:51 +01:00
5a5cc2e013 Merge branch 'corss-fix' into 'dev'
Adjusted access-control-allow-headers

See merge request sa4-2020/the-sanmarinoes/backend!20
2020-03-03 12:15:59 +01:00
2dff446c23 Adjusted access-control-allow-headers 2020-03-03 12:10:39 +01:00
e43a913ff3 Merge branch '15-enable-cors-for-frontend-interaction' into 'dev'
Resolve "Enable CORS for frontend interaction"

Closes #15

See merge request sa4-2020/the-sanmarinoes/backend!18
2020-03-03 11:41:54 +01:00
4ced73a53d Added CORS origin to * and changed TestController 2020-03-03 11:41:15 +01:00
e806c18809 added uniqueness constraints 2020-03-03 11:04:58 +01:00
c6d4a7e698 Merge branch 'email-username-login-feature' into 'dev'
Added email support to login

See merge request sa4-2020/the-sanmarinoes/backend!19
2020-03-03 11:01:00 +01:00
c66017c984 Added email support to login 2020-03-03 10:55:35 +01:00
eede89b7be Merge branch 'device-unification' into 'dev'
Device unification

See merge request sa4-2020/the-sanmarinoes/backend!17
2020-03-02 22:05:05 +01:00
eecee30841 Redoing all @tommi27 work on model since git merge is now sentient and trying to delete stuff from our project 2020-03-02 21:59:49 +01:00
5ae97da8a7 Merge branch 'dev' into 'device-unification'
# Conflicts:
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/config/SpringFoxConfig.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/ButtonDimmerController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/DimmableLightController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/KnobDimmerController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/MotionSensorController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/RegularLightController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SensorController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SmartPlugController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/SwitchController.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/User.java
2020-03-02 21:48:02 +01:00
4f0351cab9 Solved recursive JSON problem in RoomController.getAllDevices() 2020-03-02 21:44:00 +01:00
e5a8eecdab Merge branch 'model-update' into 'dev'
Model update

See merge request sa4-2020/the-sanmarinoes/backend!16
2020-03-02 20:49:13 +01:00
529adb0d83 Merge branch 'dev' into 'model-update'
# Conflicts:
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/ButtonDimmer.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/KnobDimmer.java
2020-03-02 20:44:11 +01:00
44d17c1cdd Merge branch 'email-feature' into 'dev'
Email feature

See merge request sa4-2020/the-sanmarinoes/backend!15
2020-03-02 17:19:14 +01:00
74008b6b5e Merge branch 'dev' into 'email-feature'
# Conflicts:
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/config/SpringFoxConfig.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/config/WebSecurityConfig.java
#   src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/AuthenticationController.java
2020-03-02 17:12:08 +01:00
fcf7189e44 Updated email verification workflow to current code practices 2020-03-02 17:11:29 +01:00