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
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
DieGurke
afc55a3050
Implemented GroupCreationProcessor and GroupResizeProcessor
2020-04-03 19:35:39 +02:00
DieGurke
dd4ad91aa9
Implemented Groups on the database and implemented MSChange management
2020-04-02 20:41:05 +02:00
delvh
e6cf3af745
Restored compatability with envoy-common
...
additionally added NameChangeProcessor
2020-04-02 16:32:23 +02: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
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
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
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
1302967fc4
Renamed classes with a two-letter initialism according to convention
2020-03-24 18:41:26 +01:00
DieGurke
47473e9c47
Removed funny joke ( #31 )
...
Small cleanup
2020-03-24 18:15:47 +01:00
delvh
9020598335
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
c1dd4fa9fb
Small cleanup
2020-03-22 11:23:56 +01:00
delvh
129587b312
Fixed bug concerning modularity
2020-03-14 15:08:58 +01:00
delvh
a89f0939e8
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
866c8c1a48
Merge pull request #28 from informatik-ag-ngl/b/db_received_date
...
Fixed missing message received dates in database
2020-02-18 16:54:27 +01:00
delvh
ca2fa5d1e2
Added newline at the end of PersistenceManager
2020-02-18 16:36:31 +01:00
delvh
47ca47a761
Added null check to ObjectMessageProcessor
2020-02-18 16:28:32 +01:00
2813b54e32
Copying received and read dates in Message#toCommonMessage()
2020-02-16 10:31:17 +01:00
87ca90c333
Added received and read dates to database message copy constructor
...
Fixes #24
2020-02-15 22:47:14 +01:00
0347715d72
Moved PersistenceManager into data package, refactored transaction use
2020-02-15 22:43:20 +01:00
8b6356e48a
Merge pull request #27 from informatik-ag-ngl/f/reject_handshake
...
Produce HandshakeRejectionEvents
2020-02-13 10:12:05 +01:00
8b822de470
Updated alpha releases of envoy-common and java-nio-server in pom.xml
2020-02-13 10:00:56 +01:00
98a51e1106
Fixed ConnectionManager#isOnline(long), moved ConnectionManager to net
2020-02-12 22:01:32 +01:00
0201afee25
Added Maven assembly plugin configuration for JAR packaging
2020-02-12 17:35:58 +01:00
0861497e6e
Increased ID generation range to 200
2020-02-12 07:53:54 +01:00
c4b60dfab7
Clean-up, disabled SQL logging
2020-02-12 07:10:33 +01:00
66de88029f
Merge branch 'develop' into f/reject_handshake
2020-02-12 06:49:17 +01:00
DieGurke
275ae328d9
Merge pull request #26 from informatik-ag-ngl/f/contacts
...
Contacts handling on the server
2020-02-11 18:25:45 +01:00
e2ed5706a7
Removed unnecessary TODO
2020-02-11 18:15:19 +01:00
8cab095fc0
Implemented online contact notification about contact list modification
2020-02-11 17:44:58 +01:00
e2e9253413
Adjusted to event system refactoring
2020-02-11 17:17:45 +01:00
c5017e71fc
Refactored contact search, added Javadoc
2020-02-10 22:29:34 +01:00
DieGurke
a96199ccd7
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
37f1594989
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
6b5ed80727
Merge pull request #23 from informatik-ag-ngl/b/online_status
...
Fixed incorrect online status
2020-02-09 21:43:37 +01:00
delvh
3079ee8346
fixed bug that made registering a new user impossible
2020-02-09 20:41:29 +01:00
delvh
163141e3a3
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
8d4de87dbb
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
24c0cdd38d
Added ContactOperationProcessor for the ADD operation
2020-02-08 15:03:03 +01:00
DieGurke
9110073d16
Fixed user search
2020-02-08 14:27:21 +01:00
33dc6ba4ac
Implemented user search response
2020-02-08 13:53:58 +01:00
delvh
65b016b9b7
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
e73ad7b871
Merge pull request #21 from informatik-ag-ngl/f/single_transaction
...
Adding user to their own contacts, reusing one database transaction
2020-02-07 20:35:12 +01:00
fa3c1829a9
Corrected shutdown message
2020-02-07 10:02:40 +01:00
bacc171ccd
Adding user to their own contacts, reusing one database transaction
...
Fixes #15
2020-02-07 09:34:02 +01:00
delvh
f2ac9bbf8e
Merge pull request #20 from informatik-ag-ngl/f/user_status_change_event
...
Added UserStatusChangeProcessor
2020-02-05 22:20:55 +01:00