-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementatin mpsks clients #504
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #504 +/- ##
===========================================
+ Coverage 31.65% 31.84% +0.19%
===========================================
Files 68 69 +1
Lines 6951 7239 +288
===========================================
+ Hits 2200 2305 +105
- Misses 4751 4934 +183 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checklist / still missing:
- Tests
- translations
{% if property.displayable %} | ||
<span class="{{ style }}">{{ property.value }}</span> | ||
{% else %} | ||
<span class="{{ style }}"></span> | ||
{% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what precisely is the point of introducing displayable
to set it to False
in the sample
backend?
I'm not sure what this is supposed to achieve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otherwise it will try to display the clients which is not feasible cause of there amount. So I Tried to mitigate this by introducing the displayable. But forgot it in the pycorft backend
I can't enter the usersuite unfortunately:
|
interesting yesterday it worked for me will check |
just forgot to push a naming change sorry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the error persists. Are you using a modified version of Pycroft? The error occurs b/c there is no mpsk_clients
field in the data returned by the Pycroft API.
added the first implentation for the client it self
added mpsks form implementation for etiting and adding clients #498
updated html for mpsks #498
added a html containing the table information for the mpsk clients
added a form for deleting mpsks clients minor fixes for mpskclientform #498
added the add change and delete methods for the sample backend #498
added the href to the table showing the mpsk clients #498
added a model for sipa representing mpsks clients #498
added the sipa endpoints for the pycroft fetch #498
In the case of a non-displayable property, there is now a boolean to indicate that such a property cannot be displayed There is an opt-out #498
added a model for sipa representing mpsks clients #498
moved from url args to backend values #498
added the backend implentation for the api to pycroft and sample user #498
moved from url args to backend values #498
Co-authored-by: Lukas Juhrich <[email protected]>
Co-authored-by: Lukas Juhrich <[email protected]>
Co-authored-by: Lukas Juhrich <[email protected]>
Co-authored-by: Lukas Juhrich <[email protected]>
Co-authored-by: Lukas Juhrich <[email protected]>
did for better readability a refactoring
refactoring for better readability change mpsk clients function
removed unnecessary
fixed a bug resulting in unable to add mpsk clients
refactored code and removed unnecessary assignment
in order to not display the mpsk clients on the user suite its necessary to have the possibility to hide a certain property. Otherwise it will not display nicely
for better errorhandling
fixed the changing of mpsk clients
added the displayable arg to sample users property capabilities
its checked rather the to delete mpsk client exists for the user refactoring changed the changing for the sample backends changing mpsk
added tests for mpsk added capability displayable to test
1a92934
to
c97a9ec
Compare
added the translations
a3b1cd1
to
b97c75d
Compare
- Add transalations for creating and editing mpsk clients. - Fix singular/plural typos - Add examples for devices incapable of WPA-Enterprise in german
The base functionality and localisation works as far as I could see and test. |
Content
Sipa implementation for mpsk clients so users can create delete and change them on there own
Please make sure though you did the following (tick off everything you
already did):
develop