Hi all, This week was invested to complete and test the csv upload feature. Marco confirmed that it is working well in the FreeRADIUS environment.
This PR [1] <https://github.com/openwisp/django-freeradius/pull/109> is a little big and might add up some more code as well. We have decided to extend this to batch-addition of users as well where generation of temporary users becomes really easy. To implement this, we: 1. Define an additional field by the name prefix which shall be sluggified and number of users is taken as an input too. 2. Random generation of these users shall take place and everything be stored in a PDF in a FileField which can be downloaded. 3. A JS switcher to switch between the CSV upload and Batch addtion to improve the UI and reduce duplication of code. 4. Send mails for cleartext passwords and randomly generated passwords if the user wants. Discussion regarding the above at [2] <https://github.com/openwisp/django-freeradius/issues/4>. There are some issues still prevailing here such as the failed tests for the SAMPLE_APP=1 in the test suite. Linked issues are [3] <https://github.com/openwisp/django-freeradius/issues/119> and [4] <https://github.com/openwisp/django-freeradius/issues/119>. Help on these would be appreciated. A small problem with adding the csv users from the admin interface prevails which shall be solved over this weekend. It might involve a little overhaul of the admin site structure. Decent amount of research and time has been put in this week and the results seem good. The goals for the next week are, 1. Wrap up on the batch-add-users and csv-upload with achieving good test coverage and testing in production. 2. Start on working for the upcoming features. This feature is taking a little more time than expected because of the slight complexities coming out in between development. There is a need to pace it up and I plan to put in some more time into it. I hope this project would help solve some RADIUS related tasks reallly easily. Suggestions/ help are very much welcome. Links: [1]: https://github.com/openwisp/django-freeradius/pull/109 [2]: https://github.com/openwisp/django-freeradius/issues/4 [3]: https://github.com/openwisp/django-freeradius/issues/119 [4]: https://github.com/openwisp/django-freeradius/issues/116 Have a great weekend, Rohith ASRK -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
