Skip to content
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

[#2224] Community roles: change dates display [+ refactoring, bug fixing] #2230

Conversation

pbanaszkiewicz
Copy link
Contributor

This fixes #2224 (I forgot to include one change in the previous PR that was fixing this ticket).

Additionally, a refactor was done to workshops.util file (it was split into smaller files in workshops.utils package). The refactoring concentrated on:

  • code simplification
  • removal of unused code
  • adding types if possible and reasonable
  • bug fixing

One of critical bugs fixed was related to event (request, inquiry, etc.) assignment, which was originally implemented as reacting to GET or POST requests. This was changed, as the views making changes to objects should be reacting to POST requests only, and should use CSRF mechanism.

@pbanaszkiewicz pbanaszkiewicz added this to the v3.5 milestone Sep 17, 2022
@pbanaszkiewicz pbanaszkiewicz self-assigned this Sep 17, 2022
@pbanaszkiewicz pbanaszkiewicz merged commit 397bd47 into carpentries:develop Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Require dates for role
1 participant