fossasia / eventyay-talk

eventyay speakers and talks component
Apache License 2.0
1.48k stars 47 forks source link

[WIP] Sync up #127

Closed norbusan closed 3 days ago

norbusan commented 1 month ago

Sync with upstream

Summary by Sourcery

This pull request synchronizes the codebase with upstream changes, introducing new features such as detailed logging for deletions and new date validators. It also includes several bug fixes, enhancements to form validation and activity log handling, and updates to tests. Additionally, it removes unused utility files to maintain a clean codebase.

mariobehling commented 1 month ago

Could you add this one as well, please? https://github.com/pretalx/pretalx/commit/f8d800d833a07081ac23a08d2963d0d0dfe49101

norbusan commented 1 month ago

Could you add this one as well, please? pretalx/pretalx@f8d800d

Done

mariobehling commented 1 month ago

@sourcery-ai review

sourcery-ai[bot] commented 1 month ago

Reviewer's Guide by Sourcery

This pull request synchronizes the codebase with the upstream repository. The changes include importing additional modules, adding new functions and classes, modifying existing functions, and updating templates and static files. The primary focus is on enhancing logging, validation, and form handling functionalities, as well as improving the user interface and experience.

File-Level Changes

Files Changes
src/pretalx/common/log_display.py
src/pretalx/common/models/log.py
Enhanced logging functionalities by adding new log templates and refactoring object link generation.
src/pretalx/common/mixins/forms.py
src/tests/common/test_common_forms_utils.py
Refactored form handling to use instance methods for validation and help text generation, and updated test cases accordingly.
src/pretalx/event/models/organiser.py
src/pretalx/event/models/event.py
src/pretalx/orga/views/event.py
src/pretalx/orga/views/organiser.py
Updated shred methods to log deletion actions and accept an optional person parameter.
src/pretalx/frontend/schedule-editor/src/components/Session.vue
src/pretalx/frontend/schedule-editor/src/App.vue
Improved session state handling and filtering logic in the schedule editor.
src/pretalx/common/settings/config.py
src/pretalx/settings.py
Moved reduce_dict function and updated import for log_initial function.
src/pretalx/common/templatetags/rich_text.py
src/pretalx/mail/models.py
Renamed _rich_text function to render_markdown and updated references.
src/pretalx/orga/views/submission.py
src/pretalx/submission/models/submission.py
Updated methods to handle pending states and update talk slots accordingly.
src/pretalx/orga/templates/orga/submission/base.html
src/pretalx/orga/templates/orga/schedule/release.html
Added permission check for reviewing submissions and updated link to include pending states for unconfirmed sessions.
src/pretalx/common/forms/utils.py
src/pretalx/common/settings/utils.py
Deleted utils module.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
mariobehling commented 3 days ago

Solved by another contributor in the meantime.