Commit graph

558 commits

Author SHA1 Message Date
omenem
25c077dd04 Tests for ButtonDimmer 2020-03-17 14:09:20 +01:00
Jacob Salvi
92b799e61c Merge branch 'dev' of lab.si.usi.ch:sa4-2020/the-sanmarinoes/backend into ci-cd 2020-03-17 14:06:49 +01:00
3096c7862c Merge branch '22-test-controllers' into 'dev'
Resolve "Test all new controllers and websocket"

Closes #31

See merge request sa4-2020/the-sanmarinoes/backend!39
2020-03-17 14:02:26 +01:00
Jacob Salvi
e8f90c832d added tags: dind, also I am an idiot 2020-03-17 13:52:30 +01:00
2b65198df7 updated smartplug 2020-03-16 17:01:21 +01:00
9b9dac533d Merge branch '34-drop-uniquess-constraint-on-user-fk-in-room-entity' into 'dev'
Resolve "Drop uniquess constraint on User FK in Room entity"

Closes #34

See merge request sa4-2020/the-sanmarinoes/backend!41
2020-03-16 15:12:13 +01:00
23edc90b81 Fixed @tommi27 uniqueness frenzy for rooms
I have now discovered the Schadenfreude in using git-blame. To quote an
old commit message from high school:

[Trascrizione domande fisica e correzione di GRAVISSIMI bug presenti nel
codici di Maggioni](dd0933def0)

```
La trascrizione dei test è stata fatta in modo certosino, simile a
quello dei monaci emanuensi.
I GRAVISSIMI buggg (3 g perchè fa faigo) potevano rendere il sito
incomprensibile
```
2020-03-16 14:53:07 +01:00
Jacob Salvi
ac92344b53 added tags: dind 2020-03-16 14:28:35 +01:00
a79c5d8671 Merge branch '32-add-get-device-call-to-get-all-devices-of-a-user' into 'dev'
Resolve "Add GET /device call to get all devices of a user"

Closes #32

See merge request sa4-2020/the-sanmarinoes/backend!40
2020-03-15 17:13:52 +01:00
9c60475e92 Added GET /device route 2020-03-15 17:05:52 +01:00
24fa574c63 Added email confirmation test 2020-03-15 15:06:46 +01:00
7e53ccd608 Merge branch '28-implement-websockets-for-sensors-and-motion-sensors' into 'dev'
Resolve "Implement fake updates trough websockets for sensors and motion sensors"

Closes #28

See merge request sa4-2020/the-sanmarinoes/backend!37
2020-03-15 14:56:15 +01:00
620c196393 Implemented fake updates 2020-03-15 14:49:51 +01:00
cf940df6b2 Socket now sends motion sensor updates 2020-03-15 13:51:14 +01:00
5a441a6992 Socket now sends sensor updates 2020-03-15 13:41:57 +01:00
fd6103b6da Merge branch 'websockets-feature' into 'dev'
Import and adapt code from secret source for websockets (@tommi27 you don't know anything about it, right?)

See merge request sa4-2020/the-sanmarinoes/backend!30
2020-03-15 11:08:41 +01:00
3c034f56d1 Socket authentication works 2020-03-15 10:44:10 +01:00
34dce54575 wip 2020-03-14 20:32:54 +01:00
707291e637 Unauthenticated socket works 2020-03-14 20:32:54 +01:00
589ef8c3cc Imported code from secret source for websockets (@tommi27 you don't know anything about it, right?) 2020-03-14 20:32:54 +01:00
1e2bb75181 Merge branch 'web-socket-feature' into 'dev'
Better .gitignore and uniqueness constraints

See merge request sa4-2020/the-sanmarinoes/backend!36
2020-03-14 20:27:05 +01:00
873ef54e13 Merge branch 'dev' into 'web-socket-feature' 2020-03-14 20:22:01 +01:00
73e1328d70 Branch cleaning 2020-03-14 20:07:58 +01:00
082c420d6c Merge branch '5-add-delete-or-modify-rooms' into 'dev'
Resolve "Add, Delete, or Modify rooms"

Closes #5

See merge request sa4-2020/the-sanmarinoes/backend!35
2020-03-14 19:56:28 +01:00
5683bbe3e3 Added room icons in model as enum 2020-03-14 19:51:01 +01:00
23e3293e9c Merge branch '26-redefine-device-update-calls-in-rest-api-as-single-route-and-have-specialized-routes-for' into 'dev'
Resolve "Redefine device update calls in REST api as single route and have specialized routes for triggers on input devices"

Closes #26

See merge request sa4-2020/the-sanmarinoes/backend!34
2020-03-14 17:06:18 +01:00
f52a38082c General rewrite of device controllers. Now only output devices can be
changes with a PUT call on their controller. Other devices use the
generic controller.
2020-03-14 16:59:56 +01:00
ed2900a3bc New abstraction for connections 2020-03-14 12:40:28 +01:00
6fef7663dd Knob dimmer now with new rest conversation scheme 2020-03-13 18:48:19 +01:00
3a97d40858 Button dimmer now with new rest conversation scheme 2020-03-13 18:20:16 +01:00
7bb05b705f Neutralized id value from client in device routes for creation.
Reconfigured Springfox for authentication in device and room routes.
2020-03-13 15:48:20 +01:00
f1fc5a83c1 Merge branch 'ci-cd' into 'dev'
Added an initial pipeline for the continous integration

See merge request sa4-2020/the-sanmarinoes/backend!32
2020-03-12 17:55:50 +01:00
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