Commit Graph

1163 Commits

Author SHA1 Message Date
c0f4e5d270 Implemented message ID generation and generator requests
* Persisting IdGenerator in LocalDB
* Added Client#requestIdGenerator()
* Listening to MessageCreationEvents in ChatWindow
2020-01-29 07:44:25 +01:00
be1fc1e502 Persisting the current message ID in a configuration table 2020-01-28 20:46:27 +01:00
f0ad54e670 Merge pull request #7 from informatik-ag-ngl/f/login_or_registration
Adjusted data classes for user registration and id generation
2020-01-28 20:00:06 +01:00
5999d4a817 Fixed typo 2020-01-28 19:58:23 +01:00
6fe322a866 Fixed typo 2020-01-28 19:57:40 +01:00
6cd7964f9a Added IdGenerationRequestProcessor, fixed bugs in PersistenceManager
* Removed get*ById queries
* Removed src/test/resources from pom.xml
2020-01-28 19:25:30 +01:00
5c19fe2849 Added HandshakeRejectionEvent and fixed some Javadoc 2020-01-28 18:58:44 +01:00
8ab72b7a76 Made Event and its implementations serializable 2020-01-28 17:50:09 +01:00
aed8016485 Made id a mandatory field in MessageBuilder
Added support for IdGenerator in the MessageBuilder constructor.
2020-01-28 17:32:33 +01:00
dd3f920e94 Changed IdGenerator constructor to accept size instead of end index 2020-01-28 17:09:28 +01:00
09b803ed4b Renamed MessageIdGenerator to IdGenerator, added IdGeneratorRequest
Also removed src/test/resources from pom.xml.
2020-01-28 17:01:02 +01:00
cd5030735a Added Javadoc for the ui.list package 2020-01-27 21:01:38 +01:00
5ecda78cf1 Changed message list components to JPanels 2020-01-27 20:23:30 +01:00
063f5798dc Implemented ComponentList rendering and integration of message list 2020-01-27 20:11:47 +01:00
DieGurke
468558fa61 Merge pull request #13 from informatik-ag-ngl/b/secondLogin
Fixed handshake on second login error
2020-01-27 18:41:48 +01:00
DieGurke
bcfe2e278a Fixes error multiple login, removed src/test/resources
Fixes #12
2020-01-27 18:36:13 +01:00
0c1c3f6fce Removed src/test/resources folder 2020-01-27 07:06:38 +01:00
43851d9893 Started ComponentList integration for message list 2020-01-26 22:10:15 +01:00
DieGurke
3eed956a60 Revised LoginCredentialProcessor and worked on MessageProcessor 2020-01-25 18:41:44 +01:00
8d41a2230a Added component list classes (unfinished) 2020-01-25 11:33:28 +01:00
DieGurke
ec315f870d Interface Communication Login Credentials 2020-01-21 17:51:50 +01:00
DieGurke
1e00930d4b implemented login and registration (unfinished) 2020-01-18 23:50:41 +01:00
delvh
5165e40217 pom.xml contains now the commit id upon which Envoy Common is selected 2020-01-18 14:11:27 +01:00
delvh
c5f8c3c6be Added method to get contacts, although as of now all Users are returned 2020-01-18 13:28:54 +01:00
DieGurke
b06a4cfe05 Registration UI 2020-01-18 13:13:03 +01:00
0165d6aa27 Prepared user registration implementation 2020-01-18 10:34:04 +01:00
e0fef6af54 Added boolean registration to LoginCredentials 2020-01-18 10:27:29 +01:00
delvh
1a4523db54 Added a constructor for User as well as for MessageStatusChangeEvent 2020-01-18 10:10:56 +01:00
3df01532d8 Fixed EventProcessor and LoginCredentialProcessor 2020-01-18 09:55:12 +01:00
d396572d18 Merge pull request #10 from informatik-ag-ngl/f/message_processing
Implemented the processing of messages sent by clients
2020-01-15 06:38:22 +01:00
delvh
dc6199806f Added EventProcessor and methods to handle MessageStatus changes
additionally cleaned up whole project, fixed some Javadoc errors and
added a few database and connection options.

Sorry for the huge commit, there was almost no time inbetween where a
commit would have been possible, as to solve every problem, a new
problem arose.
However, as of now, f/message_handling should be ready to be merged into
develop, besides that it could not be tested yet.
2020-01-11 18:28:48 +01:00
delvh
3d0b67d6ba added byte array conversion for message attachment
in addition reformatted variable names as per @CyB3RC0nN0R s request
2020-01-11 14:17:51 +01:00
4ba14ca997 Added maven build action 2020-01-11 11:58:15 +01:00
c7366650a4 Replaced local dependency by jitpack.io dependency 2020-01-11 11:46:20 +01:00
3fc7ee7f3f Replaces local dependencies with jitpack.io dependencies 2020-01-11 11:43:31 +01:00
delvh
86e358591a Added date to the MessageStatusChangedEvent
time of the Event can now be saved
2020-01-11 11:36:38 +01:00
delvh
a58bb6716d configured JPA validation 2020-01-11 09:42:02 +01:00
c32b7caf79 Merge pull request #89 from informatik-ag-ngl/f/messagee_event
Moved MessageEvent back from envoy-common.
2020-01-06 18:16:02 +01:00
29a7fce343 Moved MessageEvent back from envoy-common. 2020-01-06 18:13:00 +01:00
8406f46358 Merge pull request #87 from informatik-ag-ngl/standalone_server_integration
Standalone server integration
2020-01-06 18:10:03 +01:00
472fc82d87 Added MessageStatusChangeEvent, moved MessageEvent back to envoy-client. 2020-01-06 18:00:43 +01:00
4a739f91d1 Added helper methods to SerializationUtils.
Also exporting sources and Javadoc on build.
2020-01-06 17:41:23 +01:00
0324f3a4fd LV-encoding messages, added JPA validation. 2020-01-06 17:40:19 +01:00
942c8b4c72 Fixed ObjectInputStream header error by reading chunks. 2020-01-06 17:37:38 +01:00
26d90ccc09 Merge pull request #6 from informatik-ag-ngl/f/database_adaption
Improved Message.java and User.java to remain compatible with database
2020-01-06 14:05:28 +01:00
1e4bd12c23 Adjusted message creation to the updated MessageBuilder. 2020-01-06 15:00:44 +02:00
26fc4374ca Added writing capabilities to ObjectProcessor, completed db integration
At this moment the client is not able to receive to objects sent
consecutively. This will be worked on in a future commit and should be
fixed before merging this branch into develop.
2020-01-06 14:58:28 +02:00
delvh
ef68f8b3d2 Create CODE_OF_CONDUCT.md 2020-01-04 17:36:46 +01:00
597385c950 Merge branch 'develop' into f/message_processing 2020-01-04 16:54:36 +02:00
delvh
66a5d1144b Merge pull request #9 from informatik-ag-ngl/f/database_integration
Integrated PostgreSQL database with Hibernate
2020-01-04 15:53:07 +01:00