delvh
a457261ee5
Improved Login security
2020-04-10 15:53:30 +02:00
delvh
551f83672e
fixed bug using wrong id of message
2020-04-09 22:31:20 +02:00
delvh
97545fc285
Contact conversion does not result in endless recursion anymore
2020-04-09 21:01:19 +02:00
8096d3ff58
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
98632f97bb
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
c6f0bff957
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
DieGurke
2fbff47752
Implemented GroupCreationProcessor and GroupResizeProcessor
2020-04-03 19:35:39 +02:00
DieGurke
64bc34cf61
Implemented Groups on the database and implemented MSChange management
2020-04-02 20:41:05 +02:00
delvh
b3ee23cd8d
Restored compatability with envoy-common
...
additionally added NameChangeProcessor
2020-04-02 16:32:23 +02: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
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
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
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
eba02422e3
Renamed classes with a two-letter initialism according to convention
2020-03-24 18:41:26 +01:00
DieGurke
a918284615
Removed funny joke ( #31 )
...
Small cleanup
2020-03-24 18:15:47 +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
1a23490461
Small cleanup
2020-03-22 11:23:56 +01:00
delvh
3edb9876a8
Fixed bug concerning modularity
2020-03-14 15:08:58 +01:00
delvh
a8f15ec6be
Changed compiler compliance to 11, modularized all packages ( #29 )
...
* added package- and module-info.java, changed JRE from 8 to 11
* moved ObjectProcessor into the processors package
Co-authored-by: CyB3RC0nN0R <kske@outlook.de>
2020-03-07 22:04:02 +01:00
delvh
ae9d2238b6
Added newline at the end of PersistenceManager
2020-02-18 16:36:31 +01:00
delvh
e673c4e242
Added null check to ObjectMessageProcessor
2020-02-18 16:28:32 +01:00
ea6d76757e
Copying received and read dates in Message#toCommonMessage()
2020-02-16 10:31:17 +01:00
1279a8cd4e
Added received and read dates to database message copy constructor
...
Fixes #24
2020-02-15 22:47:14 +01:00
06eba6cf6c
Moved PersistenceManager into data package, refactored transaction use
2020-02-15 22:43:20 +01:00
9a06ed4a45
Fixed ConnectionManager#isOnline(long), moved ConnectionManager to net
2020-02-12 22:01:32 +01:00
98cbe81e14
Increased ID generation range to 200
2020-02-12 07:53:54 +01:00
396a8c80a6
Clean-up, disabled SQL logging
2020-02-12 07:10:33 +01:00
299d5a2174
Merge branch 'develop' into f/reject_handshake
2020-02-12 06:49:17 +01:00
DieGurke
0a032c4cd1
Merge pull request #26 from informatik-ag-ngl/f/contacts
...
Contacts handling on the server
2020-02-11 18:25:45 +01:00
b625aa33b4
Removed unnecessary TODO
2020-02-11 18:15:19 +01:00
2b1adad1ec
Implemented online contact notification about contact list modification
2020-02-11 17:44:58 +01:00
4909a65464
Adjusted to event system refactoring
2020-02-11 17:17:45 +01:00
31c80492df
Refactored contact search, added Javadoc
2020-02-10 22:29:34 +01:00
DieGurke
b842895ad6
Implemented contact adding mechanism + database update on both clients.
...
* Added filtering on searchRequest response (temporary: has to be done
in query not manually in ContactsRequestProcessor.)
2020-02-10 20:02:05 +01:00
DieGurke
ec90a3c2f5
Implemented AddContact mechanism on the server
...
(currently unfinished an not working see stack trace for current
problem)
2020-02-09 22:16:33 +01:00
delvh
b6763384fd
fixed bug that made registering a new user impossible
2020-02-09 20:41:29 +01:00
delvh
aa52cddf6a
added methods to signal an invalid login
...
additionally added a failsafe to set all users to offline in case of
shutdown of the server
2020-02-09 16:37:53 +01:00
952d493434
Fixed incorrect online status
...
User objects were created with the status ONLINE even if the actual
status in the database was a different one. This issue has been fixed.
2020-02-09 16:01:05 +01:00
1c8b639014
Added ContactOperationProcessor for the ADD operation
2020-02-08 15:03:03 +01:00
DieGurke
b4a5435b5f
Fixed user search
2020-02-08 14:27:21 +01:00
1630b3aede
Implemented user search response
2020-02-08 13:53:58 +01:00
delvh
d967c88e5b
Implemented method to check for the validity of logins
...
Warning: will only work once f/advanced_login of envoy-common will be merged into develop
2020-02-07 23:37:33 +01:00
066d133fe9
Corrected shutdown message
2020-02-07 10:02:40 +01:00
c7bb65818e
Adding user to their own contacts, reusing one database transaction
...
Fixes #15
2020-02-07 09:34:02 +01:00
delvh
9675c1d791
added a "has been"- string to an error message
2020-02-05 22:19:36 +01:00
delvh
1940acb4ae
deleted applyAction method as per @CyB3RC0nN0R s request
...
additionally inserted necessary TODO for a method that may cause
problems in the future.
2020-02-05 21:53:36 +01:00
delvh
f04c81bbf0
Merge branch 'f/user_status_change_event' of https://github.com/informatik-ag-ngl/envoy-server-standalone.git into f/user_status_change_event
2020-02-05 21:35:11 +01:00
delvh
092a4610c1
fixed not updating user status and implemented easier to read structure
2020-02-05 21:32:53 +01:00
DieGurke
27f6a9c639
Notifying the message sender about message status changes
2020-02-05 17:24:31 +01:00
d5b7bcc301
Propagating message received update to sender
2020-02-05 16:15:01 +01:00
delvh
98e5245780
Changed Envoy Common dependency back to develop, fixed BE error
2020-02-04 21:34:53 +01:00
delvh
0c530bc5a8
Fixed contacts initialisation, socket logout error
...
additionally fixed small spelling mistakes
2020-02-04 21:09:59 +01:00
6a5680a19f
Sending unread message as common messages instead of database messages
2020-02-03 07:06:52 +01:00
delvh
af865b77ad
Added status update for when a client goes offline
2020-02-02 13:34:28 +01:00
delvh
34e1b610ac
Improved PersistenceManager with new methods to handle incoming entities
2020-02-02 12:32:10 +01:00
delvh
d0cf1c73f2
Added UserStatusChangeProcessor
...
additionally added UserStatus updating in the LoginCredentialProcessor
yet missing: method to handle clients going offline
2020-02-01 23:37:44 +01:00
delvh
70271482bd
Implemented Changes as requested by @CyB3RC0nN0R
2020-01-30 18:40:54 +01:00
delvh
0a0245da0e
Fixed incorrect error handling, upgraded appearance of this processor
2020-01-30 13:20:39 +01:00
delvh
96f8ef0eec
Refactored EventProcessor into MessageStatusChangeProcessor
...
additionally fixed some minor Javadoc errors
2020-01-30 12:52:27 +01:00
a95eb07dae
Fixed reading multiple objects from one message
2020-01-29 16:20:57 +01:00
ad937bd154
Working on reading multiple messages at once
...
The ObjectMessageReader does function normally for single messages but
will deliver corrupted objects when a message consisting of multiple
objects is received.
2020-01-29 07:45:59 +01:00
f1a8606825
Persisting the current message ID in a configuration table
2020-01-28 20:46:27 +01:00
1a83b5ca50
Fixed typo
2020-01-28 19:57:40 +01:00
01d110fe1c
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
DieGurke
6ab15547ec
Fixes error multiple login, removed src/test/resources
...
Fixes #12
2020-01-27 18:36:13 +01:00
DieGurke
0715e69cd7
Revised LoginCredentialProcessor and worked on MessageProcessor
2020-01-25 18:41:44 +01:00
DieGurke
7c7a050c7c
Interface Communication Login Credentials
2020-01-21 17:51:50 +01:00
DieGurke
8161c5fd28
implemented login and registration (unfinished)
2020-01-18 23:50:41 +01:00
delvh
6ee56bd635
Added method to get contacts, although as of now all Users are returned
2020-01-18 13:28:54 +01:00
387153bc6d
Fixed EventProcessor and LoginCredentialProcessor
2020-01-18 09:55:12 +01:00
delvh
fb4ecaed4e
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
d40194b10d
LV-encoding messages, added JPA validation.
2020-01-06 17:40:19 +01:00
242593472e
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
19ed6ca0fa
Merge branch 'develop' into f/message_processing
2020-01-04 16:54:36 +02:00
c6d8230ae1
Adjusted comment templates.
2020-01-04 16:50:05 +02:00
delvh
38cfdb0dfd
Updated PersistenceManager as per @CyB3RC0nN0R 's request
2020-01-04 15:39:43 +01:00
delvh
beb98011ca
Added PersistenceManager and Namedqueries
...
In theory, this code is all we need for database integration
2020-01-03 18:17:26 +01:00
c42bdffbd7
Added ConnectionManager, propagating socketId to processors
2020-01-03 18:11:38 +02:00
delvh
20093250a1
Updated Javadoc
2020-01-03 16:21:35 +01:00
998fc3a91e
Moved classes related to java-nio-server to envoy.server.net package.
2020-01-03 16:40:43 +02:00
a507ae85b2
Added ORM classes
2020-01-02 18:50:56 +02:00
delvh
e265ef0b8f
Updated Javadoc
2019-12-30 15:15:25 +01:00
070118f612
Added ObjectProcessor interface with some implementations
2019-12-30 15:53:40 +02:00
delvh
caef287137
Changed code as requested by @CyB3RC0nN0R
2019-12-29 17:52:57 +01:00
delvh
4174296e60
Added method to handle incoming objects
...
(not finished as the methods to further process these "Events" have not
been implemented yet)
2019-12-29 14:16:39 +01:00
29fa697f27
Fixed Javadoc error
2019-12-29 11:09:26 +02:00
19ec7c120e
Changed length of encoded message length to 4 bytes
2019-12-29 10:48:15 +02:00
6c094bdccd
Added basic lifecycle with object reading capabilities
...
* Added java-nio-server dependency
* Added ObjectMessageReader and ObjectMessageProcessor
* Added Startup class starting a Server instance
2019-12-28 15:48:39 +02:00