Commit Graph

1014 Commits

Author SHA1 Message Date
53764f1bba Configured the project to use Hibernate validation
This requires the Hibernate Tools (a part of JBoss Tools) to be
installed in Eclipse.
2020-04-09 14:15:39 +02:00
e285b6d75e Fixed several errors in GroupResizeProcessor
* a common user was passed to the persistence manager instead of its ID
* a server group was sent to its members instead of the common group
2020-04-09 13:53:06 +02:00
delvh
d61cd8a36e slightly adapted some logging messages 2020-04-06 22:55:59 +02:00
delvh
4e385396ad fixes #129 - contacts are now sent as a part of the user
(if they were not already)...
Additionally renamed some methods named `...Id()` to `...ID()`
2020-04-06 22:55:27 +02:00
840ec53277 Added JavaFX login dialog scene 2020-04-06 15:08:00 +02:00
DieGurke
afc55a3050 Implemented GroupCreationProcessor and GroupResizeProcessor 2020-04-03 19:35:39 +02:00
delvh
5d76bbbcb0 restored compatibility with envoy common (and envoy server standalone) 2020-04-02 22:03:43 +02:00
DieGurke
dd4ad91aa9 Implemented Groups on the database and implemented MSChange management 2020-04-02 20:41:05 +02:00
delvh
051705106b fixed another bug 2020-04-02 20:32:54 +02:00
delvh
b2cd3c340c fixed minor bug 2020-04-02 19:49:56 +02:00
delvh
e6cf3af745 Restored compatability with envoy-common
additionally added NameChangeProcessor
2020-04-02 16:32:23 +02:00
delvh
487c6a6573 Added BASIC group capability (#128)
* Changed serialVersionUID everywhere to 0L

* Added support for GroupResizeEvents and NameChangeEvents

Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-04-02 09:23:47 +02:00
delvh
9b413f81ff Added Junit 5 as dependency 2020-04-02 09:06:10 +02:00
delvh
c176dc6e75 fixed one "major" spelling error (Id-> ID) 2020-04-01 18:15:41 +02:00
delvh
0d3316be4a deleted Contacts object, added contacts as part of Contact class
additionally:
* updated serialization method to not recurse endlessly
* refactored type of contacts from List to Set
2020-04-01 18:09:07 +02:00
c12eac1cbc Removed most Swing components 2020-03-31 21:54:56 +02:00
b5fd690f43 Wrapping data into ObservableList instances instead of copying it 2020-03-30 21:27:07 +02:00
a29608c627 Copied event listeners from ChatWindow to ChatSceneController 2020-03-29 22:15:05 +02:00
delvh
c41089e005 fixed security vulnerability (complete password hash is printed) 2020-03-29 10:28:05 +02:00
delvh
8cdd12e6b8 fixed major (spelling!) error 2020-03-29 10:02:56 +02:00
67433275bd Fixed chat loading from LocalDB into messagList 2020-03-29 09:16:29 +02:00
delvh
026b7404b2 Enabled clients to have groups as contacts 2020-03-28 18:51:07 +01:00
bd0da338a7 Added user and message loading and message posting 2020-03-28 15:32:24 +01:00
delvh
2d99a3785e Created ContactDeletionEvent and equals- + hashcode- method for Contact
additionally extracted enum ElementOperation and fixed wrong
toString-method in Message
2020-03-28 15:21:02 +01:00
a68a01b455 Added custom list cells for the user and message list views 2020-03-28 10:39:15 +01:00
0403729a63 Started moving Startup contents into the new Startup class 2020-03-27 21:14:49 +01:00
6e0b95384b Set Envoy logo as stage icon 2020-03-26 21:01:42 +01:00
DieGurke
c511e482d3 Implemented the setting of the received- and read-date of group messages 2020-03-26 20:54:20 +01:00
c6d074b84a Prepare JavaFX integration
* Added JavaFX and FXML dependencies to pom.xml and module-info.java
* Added Startup Application
* Added ChatScene with ChatSceneController
2020-03-26 20:23:25 +01:00
delvh
198ba2a52d Created method to extract all currently online members of a group
additionally, refactored every ".Id" to ".ID"
2020-03-26 20:14:09 +01:00
DieGurke
f128c2f307 Added updateStatus method 2020-03-26 20:03:20 +01:00
DieGurke
a3e7034713 Revised message related classes
Added GroupMessage class as subclass from Message and adjusted the
MessageBuilder
2020-03-26 18:55:48 +01:00
delvh
393bec735c Merge pull request #127 from informatik-ag-ngl/b/serialVersionUID
Changed serialVersionUID everywhere to 0L
2020-03-26 17:29:42 +01:00
delvh
abb45c701e Changed serialVersionUID everywhere to 0L 2020-03-26 17:21:15 +01:00
delvh
4742402d8a Merge remote-tracking branch 'origin/develop' into f/groups
Conflicts:
	src/main/java/envoy/server/data/User.java
	src/main/java/envoy/server/processors/IDGeneratorRequestProcessor.java
	src/main/java/envoy/server/processors/MessageProcessor.java
2020-03-26 17:18:27 +01:00
DieGurke
5685a3e661 Implemented a GroupCreationProcessor and revised/added Javadoc 2020-03-26 17:09:52 +01:00
delvh
cb8750bdbb restored functionality with envoy-common (#32) 2020-03-26 16:54:12 +01:00
DieGurke
732a2d49e6 Refactored every identifier to fit the new naming convention, pom.xml 2020-03-26 16:06:55 +01:00
delvh
364ec6f04e Renamed every identifier according to new convention 2020-03-26 16:06:18 +01:00
DieGurke
4a26ef8c4a Revised 2020-03-26 15:49:08 +01:00
DieGurke
1909b9748a Changed String in toString method 2020-03-26 15:43:30 +01:00
DieGurke
05ffa34ec0 Formatting and Refactoring 2020-03-26 12:45:10 +01:00
DieGurke
24b7e15ff2 Implemented groups support on server
Implemented support for group messages in MessageProcessor and adjusted
IdGeneratorRequestProcessor
2020-03-25 18:22:58 +01:00
delvh
15338dce52 refactored all getId()s to getID()s 2020-03-25 17:43:55 +01:00
delvh
35aa316199 Fixed Javadoc in GroupResizeEvent 2020-03-25 17:12:55 +01:00
delvh
4a3ee20029 Added GroupCreationEvent 2020-03-25 16:55:34 +01:00
DieGurke
1bedd5fb7f Updated database implementation
*Added a contact abstract class that serves as a superclass for user and
group
* Added a group class
* Updated persistenceManager to fit the new contact system.
* Updated all classes that used methods, that were updated.
2020-03-25 16:34:55 +01:00
delvh
eb7a8778de added GroupResizeEvent and NameChangeEvent
additionally refactored `getId()` method of Contact to `getID()`
2020-03-25 16:33:06 +01:00
DieGurke
e89a1bc2df Revised Code Style 2020-03-24 21:57:59 +01:00
DieGurke
a89c93b428 Revised toString method in Group and changed id to final in Contact 2020-03-24 21:11:16 +01:00