Commit Graph

958 Commits

Author SHA1 Message Date
delvh
ba67af613d restored compatibility with envoy common (and envoy server standalone) 2020-04-02 22:03:43 +02:00
DieGurke
64bc34cf61 Implemented Groups on the database and implemented MSChange management 2020-04-02 20:41:05 +02:00
delvh
cb727ca084 fixed another bug 2020-04-02 20:32:54 +02:00
delvh
8bf68bda1a fixed minor bug 2020-04-02 19:49:56 +02:00
delvh
b3ee23cd8d Restored compatability with envoy-common
additionally added NameChangeProcessor
2020-04-02 16:32:23 +02:00
delvh
9460b224b9
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
ffe1eb3ee1 Added Junit 5 as dependency 2020-04-02 09:06:10 +02:00
delvh
61dcf25722 fixed one "major" spelling error (Id-> ID) 2020-04-01 18:15:41 +02:00
delvh
ac26e68746 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
5314a12ff3 Removed most Swing components 2020-03-31 21:54:56 +02:00
94dbf0481b Wrapping data into ObservableList instances instead of copying it 2020-03-30 21:27:07 +02:00
dbf944b5cb Copied event listeners from ChatWindow to ChatSceneController 2020-03-29 22:15:05 +02:00
delvh
4acc130af7 fixed security vulnerability (complete password hash is printed) 2020-03-29 10:28:05 +02:00
delvh
a63df92f50 fixed major (spelling!) error 2020-03-29 10:02:56 +02:00
00ce296812 Fixed chat loading from LocalDB into messagList 2020-03-29 09:16:29 +02:00
delvh
587a6ebe72 Enabled clients to have groups as contacts 2020-03-28 18:51:07 +01:00
561222ac29 Added user and message loading and message posting 2020-03-28 15:32:24 +01:00
delvh
f93b01f65a 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
cace49bd68 Added custom list cells for the user and message list views 2020-03-28 10:39:15 +01:00
31b032eb08 Started moving Startup contents into the new Startup class 2020-03-27 21:14:49 +01:00
3a9fa365b4 Set Envoy logo as stage icon 2020-03-26 21:01:42 +01:00
DieGurke
cf9198781f Implemented the setting of the received- and read-date of group messages 2020-03-26 20:54:20 +01:00
5cd5d516c0 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
0057c66d99 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
11235ba0b0 Added updateStatus method 2020-03-26 20:03:20 +01:00
DieGurke
938a0c5947 Revised message related classes
Added GroupMessage class as subclass from Message and adjusted the
MessageBuilder
2020-03-26 18:55:48 +01:00
delvh
1c4fb7267a
Merge pull request #127 from informatik-ag-ngl/b/serialVersionUID
Changed serialVersionUID everywhere to 0L
2020-03-26 17:29:42 +01:00
delvh
fc1e82c2ec Changed serialVersionUID everywhere to 0L 2020-03-26 17:21:15 +01:00
delvh
f91b193d59 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
1d4492b3d5 Implemented a GroupCreationProcessor and revised/added Javadoc 2020-03-26 17:09:52 +01:00
delvh
6d8294a96a
restored functionality with envoy-common (#32) 2020-03-26 16:54:12 +01:00
DieGurke
422d38f093 Refactored every identifier to fit the new naming convention, pom.xml 2020-03-26 16:06:55 +01:00
delvh
2df220f6c3 Renamed every identifier according to new convention 2020-03-26 16:06:18 +01:00
DieGurke
5448ff957d Revised 2020-03-26 15:49:08 +01:00
DieGurke
11e8a8190f Changed String in toString method 2020-03-26 15:43:30 +01:00
DieGurke
601ee2c53c Formatting and Refactoring 2020-03-26 12:45:10 +01:00
DieGurke
92ee3f0c13 Implemented groups support on server
Implemented support for group messages in MessageProcessor and adjusted
IdGeneratorRequestProcessor
2020-03-25 18:22:58 +01:00
delvh
8056624249 refactored all getId()s to getID()s 2020-03-25 17:43:55 +01:00
delvh
7844133c4d Fixed Javadoc in GroupResizeEvent 2020-03-25 17:12:55 +01:00
delvh
cd88ef76ad Added GroupCreationEvent 2020-03-25 16:55:34 +01:00
DieGurke
8c6a8e160b 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
e201ddb30d added GroupResizeEvent and NameChangeEvent
additionally refactored `getId()` method of Contact to `getID()`
2020-03-25 16:33:06 +01:00
DieGurke
60fbd2a000 Revised Code Style 2020-03-24 21:57:59 +01:00
DieGurke
28fb3e9d25 Revised toString method in Group and changed id to final in Contact 2020-03-24 21:11:16 +01:00
delvh
7a795e320b Added groups
additionally added:
* serialVersionUID is now equal to 0L
* Renamed classes with a two-letter initialism according to convention
2020-03-24 19:06:56 +01:00
delvh
eba02422e3 Renamed classes with a two-letter initialism according to convention 2020-03-24 18:41:26 +01:00
delvh
c5a6978a85 Renamed classes with a two-letter initialism according to convention 2020-03-24 18:38:47 +01:00
DieGurke
a918284615
Removed funny joke (#31)
Small cleanup
2020-03-24 18:15:47 +01:00
44cc564be1 Adjusted serial version UIDs and Message#toString() 2020-03-24 17:29:16 +01:00
delvh
722f91ba91
Added database support to forward messages (#30)
* Added server support for forwarding messages

* added newline at EOF for any file not having one at its end
2020-03-23 22:12:27 +01:00