File cranix-java.changes of Package cranix-java
-------------------------------------------------------------------
Thu Apr 2 18:51:51 UTC 2026 - Peter Varkoly <pvarkoly@cephalix.eu>
- ffb29fd7a4724281a16dae4e1dd8cd71c6249523
o New functionality to manage tickets without mail system.
New acl for this reason cepahlix.support.
If this acl is added to a user the user is able to see all corresponding
tickets created into to cephalix server to them the server is
directly connected.
-------------------------------------------------------------------
Sat Feb 21 16:56:17 UTC 2026 - Peter Varkoly <pvarkoly@cephalix.eu>
- aab79fa7d4126098697ba213b5c767db5fa0fb1b
o Fix start script
o Move to java21
-------------------------------------------------------------------
Wed Feb 18 12:52:13 UTC 2026 - Peter Varkoly <pvarkoly@cephalix.eu>
- 132ce2d4433909d7b70445715b378091f586c5ac
o UserService
Remove userWorkstation attribute if allowing login.
-------------------------------------------------------------------
Fri Feb 13 20:09:17 UTC 2026 - Peter Varkoly <pvarkoly@cephalix.eu>
- c4ef27b61a92aa2dbb8bc76f034745786e9e1a83
o Resources
Adapt bad names of roles
-------------------------------------------------------------------
Thu Jan 29 19:50:45 UTC 2026 - Peter Varkoly <pvarkoly@cephalix.eu>
- e28dba7a4b7fb6654cd3adbf4763bd00e24ad218
o EducationResource UserResource 010-adapt-roles
Fix #3685, 2026-01-29 13:06, keine Gruppen im Web-Interface "Meine Gruppen"
-------------------------------------------------------------------
Thu Dec 4 13:05:57 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- Use the full path for java to be able to use more java JDK
This is necessary for SchILD-NRW 3
-------------------------------------------------------------------
Mon Nov 24 13:46:42 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- Separate from cranix-16.0
-------------------------------------------------------------------
Fri Sep 26 18:40:05 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 0f518ffd3c1dbe2f394630018d0d5898557750cd
o Fix CRX2FA handling.
Remove not used relation
-------------------------------------------------------------------
Thu Sep 25 21:03:28 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3e713933c4f3b9e1b09da4afb0845ea6f76df069
o Packaging:
Activate update scripts again.
New script to adapt new rolles.
o SoftwareService, SoftwareSetService
Apply changes on software set inmediately but write SaltStack configuration in background because it can take to much time.
-------------------------------------------------------------------
Wed Sep 17 11:01:05 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3871861e0d597855365962c81387ae818270e699
o CrxNotices
Reorganize notices. No we can assigne PTM, subject and subject area to an notice.
o DeviceService
Make import safer and log more readable
-------------------------------------------------------------------
Wed Sep 10 09:27:18 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 325de45696fca5fedaae92ced893b14258365287
o GroupService
Take care the creator can be null
-------------------------------------------------------------------
Wed Sep 3 09:28:51 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 023ea61bdafc759f0208a5715873bbb5828d170c
o New functions to handle teaching subjects and subject areas.
o Fix the realationsships in between teaching subjects, subject areas and challenges.
o Optimize saving challenge answers.
-------------------------------------------------------------------
Sat Aug 30 14:23:42 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- a19acdb1e96ddee581107948873a8836197571f6
o SelfServices
New feature get acces on the file system with session user rights.
o IdRequestService
Fix updating the IdRequest
o UserService
Adapt syncing msQuota to dovecot.
o CrxTicketXXXX
Initial version of internal ticket system
-------------------------------------------------------------------
Sun May 4 18:59:32 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 42eb2b849fedb4f52c03a94b22b28abf99578e88
o StaticHelpers
Delivers the ids from groups and users in plugins.
o ObjectResource
Some new APIs to get delete and set config objects to objects:
GET TEXT objects/config/{type}/{id}/{key}/value
DELETE objects/config/{type}/{id}/{key}
PUT objects/config/{type}/{id}/{key}/{value}
o GroupResource
New API to be able to get all attributes from Group: TEXT groups/byName/{name}/{attribute}
o AbstractEntity
Fix handling of creatorId: This does exist as a Transient variable
also.
o Device
Avoid NPE
o New feature: creating notices.
Now notices can be created to users and groups.
Notices can be assigned to some issues:
* subject. In this case grading can be set
* PTMs
Notices have following fields:
* title
* text
* noticeType
* creation date
* modification date
* creator
* object/objectType
* issue/issueType
* reminder
* grading
* weighting
-------------------------------------------------------------------
Fri Mar 28 10:18:48 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- bd4c32d397d2971aea0014203a19d2162cb54268
o Implementing new functions to get and set PTM settings.
-------------------------------------------------------------------
Thu Mar 20 12:46:59 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- a55f8cc01b78d141488d8460b0f5deedde63674c
o New featur create digital id cards
-------------------------------------------------------------------
Tue Mar 4 14:26:02 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 7d7955846ac66e3679a6f96e7d40d28a0aa70285
o Avoid problem with null date.
Update mysql-connector
-------------------------------------------------------------------
Wed Feb 5 07:16:35 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- ea9a84f6f201b86ff7891f18c97df0c53aebb449
Fix rights on the PTM calls. Use ptm.use.
Do not sent not corresponding teachers for students session.
Clean students birthday for students session.
-------------------------------------------------------------------
Thu Jan 30 08:36:10 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 59fbebdcc7ba3c30db9f03ca2f8bd0885fb29739
o ParentResource, PTMService
Implementing realasing PTMs.
Now last change of the ptms will be saved.
-------------------------------------------------------------------
Tue Jan 28 10:15:58 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 0c5afb006cd710f871735d6368fd0c9f5006e6d7
o Start calender resource only if it was configured.
Read course scheduler from the configuration file.
-------------------------------------------------------------------
Mon Jan 27 12:52:02 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- 508cb013c946c42a0a42e0c3bccacf8e697ff982
o SessionService
New debug possibility.
You can log in as an other user using the sysconfig variable CRANIX_MAP_USER_username_TO
-------------------------------------------------------------------
Fri Jan 24 11:02:40 UTC 2025 - Peter Varkoly <pvarkoly@cephalix.eu>
- d9ecf6395090ae06d9744ee1b9b56afad6f6d8bc
o New Feature: Manage parent teacher meetings
-------------------------------------------------------------------
Mon Dec 9 11:49:48 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- Fix #2944 Geräte anlegen im Cranix fehlerhaft
o Fixing handling of HWConf in Room.java and Device.java
-------------------------------------------------------------------
Sat Nov 23 14:41:37 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- fe65bad4fe3c6e719ccd69c1aff906b898f1ea78
o data/crx-objects.sql
Fix creating database
-------------------------------------------------------------------
Sat Nov 23 11:43:19 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 4463c6cb63dea939c8c96c455aab86b343921e11
o New Feature: Integrating fullcalender into CRANIX
-------------------------------------------------------------------
Sat Nov 23 11:17:35 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 0759e47c1a5eb127709129a00ea1f2957319857c
o data/crx-objects.sql
Create tables. Do not wait the application creates it.
-------------------------------------------------------------------
Wed Nov 13 18:05:23 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 2ef4ae0c04eb55ffc52b34ae119b37eac38a82c1
o SystemResource.java
Fix path to crx_firewall programm
-------------------------------------------------------------------
Fri Oct 18 10:32:47 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 5b72dfba0846df5c6fcebe427fbabe92fcc18a10
o UserService
Allow - or . in login names to bind given name and sure name.
-------------------------------------------------------------------
Wed Oct 16 08:48:14 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- fa6eddb87421156745e7053a487a3b9c7720613c
Update org.json:json. CVE-2022-45688 CVE-2023-5072
Update commons-io:commons-io. CVE-2024-47554
-------------------------------------------------------------------
Mon Oct 14 12:38:24 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 1cc9f8f757520666ad22085918ef6ab75824bf63
o Category SoftwareSetService
Fixing ticket #2854 Installationsset fehlerhaft 24-10-11
The objectIds must be null the ObjectList must be an empty List by Class definition.
Is the objectIds list not null must be delivered this as result by the getters.
Optimize writing salt configuration.
-------------------------------------------------------------------
Wed Sep 18 12:29:15 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- cfc115389983d69279574751a5748ec992de1e28
o GroupService.java
Take car thet changes will be set immediately
o AdHocLanService.java
Take care that rooms with AdHocAccess will be removed if the group will be removed.
o AdHocLanResource.java
Fix the rights of the AddHocLan resource.
o Device.java
Take care of default values for raw and place
-------------------------------------------------------------------
Wed Sep 4 06:31:38 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 901a252c98f3191bb7438db722ca79a7bebff144
o SystemService.java
Remove quotation marks from strings getting from json array.
-------------------------------------------------------------------
Tue Aug 27 16:56:34 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 07c48a76869f8ee6b129eb4969c5eaba1146af37
o SystemService
Symplify code
-------------------------------------------------------------------
Mon Aug 26 13:42:58 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 36d8ec0a47379e9e68a4526a4c60884e4095c6cb
o SystemService
Enhance handling of external (NAT) rules.
Handle protocol, destination
-------------------------------------------------------------------
Sun Aug 25 09:25:24 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- cc7968549cee1e06c056746e444e339153349ee2
o Switch from firewalld to cranix-firewall
-------------------------------------------------------------------
Tue Aug 20 08:30:32 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- e2a93cafecf1b01d2cd5ab3ec205f3e77a8a8bc0
o SessionResource
Avoid NPE if not crx2fa is delivered
-------------------------------------------------------------------
Wed Aug 14 09:30:09 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- f2d08ad50ca0e3426f36f843062318b322b3423c
o SelfService
Remove support for Win7 and add for Win11
-------------------------------------------------------------------
Fri Aug 9 08:38:05 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 6676851b06a2bbeeafd203a4b45a025eb83d1b6c
o SessionService
Use FQHN to connect the server in logon script.
-------------------------------------------------------------------
Thu Aug 1 09:58:46 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 608a2f36510aaa36461ffbbaa2825ffe8a8a33a8
o Adapt CRANIX version
o SessionsResource.java
Superuser may delete all sessions
o school-inserts.sql
Add initial list of teaching subjects.
-------------------------------------------------------------------
Fri Mar 15 17:02:07 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 2d962b59b9f0ab73fb779ca2ecfe6cb33cf234dc
o SessionService
Allow clonetool functions without crx2fa
-------------------------------------------------------------------
Tue Mar 12 12:16:02 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 4ac0ceff900541b4f822cf8baf0bfba078a85534
o Device
Do not create uniqe constraint for wlanIP. Sometime it is empty and not null. This results in problems.
-------------------------------------------------------------------
Wed Mar 6 18:57:21 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- da9f1f5b5dd62b679dba9bf4b09b49ec1d05f2ef
o AccessInRoom, DHCPConfig
Avoid NPE
o Crx2faService
Clean up Crx2faSession if it is not valid anymore
-------------------------------------------------------------------
Thu Feb 15 13:48:23 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 496d606d4e925219030fa37561a65a3dfed67660
o Optimize inserts.
o Create indicies for Acls and Enumerates to avoid duplicate entries.
-------------------------------------------------------------------
Mon Feb 12 08:02:18 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 164b49b0a5c3abe47f5e0821fa68f7145da11a48
Remove update scripts.
Remove 2fa acls from default acl list.
-------------------------------------------------------------------
Sun Feb 11 13:13:47 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 613098e2e123668398703ed221af833044a68cab
o data
Adapt the setup scripts for new db model.
o Config
Avoid NPE if no config file exists.
o SessionService
cephalix and local token have all rights.
-------------------------------------------------------------------
Wed Jan 31 11:16:55 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- bdbdf1047fa02d9fd01b839c37086f093fe7fba8
Use eclipselink 2.7.14
Remove session from CrxResponse.
Add database adaption scripts.
Adapt all data modells to be able to generate and update all tables automaticaly.
-------------------------------------------------------------------
Wed Jan 17 12:29:09 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 85fcea02f2f1fa6dfcffb9011feac7be514ada5d
Avoid NPE.
QRCode can be graeter then 2000 char.
-------------------------------------------------------------------
Tue Jan 16 20:58:42 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- 2cb59bb18612c25ed9c73dba6b6b764ceb07d539
New API system/mailserver/access to handle mailserver access table
-------------------------------------------------------------------
Thu Jan 11 17:38:52 UTC 2024 - Peter Varkoly <pvarkoly@cephalix.eu>
- e39aba794a3e4e019c946518242bab3eea81b146
Implementing CRANIX 2FA
-------------------------------------------------------------------
Mon Dec 11 08:30:22 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 88072cc3cfa67b4ce5d327a2cedbc7bbb57886a9
o StaticHelpers, UserService
Fix Ticket#2418 Benutzer bearbeiten > Passwort bei erster Anmeldung ändern
-------------------------------------------------------------------
Sun Nov 19 11:16:01 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 5aaa08b6d2e6c943b73b28345e9540a6f0192ed2
o New feature: now the safesearch can be set separately for the search engines and YouTube.
The lists are in /usr/share/cranix/templates/unbound/safesearch/ and schould be symlinked into /etc/unbound/local.d if you want to aktivate it.
New api calls:
GET system/unbound/safesearch
POST system/unbound/safesearch
-------------------------------------------------------------------
Fri Sep 29 17:03:54 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3254ba4e4ef37529711b468fccc9b830278a3ab0
o UserResource, UserService
New call to move user devices to the right room by other then students.
This can be called by the role: users/moveUserDevices/{role}
-------------------------------------------------------------------
Mon Sep 18 09:10:49 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 748a66b6673b379299bad723ac2582418c09cc73
o User, RoomService, UserService
Fix moving students devices into the new adhoc rooms.
-------------------------------------------------------------------
Thu Aug 24 09:53:33 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 270e7942979f334d9d6b00f79b42db2d45b8cae8
o SystemResource.java
getKeyFrom addon should return string not a JSON array
-------------------------------------------------------------------
Tue Jul 25 18:36:51 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 04d844a3e55f287e87e5bb07acdb1ca1a0b88077
o ChallengeService
Do not use the cached sesion user object.
o AbstractEntity.java
Use IDENTITY as id generation type.
o Fix the newest automatic created tables. Use auto_increment
-------------------------------------------------------------------
Mon Jul 24 18:03:50 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 00e1a09d9287a8e1f020a45df527ad0551c7a8ab
o Fix typo in teaching context.
-------------------------------------------------------------------
Fri Jul 21 16:50:45 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- fa6e31c1b5f2f17f973eb4272d9e0dad5a796aa6
o Implementing download and upload of challenges from and to the CEPHALIX server.
o Create new service for Subject Area and use the short names for the functions add getById getByName
-------------------------------------------------------------------
Wed Jun 21 20:09:41 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3fa23f65108f4d3c9944f26b2eb6cde8f44316fc
o PrinterService
- Ticket#2108 neuer Drucker R206 23-06-20 22:18.
Take care that default and available printer entries will be removed from rooms and devices befor deleting the printer.
- Now we can list printers even they have no entry in CUPS.
o updates/020-add-missed-acls.sh
Add missed acl: hwconf.modify
-------------------------------------------------------------------
Wed Jun 7 13:20:14 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 42a069040bb07433cfc5741f2cd84f3fb3230523
o Ticket #2092 Fernzugriff ändern
o AdHocLanResource
Set PertmiAll for the GET all api call as in all other resources.
-------------------------------------------------------------------
Thu Mar 23 20:23:33 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 7da275e7a6ebd2f140e2f46478c9f2ad7252914f
o Implement shutdown and reboot
-------------------------------------------------------------------
Mon Mar 6 16:53:42 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 160901376b16563f8b5aa8525e49ae4c17ddab4e
o StaticHelpers
Avoid NullPointerException
-------------------------------------------------------------------
Sun Mar 5 11:23:52 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- e156e077e47a1c0f9d013e7f85d74593f073cd6d
o Convert references into lower case.
o Do not log sql commands
-------------------------------------------------------------------
Wed Mar 1 11:53:09 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 6cef9e8716ea60e9a0efcf10bb6df4ef0129606c
o ChallengeService
Do not make any magic for teaching subject. Refgresh it simply.
o CrxChallenge
Do not cascade subjects and subject areas.
Take care subject can not be null.
o AbstractEntity
Take care the creator can not be null
-------------------------------------------------------------------
Thu Feb 23 14:53:47 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- 04ed77cf9b543f554519ecc5ddc21069e644cbb3
o EducationResource.java
Implementing allow direct access to domains.
-------------------------------------------------------------------
Thu Feb 16 07:54:07 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- fdd4b46a762cc6f132a0f75ca7741197ac55119b
o ChallengeService
Avoid NPE
Take care the subject is set when creating a challenge
-------------------------------------------------------------------
Tue Feb 7 14:04:47 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- f4631bd0698af878c73208ae2ad1ed0da509074d
o New feature: teaching subjects and subject areas
Now tests can be assigned to subjects
-------------------------------------------------------------------
Thu Feb 2 18:14:46 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- e65af8fa564d5b0ae9216d7398628f28d5159f5e
o Implement removing archives when deleting the challenge.
Do not use the cached session user.
Implementing download of challenges.
API call GET api/challenges/all delivers all challenges, not only the owned ones.
-------------------------------------------------------------------
Thu Jan 26 18:30:27 UTC 2023 - Peter Varkoly <pvarkoly@cephalix.eu>
- bb48192714864be3f81a80d06325b02ccf1336f0
o New functionality: Challenges. User with right challenge.manage
now can write challenges. These will be evaluated and archived.
The challenges can be released for groups or users and can be
reused after the results were archived.
-------------------------------------------------------------------
Fri Nov 11 15:04:06 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 942d42f4ab8dd94af5685cae6ced0a2dac865c85
o Service
Hardcode line separator. Sometimes java thinks he is running on windows.
o SupportReques
New field recDate in SupportRequest
Ignore future changes.
-------------------------------------------------------------------
Sun Oct 23 09:27:12 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 1f4486d378fe1c7ed8da347f99ea3c8cf32475a6
o SupportRequest
Enhance SupportRequest modell to be able to send attachment
-------------------------------------------------------------------
Sat Sep 10 09:42:45 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- d61aed9f833393074557cb2e3dbc96cd4079a125
o RoomService
Take care that the roomId is set in the access list.
-------------------------------------------------------------------
Mon Sep 5 05:46:54 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- e63895c4126c72b21bed61ee886b29defd9bf514
o Fix creating logon script. Do not hardcode admin
o StaticHelpers.java
Log returned text in STDOUT too
-------------------------------------------------------------------
Fri Aug 12 09:18:13 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- ece7b5ec216b3172ed2d1e4ebd2a21a2ece34c84
Use Device.isFatClient() this makes code more readable.
o Device
New boolean function to detect if a device is a FatClient
o DeviceServices
New function to add one device
o RoomServices
Reorgnaize addDevicesTo using the Device.add function
-------------------------------------------------------------------
Tue Jul 26 14:52:27 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3786e0c26d36bba393f6a3715ec38e1855ba7e3c
o data/crx-objects.sql
Adapt insert first value.
-------------------------------------------------------------------
Thu Jun 30 12:37:47 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- e21d1239a14e30a4e5bb6eefd0b7dd249155bbcd
o pom.xml
Update mysql:mysql-connector-java to 8.0.28
CVE-2022-21363 CVE-2021-2471
o src/main/java/de/cranix/services/SessionService.java
Now we will use /usr/share/cranix/tools/login for login to be able to provide custom login scripts
o src/main/java/de/cranix/services/GuestUserService.java
Append -adhoc to the name of the adhoc room for guest users.
Take care to remove the adhoc room of guest users.
-------------------------------------------------------------------
Wed May 25 10:06:52 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 07ab8c84893c921e838f3a48dd2ac614025af86a
o GuestUserService
Append -adhoc to the name of the adhoc room for guest users.
Take care to remove the adhoc room of guest users.
o Enhance CrxNextID to save the time when the id was created.
o DHCPConfig
Improve log messages.
o RoomService
Avoid duplicate entries
-------------------------------------------------------------------
Thu May 12 14:43:49 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 93fa320d73ca6146db214ad500cf277e3fad0f9e
o New service to handle GuestUser stuff.
o Enable teachers to add guest users and groups.
-------------------------------------------------------------------
Wed Apr 20 16:23:11 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- f0bd11da1148210ac490fb89c0da3829094ac95c
Implementing samba fileserver
-------------------------------------------------------------------
Mon Apr 11 14:24:30 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- ef372ff9179ee27d911365bd432be75ac8c342fc
o New api calls and functions to manage Class-AddHoc-Devices of users.
PATCH users/moveDevices -> moves all devices in the new Class-AddHoc-Room of all students.
PATCH users/text/{uid}/devices -> moves all devices in the new Class-AddHoc-Room of a student.
-------------------------------------------------------------------
Mon Apr 4 17:28:56 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- c9a90e25bc97779d4b0e0c7f0d3111f4963938c6
o Fixing #879 "Installationsset bearbeiten" in neuer cranix-web-Version fehlerhaft
New Service: SoftwareSetService
-------------------------------------------------------------------
Thu Mar 31 10:19:09 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3a302723aa57ac2dbbfcf565bffa4f5eb8b2d3d6
o Get back to separated printserver.
-------------------------------------------------------------------
Fri Mar 18 20:08:08 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- f3cfea8984b6af9bddb8c0b8eb29281449611e92
o UserService
Convert quota from kb into MB
o EducationService
Split one try-catch into more to be able to localize error.
o RoomService
If a user is allowed to add a device, he have to get the list of all rooms to register.
-------------------------------------------------------------------
Wed Mar 16 12:17:33 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 1211cdaa4b844165c60b5d4c7128fbc804637b89
o Device
Increase counter if user logged in.
o PrinterService
Fix deleting printer:
Start transaction.
Do not return null in case of error.
New function applyAction
o PrinterResource
Remove deprecated api calls. New api call: applyAction
o GroupResource
Enhance swagger documentation
o EducationService
If a student is not member of any groups this will not introduce into the list.
Fix this situation.
o Session
Rename commonName to fullName
Avoid logging too much
o EducationResource, EducationService
Move function in Service from Resource
Code clean up. Remove deprecated api calls. Enhance swagger documentation
o AdHocLanResource, CloneToolResource, DeviceResource
Code clean up. Remove deprecated api calls
-------------------------------------------------------------------
Tue Feb 8 12:05:48 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- b5bcc9058be3b4b678931e337853085c4be6b962
Use actuall swagger.
Fix sesseion acl issue.
-------------------------------------------------------------------
Mon Feb 7 20:44:08 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 41f39503220fd2fd6cf3ed0d8a5352e8fce0a8b2
o Clean up session handling.
Avoid duplicate attributes: acls userAcls, dnsname dnsName...
o Fix deleting more rooms by apply actions
o Fix open windows profile to rw
-------------------------------------------------------------------
Sun Jan 16 22:56:11 UTC 2022 - Peter Varkoly <pvarkoly@cephalix.eu>
- 627551a849b6e31863d533483dbcce2bfbef52e3
o New handling of printers. Put a lot of stuff in plugin.
o Remove not used API-Calls
o Service.java
Add new function to get the MConfigs with same type key an value.
-------------------------------------------------------------------
Tue Dec 14 10:56:05 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 0c69d2208a571a61d368f590d7b7c38981109bab
o DeviceService
Clean up logged on attribute if start log of on the client.
o Create indizies for CrxConfig
o CranixApplication, ObjectResource
New resource to handle all the objects.
First step is to handle the configs and mconfigs.
o SessionService
Create Variable CRANIX_USER_<USERNAME>_SESSION_IP="<IP-Of-The-Device>" in /etc/sysconfig/cranix
And the user will logg in on this device everytime
o AccessService, RoomResource, RoomService
Fix mapping of actual access lists.
o PrinterService, Printer
Provide the ip address of the printer device too.
o Session
Fix calculating user acls.
-------------------------------------------------------------------
Sat Oct 23 11:09:45 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 02afe2fab4bb148f6f709f3f307b3e6528f83a5a
o New API to get the firewal services.
Make rule hash more readable.
Use the right object type for AccessInRoom.
Add missed ACL for creating printer. Now this is availbe for all sysadmins.
Delete does not have body. We have to use POST.
Now we only provide firewall rules for rooms.
Fix setting outgoing firewall rules.
Now we propagate the right system.superuser. This is needed to be able to read all files on the file system. But this right will not be assigned to any group or user.
printers.add role can be set for all sysadmin user.
-------------------------------------------------------------------
Thu Oct 7 05:38:20 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 28b58e01ffaaea1a8d1fb4739f19762693d07e43
o SystemService
Fix setting fw backend incoming rules. This will be made by a
new tool script: set_fw_incomming.py
o DeviceService.
Code clean up.
Enable import devices using roomids and hwconfids.
Try to solve transactions problems.
o StaticHelpers UserService
Introduce again telex style creating of logins.
o SoftwareService
Join the domain befor start installing the packages.
-------------------------------------------------------------------
Fri Sep 17 14:57:28 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- b0f8193cfae0bcbff219458bfbc3ccbe0b9b1d08
o Fix indicies update script
-------------------------------------------------------------------
Wed Sep 15 15:26:31 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 8f8cf61dba0722436d3391de03982a64e2a1f056
o UserService
Fix deleting user with more devices.
-------------------------------------------------------------------
Tue Sep 14 15:50:23 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- e1cc0657c128fb6ade37fc62d85de11db2457fe1
o SystemResource
New API to set the firewall status.
PUT system/firewall/{status} -> stop, start, restart
o GroupResource, GroupService
#422 API für den Besitzer einer Gruppe:
crx_api_text.sh GET groups/text/{groupName}/owner
crx_api_text.sh PUT groups/text/{groupName}/owner/{userName}
-------------------------------------------------------------------
Mon Sep 13 16:14:48 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 0482d5ec42d5b598dee6d9125633b66f780d34bc
o HWConf CloneToolService
Fix deleting partitions
-------------------------------------------------------------------
Sat Aug 28 04:58:44 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- e9992c1ef61ea6b173c16cf3904e3a9fbcdeb618
o SelfService
Avoid NPE if no user was found.
o UserResource
Implementig download of archive of the pdf files.
o CloneToolService.
Use plugin to reset devices instead of complicated java code.
o AccessService, RoomService
Enhance error logging. Add function name to the logger info
o JobService
Fix timestamp convertion
-------------------------------------------------------------------
Sat Jul 31 05:18:47 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- e09ecf90dfd89d0adbbc99162c4a5895238c2a54
o JobService
Fyx typo
Code clean up
o unify time handling.
-------------------------------------------------------------------
Wed Jul 28 18:58:11 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- f9bf511473b97dd7a7dc66ee67e2c825778730ca
o config.yml
Fix version
o EducationResource
Fix #380 PCs sperren (incl. Lehrer) RS-Bruckmuehl
o Group
Fix #379 Versetzung: Alte Klasseneinträge werden nicht entfernt
o DeviceService
Fix checking wlan mac address by modifying an existing device
o RoomService, SelfService
Consider all rooms in wich a user may register devices not only the
first one.
-------------------------------------------------------------------
Tue Jun 22 14:22:36 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 9b9c8023f1cc0c9a71f24ae0f94a19111e2230fd
o Adapt version of jar file
o Room,RoomService
- Fix #348 Raum anlegen funktioniert nicht
Intorduce new transient parameter for Room: ignoreNetbios.
If it is true the lenght of the room name is not terminated by 10 characters.
- Do not show inactiv parameters.
For ACT access in room there is no login, proxy, portal, printing and direct attributes.
o SystemService
Fix finding outgoing rule.
-------------------------------------------------------------------
Sun May 16 17:00:39 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 428037cbade9267b946a8a3341231ba3355e0bbc
o SmartRoom
Adapt access in room type.
o We do not have dedicated printserver any more
-------------------------------------------------------------------
Sat May 15 10:53:16 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- bdcd470f82d7b6e9e56bcc518f1b3c6d7dad9be0
o RoomService, AccessService, EducationResource
Use the new crx_manage_room_access.py program to manage room access state.
o PrinterService
There is no printserver anymore
o 014-enlarge-version-field.sh
Fix typo. Thanks Tobias Sesselmann
o New api call to get the default access in a room:
GET rooms/{roomId}/defaultAccess
o #298 100-change-member.sh plugin not working
o Set index for IP in Devices to avoid create private devicec with the same IP-Addresses.
This can be happened if the 2 devices will be registered at the same time.
-------------------------------------------------------------------
Sun Apr 25 09:29:27 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- ca306e4782cc65cbbb5fbf4cc1170e3bda7a1d7f
o Initial version for CRANIX 4.4
* Remove cranix printserver. We do not need it anymore.
* Adapt room access handling. Printer access and logon
acces is now handled by the samba configuration
- 4.3 patches
o Add missed acl to delete a hwconf.
o Acl Handling:
Find acl not only by id but by name too.
o Softwares
Avoid NPE and log it.
Remove not used code.
Add Column annotation
Take care that fullName name and description fits in the database fields.
o Add missed update file
o Printers
Avoid creating printer name duplication
-------------------------------------------------------------------
Tue Apr 6 19:06:06 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- d5e3acb90239c609d172a629194ba531a0aae50e
o UserService
Role name must be written in lower case
o CloneToolService
Fix modifying the partitions of a HWConf
-------------------------------------------------------------------
Fri Apr 2 09:15:33 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 1e808b3b931aa6bca6254ac5bac58714d0b660db
o CloneTool*
New api calls to get the state of multicast cloning and stop multicast cloning.
GET clonetool/runningMulticast
DELETE clonetool/runningMulticast
o SystemResource
Fix rights for reading squid lists. This is necessary for unbound too.
o UserService, Alias
Fix setting aliases.
o Announcement
Fix error messages
o User
Take care to remove taskResponses from deleted user.
-------------------------------------------------------------------
Wed Mar 17 16:27:25 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3ce58c3973e5b191b4b9f01703a948e762bde20d
o Remove not used function.
o Fix Typos.
o 2 new variable to controll dynamic room control:
de.cranix.dao.Education.Rooms.mayControlFromInRoom
de.cranix.dao.Education.Rooms.mayControlInRoom
o DHCPConfig.java
Wait min 2 sekonds befor restarting DHCP server to wait other adHocRoom registrations.
More can be set by: de.cranix.services.DHCPConfig.wait
o Room name can be longer then 10 if it is an adHocRoom
o Put applyActions into the Service frrom resources
o Implenting Tasks and TaskResponses.
o Implementing modifying accessInRoom.
o Implementing moving devices from one room into the other.
-------------------------------------------------------------------
Mon Feb 22 15:15:28 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 130565d55a7db5db2b5a574b7d58c0fcebd643d4
o CranixConstants.java
Add world wide readable rights.
o GroupResource.java
Adapt group members need right modify.group
-------------------------------------------------------------------
Tue Feb 16 20:19:38 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 2a5a28f0c5fb7172c4cbd2d3b1cd65e15afe2cf5
o Start plugins if system configuration will be changed.
o Set network for AdHocRoom too.
o Fix typo in response text.
o Remove unnecessary JPA call.
-------------------------------------------------------------------
Sun Feb 14 14:53:04 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 74928ae04a5b2f7857287721d872ec1a8f548dc8
o Since salt-master was added as dependency to crx_salt_event_watcher this will be automaticaly restarted if salt-master will be restarted.
o Fix response messages.
-------------------------------------------------------------------
Thu Feb 11 11:55:58 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- ec0dfcb0f71f4942105a58b70635509f0b56bede
o Birthday can be empty too.
o New function to find CrxMConfigs by type key and values.
-------------------------------------------------------------------
Sat Jan 30 08:20:22 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 4b64a3a2856c9afb59d96bd5447654f092ba7a97
o RoomResource
Fix call to set the scheduled access
-------------------------------------------------------------------
Wed Jan 27 11:35:11 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- c9794ec20bc420fedbce0f98973a884fcbe8b5b3
o RoomService.java
Fix find rooms for getting the new room ip.
-------------------------------------------------------------------
Tue Jan 26 17:36:03 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- c7c523ba4ec78f32a77e06964d37d61b9eb429a8
o resources/SystemResource.java
Backend script was rewritten in python
-------------------------------------------------------------------
Mon Jan 25 19:07:48 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3ed05a600704604abc2ca263bcf04e59f3d59876
o UserResource.java
New call to collect the users devices in a class AdHocRoom
o DeviceResource.java
New api call to remove device without revriting dhcp and salt configuration
o crx-objects.sql 018-create-missed-inicies.sh
Avoid creating identical categories
-------------------------------------------------------------------
Thu Jan 21 15:55:11 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 083bed6f338c834722a571ad7e24c310bf71d636
o Enumerate.java
Add missed JPA attribute: creator
o SystemResource
Fix path
o Code Clean up.
Fix handling of Enumerates.
-------------------------------------------------------------------
Tue Jan 19 15:10:03 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 892f73dc9be5ed158fbaa5cdf8344be43d4c0cd0
o Categories
Add missed indicies to avoid duplicate entries.
o Get rid of Impl Classes.
o SoftwareService.java
Avoid NPE if hwconf or room is null
-------------------------------------------------------------------
Wed Jan 6 18:50:30 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- 291cadf33e69ca1a750ed403bebb19dbc961f96c
o Salt sls file handling
* Split applySoftwareStateToHosts function into writing the device state files and writing the top sls file.
* The new function applySoftwareStateToHosts(List<Device>) recreates only the statet files for the Devices in the list.
* The new function rewriteTopSls() rewrites the top.sls file an takes care to remove not used device sls files.
* Reorganize code.
o persistence.xml
Add default time zone to db url
-------------------------------------------------------------------
Mon Jan 4 12:36:43 UTC 2021 - Peter Varkoly <pvarkoly@cephalix.eu>
- ef4b7417d543c209092bb5022f899a4ec0e007fb
o Set api call functions public
o Fix creating devices.
-------------------------------------------------------------------
Mon Dec 28 16:42:01 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 62195bf4231685ec1c3f19c75fa7f56daa644480
o Handle hwconfId in Device model by setHwconf function.
o Refactor education resource to get rid of resourceimpl.
o UserController
Remove not used functions.
o SoftwareController
Avoid NPE
o CranixApplication, DeviceController, AdHocLanResource,
CategoryResource, CloneToolResource, DeviceResource
Get rid of resourceipml
o crx-objects.sql, 018-create-index-for-partitions.sh
Take care that partitions can not be add more times.
o SupportResourceImpl, CategoryController, PrinterController
Code clean up.
-------------------------------------------------------------------
Sat Dec 12 13:12:12 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- af0dfc5e398d879859865a9ca85e3bdfe5a9c793
o Category, CategoryController
Make Category object more readable.
Avoid duplicate attribute names
o UserResourceImpl, PrinterController
Code Clean Up
-------------------------------------------------------------------
Thu Dec 3 21:03:06 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 4281b5e69aefec9460fd699973c1d33751062bd8
o Dropwizards defaults was changed. But we need the forwarded headers.
o Fix setting hwconf of devices via action map.
-------------------------------------------------------------------
Wed Dec 2 22:17:32 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- c87059354bd920833f96535dfdf3ad0f6a1c5b0b
o Device, Softwares
Fix some JPA timing and cascading problems when deleting rooms an devices.
o SystemController
Imlementing disk usage.
o SoftwareController
Fix handling software status when rewriting the salt configuration.
o Updating drop wizard
o System/Proxy:
New feature unbound server configuration:
New api calls: system/proxy/lists to read all lists
PUT system/unbound
o Fix initializing User object. Set the date in yyyy-MM-dd format.
-------------------------------------------------------------------
Mon Nov 9 14:00:13 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 52263c780889caeb22f5c3bd3ae44c7f33bb7aca
o Handle birthDay as a String instead of Date.
o Add missed transient attribute fullName to User.
o Add missed acl system.support
o Fix handling of private devices
o Avoid error messages based on acls!!
-------------------------------------------------------------------
Tue Nov 3 17:35:59 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- a713035eb917668ab1f2dcaaf99e1933762d3912
o DeviceController
Implemnt new old action set hwconf of room
-------------------------------------------------------------------
Sun Nov 1 16:43:23 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- cb7472d0d9fa89e1305d572e3f7f4be718b8f123
o Device
New Transient attribute: loggedInName
o User
Provide new readonly attribute of user: fullName
o New deviceType cloneProxy
Create a new HWConf with type clone proxy.
-------------------------------------------------------------------
Tue Oct 27 19:44:03 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 32c32e8fd63b748af3198a4ae59339d18c5554ce
o CloneToolController
Remove not used api functions.
New api function get hwconf by MAC address.
o DHCPConfig.java
Dirty fix to avoid duplicate entries in dhcpd.conf
o RoomResource.java
Adapt rights for setting firewall.
-------------------------------------------------------------------
Sun Oct 25 20:31:42 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 09736f54734b183efd4d819c4c884de4d4e13f15
o Fix removing group from owned group.
o Printer*
Now the driver can be reseted for a printer.
Put functionality into the controller.
o Education*
Fix clean up of Import directory for students and guests.
Fix utf-8 names of uploaded files.
-------------------------------------------------------------------
Wed Oct 14 16:07:04 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- fdcb111ac594f12ccb9f581d9996d1fc4b47139f
o cranix-dao/src/main/java/de/cranix/dao/tools/StaticHelpers.java
Fix normalizing utf-8 strings.
-------------------------------------------------------------------
Thu Oct 1 13:30:51 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- da0201611d498ae538c14bbd55d08e44285c64d3
o Fix createing names of private devices:
username + '-' + last 6 char of mac address
-------------------------------------------------------------------
Wed Sep 23 05:22:22 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 5f3e8b5cae0717bbedbd4f473972ce8ad4a4cd2d
o user import:
New fetature for import: appendClassToPassword
Append the upper case class name of a user to the password.
o UserController
Remove all not alphanumeric character from login.
o SelfManagementResourceImpl
Use plugin when everyting was changend. Do not call samba-tool directly
o Fixing some typos
-------------------------------------------------------------------
Tue Sep 22 06:22:52 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- Remove migrations scripts from %post. This will be handled by one
script in cranix-base.
-------------------------------------------------------------------
Tue Sep 8 18:12:59 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 488995ba7c192aee3e6cc59b87000e065363e156
o Add devices should reply a list of results.
o Implementing writing multicast cloning confiugration.
-------------------------------------------------------------------
Fri Sep 4 19:10:24 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- eda72e459eb132a7f1805b408b8c6cef602dbf79
o Fix handling AdHocRooms
o Set user name as principial name
o Fix collecting files from user
o Unify name of HwconfId
o Now we can import ISO-8859-1
First we try UTF-8 and only after them ISO-8859-1 and save it in UTF-8
-------------------------------------------------------------------
Tue Sep 1 19:06:36 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 24a65033c8d00bd205ed96001e3f208935f525c9
o Do not reply empty response.
o Try to wizard with codes
-------------------------------------------------------------------
Tue Sep 1 07:32:07 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 392fef252353660856dfbc42059e477621e774e8
o Enhance import functions: Implementing:
Stop running import
Delete import
Download txt password files.
-------------------------------------------------------------------
Wed Aug 26 16:15:59 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- d7a51cb97f2d35d87e1de03dada16bd35810c2d7
o cranix-dao/src/main/java/de/cranix/dao/controller/UserController.java
Remove spaces in user name
o cranix-api/src/main/java/de/cranix/api/resources/UserResource.java
Fix api description
-------------------------------------------------------------------
Fri Aug 21 12:14:53 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- be60626ef30012009a45e5deeb9e8458bb235209
o cranix-dao/src/main/java/de/cranix/dao/UserImport.java
cranix-api/src/main/java/de/cranix/api/resourceimpl/UserResourceImpl.java
Fix mustChange
-------------------------------------------------------------------
Sat Aug 15 06:37:07 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- e464a256cb01847949700b62564b9df2c60b8c6e
o Move own device management into SelfManagement
o Enhance debugging by upload file
o Move import from clonetool into hwconf.
o Remove not need api call for getting the master. There are no master any more.
o Do not break creating devices if only one device has problem.
-------------------------------------------------------------------
Wed Aug 5 16:03:14 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 03beee8e4833a851c9b40f841421c222f2321298
o AdHocLanController
Set gidNumbers and uidNumbers of adhoc room.
-------------------------------------------------------------------
Tue Aug 4 10:36:55 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3ede27334ae5457291343d5d55a13e7fb35dbe25
o Fix required role
-------------------------------------------------------------------
Mon Aug 3 14:56:00 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- c9982e94739e77bb7aba6a6107c5c2eca34f6844
o Fix building package.
o Fix path to vpn installer.
-------------------------------------------------------------------
Thu Jul 30 21:15:31 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 305a0b67627eccc9b2b1a86362ac01079fde3d75
o Take care not to update on CRANIX
-------------------------------------------------------------------
Thu Jul 30 10:30:15 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 6a7adb0c018164d15ddb769246c0dbd353eeb92a
o Take care about wlan ip address of a device.
This must not be shon in api but should be created in the firewall config.
-------------------------------------------------------------------
Fri Jul 24 14:14:20 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 3f7f98dbf0f388ad91863485ea709e656afe7a0c
o Fix message. Set subject to name if not provided.
o Fix modifying software sets
Name and desctiption can not be modified at the moment.
o Adapt positive list path to the generic object service usage.
o Fix debug path.
-------------------------------------------------------------------
Wed Jul 22 09:10:55 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- afa94d8280a72833334b970593d2cd9b406b5fde
Fix start scrip
Fix provides, obsolates and conflicts in spec
-------------------------------------------------------------------
Mon Jul 20 11:46:56 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 389b0831626dabbebbab49ed4502803c1031e073
o Implementig applyAction for Rooms and Devices in education
-------------------------------------------------------------------
Sun Jul 19 08:48:46 UTC 2020 - <pvarkoly@cephalix.eu>
- 84414cd705223416be56947ddfad09c19f9a738e
o Adapt package to build with maven
-------------------------------------------------------------------
Sat Jun 13 11:44:22 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 067dd22ace2731fd1d0c787584fb0cb20ca3e9b5
o Separate CRANIX and CEPHALIX migration script.
-------------------------------------------------------------------
Wed Jun 10 12:12:02 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 5efe1289fc5b0ea725a12a9ec785c4a8607fcf40
o Implementing stop/start cloning for devices and rooms too.
o Implementing applyActions. for all objects.
-------------------------------------------------------------------
Mon May 25 18:11:57 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 9ee9bf2af85fd8e27500021c2be8be03165264a0
o Fix trouble with OssCare tables.
o Fix temlates
o Fix /var/adm/cranix path
o Printers*
Now we can set the ip address of a new printer device too.
-------------------------------------------------------------------
Sat May 23 18:56:53 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 369798b1c424c96222747cc5946c96ae2e34be71
o Fix support
-------------------------------------------------------------------
Mon May 11 10:28:28 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- ff5577e54dc680113d554d2f3d2b85d2bf8abca0
o Modif persistence provider name.
o Fix database name in the start script.
o We only use java 11.
-------------------------------------------------------------------
Thu May 7 15:11:23 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 4d47295a0e3a27090d3900b2a670d3d84ca3aa64
o OSS -> CRX
-------------------------------------------------------------------
Wed May 6 06:43:29 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 6176f666af39965b262a605c4b3bcbfa49f5b297
o New api call GET software/status to get the lits of all installation status.
o Make OssActionMap more generic.
o Start to implement applyAction to selected objects.
o CRANIX
-------------------------------------------------------------------
Fri Apr 10 09:31:57 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- d6a575a824fbdf3caea19f1e86e198dc7a23de69
o Go to CRANIX.
Use more constants.
-------------------------------------------------------------------
Thu Apr 9 16:11:37 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- b777f01083ab9eb615079183aba256c86b5840ad
o 015-reorganize-cephalix-tables.sh
Enhance updates
o Rename to cranix-java.
o Code clean up
o New api call to get the password list of an import as text and as pdf
o New api calls to set the printers for a room.
Provide new transient attribut countDev. This can be used instead of netmasmk
o New api calls to set the printers for a device
o Adapt SystemStatus table.
-------------------------------------------------------------------
Thu Mar 5 18:41:20 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 179fb0ae72ac8f700a335c15c4447edf604598d5
o Ticket#2020021967001888 — Schüleripad kann nicht gelöscht werden
Do not clean up and cascade sessions.
Do not use ortophal removal.
-------------------------------------------------------------------
Mon Mar 2 10:00:29 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- c5454bd816c8905de2456eda00b8ee4ef665ab56
o IPv4Net.java, RoomController.java
Ticket#2020022867001852 — OSS4 - IP / Raumzuordnung
ANON_DHCP range must not be used for rooms too.
o oss-objects.sql 014-enlarge-version-field.sh
Software versions strings can be longer then 32 characters.
-------------------------------------------------------------------
Mon Feb 3 16:53:03 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 24931da961d3ec4b1016bf7a189a0a9503ee149a
Code clean up.
Remove roomRows. Use only rows.
Show own groups even if your are not member in it. This is neccessary for guest groups.
Fix creating guest groups with given password.
-------------------------------------------------------------------
Mon Jan 27 16:37:26 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 8472973d8864ab1cdc59cc834d8c0ab854c9f3ee
o Room
Remove pattern constraint check from Room.
o GroupController, UserController, OSSConstants
Fix handling of guest users
o SoftwareController
Safer handling of setting of status of software version.
Log an error if a software status on a device is null.
-------------------------------------------------------------------
Wed Jan 22 18:42:50 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 387be62f10a748dd36966b2d5fe81f53c5cd157b
o Use project macros.
o Code Clean up.
-------------------------------------------------------------------
Thu Jan 2 20:41:20 UTC 2020 - Peter Varkoly <pvarkoly@cephalix.eu>
- 198e9a212562b932fcbd3808b09448f0f03d5009
o Controller.java
Ticket#2020010267001849 — Fehlermeldung: Gymnasium Eckental, Problem bei einzelnem Profil
Check unix system users and groups too.
-------------------------------------------------------------------
Sun Dec 29 17:14:38 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- e517b4904eabb1b0fffba7d616ccf2c4f63f504a
o Implementing feature 'Mandatory Profile.'
o Fix removing EFI configuration.
-------------------------------------------------------------------
Fri Dec 20 14:31:21 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- b497120084c08c2d0265d6c04e97fe208a9478eb
o SessionController
New function to create a session for a user without login.
o SelfManagementResourceImpl
Do not use localhost token. It is very dangerous for normal user.
o StaticHelpers
New function to convert an object to a map
o ServerApplication
Do not start importerResource if ossweb is not installed.
o InformationController
Show only Informations and SmartRoom categories
-------------------------------------------------------------------
Tue Dec 17 14:13:05 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- fb94a6c1b5d88050526638e2588b8e2424b598f8
Fix NPE
-------------------------------------------------------------------
Mon Dec 16 12:53:55 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- ce8c9dc61211314151a3b14460050df6d2a4ca11
o New api for guest users:
Multiple rooms can be selcted.
AdHoc room for the guest users can be created.
o New api for AdHocLan containing the parameter students only.
o Device*
Apply only for FatClients the NETBIOS name limit of 15 characters.
o SessionController
Do not allow to remove the locahost api token.
Take care that the token is uniqeu.
Enhance domumentation.
o SoftwareController
Avoid NPE and report ERROR
-------------------------------------------------------------------
Sat Nov 16 12:49:20 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- 023bba4756dcf526bc9ee9f0c4a5f82bda0d9d65
o Session SessionController
Take care that sessions acl can be null if restarting oss-api.
o AdHocLanResource
Ticket 2019111567001871 OSS4 HS Hoerde Adhoc Problem
Deliver the list of all AdHocLan rooms if the session user has
the acl adhoclan.manage
o GroupController SessionController
Refresh sessions if removing a group.
-------------------------------------------------------------------
Thu Oct 24 16:02:55 UTC 2019 - Peter Varkoly <pvarkoly@cephalix.eu>
- 8c800ff6a9ca4e1718177c07d732218f00175616
o SessionController
Enhance logging
-------------------------------------------------------------------
Fri Oct 11 04:55:54 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 38153b8bb537cf76ddfc50699fc5da14f8f75a2c
o UserController
Fix resting password.
o UserResource
Send the error message if the action failed.
-------------------------------------------------------------------
Tue Oct 8 17:52:03 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 842f09baed8447daca10a22e6bf28b5473e483c5
o Controller, GroupController, UserController, SessionController
Enhanced roles for creating, deleting and modifying users with
dedicated role or group with special type. user.add.students
allow a user or group to add a user with the role students.
group.add.class allow a user or a group to add a class.
Ticket#2019032167001401 OSS-4 Berechtigungskonzept
-------------------------------------------------------------------
Sun Oct 6 09:49:57 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 251baafaf54450748feea611b45274bd604e0bba
o SessionsResource
New api call to create a session: POST sessions/create. Instead
of form parameters a hash must be delivered:
{'username':'<username>','password':'<password>'}
o UserController
Check password befor reseting it.
o PrinterController
Use the own controller.
o ImportHandler
changed import for dosys
o oss-java.spec
Add missed dependencie to evaluate the mac address.
-------------------------------------------------------------------
Sat Sep 28 12:49:43 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 7d9455db7be65a229fb6f0720a53f575fcf72895
o DeviceController
Do not allow to delete printer device if there are some printer
queue defined for it.
o User, Group
Check user and group names.
o Device
Check device name. Apply DNS and NETBIOS rules.
o Acl, Alias
Do not remove group and user when deleting an acl or alias.
-------------------------------------------------------------------
Thu Sep 19 12:12:05 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 5b214794ed31a34888e41c24fbd967a348fa5bf7
o IPv4Net, RoomController
Fix bad calculation of networks.
o update/012-Add-Acl-scheduler.manage
Ticket##2019041167001507 — OSS4 - ossweb - Zeitplan-Räume
-------------------------------------------------------------------
Wed Sep 18 14:02:06 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- a545eb17552dedad86d5c1f437a6d08397cc7de2
o AdHocLanResourceImpl, RoomController, GroupController, IPv4Net
Fix registering a big room as the first room. This everytime
has overlapped some other nets because the baseIp was badly
calculated in IPV4Net module.
o Session, SessionController
If the user have to change the password let him login
but set the new session variable mustChange to true.
o Turn back to SuSEfirewall2
-------------------------------------------------------------------
Sun Sep 15 16:44:02 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 276d96741a0306599d188f849b0cb77f6ebcb398
o UserResourceImpl.java
Adapt new oss_import_user_list.py parameter.
Start with startproc.
-------------------------------------------------------------------
Fri Sep 13 19:50:41 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- f5b8a89515401dc1a8087931728ce2a1d395747b
o SelfManagementResource, UserResourceImpl, RoomController
Now we can register devices automaticaly via radius connection.
o Group, GroupController, ImportHandler
corrected import handling for asv, updated to importlib v1.0.4
o Device
New transient attribute to deliver the name of the owner.
o AdHocLanResourceImpl
Check if the creation of category was succesful.
Deliver the list of the devices with the name of the owner.
o UserResourceImpl
Check if the import file is UTF-8 coded.
-------------------------------------------------------------------
Thu Sep 12 11:25:43 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 622a95ce21ee94f41185e0cc9f888830c3b64808
o Fix java dependency
o Group
Group name must not contains slash and backslash.
o CategoryController
Remove software for removed software it should be installed again.
Ticket#2019090667001884 — Fehler: Gruppenordner zur workgroup wird nicht erstellt
o PrinterResourceImpl PrinterController
Fix creating printer. Convert name in api into lower case.
Ticket#2019082967001861 — OSS4 - Druckertreiberaktivierung
o DeviceController
Remove workstation user befor writing the state files.
o SoftwareController
Set parameter Manually if updating the package.
-------------------------------------------------------------------
Wed Sep 11 12:08:08 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- f47e33834fd2febcd820e5a5560f7a5d610b9361
o SoftwareController
Set parameter Manually if updating the package.
-------------------------------------------------------------------
Fri Sep 6 10:20:40 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 142bce01707b16f829e4fcab2089c58d5ef91266
o Acl Alias
Remove acls and aliases if the user or group will be deleted.
o SoftwareController
Enhance logging if saving software status.
o oss-objects.sql
Add Unique To SoftwareStatus
-------------------------------------------------------------------
Tue Aug 27 12:58:04 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 4d001a219424ded4ece8c4841ec153b11713c611
o RoomRescource
New function Device forceModify. This does not make any cheks only make all wanted changes.
o RoomController
Fix searching for a new address space for room.
Enhance logging by searching for address space for a room.
o Controller
Avoid NPE
o All Modules
Code Clean up
Optimize Imports
Place static functions in StaticHelpers.java.
o UserResurce
New api call users/test/{uid}/addDefaultAlias
o CloneToolController
Adapt new efi boot.
-------------------------------------------------------------------
Sun Jul 28 09:20:48 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- c486094eb98343e1fdb697d253c055ac955d8328
Add java as reuirement
-------------------------------------------------------------------
Tue Jul 23 09:20:35 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- c2c3b3dd6143fe1f17446a207056814bb561730a
o ProxyController
Fix removing positive lists
o Controller
- Do not allow an alias as an existing user name.
- Take care about ALLOW_MULTIPLE_ALIASES.
- CEPHALIX may do everything
o DeviceController
Enhance docmentation.
Remove logged on entries from device when deleting the device.
-------------------------------------------------------------------
Wed Jul 3 14:06:03 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- e3ab0c5fa3e63adca7b000514f039f9a45143e25
o SelfManagementResourceImpl.java
Fix typo
o AccessInRoom
Ticket#2019061867001689 — OSS4 - Raum-Zugriffsstatus nach Firewall-Neustart
Set default value for allowSessionIp.
o SelfManagementResource
Implementing oss-openvpn.
o SelfManagementResource
Implenting oss-vpn.
o SystemResourceImpl
Avoid NPE
o EducationResourceImpl, AccessInRoom, RoomController
Do not close the teachers workstation by controlling the room.
o SupportResourceImpl, oss-objects.sql
One step to an internal ticket system.
o Rename row -> roomRow
o CloneToolController
Check only if name is unique if the name was changed.
-------------------------------------------------------------------
Sat May 11 11:32:45 UTC 2019 - Dipl. Ing. Péter Varkoly <peter@varkoly.de>
- b45e17d677b0cdde55d32806d178fff29aa75739
Adapt to openLeap 15.1
-------------------------------------------------------------------
Thu Feb 28 19:27:30 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 5fd56e484be3b29d271c5e5750e0bee8db169839
o UserController.java
Avoid NPE if no aliases was defined.
o AdHocLan*
Some fixes in adhoclan management.
-------------------------------------------------------------------
Tue Feb 26 20:22:49 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 363aa0d5fb8409d2846ed396aa9018a3b0769710
o *ResourceImpl
Close entity manager
o CloneToolResource
Make resetMinion and get hwconf available without withouth token
o PrinterController
Take care about existing session password if neccessary.
Try to read the ppd files in more encodings.
o UserController
Take care about em transaction.
Avoid empty aliases.
-------------------------------------------------------------------
Mon Feb 18 20:56:35 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 4bc35cf8b9a0a95398a548061acb7df97e4865c1
o Controllers
We do not need to wait for closing transactions. This can not happend
We are programing fine.
o oss-dao/data/oss-objects.sql
Adapt new mariadb syntax.
-------------------------------------------------------------------
Wed Feb 13 17:09:32 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- de250ce65d6701a3508071a9811b0bb177c1182a
o RoomController, PrinterController
Trim device name.
o UserController
New function to get the home dir of a user.
o SoftwareController
Fix JPA to deliver all SoftwareStatus for devices.
o EducationController
Clean up workstation users home by upload files.
Now the education controller enhances the UserController.
o Controller
Code clean up: Optimize imports.
Enhance parameters for user plugin.
o SystemResource
Close the entity manager.
New acl: system.addons
New API to handle simple addons:
GET system/addons -> space separated list of addons
GET system/addons/{addon}/{key} -> Gets the value of a key
PUT system/addons/{addon}/{action} -> Executes an action
There are 2 special keys:
GET system/addons/{addon}/listActions -> space separated list of actions
GET system/addons/{addon}/listKeys -> space separated list of keys
o SchedulerResourceImpl
Clean up code to avoid compiler warnings.
o Device
Software status can be cascaded.
o UserResourceImpl
Close the entity manager.
Now the API can return the home of a user.
-------------------------------------------------------------------
Wed Feb 6 20:55:44 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- a42e7927b97b16c0b07dbdadf4187a56611da786
o All Resources
Now em will be created for all thread.
I've detected, that the constructor is a bad place to create the entity manager.
-------------------------------------------------------------------
Tue Feb 5 18:14:00 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 9743abf21c531554f622bda5144817fd47562920
o Controller
Ticket#2019020567001362 — Kann die uuid bei add_user bitte mit an plugins ausgegeben werden?
o CloneToolController
Ticket#2019012467001364 — Multicast imagen ohne Funktion
Fix multicast cloning.
o All Resource ResourceImpl and Controller
First version with optimized entity manager usage.
The opening and closing of Entity manger will be made now
in the Resources not in the controller. This is required so that
the same EM is used throughout the processing.
o UserController
Do not allow to remove user for user which may not delete it.
o SoftwareController
Set software to remove even it is not installed.
Ticket#2019012967001319 — MRR OSS4 - UltraVNC deinstalliert nicht und verursacht flackernde Bildschirme
o RoomController
Do not create the room if there is no IP-Adress for it.
Ticket#2019012867001348 — Drucker im SiV
o GroupController
Set the ownerId for the new room.
Ticket#2019012367001339 — Offene Punkte OSS-Nutzung
o update/007-clean_up_smartRooms.sh
Fix the update script
o updates/008-add_unique_indicies.sh oss-objects.sql
Avoid duplicate entries.
o CloneToolController
Sort partitions
-------------------------------------------------------------------
Tue Jan 29 14:59:00 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 76bb9105c7deb864c448fe2601409263d5237726
o RoomController
Ticket#2019012967001328 — OSS4 - Hoerde-SIV - Raumgrößen
-------------------------------------------------------------------
Mon Jan 28 20:04:22 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 20deaa3261bc3b7934b253b6243d9ebb57eeaa3c
o CloneToolResource
Make all calls needed for recovery free callable.
o UserController
Now we can save aliases when creating users.
Now editing aliases is possible too.
Make changes in quota inmediately active in database.
o SchedulerResource
Initial version of the scheduler API
o Category
New query to find expired categories
o SystemController
Fix handling of acls.
2018112667001352 — Inkonsistenz bei der ACL-Verwaltung
2019012467001355 — OSS4- Rechtedominanz zwischen User/Group
o oss-api/start-oss-api
Use the normal enviroment to be able to access the proxy.
o AdHocLanResource
modify adhoclan room stores old data instead of new data, corrected
-------------------------------------------------------------------
Fri Jan 25 05:37:30 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 2508bdae0e1b7cae9140d90841ffd4bfdbe56160
o Controller
Evaluate rights for modifing objects.
o Room
Room name can not be longer then 9 chracter.
o SupportResourceImpl, ServerApplication
Use curl to be able to use proxy for support.
o GroupController
Fix JPA that the group creator has the created group inmediately.
o EducationResource
New api call GET education/availableClasses to get the classes the user is not member in.
GET education/groups delivers all not primary groups the user is member in .
o CloneTool
Make the most important clonetool calls public.
-------------------------------------------------------------------
Fri Jan 18 19:43:51 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 024145f78455cee570f675a41a5203d01df4203c
o Education
educaction/users/applyAction reply now a List<OssResponse>
o Classes should not be smart rooms but informations category.
-------------------------------------------------------------------
Wed Jan 16 15:33:23 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 3d52e0034eeb46989bb764d5879341fc79164980
o Clean up acls:
Teachers have only access to education and information API
-------------------------------------------------------------------
Mon Jan 14 20:18:53 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 1ae63da9a20e341ea0a13ec81e9928e6c46db883
o User* Aliases
Now we can handle user aliases.
-------------------------------------------------------------------
Mon Jan 14 10:07:11 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 31d420d6e7e3ec80750146afa8b8b46ed84ccbf1
o updates/005-ManuallyInstalled.sh
Add update script to modify SoftwareStatus from I to MI
if Software is manually installed
-------------------------------------------------------------------
Sun Jan 13 08:43:10 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- aa5a72607133fe35564508f79beb3dd489876172
o SystemResources
Public read access to SYSCONFIG variables
o SofwareResources
Manuall installed software must be marked as MI.
-------------------------------------------------------------------
Fri Jan 11 18:15:02 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- b20785beb39181826c5d6c006d714ef25ed51490
o EducationResources UserController
New API call education/rooms/{roomId}/actionWithMap/password
to set the password for workstation users.
o Config
If key do not exist return an empty string.
o UserResource
New API users/insert which does not restart squid after adding a new user.
API user/add restarts squid after adding a new user.
-------------------------------------------------------------------
Sun Jan 6 22:15:39 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 506914e53035c80d2aead323f15793fd2e9e0603
o System
Reorganize system status
-------------------------------------------------------------------
Sat Jan 5 15:56:19 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 7f5183ab23f2d458116e53490f16dd5927ed1dcb
o Education*
New api calls to upload file to groups and collect files from groups.
o SystemController
Reports the adhocrooms too.
Code clean up
o RoomController
Fix typo
Code clean up
o DHCPConfig
Use the right filter to find all rooms for dhcp.
Code clean up.
o AdHocLanResourceImpl
Fix adhocroom list for normal user.
o SystemResource
Code clean up.
New apis to get and set service status.
-------------------------------------------------------------------
Wed Jan 2 20:46:06 UTC 2019 - Peter Varkoly <peter@varkoly.de>
- 2a59a34d0cbcb65a51a51805965510ea175ad76b
o Group
Add missed setter and getter
o GroupController
Avoid NPE
-------------------------------------------------------------------
Mon Dec 31 20:15:00 UTC 2018 - Peter Varkoly <peter@varkoly.de>
- 739ef7f49b95e8470277a53e60b0f5e64ded1224
o Group
Make acls and categories jsonignore
Deliver ownerId
o Education*
Now collects and uploads delivers a list of responses for all user.
o InformationResource
Implementing getById for Informations objects.
getMyXXXXXs schould not return the text.
o Room*
New api to be able to set the default printer in a room by name text/{roomName}/defaultPrinter/{printerName}
AdHocRoom must not be visible anywhere.
o UserController, Controller
Create new own password generator function.
-------------------------------------------------------------------
Fri Dec 28 19:15:41 UTC 2018 - Peter Varkoly <peter@varkoly.de>
- cabdb0cc360138734762ec188b8d3b02f224c170
o RoomResource
New api call to get all room names.
o Education
New api call to upload the file to more users.
o DeviceResource
New api call to get all device names.
o AdHocLan, Room, RoomController
Do not handle adhoc rooms by normal rooms.
Start to emplementing adhoclan room handling.
o Group*
New api to import the groups with members.
o DeviceController
Fix typo in import.
o PrinterController
Fix trello: GetPrinterByID rückgabe wert für model bitte als string ohne sonderzeichen
-------------------------------------------------------------------
Sun Dec 16 20:38:09 UTC 2018 - Peter Varkoly <peter@varkoly.de>
- d72259d388e04cbc60ae5f872e6f1e8cd903b3ec
o SystemController
Avoid out of array if ext and internal ports are the same
o RoomController
Make import of rooms safer if not all parameters are given.
Enhance the possible room sizes.
o DeviceController
Avoid NPE
o CloneTool*
Now we can import more hwconfs from a json array.
o PrinterResource
New api to get a printer by id.
-------------------------------------------------------------------
Wed Dec 12 13:34:27 UTC 2018 - Peter Varkoly <peter@varkoly.de>
- 9ecbacd497f212cef5384b7fde16c3f7f5090008
o RoomController
Now we can forbid setting direct internet access
o CloneToolController, Controller
Remove images if deleting a hwconf
-------------------------------------------------------------------
Mon Dec 10 14:12:16 UTC 2018 - peter@varkoly.de
- 39ed3bfb3fb94d71e6ee196a1907f26972398a4b
o Enable the features adhoclan.manage and room.dhcp
-------------------------------------------------------------------
Mon Dec 10 00:01:48 UTC 2018 - peter@varkoly.de
- ad20c9567b594c9f71d4207321577a19cd4456c3
o Implementing setting dhcp parameter in rooms and devices.
o New hidden api function POST api/file to get an arbitary file from the filesytem.
o Controller
[Ticket#2018113067001246] Nachfrage zum gesperrten Ticket: modify_device überg
-------------------------------------------------------------------
Mon Nov 26 15:44:24 UTC 2018 - peter@varkoly.de
- 3aefa0107483ff4b29e0195b215f28ed2af77d3a
o fix setup
-------------------------------------------------------------------
Fri Nov 23 15:25:42 UTC 2018 - peter@varkoly.de
- e33035a1e2455378f657ec9a092b513f66379dde
o Devices*
Ticket#2018112067001309 — Anfrage oss-script
-------------------------------------------------------------------
Thu Nov 22 08:31:59 UTC 2018 - peter@varkoly.de
- 97fa3e74ec94285213dce358af11f1ec639e74fb
o UserResource
New api call PUT users/sync to sync user group membershift to squid.
o DeviceController
corrected typo (invetary) which results in NPE
o Category, System Software
New api call to find an object POST system/find/{objectType}
Fix syncing softwares
o DeviceController
[Ticket#2018111467001222] Ticket erstellt: OSS 4 - Diverses.
Lösen des Problems 'Salt-Konfigs bleiben erhalten wenn Rechner gelöscht werden.'
o SystemController
Ignore rules for not existing hosts.
-------------------------------------------------------------------
Mon Nov 12 21:12:43 UTC 2018 - peter@varkoly.de
- 895ad21263e3cde0b75f00a90a2a6b2c75afc268
o Software, HWConf, CloneToolController, SoftwareController
Prepare HWConf and Software to be able to sync from cephalix.
o Fix some bugs in guest user implementation.
-------------------------------------------------------------------
Sun Nov 11 21:04:54 UTC 2018 - peter@varkoly.de
- e1f2122b0a6d6e4cc98722a440306ddabfaa99f7
o SoftwareController
Fix add softare for the case that it is update software.
o RoomController
Set roomId after creating a device.
o User*
New transient variable for the classes of a user.
O Proxy*
New api calls to get an set all proxy acls in one step: GET/POST system/proxy/defaults.
New anonyme api call to get the system type: GET system/type.
Code clean up.
-------------------------------------------------------------------
Thu Nov 8 14:59:58 UTC 2018 - peter@varkoly.de
- 32917c8f6dfafeb2e7c443bf847e3f98c813c4c8
o Printer
Code clean up
Provide the deviceName in the list
o DeviceController DeviceResource
Fix handling printer for devices.
o 000-turn-to-new-printer.sh
Ticket#2018110367001127 verfassen — 000-turn-to-new-printer startet oss-api nicht wieder
o SoftwareFullName
Fullnames can be very long.
-------------------------------------------------------------------
Mon Nov 5 19:43:08 UTC 2018 - peter@varkoly.de
- ec6143d5e662b58c2ceaa9ff69737776124b9fff
o ProxyController
reading of positive lists corrected
o SoftwareFullName Software*
First version with FULLNAMES
-------------------------------------------------------------------
Wed Oct 31 11:13:27 UTC 2018 - peter@varkoly.de
- dc15ecfe33e7fc1ff67b9f6942428eda692a8ae8
Ignore HASH.json as source.
Introduce SoftwareFullName to better handling of softwares.
Introduce update in /opt/oss-java/data/updates
-------------------------------------------------------------------
Fri Oct 26 19:53:42 UTC 2018 - peter@varkoly.de
- e178deff342d041481fcf68fbf8d061dbfd05b81
o Education*
Take care about studentsOnly by collect and post files.
-------------------------------------------------------------------
Mon Oct 22 21:20:16 UTC 2018 - peter@varkoly.de
- 68691c57b87112000bc17620c9bb62079d68b1b7
o UserController
Do not allow to set not working passwords.
Do not allow to reset the workstation users password.
o Ticket#2018101867001128 — Raum löschen geht nicht
Take care of removing ALL depending objects when removing a room a device or user...
This can be Session, SoftwareStatus ...
o DeviceController Import
- set hwconfId too
- set romms hwconf if no hwconf was defined
-------------------------------------------------------------------
Fri Oct 19 08:54:57 UTC 2018 - peter@varkoly.de
- 287be44dcd5cbdac56986ed059364692919e5f1f
o UserController
Deletig user from groups when delting the user.
o GroupController
Avoid NPE.
Remove group from users if deleting the group.
o DeviceController
Fix checking wlanmac address.
Fix import to avoid problems if some fields does not exists in some lines.
-------------------------------------------------------------------
Wed Oct 17 17:35:55 UTC 2018 - peter@varkoly.de
- 1756ffc2720c47782805eaca5d6b8a2eeebb7363
o SoftwareController
Fix creating new software
-------------------------------------------------------------------
Tue Oct 16 21:15:59 UTC 2018 - peter@varkoly.de
- 3b82d7dd7337cf95b6e117306951ed688fbc4fe7
o Ticket#2018101467001082 — Ein paar Kleinigkeiten.
Danke schön Herr Schütte
o SoftwareController
Trello: softwareVersions der eintrag wird gedoppelt
o AccessInRoom, RoomControll
Add roomName attribute to AccessInRoom.
Avoid coordinates with 0 (OrganizeRoom action)
o start
Fix creating local token.
o Software
Make update of software packages in background too.
o InformationController
Make validity check human readable.
-------------------------------------------------------------------
Mon Oct 15 13:51:35 UTC 2018 - peter@varkoly.de
- 5a236ae8178bb2a1f4ca45191360e717002e1c03
o Software*
Fix update software packages.
Fix setting software statues. Do not ignore display name.
o Room*
New api call to get the list for rooms for setting access.
o CloneToolController
Fix template path. Thanks for Mr. Schuett.
o UserController
added missing parameter -d
-------------------------------------------------------------------
Thu Oct 11 08:54:52 UTC 2018 - peter@varkoly.de
- e6079b4909c48d32c3e476f4625511039c6a87bf
o AccessInRoom,RoomController
Code clean up.
Fix bad time format. (9:30 -> 09:30)
o UserController
Fix path to programm.
Do not set quota for root.
o EducationResourceImpl
Fix getting acls of the session user.
-------------------------------------------------------------------
Wed Oct 10 16:29:47 UTC 2018 - peter@varkoly.de
- 2c98f44a4ce1f6adfa8ab2b3b0cb7e55b4c5d991
o Education
New education action deleteUser for deleteing students.
The user need the right user.delete or student.delete
o OssBaseObject
OssBaseObject is a simple object the get a list of ids and names of orbitary objects.
o SoftwareResource
Implements api calls to get available members of installation sets.
Change api result to get the members of installation sets:
Instead of ids it delivers a new list of OssBaseObject.
o DeviceController
Fix some typos by import.
setLoggedIn should set and not add logged in user to an device.
o Room
Set default for roomType.
o start-oss-api
Take care if database does not contains the token.
o RoomResource, RoomController
New api call POST rooms/import to import rooms via csv file.
o school-INSERT
AdHocAccess and WlanAccess are internal namings.
-------------------------------------------------------------------
Fri Oct 5 14:20:44 UTC 2018 - peter@varkoly.de
- e193151b1534e8d1c5469820bc93cf96e8677898
o *Controller
Avoid NPE if no object was found.
o DeviceController
Remove owned device from session user from cache too.
o AdHocLanResource
Fix swagger helps.
New api call to modify owned devices. POST adhoc/devices/{deviceId}
Fix getting the owned devices.
Code clean up.
o EducationResourceImpl
Fix collect files from a room.
o CloneToolResource
New api call "GET clonetool/fqhn" to get the fqhn of the requester.
-------------------------------------------------------------------
Wed Oct 3 12:09:31 UTC 2018 - peter@varkoly.de
- 832ede9a5e397522543f1d81808ad0101d9c64b8
o CloneToolController
New fuction ot modify partitions.
Clean up software status when reseting a client.
o CloneToolResource
New api call to modify partition.
o DeviceResource, DeviceController
Fixing and implementing add and delete default and available printers.
-------------------------------------------------------------------
Tue Oct 2 13:18:56 UTC 2018 - peter@varkoly.de
- 6d195b9f5733f17a0bbfeb97b3e64fbd3fab4f75
o RoomController
Fix error when closing already closed EntityManager.
Fix error by readding AvailablePrinter
-------------------------------------------------------------------
Mon Oct 1 18:54:03 UTC 2018 - peter@varkoly.de
- 3bb035b23420ea1190ca337e31321fe94c0a65ff
o spec
Remove not used start script for squid sso
o UserController
Fix parameters for some user actions.
o RoomController
Fix removing available printer.
o DeviceController
Delete workstation account
Implementing logOut user.
Make actions case insensistive.
o CloneToolController, Partitions
Add new variable to show the last creation time of images.
o SmartRoom
Reorganize rooms to avoid overlapping devices.
o EducationResource
Clean up API for collect files.
-------------------------------------------------------------------
Fri Sep 28 05:44:19 UTC 2018 - peter@varkoly.de
- 9880015da9d86d357c69ad1c8821a7d7c73f01f7
o UserResource
- New api calls to put a user in all classes.
o UserControl, UserResource
Take care about space in group names.
o oss-java.spe
In %pre state, the new file does not exists.
-------------------------------------------------------------------
Wed Sep 26 11:43:01 UTC 2018 - peter@varkoly.de
- bc53c8802e7956ef05cc97ca1ee28696094736fa
Add missed spec file to git
-------------------------------------------------------------------
Tue Sep 25 13:15:15 UTC 2018 - peter@varkoly.de
- e28922823e0bfd5126612b50e57cd44d7da28f98
o Device
Initialize List type variables
o RoomController
- In a room with no room control no access state must be set.
- Room with no control must not be have any AccessInRoom entries.
o school-INSERT, business-INSERT
New roomControl sysadminsOnly. ANON_DHCP must be so.
-------------------------------------------------------------------
Mon Sep 24 20:41:59 UTC 2018 - peter@varkoly.de
- c79c7bd0c4cee90c9737b4a847d94436c1904814
Do not set owner for not private devices.
Refactore Cascading in data model.
Clean up created and owned objects when deleting a user. The new owner is the Administartor.
Clean up member when deleting a category. FAQs Contacts and Announcemenst will be deleted.
-------------------------------------------------------------------
Sun Sep 23 18:52:17 UTC 2018 - peter@varkoly.de
- d9ae33a29cf2458ee93b67764c236ef2d751c523
o Implementing a new printer model:
- Introducing new table Printers. This table contains the printer
queue names and the reference to the real device. A real printer
device is a device in HWConf with deviceType Printer
- Creating a new printer means we create a new real priter device
and e reference in a table Printers with the same name as the device
- Creting a new printer queue means creating a new referenc to an
existing real printer device.
o Sessions
New api call to get the logon script:
GET sessions/logonScript/{OS}
OS can be Vista.VX
o RoomController
Add default AccessInRoom to a new room by creating it.
-------------------------------------------------------------------
Wed Sep 19 19:13:08 UTC 2018 - peter@varkoly.de
- e442ea8d66d86d6ec5f69b1853ae88dcb9940973
o SoftwareController
Deliver the licenses as a json hash.
Do not write the licenses into the sls file of the minion.
-------------------------------------------------------------------
Wed Sep 19 09:04:36 UTC 2018 - peter@varkoly.de
- fa485ad6bd7cba13c77334e94dc23673e02a2fac
o SoftwareController
Fix license output.
o GroupController
Fix response if user already in group.
o CloneToolResource
Allow all users to read the hwconf parameters.
o SupportResourceImpl
return ticket response info in parameter list (this contains additional
info about the regcode for the customer)
-------------------------------------------------------------------
Sun Sep 16 20:46:22 UTC 2018 - peter@varkoly.de
- 8ec4aeccd81a9abf555aee891cc9066fe5f2b7e1
o UserResources
New api call: PUT users/allTeachersInAllClasses
o SessionController
Be more verboseif session failed.
o GroupController
Do not add user to group if he is already member of it.
-------------------------------------------------------------------
Fri Sep 14 09:51:07 UTC 2018 - peter@varkoly.de
- 202a5280076463a399afb9eb1b7553d3878a5c09
o RoomController/Resources
New api call PUT rooms/setDefaultAccess
o SoftwareController/Resources
- Take care about packages do not have real sources.
- Now we can update and remove the salt packages.
POST softwares/updatesSoftwares ['afasd','afasds','dsfasdfs']
POST softwares/listUpdatesForSoftwarePackages
POST softwares/deleteDownloadedSoftwares ['afasd','afasds','dsfasdfs']
-------------------------------------------------------------------
Thu Sep 13 13:47:32 UTC 2018 - peter@varkoly.de
- 6a2cb4479c9a61c3f89abc025dbc2275effd0b33
o Fix start script
o tools/IPv4.java
Avoid NPE
o EducationController
Take care of JPAs cached relations.
o GroupController
Remove the created smartRooms of a group.
-------------------------------------------------------------------
Tue Sep 11 16:13:30 UTC 2018 - peter@varkoly.de
- b2e3773d838820105a50f603778cdadbd28a4cc7
o ProxyController
Use String.equals instead of ==
o Education, SmartRoom
A lot of changes to be able to handle smartRooms.
Define all classes and workgroups as smartRoom.
-------------------------------------------------------------------
Mon Sep 10 13:04:35 UTC 2018 - peter@varkoly.de
- bd10fffa76df16109593156defa68f937cca3c6e
o AdHocLan
Now we can modify adhoclan rooms.
Avoid caching problems by modifiyn catagory members.
-------------------------------------------------------------------
Sun Sep 9 10:50:52 UTC 2018 - peter@varkoly.de
- 2ebf016bae19d09adc5be8a3def6673e72622c92
o AdHocLanResource
Make adhoc lan management acls more simplier.
o UserController
Implementing setting fs and ms quota for users.
o ImportHandler, UserController
- do not write userlog files when in testmode
- split import files in sysadmins home based on school class, corrected
- telex handling, corrected passwort answer
-------------------------------------------------------------------
Fri Sep 7 18:38:09 UTC 2018 - peter@varkoly.de
- 0cb6ce3a4b0a5244b4aff3236557026909502db8
o GroupResource GroupController
Implementing cleaning group class directories.
-------------------------------------------------------------------
Thu Sep 6 18:42:28 UTC 2018 - peter@varkoly.de
- 24dc929630545e3216466626fcba1515d47c0a45
o RoomController
Ticket#2018090367001088 — Raum - Drucker - Sonstige Drucker bearbeiten fügt Drucker mehrfach hinzu
o ImportHandler.java, User.java
- removed debug info
- corrected uuid assignment
- enhanced passwordmech for asv import
- remove unusable info output
o SoftwareController, SmartRoom.java
Avoid NPE
-------------------------------------------------------------------
Fri Aug 31 18:54:52 UTC 2018 - peter@varkoly.de
- 3322dead94be071df2691fe023223132e5f40ad2
o EducationController
Trello put /rooms/{roomId}/actions/{action} action "wol" kehrt mit 204 Http code zurück und "no content"
o DeviceController
Fix modifying safer.
o Firewall
INTRANET != SERVER_NET
-------------------------------------------------------------------
Wed Aug 29 09:55:37 UTC 2018 - peter@varkoly.de
- aa91267c2b59b15298a2b944460ccd9beab98e94
o SystemController
Fix creating and deleting dns records.
o UserResource
Fix creating uid when more then one user should have the same uid.
-------------------------------------------------------------------
Tue Aug 28 20:19:01 UTC 2018 - peter@varkoly.de
- 679c488fb3c146033388ded6145321d7604791b7
o UserController
Fix creating uid when more then one user should have the same uid.
-------------------------------------------------------------------
Tue Aug 28 12:55:00 UTC 2018 - peter@varkoly.de
- 96c69c9636f3fe228c2e5fb34941a642af54ee69
o All files with systemctl restart was changed to try-restart
to respect users settings when he deactivate a service.
o ProxyController
- Introduce list cephalix.
- cephalix good and bad must not be turn off or on.
o InformationController
- Modify only allowed attributes.
- If an announcement was modified, remove havSeen attributes.
o oss-api/start-oss-api
It is not neccessary to restart squid.
o CloneToolController, school-INSERT.sql
Add missed acl: software.manage
-------------------------------------------------------------------
Tue Aug 21 13:15:11 UTC 2018 - peter@varkoly.de
- 55cc7d7b9d015ed9da6403ff8849adb15d806bd8
o DeviceController
Fix importing devices. The last line was not read.
o UserResource/GroupController
New api call POST users/text/{userName}/groups/{groupName} to set the owner for a group. Helper script only.
o EducationResource
Fix the RolesAllowed. All must be start with education.
o DeviceResource
Make api call devices/getLoggedIn/<IP> public.
-------------------------------------------------------------------
Sun Aug 19 12:11:42 UTC 2018 - peter@varkoly.de
- a11f1b29033f7d6713cffe6d6033e460272a135d
o EducationResourceImpl
Security issue: On education interface only students can be managed.
o Fix start script. Config file was not sourced.
o DeviceController
Enhance logging.
-------------------------------------------------------------------
Sat Aug 18 15:02:28 UTC 2018 - peter@varkoly.de
- adc25aec89961c4c1a891b6f669f6c054e44ad2f
o SmartRoom
- Automaticaly order devices in smartRooms.
- Fix reading details of smartRooms.
o UserResource
Fix typo in API path. This has coused that deleting the user during import was not possible.
o EducationResource
- New API call POST education/rooms/{roomId}/devices/{deviceId} to be able to know if a device will be replaced in a normal room or in a smartRoom.
- Deliver the classes by GET education/groups too.
- education/groups/{groupId} needs to deliver information to all groups.
-------------------------------------------------------------------
Fri Aug 17 08:04:37 UTC 2018 - peter@varkoly.de
- 888834a7057567401ef9127527e56dba6f5cd4ae
o UserResource
Fix reading import files.
o SmartRoom
Fix reading details of smart rooms.
-------------------------------------------------------------------
Thu Aug 16 19:21:26 UTC 2018 - peter@varkoly.de
- b7d69fa00a5466bde96360f131fb85edf625bbdb
o SelfManagementResource
Fix setting own password
o Controller
Close entity manager.
-------------------------------------------------------------------
Wed Aug 15 21:58:57 UTC 2018 - peter@varkoly.de
- 302d800f86135b5eda92af08e488d31dc64f4e73
o ProxyController
Fix reading description from list names with '-'
o Controller start plugin
Overhand ms and fs quota parameter too.
o SoftwareController
Do not trow error if there are no packages to download.
-------------------------------------------------------------------
Wed Aug 15 19:38:03 UTC 2018 - peter@varkoly.de
- 8fde9b3f37082bace9beb7b24ab616306124f870
o UserResource
Implementing syncing mailsystem quotas.
-------------------------------------------------------------------
Tue Aug 14 22:12:57 UTC 2018 - peter@varkoly.de
- ff93af47eed68d7083f24e982706d51e0fff2f1f
o DeviceController
Fix modifying serial and inventory number.
o SoftwareResource, DeviceController, RoomController
Fix some SoftwareLicenses stuff.
o RoomResources
Implementing add and delete accessList.
o SysetmResource
Implementing DNS management.
o PrinterResource
Use PRINTSERVER variable for printserver management to be able to handel more OSS.
-------------------------------------------------------------------
Thu Aug 9 07:25:41 UTC 2018 - peter@varkoly.de
- 7f323ef1775be06375b13d15a5a00d4f16f8af74
o SupportResources
Creating support should response an OssResponse object.
Avoid NPE.
Overwrite toString.
-------------------------------------------------------------------
Tue Aug 7 17:37:25 UTC 2018 - peter@varkoly.de
- c212832cfb066ffe11c2a36d6ab4693489113654
o RoomController, DeviceController
Deliver parametrized errors when device could not be created.
-------------------------------------------------------------------
Mon Aug 6 09:06:52 UTC 2018 - peter@varkoly.de
- 2f037ebff6f01416dc69a37d9bdcf65489db7ded
o SystemController
Fix acl handling of acls
o UserResourceImpl
Avoid NPE
o PrinterResourceImpl
Fix activating windows driver.
-------------------------------------------------------------------
Wed Aug 1 20:37:53 UTC 2018 - peter@varkoly.de
- d8c566fefe530acf444fded491ed46f39ef816c3
o SoftwareController
Remove software package also.
o DeviceController
Start state.apply asynchronus.
o SoftwareResources
New api call to get a sofwtwar set GET softwares/installations/{instllationId}
o CloneTool*
New api calls to get the multicast network devices and start the multicast cloning:
- GET clonetool/multicastDevices
- PUT clonetool/partitions/{partitionId}/multicast/{networkDevice}
-------------------------------------------------------------------
Tue Jul 31 19:30:04 UTC 2018 - peter@varkoly.de
- d66345dbb650866a98f5d5637dd7644636baf3c0
o SoftwareController
Fix deleting software set.
-------------------------------------------------------------------
Wed Jul 25 20:18:21 UTC 2018 - peter@varkoly.de
- 62740adcd280d32bab22560cb8766c9b1f7a2a0c
o PrinterReosurces DeviceControlle
Avoid NPE by deleting devices.
o ImportHanlde
corrected import error with oss birthday format and process import
asynchron
o Fix roles
-------------------------------------------------------------------
Wed Jul 18 16:49:28 UTC 2018 - peter@varkoly.de
- e04c0514cbed297a5715f1f30f8f60c617f78104
o EducationController
Fix TRELLO#DELETE /education/rooms/{roomId}
Implementing GET api/educations/rooms/{roomId}/details
-------------------------------------------------------------------
Tue Jul 17 20:16:17 UTC 2018 - peter@varkoly.de
- 7a632d9589532c57710a9d9fdff10bf94c021192
o Implementing writing dhcp paramter.
o Implementation of Support request
-------------------------------------------------------------------
Tue Jul 17 18:06:53 UTC 2018 - peter@varkoly.de
- b5885cefec0dc2a97f53e9d299b2475e26e510ef
o EducationController
Set room creator by smart rooms too.
o EducationResource
New api call to get the owned smart rooms.
-------------------------------------------------------------------
Mon Jul 16 15:32:31 UTC 2018 - peter@varkoly.de
- 1f8bfdd99807dbc4339dcc8e79146b049290b2da
o SystemController
Fix TRELLO:PUT system/register
o UserResource
Fix typo.
o find-rolles.pl
adhoclan* acls are not standard.
o SessionController
Only not superusers needs the right adhoclan.mydevices.
o RoomController
TRELLO: POST modify/rooms änderungen werden nur nach api neustart übernommen
o GroupController
Add creator as member to a workgroup.
-------------------------------------------------------------------
Thu Jul 12 18:51:35 UTC 2018 - peter@varkoly.de
- 44718a480a958de58ed6135bac25fb1cd91712d8
o EducationApi / UserController
New action to remove the windows profiles of a user.
-------------------------------------------------------------------
Thu Jul 12 09:54:22 UTC 2018 - peter@varkoly.de
- 5f745d10b432334c4811ec9aa30f838f260658eb
o UserResource
Now there are 2 functions to setting user into more groups at once:
addToGroups and setMember.
POST users/{id}/groups
POST users/{id}/groups/set
o CategoryController
Make object type name case insensitive.
o AdHocLanResource, AdHocLanController, RoomController
Fix a some problems with self registering of computer.
-------------------------------------------------------------------
Mon Jul 9 17:09:18 UTC 2018 - peter@varkoly.de
- dbe1f8680a1f2ee14250bc9afcb7cfca0883358c
o Implementing AdHocRoom Handling
o DeviceController
Fix modifying hwconf
-------------------------------------------------------------------
Mon Jul 2 16:11:38 UTC 2018 - peter@varkoly.de
- 02e93baa4bfc644b9c06d1509d3f3afd5aee1c4f
o UserImport.java
Helper Object to manage the imports.
o SoftwareController
Software set is never public.
o ProxyController ProxyRule
Deliver the translations in the system language to the acls.
o school-INSERT.sql business-INSERT.sql
Create Category for unreleased informations.
-------------------------------------------------------------------
Fri Jun 29 12:04:22 UTC 2018 - peter@varkoly.de
- 766d63e2f183e7c821a2dd1d4c5fbe0338936b48
o DeviceController RoomController
Take care for merging hwconf to by modifying a device
o oss-objects.sql
Set publicAccess = Y to default
o Job
Code clean up
-------------------------------------------------------------------
Wed Jun 27 07:53:20 UTC 2018 - peter@varkoly.de
- 6a44ff943541c83784c4583d352dff450382f2d9
o JobControl
Implementing GET API calls system/jobs/ running, failed, succeeded
o DeviceController, SoftwareResource
Implementing applyState action for Devices, Rooms and for all Devices.
The applyState action does not call directly salt but the client_plugin_handler.sh start.
o UserResource, GroupResource
Implementing some APIs working with names instead of id.
o Category
Introduce publicAccess for categories.
-------------------------------------------------------------------
Thu Jun 21 11:28:53 UTC 2018 - peter@varkoly.de
- 182c7e5a662a90ab7268b8877ca4c279a9931eb6
o CloneToolResourceImpl, Controller
Fehler#1185 Es ist nicht möglich den master in einer Gerätekonfiguration zu setzten
-------------------------------------------------------------------
Thu Jun 21 06:48:04 UTC 2018 - peter@varkoly.de
- 9722e0a5f88bf4841bffe57ab5b7d28395f7b49d
o Config
Fix writing sysconfig value.
-------------------------------------------------------------------
Tue Jun 19 20:46:04 UTC 2018 - peter@varkoly.de
- f496362865e353cd953bfb38a892a0a2750263f8
o Job JobController
First version of working job management.
o SystemResource
New api to set systemconfiguration values by map.
o SoftwareResourceImpl
Do not log unneccessary warning.
o Controller
Do not allow to create object wiht WORKGROUP name.
o RoomController
Fix the variable name.
-------------------------------------------------------------------
Thu Jun 14 17:19:35 UTC 2018 - peter@varkoly.de
- 081179428c8fe4f78a3223ea53d7b510a4c318e8
o RoomController.java
- Code clean up.
- Do not ignor FIRST_ROOM variable.
o InformationController
- Enhance logging.
- Do not use the User object internal list.
o SessionController
- Return null if token was not found to avoid NPE
-------------------------------------------------------------------
Tue Jun 12 18:21:30 UTC 2018 - peter@varkoly.de
- 441f3d0890f7c21fd478ec7f83bfac419a395627
o Enhance documentation
o InformationController
Set the category list of an information object to the category in which one this was found.
-------------------------------------------------------------------
Tue Jun 12 08:54:59 UTC 2018 - peter@varkoly.de
- 2b8ade3a030e2e290146f8e699f1df4ea6f18c2e
o InformationController.
Categories made by cephalix are public too.
o UserController
Do not add null objects (in case of user not found by id) in the array
-------------------------------------------------------------------
Sun Jun 10 06:41:24 UTC 2018 - peter@varkoly.de
- 6c347be574aebfcfa4f83b958b81c5157951449b
o SessionController
- Modules with right "permitall" is allowed for all authorized users.
o InformationController
- Fix the order of persisiting and merging the object.
- Fix deleting informations.
-------------------------------------------------------------------
Thu Jun 7 14:20:44 UTC 2018 - peter@varkoly.de
- 754d04b99d5745ec16719b00e5643e2cc7c68ecd
o Informations:
- Fix evaulating the validity of an announcement.
- Provide the list of categories of an informations object.
- Fix ManyToMany relation.
- Remove Abstract from FAQs and Announcements.
- Use MEDIUMTEXT instead of BLOB for TEXTs in FAQs and Announcements.
- Implementig setSeenAnouncement getNewAnouncement and getMyXXXXX
- There is only one category for all information types.
- Code clean up.
-------------------------------------------------------------------
Mon Jun 4 12:01:49 UTC 2018 - peter@varkoly.de
- ab1ecb4f0be965280c7a09be58e9559dc4cd81b4
o PrinterResourceImpl
Fix typo in index of string array.
-------------------------------------------------------------------
Wed May 30 13:38:22 UTC 2018 - peter@varkoly.de
- 773dcaccada098738575d577008cab585e928441
o PrinterResourceImpl
- Make creating printer more robust.
- It is not enought to enable printing queuing need to be enabled too by cupsaccept.
- Enable printer after creating.
o Controller
Ticket#2018052067000894 — OSS-SUPPORT: OSS 4.0 Build 185 - Benutzer anlegen - ArrayIndexOutOfBounds
-------------------------------------------------------------------
Thu May 24 18:53:43 UTC 2018 - peter@varkoly.de
- 0bfd8ff9ab514343fd7228330e08d1ac9e865523
o GroupController
Create a new role when creating a new primary group.
o business-INSERT.sql
Add right to administrator to create and delete printer.
o DHCPConfig
- Take care that the salt group names are unique.
- Use the FQHN of the hosts in the groups.
o ImportHandler
trac #1153 4. when importing students, do not find teaches
trac #1153 1. and 2. surname and givenname changed, classes exported
-------------------------------------------------------------------
Fri May 11 20:40:31 UTC 2018 - peter@varkoly.de
- ca72673428b6fa65a0ecb55e345f43a7d0d4622f
o PrinterResource
printers.add is allowed only for the main administrator.
o SessionController
- Save the password in the session hash
- Throw web error 401 if authentication was not succesfull.
-------------------------------------------------------------------
Sun May 6 19:03:45 UTC 2018 - peter@varkoly.de
- 1649c626108a467ac12bd9e5be94e0d08484d137
o SystemController.java
Fix checking regcode.
o SoftwareResource
GET api/softwares/all delivers all softwares also those installed manually.
New API to get the installable software packeges: GET api/softwares/allInstallable
o UserResource, GroupController, UserController
Do not allow to remove users from its own primary group.
o CategoryController
Avoid NPE
-------------------------------------------------------------------
Sat May 5 11:50:56 UTC 2018 - peter@varkoly.de
- 582389675ef2ae0d33c96c694410abdaa6d7e4fc
o DeviceResources/Controller
- Use cleanUpLoggedIn(Device device) in cleanUpLoggedIn()
- The API call PUT api/devices/loggedInUsers// should remove all other logged in users from the device.
-------------------------------------------------------------------
Fri May 4 07:08:46 UTC 2018 - peter@varkoly.de
- Set log level to INFO.
- shutDown -> shutDown
-------------------------------------------------------------------
Fri May 4 06:21:33 UTC 2018 - peter@varkoly.de
- a54b157fb8868e872a18545e25b6dc5832d3e315
o Controller
Fix password check error respond.
o SelfManagementResourceImpl, business-INSERT.sql school-INSERT.sql
Fix right for SelfManagement.
Fix settig the own password.
o SysetmResource
Provide only the functions providing or consuming the domains as List<String>
-------------------------------------------------------------------
Wed May 2 17:30:02 UTC 2018 - peter@varkoly.de
- 65fabb67fbcce002d7d6f4e3288a1c201a4c98f1
o Device.java
Delivery the roomId readonly.
o SessionController.java
Remove credential files.
-------------------------------------------------------------------
Mon Apr 30 15:26:17 UTC 2018 - peter@varkoly.de
- 640fd3f84e0883780893fcd182f968a6d964bfad
o CloneToolResource
New API to remove boot contiguration for autocloning.
DELETE api/clonetoole/devicesByIP/{deviceIP}/cloning.
o DeviceController
shutDown =~ shutdown
-------------------------------------------------------------------
Sun Apr 29 21:38:42 UTC 2018 - peter@varkoly.de
- 904b58b1fade9e4fb9e61d68181aedc85e4d613d
o DeviceController, DeviceResource
- Adapt new salt version. system.shutdown requires message paramater.
- New api to get the devices with logged in users.
GET devices/allUsedDevices/1
- Use the salt oss_client to lock and unlock clients.
o SessionController
- Check if a session is timed out.
o GroupResource, CloneToolResource
- Fix the rights.
o Controller
- New kind of isSuperuser, to check other session.
-------------------------------------------------------------------
Thu Apr 26 18:40:55 UTC 2018 - peter@varkoly.de
- e159500b6cda002166eb4731d86751f81f77fb11
o SoftwareResource
New API to to get the installation status in rooms or hwconfs.
GET softwares/rooms/{roomId}
GET softwares/hwconfs/{hwconfId}
o Config
Add to the system config map the type as a key too.
Following types does exists: string, yesno, integer, integer(MIN:MAX)
o SystemResource
Correct the rights.
o SystemController
Fix translation. Delivery the original sting if no translation exists.
o SoftwareResource
Fix some typos.
Fix removing hwconf from installation set.
-------------------------------------------------------------------
Wed Apr 25 05:33:10 UTC 2018 - peter@varkoly.de
- 3df87d365c3d28eb028da8dae7cf8e79bf0d629f
o RoomController
Fix the command path.
-------------------------------------------------------------------
Tue Apr 24 20:28:05 UTC 2018 - peter@varkoly.de
- ada2e9501fed8a85db4c9412701c870a479217ae
o SoftwareController
Replace namedQuery
Identify software by name or description.
o OSSConstatns
[OSS 4 - Fehler #1109] (Neu) Education Controller tippfehler
o SystemController
Fix setting acls.
-------------------------------------------------------------------
Tue Apr 24 05:46:07 UTC 2018 - peter@varkoly.de
- 55cacfbfe77d14174e878d2865dcf9e6720de82a
o PrinterResourceImpl
Fix the boolean conditions.
o Controller
Avoid NPE when an object has no owner or creator.
o EducationResource
New api for getting the available smart room members:
GET education/rooms/{roomId}/users/available
GET education/rooms/{roomId}/groups/available
GET education/rooms/{roomId}/devices/available
o SoftwareResource
New api the get all softwares from a device.
o SystemResource
New login less api to get the name of the institue. GET api/system/name.
o ImportHandler
use password from parameters of ossresponse
-------------------------------------------------------------------
Sun Apr 22 13:28:53 UTC 2018 - peter@varkoly.de
- 70cdb7cc96410a191a00314bd579c54e8bcbbb43
o EducationController
Default smartRoomSize is 7x7
-------------------------------------------------------------------
Sat Apr 21 16:06:43 UTC 2018 - peter@varkoly.de
- a6ccfe877b47576655340c7b6114427aa78b9228
o SoftwareController
salt-master runs as salt. We have to set the owner.
o CloneToolResource RoomResource
Change permissions to *search if only searching.
-------------------------------------------------------------------
Thu Apr 19 16:45:02 UTC 2018 - peter@varkoly.de
- 18c0c24b836e024551664dca746b9e6b101c862c
o ImportHandler.java
- Code clean up
- Save the log files to the right place.
o UserController.java
Give more chance for the passwords to be safe enough.
o SoftwareController
- Fix sourcesAvailable.
- Do not log so much
o UserController
Adapt parameters of oss_collect files.
o EducationController
- Avoid NPE.
- Clean up Export by uploading the files.
o DeviceController, EducationResourceImpl
Implementing add and remove LoggedInUser by id and object
-------------------------------------------------------------------
Wed Apr 18 13:21:32 UTC 2018 - peter@varkoly.de
- 08d15fccf7ad12c6293b702b87689303fbc4df88
o EducationResource
Fix modifying password.
Implementing get and set room access state.
New apis for searching users by id.
-------------------------------------------------------------------
Tue Apr 17 09:18:48 UTC 2018 - peter@varkoly.de
- 8cc07fb1fa568cc410f0acae499ae8f09ba68b09
o DeviceController.java
Use new scripts oss_control_client.sh and oss_wol.sh to be more flexible.
Implementing open and close worksations
o EducationResource, DeviceResource, AdHocLanResource
Delive object list instead of list of id-s
o EducationController
Set default smartRoom size.
New api for collect files.
o SoftwareController
Fix checking if software sources are available.
-------------------------------------------------------------------
Tue Apr 10 15:57:10 UTC 2018 - peter@varkoly.de
- cef3b4952dd9453825774df8780e8ec178a9c8b2
New API:
DELETE devices/cleanUpLoggedIn to clean up all logged in entries.
Config.java new function nowString(9 to deliver constant datetime format.
EducationResourceImpl getGroupMember avoid NPE.
DeviceController:
new manage functions:
cleanUpLoggedIn download
EducationController.java
avoid NPE.
Create default actionContent.
-------------------------------------------------------------------
Mon Apr 9 14:28:54 UTC 2018 - peter@varkoly.de
- be6003f3afc63fcc013b7df8021c980ba2e9d41d
Implementing some device and room actions.
-------------------------------------------------------------------
Thu Apr 5 14:00:58 UTC 2018 - peter@varkoly.de
- d0ed3522c1f8aff06949ff29f035c94331c01658
Avoid NPE
-------------------------------------------------------------------
Tue Apr 3 08:17:54 UTC 2018 - peter@varkoly.de
- 54bf070805f8db1347ee48daf0f590ad4202d68e
o DeviceResource
2 new API call to get the hostname:
GET devices/hostnameByIP/<IPAddress>
GET devices/hostnameByIP/<IPAddress>
-------------------------------------------------------------------
Mon Apr 2 07:50:41 UTC 2018 - peter@varkoly.de
- 851e6f7aab51c06f76b1b5137d40d440d652ae19
o Software
- Implementing new api call: GET softwares/downloadStatus
- Register's password is not constant.
- sls files must not be word readable.
o start-oss-api
- Register OSS by start if not already done.
- Create lock dir for oss-api.
o Translation
- Solve translation without table MissedTranslation
o OSSConstatns.java
Implementing some important constants.
o Group
- Do not delete primary group if this have member.
o Education
- Implementing collect files.
o UserController
- Implementing collect files.
o Printer
- Use register instead of cephalix for providing windows driver.
o DAO
There is no more simple join.
register, cephalix, ossreader and Administrator are internal user.
-------------------------------------------------------------------
Thu Mar 29 11:29:02 UTC 2018 - peter@varkoly.de
- 26b2af06951af9b9dec9766d59555e350af16f0d
o CloneToolController.java DHCPConfig.java SoftwareController.java
Restart oss_salt_event_watcher too.
o SystemController.java
Fix modifying user acls. Do not log when not find an acl.
o CloneToolResource
Implementing clonetool/{hwconfId}/master to get the id of the master device of a HWConf.
o SoftwareController.java
Include into the state file the rename and domain join too.
o UserController.java
Avoid NPE.
-------------------------------------------------------------------
Tue Mar 27 19:44:47 UTC 2018 - peter@varkoly.de
- 7e44d2fa34cac6a2d87dad3cdf76dcad3f370329
o DeviceController.java
- Use hwconfId by adding new device.
- Fix deleting device
- Make creating devices safer and verbowser.
o Room*
- Take care that there is no room and device without hwconf.
o SessionController.java
Deliver the list of acls and the common name.
o Do not allow alls *.search acls for teachers.
o CloneToolController.java CloneToolResource
- CloneTool needs the own acls.
- Fix removing partition.
- Enhance return messages.
- Modify rigthts to be able to clone automaticaly.
- Remove machine account when cloning.
o SystemController.java
Fix outgouing room rules.
Implementing apiAcl management.
GET api/system/acls
GET api/system/acls/groups/{groupId}
POST api/system/acls/groups/{groupId}
GET api/system/acls/users/{userId}
POST api/system/acls/users/{userId}
GET api/system/acls/groups/{groupId}/available
GET api/system/acls/users/{userId}/available
o Software*
- Add transient variable used to save to used count.
- Software dao now can show if the software sources are available:
- New transient variable boolean sourceAvailable
- Implementing addig software requirements.
o Porxy
- Implementing read and write own white and black lists.: GET/POST
api/system/proxy/custom/{list}
- Implementing api/education/proxy/rooms/{roomId} the get the active
positive lists in a room
- The positive list gets as name the uid and the count of the owned positive lists.
- Implementing deleting positive list.
o UserConrtoller
Teachers get only the list of students.
o Controller
New functions to manage the apiAcls.
o User
Save inital password encrypted.
o DAO INSERTS and CREATEs
- Fix table name.
- Teachers need to read the hwconf objects.
-------------------------------------------------------------------
Wed Mar 21 18:18:08 UTC 2018 - peter@varkoly.de
- f21a88b2eb15850114be077eeb5690982b15f0c5
o EducationResourceImpl.java ProxyController.java
The positive list gets as name the uid and the count of the owned positive lists.
Implementing deleting positive list.
o User.java tools/SslCrypto.java
Save inital password encrypted.
o CloneToolResource.java, business-INSERT.sql school-INSERT.sql
Modify rigthts to be able to clone automaticaly.
Add register to JPA
-------------------------------------------------------------------
Wed Mar 21 07:14:32 UTC 2018 - peter@varkoly.de
- 30a029e5096e9e23f044a5fb1754b8d6a0b98a3a
o Software.java oss-objects.sql
Software description can be now 128 char long too.
o ProxyController.java
Fix separator.
Enhance logging.
o RoomController.java
- The hwconf must be set by a device. Now we select the first
FatClient if no hwconf is selected.
- Take care not to create more then one times the same available
and default printer
- Merge hwconf too when creating new device that the changes are
inmediately present.
o CloneToolController.java HWConf.java
- New function to find hwconfs by device type.
o school-INSERT.sql business-INSERT.sql
- Create 3 default HWConfs
o PrinterResourceImpl.java
Set the device and room id, the mac address and the model in the list of all printers.
o PrintersOfManufacturer.java PrinterResource.java
New interface to get the list of printers via object list.
o ProxyController.java ProxyRule.java SystemResource.java SystemResourceImpl.java
Reorganize default proxy rule communication.
o DeviceController.java
Avoid NPE when the call comes from a not registered device.
-------------------------------------------------------------------
Thu Mar 15 10:00:38 UTC 2018 - peter@varkoly.de
- Make name biger in Softwares
-------------------------------------------------------------------
Thu Mar 15 06:48:55 UTC 2018 - peter@varkoly.de
- c1b296bffb041559821408eec545bc1e1a792fc5
o Make more atomic functions for create and delete devices.
o Take care to recreate salt config if necessary.
-------------------------------------------------------------------
Sun Mar 11 22:57:48 UTC 2018 - peter@varkoly.de
- 645e40d15483ec29cf83723568f5869b30511c2f
Enhance logging by creating Printer.
By creting printer the hwconf will be set.
-------------------------------------------------------------------
Sat Mar 10 18:58:38 UTC 2018 - peter@varkoly.de
- b802ed1bb54551921ee8c96ac6531dcfee6a35b7
o Implementing Guest Users
o Set minimal id to 4000100
o Fix typo.
o Fix bad logical evaulation.
o Set givenname by workstation user too.
-------------------------------------------------------------------
Thu Mar 8 16:14:40 UTC 2018 - peter@varkoly.de
- 0a9f4a1e0c8a145b78cfee461e715e4c73ce4aea
o Create OssNextID table
o get-printers.test now delivers the count of active jobs too.
o Use FormDataParam instead of the dao by creating printers.
-------------------------------------------------------------------
Mon Mar 5 16:39:16 UTC 2018 - peter@varkoly.de
- 2e10c68e83d684988346b8cc3891f6f686c7cee6
o Implementing PrinterResources
-------------------------------------------------------------------
Thu Mar 1 18:13:02 UTC 2018 - peter@varkoly.de
- da1d7e1375e941e0773871477ea6bf1a7576ef34
o Room.java
Initialize some variable to avoid NPE.
o SoftwareResource
Fix doku.
Adapt naming conventions.
Clean up /api/softwares
2 new calls:
/api/softwares/devices/{deviceId}/{softwareId}
GET /api/softwares/{softwareId}/status
Fix check on the right place.
o All Dao objects:
Override toString in the dao objects by ObjectMapper to be able to log the content of an object
-------------------------------------------------------------------
Mon Feb 26 14:54:52 UTC 2018 - peter@varkoly.de
- d36bc8c333da883daaeb50cd812eff442be7737f
o Implements hashCode equals by eclipse.
o Fix edit category:
Avoid PRIMARY-Key ConstraintViolationException.
o Software
Remove not used assotioations
o SoftwareResource
New funtion to get softwares by the ids POST softwares/getSoftwares + Ids
-------------------------------------------------------------------
Sun Feb 25 16:45:55 UTC 2018 - peter@varkoly.de
- 10249be3e9958ad10850183dca68a5f8aa16e699
o EducationResource
Enhance logging in EducationResourceImpl
Create new manageRoom for actions with action content: POST 'rooms/{roomId}/actionWithMap/{action}'
o EducationController:
Show devices even if nobody is logged on it.
o JobContoller:
Use ConstraintViolation for checking parameters.
-------------------------------------------------------------------
Thu Feb 22 22:39:23 UTC 2018 - peter@varkoly.de
- fe7c5fe9d5f43aa46ec85001b421e4bb7696d142
Implementing javax.validation.ConstraintViolation
-------------------------------------------------------------------
Wed Feb 21 15:04:19 UTC 2018 - peter@varkoly.de
- f3b0dbf5dd3b2c2a8709141f774663e71f0fd1df
Felher#1123 Keine Fehlermeldung bei zu langen Category Namen
Adapt dao to the use: make some colums larger.
-------------------------------------------------------------------
Mon Feb 19 12:57:06 UTC 2018 - peter@varkoly.de
- 61af5316ac5a51e17feaab747532dae0557dd37d
Move cephalix objects from de.openschoolserver.dao to de.cephalix.api.dao
-------------------------------------------------------------------
Sat Feb 17 16:44:03 UTC 2018 - peter@varkoly.de
- d325904095170926ab415e7b3285e142067f9450
o Fix bad mapping.
-------------------------------------------------------------------
Fri Feb 16 17:30:57 UTC 2018 - peter@varkoly.de
- 915647b5809d226960432dabd5a4e2d576093ecc
o Enhance reset minion function.
o Now we can save customers and institutes and regcodes.
o Devices: new attribute counter for cephalix statistics.
o Use TIMESTAMP instead of DATETIME
o SessionController
New function to create Session object with the localhost token.
-------------------------------------------------------------------
Thu Feb 8 23:25:50 UTC 2018 - peter@varkoly.de
- 0aa9e913df341ebca4948c2473ece5d9de5a8cea
o Enhance reset minion function.
-------------------------------------------------------------------
Wed Feb 7 22:03:09 UTC 2018 - peter@varkoly.de
- b94c4f6ad4fc72de608eacf280b35e1c998d1745
o Enhance logging.
o Make setting software status on device to work.
o Fixing some typos.
-------------------------------------------------------------------
Mon Feb 5 20:35:53 UTC 2018 - peter@varkoly.de
- 62f153127896b81d3d3a30dc555e6ac4f9509e04
Use utf8mb4 in mysql.
-------------------------------------------------------------------
Sun Feb 4 12:28:56 UTC 2018 - peter@varkoly.de
- e4bbaa36ecac3f716db5bcebc69cd611ab015652
o Jobs
- Fix default walue and function type.
- endTime is not a transient variable this need be written in the database.
- Create api functions for job handling:
- createJob, searchJob, getJob, setJobExitValue, restartJob
o Softwares
- A lot of changes which was neccessary after testing the software installation.
- Enhance documentation.
o Categories
- Set the right logger.
- Set the ids of the member objects when returning the list.
-------------------------------------------------------------------
Wed Jan 24 13:50:58 UTC 2018 - peter@varkoly.de
- 4f70210109e69dd7baff127ba079ef582fdb4c10
o long -> Long
o EducationResource:
* New functions:
- collectFileFromDevice
- collectFileFromRoom
- collectFileFromStudentsOfGroup
- collectFileFromMembersOfGroup
- getRoomActualController
* getRoomControl now we can write the credential file in the controlled room via salt.
o SoftwareController: A lot of bugfixes.
-------------------------------------------------------------------
Fri Jan 19 17:33:54 UTC 2018 - peter@varkoly.de
- 228da7f4952a3902f61c2c2dfdb6e238dabc5d45
o New function to manage the rooms.
RoomController.java
o Trow error when software can not be dowloaded
salt does not accept more then one dot in sls filename.
SoftwareResource.java, SoftwareController.java
o Move manageDevice into deviceController.
EducationResourceImpl.java, DeviceController.java, EducationController.java
o Remove institute reference from job.
CephalixInstitute.java, Job.java, JobController.java
-------------------------------------------------------------------
Mon Jan 8 21:32:37 UTC 2018 - peter@varkoly.de
- 0503bbac10fc8f6ec7a34817efa3a9241b6be8b7
Rename WLANIP to wlanIp and WLANMAC to wlanMac because Json naming was lowercase if @Column was given.
Remame wlanMac and wlanIp geters and seters too.
Reorganize imports.
Do not log as info but debug.
-------------------------------------------------------------------
Sun Dec 24 13:00:38 UTC 2017 - peter@varkoly.de
- 284e751cfbdfa44d6d230ec6cc7585f1a84bf5bb
Fix some typos.
Make setter and getter eclipse conform
o DeviceController.java
Allow adding and removing WLAN card.
Fehler #1115: devices modify mahnt MAC Adresse an.
o Device.java
Workaround for ignored @JsonIgnore
-------------------------------------------------------------------
Sat Dec 23 13:24:59 UTC 2017 - peter@varkoly.de
- bd569c475bd1688fabdf19b137c0c87f00166c55
New class for squid external_acl_type: OssSquidSSO.java
Add the starter to the git too.
Add classes world readable.
o DeviceController.java
Find the first device with the same IP
o UserResourceImpl.java
Now we are able to get all arbitable config paramater for a user.
o DeviceResourceImpl
Return only the user name or empty not the full text whis is required for squid
-------------------------------------------------------------------
Fri Dec 22 19:44:35 UTC 2017 - peter@varkoly.de
- 1e5fd1567944013337bad3fbdaf7f206a0bb5ee0
Fix path
-------------------------------------------------------------------
Thu Dec 21 18:15:14 UTC 2017 - peter@varkoly.de
- 28d9174d59b8df8b0beee89938698a0143f76130
Convert long into Long in DAO.
Acces type do not need more then 3 characters.
Implementing new api functions:
PUT rooms/{roomId}/defaultPrinter/{deviceId}
GET rooms/{roomId}/defaultPrinter/{deviceId}
DELETE rooms/{roomId}/defaultPrinter
POST rooms/{roomId}/availablePrinters
PUT rooms/{roomId}/availablePrinters/{deviceId}
DELETE rooms/{roomId}/availablePrinters/{deviceId}
GET rooms/{roomId}/availablePrinters
GET education/rooms/{roomId}/users
GET education/rooms/{roomId}/groups
GET education/rooms/{roomId}/devices
GET education/rooms/{roomId}/defaultPrinter
GET education/rooms/{roomId}/availablePrinters
GET education/proxy/positiveLists
GET education/proxy/myPositiveLists
POST education/proxy/positiveLists
GET education/proxy/positiveLists/{positiveListId}
DELETE education/proxy/positiveLists/{positiveListId}
POST education/proxy/rooms/{roomId}
DELETE education/proxy/rooms/{roomId}
Ticket#1109 Education Controller tippfehler.
-------------------------------------------------------------------
Sun Dec 17 09:07:29 UTC 2017 - peter@varkoly.de
- Separate tables and content
- Fix surename -> surname
-------------------------------------------------------------------
Thu Dec 14 11:19:02 UTC 2017 - peter@varkoly.de
- 33ec10b6ee4c94b4ca93d151377755240b1f5061
New api unktion GET users/byUid/{uid}/{attribute}
Use credential files to login. This is safer.
#1092, role names changed for students and teachers
-------------------------------------------------------------------
Sat Dec 9 16:21:01 UTC 2017 - peter@varkoly.de
- 6f652bac5f055e7bfb6945dbfeff33703e3f7823
Apply prefix for config file variable keys.
Make login safer. Write credential files.
Add positive list table
-------------------------------------------------------------------
Sat Dec 2 19:19:34 UTC 2017 - peter@varkoly.de
- 0fad755a5536de30f03a8ac9853f8a97c7a4d1e
Implementing proxy default settings.
All acls should be saved in the database.
No acls by role
New system call to get the allowed modules.
-------------------------------------------------------------------
Mon Nov 27 17:14:46 UTC 2017 - peter@varkoly.de
- a3fdd70edbab7209d1cc7df3401cad7cb81e643c
o Avoid NPE DeviceResourceImpl.java
o Fix the dricetory rights.
o Add right to squid to read the localhost token if neccessary and
restart the squid service.
-------------------------------------------------------------------
Sun Nov 26 19:06:00 UTC 2017 - peter@varkoly.de
- 5a6e0e3e3edaa6d36c473f95d15f13c009ccc505 (HEAD -> master, upstream/master)
Implementing handling of OssLoggedIn.
src/main/java/de/openschoolserver/api/OssLoggedIn.java
src/main/java/de/openschoolserver/api/resourceimpl/DeviceResourceImpl.java
src/main/java/de/openschoolserver/api/resources/DeviceResource.java
testbuild.sh
src/main/java/de/openschoolserver/dao/controller/DeviceController.java
Set quota values.
src/main/java/de/openschoolserver/dao/controller/UserController.java
-------------------------------------------------------------------
Mon Nov 20 12:27:37 UTC 2017 - peter@varkoly.de
- 1d597ae43a10f0e08478c223bafb75a735f6b92c
o Some new api functions to simple start and stop cloning.
- PUT api/clonetool/{ID}/cloning/{multicast}
- PUT api/clonetool/rooms/{ID}/cloning/{multicast}
- PUT api/clonetool/devices/{ID}/cloning
- DELETE api/clonetool/{ID}/cloning
- DELETE api/clonetool/rooms/{ID}/cloning
- DELETE api/clonetool/devices/{ID}/cloning
CloneToolResource, CloneToolController
o Delivery to IP-Adresses and names for the CloneTool in a simple form.
Allow registering via PUT with mac ip and name for the clone tool.
CloneToolResource
o Avoid NPE if no partition description does exists.
CloneToolController
-------------------------------------------------------------------
Sat Nov 18 15:02:13 UTC 2017 - peter@varkoly.de
- a0246324d5103b5e642f73298f30f137349fe956
o Set the creator of ConfigValues.
Controller.java
-------------------------------------------------------------------
Fri Nov 17 17:30:06 UTC 2017 - peter@varkoly.de
- 8ac3aed71460d61f350bbbb29ab61cf090f8888a
o Some new functions needed for the new feature by clone tool for registering new workstations.
CloneToolResource.java
RoomController.java
-------------------------------------------------------------------
Thu Nov 16 15:31:56 UTC 2017 - peter@varkoly.de
- e1ad3ef996dd49f901f010b6de1440c863
oss-objects.sql
Devices have owner not creator.
-------------------------------------------------------------------
Tue Nov 14 07:42:29 UTC 2017 - peter@varkoly.de
- 85c04f9e4688e81e50948b741da04bb1ff04e14a
Add script to speed up testbuild.
API:
DeviceResource implementing device import from CSV file.
SoftwareResource Enhance description
DAO:
SoftwareVersions Enhance with field status:
* C -> current this is the most recent version and does exists on the server and can be installed
* R -> replaced this version does not exists on the server but is installed on some clients
* D -> this is an older version which does exists on the server and can be installed
SoftwareStatus New stati:
* US -> update scheduled
* FR -> installed version is frozen: This must not be updated.
Devices: Remove creator_id we only need owner
DAO Controller:
CloneToolController implementing getByName
DeviceController implementing importDevices device import from CSV file.
RoomController implementing getByName
Fix starting and commiting transaction.
SoftwareController A lot of steps into the right direction.
-------------------------------------------------------------------
Sat Nov 11 11:44:32 UTC 2017 - peter@varkoly.de
- 07a445f57b5fbbc5b8a7c439cf1e063bd7a2d6f3 (HEAD -> master)
oImportHandler.java
- Wir brauchen nicht so viele logs.
- res.getObjectId() liefert die richtige Id.
-------------------------------------------------------------------
Fri Nov 10 20:48:48 UTC 2017 - peter@varkoly.de
- cc9b2d97847c09bb880a1130771dc8e38f70c3a8
o Enhance logging. Log created objects in Debug mode.
o UserController.java
- Set default quota.
- Start first the add_user plugin befor adding member to the role group.
- Avoid NPE.
o ImportHandler.java
- Get the id of the new user from the OSSResponse object.
- Do not add user to the groups by testing.
-------------------------------------------------------------------
Fri Nov 10 08:23:53 UTC 2017 - peter@varkoly.de
- 85ff5a93f4b8d5804195dfecba5d0031237c34e8
o Finding no user by uid is not an error.
o Fehler#1084 apache lauscht nicht auf externer IP
o Room description can be left empty.
o Code cleanup
-------------------------------------------------------------------
Thu Nov 9 10:21:42 UTC 2017 - peter@varkoly.de
- 30becb9905a46f2ea4d50ff2450cc9f163e5ee62
o Implementing GET devices/byHwConf/<hwconfId>
o Save the schoolnet as the first network
o Implementing modify room.
o Code clean up.
o Create new Acls.
o Do not create LoggedOn if allready exists. This couses exeption.
o AdHocLan: Deliver the room list for normal user instead of the IDs.
-------------------------------------------------------------------
Mon Nov 6 12:20:57 UTC 2017 - peter@varkoly.de
- 36110da038d0dd8a3023dcd45b49019c7f6ef21f
o Enhance the superusers list with groups when name starts with @
o Fehler#1078 Geräte anlegen. Do not close a closed EM.
o Not finding a user is not an error. Log it only with debug.
o Fix typo in role name: administrations -> administration
o Fehler #1086] (Testbar) /education/rooms liefert null
-------------------------------------------------------------------
Sun Oct 29 11:47:26 UTC 2017 - peter@varkoly.de
- b833656d061fd5d65b6fc0127a88a5810577711b
o Users
Create new field to save the initial password of a user: initialPassword
o Softwares
softwareVersions must not be JsonIgnore. At last one version must be given.
Return the created object id.
o ImportHandler.java
setting user password for new users
o EducationController.java SessionController.java
Avoid NPE
-------------------------------------------------------------------
Mon Oct 23 09:31:31 UTC 2017 - peter@varkoly.de
- 3058e81d978692f472abd5ad9f4162e4f17700b0
o Some fixes in AdHocLanResource.
o Return the IDs of created new Objects in OssResponse
o JobController.java
Implements time scheduled job starting.
-------------------------------------------------------------------
Sat Oct 21 17:33:54 UTC 2017 - peter@varkoly.de
- 43ca42da860e7844da8727b1f7bb6b72be8cf185
o Initial version of Job and JobControl
o The most of the object should get a creator_id field to be able to prevent deleting and modifying objects created by cephalix.
o New function in Controller.java myModify to evaluate if an object may be deleted or modified by the session user.
o Remove @JsonIgnore from partition.
o added response on import
o import log added
o Some changes to avoid NPE
o removed uuid from inforamtions objects
o Implements getter and setter for the transient variables too.
o Rename Response to OssResponse
-------------------------------------------------------------------
Sun Oct 8 06:50:02 UTC 2017 - peter@varkoly.de
- 057363a22c7037a2b8da450b70590dad3224d18a
o Initial Cephalix Objects.
o Now we can translate texts.
-------------------------------------------------------------------
Sat Sep 23 13:25:58 UTC 2017 - peter@varkoly.de
- eecc04db0ed6ddb5ffc73666b9673b2cb48dba18
o RoomController.java
Fix checking empty string.
Fix api url.
o CloneToolController.java
Create partition if does not exist.
Adapt partition keys to clone tool.
o OSSConfig.java OSSMConfig.java
Fix name of keyword.
-------------------------------------------------------------------
Fri Sep 22 09:04:54 UTC 2017 - peter@varkoly.de
- f463e4e7f10fd2e0d313f2c30427ecbf1d5cc8a1
o SessionsResourceImpl.java
Convert admin and administrator to Administrator.
-------------------------------------------------------------------
Wed Sep 20 13:39:39 UTC 2017 - peter@varkoly.de
- 1ee175c965ac5b60aa258018fec13eb92b5ba3dc
o New fuction to deliver the licences for the devices to be able to create the salt license grain.
o Remove references from User JSON
o The user admin does not exists anymore.
o Convert admin and administrator to Administrator. The user admin does not exists anymore.
-------------------------------------------------------------------
Tue Sep 19 13:46:40 UTC 2017 - peter@varkoly.de
- oss-api must be started after the database was started.
- set cephalix pw in properties.
-------------------------------------------------------------------
Mon Sep 11 18:46:37 UTC 2017 - peter@varkoly.de
- 3ea39ca663d5a58955366497ccfb3c8c5f4a97a7
o Fix named queries and JsonIgnore.
o DeviceController.java
It is not an error when the IP-address can not be found.
o SessionController.java
Fix evaluating MAC address.
o SessionsResourceImpl.java, Session.java
Now we can log new sessions
-------------------------------------------------------------------
Sat Sep 9 17:11:27 UTC 2017 - peter@varkoly.de
- 553185cb2e32df453153b2de8e63f9bbabd73034
Implementing AdHocLanController
-------------------------------------------------------------------
Tue Sep 5 19:50:56 UTC 2017 - peter@varkoly.de
- 1ca03d20e17d4b8ce5cb30473c96240ba1fb9417
o Implementing OSS info.
o Now we can deliver the list of software status on a device.
o Now we can remove software status from a device.
o Now we can set the installation status of a software in a given version on a device
-------------------------------------------------------------------
Thu Aug 31 20:11:05 UTC 2017 - peter@varkoly.de
- 807219ca3a97660aafd85e662908c3bd578f664b (HEAD -> master, upstream/master)
Some litle changes.
Now we can add and download software.
-------------------------------------------------------------------
Thu Aug 31 08:41:31 UTC 2017 - peter@varkoly.de
- d3027a373cba9f0f26a9106137ba4ac36fa1f719
o oss-objects.sql
Enhance Device DAO with the fields of dosys.
o New Object RoomSmartControl for EdurcationController
o Go ahead with Education getControl.
o First working controller for the Softwares
-------------------------------------------------------------------
Sat Jul 29 17:13:23 UTC 2017 - peter@varkoly.de
- 1255f025cb9d7ddb8146dfdd260d635d5909d1e4
Introduce new standard hwconf BYOD for self registered devices.
Fixing Table name of AccessInRooms
Take care of removing workstation accounts by deleting a device.
Only devices with hwconf deviceType fatClient gest workstation users.
New named queries Room.findAllToUse adn Room.findAllToUseId to find all rooms without ANON_DHCP and smartRooms.
Save hwconfs for removing by de.openschoolserver.dao.HWConf.protected.
Remove ManagedMobileDevice and MobileDevice as deviceType.
Set default room control type to inRoom.
-------------------------------------------------------------------
Fri Jul 28 08:01:31 UTC 2017 - peter@varkoly.de
- bf9b772c037736098ab17ef49faa280353dce2cb
-------------------------------------------------------------------
Sun Jun 25 13:06:01 UTC 2017 - peter@varkoly.de
- Add /opt/oss-java/tmp
- Set all files and directories readable only by root.
-------------------------------------------------------------------
Mon Jun 19 19:22:10 UTC 2017 - peter@varkoly.de
- ad6eb50d10c6630c1fea4920f429a3ba8028672b
o RoomController.java UserController.java
Create worksatation users.
o Controller.java
Use javas matches on the right way.
o oss-objects.sql
Correct Table name Softwares.
o TestUser.java
Do not use combined pk becouse user_id should be null.
o RoomController.java
Fix ip address generation for WLAN-MAC
o All DAO: Make ManyToMany safe.
-------------------------------------------------------------------
Sun Jun 18 23:23:53 UTC 2017 - peter@varkoly.de
- 0c787c366ca1da115a1dc2588de4c2b1c3494776
o Take care of ManyToMany relations by deleting the objects
o [OSS 4 - Fehler #992] LoggedOn fehlt
-------------------------------------------------------------------
Fri Jun 9 11:31:02 UTC 2017 - peter@varkoly.de
- 2845f9eeb5b10b6f2c347aade7b2139794da513a
o oss-objects.sql
Remove not used table. AssignedSoftware
-------------------------------------------------------------------
Thu Jun 8 20:15:07 UTC 2017 - peter@varkoly.de
- 7c058a56050d92893f43f561c433429a0522ef26
o update to swagger 1.6, fixed unit test, started importers
o Add modify and delete to DeviceResources.
o Safe merge of objects.
o Implements SoftwareResource.
o Implements CategoryResource
-------------------------------------------------------------------
Tue May 30 15:08:49 UTC 2017 - peter@varkoly.de
- Rename Session -> Sessions, SoftwareVersion -> SoftwareVersions
-------------------------------------------------------------------
Tue May 30 06:28:09 UTC 2017 - peter@varkoly.de
- 838093b0e6713a99bbab333cd2c9d22351dcb9a4
o Rename Session -> Sessions, SoftwareVersion -> SoftwareVersions
o New attribute of Session dnsName.
o Fix evaluating MAC address
-------------------------------------------------------------------
Wed May 24 08:14:53 UTC 2017 - peter@varkoly.de
- e702f98e25e39d95be3b88e4f64c78b3c2f20c6f
o small corrections for NPE avoiding
o Implementing software and categories
o Make description in all tables 64 byte long.
o Introduce the categorie.
o All objects can be member of categories.
o Introduce software.
o Add uuid to users.
o Join the AccessInRoomTables
o The proposed workstation name must be dns conform.
o New roomType enumerates.
o trac#856 avoid NPE when no dhcp conf file exists
o We can remove more then one user at once.
o Fehler #901: tippfehler
-------------------------------------------------------------------
Mon Apr 24 16:21:08 UTC 2017 - peter@varkoly.de
- ef2e999087c86118335c021bd583bbb69ecd292f
o Fix typo SessionsResourceImpl.java
o Initial version of OssLoggedIn.java and GetJPAInf.java
o Use Use org.slf4j.Logger.
-------------------------------------------------------------------
Mon Apr 10 10:58:59 UTC 2017 - peter@varkoly.de
- 18651ad0b25390868d53e254ff8c419be27f44b0
o Fix typo.
o Use equals instead of ==
o Use isEmpty instead of == ""
-------------------------------------------------------------------
Sun Apr 9 18:44:46 UTC 2017 - peter@varkoly.de
- 2dc1b01f82f2e77c0de903c4fd7ab3ac062cbba6
o Feature #857 Firewall Interface.
o Feature #856 Sofortregistrierung
o Feature #852 Zugriffsstatus Raum
o Controller.java
New function systemctl. Interface to systemd.
o SessionController.java
Set loggedOn when creating session.
o Add api functions for oss-clone and OSSLogon.
-------------------------------------------------------------------
Sun Mar 26 10:18:03 UTC 2017 - peter@varkoly.de
- c00cc752fb1ddf3f415cd2bd99e30104132e3a8c
o New api function users/syncFsQuotas to syncronize the filesystem
quotas into the JPA
o By starting the oss-api create a new session for local services.
Save the token into oss-api.properties.
-------------------------------------------------------------------
Wed Mar 22 19:50:59 UTC 2017 - peter@varkoly.de
- 8e111c208a24fde8cb8c520e09efdde056f97a9e
o Device.java Group.java Room.java User.java
Save rows in DAO which must not be modified.
o SystemController.java
Enhance system status with rooms and devices.
o UserController.java
Use checkPassword from Control.java
o Controller.java
New function checkPassword
Fix isProtectetd: field separator is ",".
-------------------------------------------------------------------
Thu Mar 16 10:23:42 UTC 2017 - peter@varkoly.de
- cec400572421c205c0534ed3c5772d89e2448165
o RoomRescourceImpl
Implements logging
o SessionsResourceImpl
If device null set it to "dummy"
Implementing deleteSession
o Controller
Clean up.
o SessionController
Implementing checking password by smbclient
o config.yml
Communication is unsafe listen only on localhost
o oss-objects.sql
Fix some sql typos
-------------------------------------------------------------------
Wed Mar 15 15:17:54 UTC 2017 - peter@varkoly.de
- 5ebabeac546e212ab4e11b2c5af383e92fde058e
o Device.java, Room.java
hwconfId is not transient but a miltiple read only mapping for hwconf_id
o DHCPConfig
Do not create dhcp entry for devices without mac address.
o UserResource
delete and modify: return Response instead of boolean
o Room.java: hwconfId is not transient.
o Controller
The constructor reads the proferties
New function isProtected to check if an object may be deleted.
o DeviceController,GroupController,RoomController,UserController
Check if an object may be modified.
o oss-objects.sql
Create dns entries for the servers IP.
o oss-api.properties
Provide the lists of protected objects.
-------------------------------------------------------------------
Mon Mar 13 12:45:09 UTC 2017 - peter@varkoly.de
- 6a75d88c4baae7246341698a2fbf9b5bab9ed59e
o UserController.java Check birthday and role
-------------------------------------------------------------------
Sun Feb 26 19:38:29 UTC 2017 - peter@varkoly.de
- c01c00ee1dae84242c9670d99a355221d7bcfaca
- Activating OSSAuthorizer
- oss-dao/data/oss-objects.sql script to find actuel roles
- Initial steps for permition handling.
- Make names identical with samba names.
-------------------------------------------------------------------
Thu Feb 23 15:47:56 UTC 2017 - peter@varkoly.de
- f19c29f0109f87252132b2ebf620e21473c40a0a
- Make files in bin executable
- Fix sql setup file
- Implementing session handling
-------------------------------------------------------------------
Wed Feb 22 11:12:41 UTC 2017 - peter@varkoly.de
- Add oss-objects.sql
-------------------------------------------------------------------
Tue Feb 21 13:19:56 UTC 2017 - peter@varkoly.de
- Initial version of oss-java