- Aug 28, 2022
-
-
Saurabh Kumar authored
- Add “make test” command to lint, test and report coverage - Add pytest runner - It automatically set up to use the correct Django settings module - Runs tests on all the available CPU, I was able to run all the test in total=~30sec using “make test” command. - It provides a cleaner error report, compared to DjangoTestRunner - Coverage - Displayed the report on the terminal after the test finish - Disable reporting of coverage for test and migration files - Enable coverage reporting for the template files - “make test” generates HTML reports to quickly check the coverage of each file
-
Fredrik Jonsson authored
Add js validation for acceptable file types for all uploads
-
Fredrik Jonsson authored
Fix duplicate comments in in-app feed
-
- Aug 26, 2022
-
-
Fredrik Jonsson authored
Add vscode launch config to start django debug server
-
Saurabh Kumar authored
-
- Aug 24, 2022
-
-
Fredrik Jonsson authored
Fix email not sent when saving a submission as a draft for the first time
-
- Aug 23, 2022
-
-
Fredrik Jonsson authored
Improve sample generator for help_text in factories
-
Saurabh Kumar authored
More info at https://github.com/mbraak/django-file-form/pull/526
-
- Aug 22, 2022
-
-
Saurabh Kumar authored
The submission_id is used to do URL reverse for private files are wrongly put to use one of the revisions and the parent submission. This fixes the submission_id with a getter function
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
- Aug 18, 2022
-
-
sandeepsajan0 authored
-
- Aug 17, 2022
-
-
Saurabh Kumar authored
Fixes: #2940
-
Saurabh Kumar authored
Right now, the help text generated is class representation (e.g. “<class 'hypha.apply.stream_forms.blocks.CharFieldBlock’>”) This is confusing while debugging, so replace it with a more familiar format. `e.g. Help text for CharFieldBlock`.
-
- Aug 16, 2022
-
-
Fredrik Jonsson authored
Fix adaptors * imports, make values of __all__ string
-
Saurabh Kumar authored
-
- Aug 15, 2022
-
-
Fredrik Jonsson authored
Upgrade wagtail to 3.x
-
- Aug 11, 2022
-
-
Saurabh Kumar authored
The test checks for the ordering of the item returned. The view function or the model class doesn’t have any order specified. This cause the tests to fail randomly on different machines. This commit removes that ordering the check and just checks for the availability of the ids.
-
Saurabh Kumar authored
Related to #2882 The messaging.py has quite a lot of code with multiple concerns, which can be easily divided into individual independent modules. This refractor puts different messaging adapters into its modules for better maintainability and readability.
-
- Aug 05, 2022
-
-
Fredrik Jonsson authored
Update to Django 3.2.15.
-
Fredrik Jonsson authored
-
- Aug 03, 2022
-
-
fourthletter authored
-
- Aug 02, 2022
-
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
- Aug 01, 2022
-
-
Fredrik Jonsson authored
Add conf file for DSLR (spiritual successor to Stellar).
-
Fredrik Jonsson authored
-
Saurabh Kumar authored
``` hypha/apply/determinations/tests/test_views.py: 20 warnings /Users/theskumar/work/hyphaapp/hypha/venv/lib/python3.9/site-packages/django/template/defaulttags.py:862: RemovedInDjango40Warning: The {% ifequal %} template tag is deprecated in favor of {% if %}. warnings.warn( ```
-
Saurabh Kumar authored
See: https://django-filter.readthedocs.io/en/stable/guide/migration.html#view-attributes-renamed-867 ``` hypha/apply/api/v1/screening/tests/test_views.py::ScreeningStatusViewSetTests::test_staff_can_list_screening_statuses hypha/apply/api/v1/screening/tests/test_views.py::ScreeningStatusViewSetTests::test_staff_can_view_screening_statuses_detail /Users/theskumar/work/hyphaapp/hypha/venv/lib/python3.9/site-packages/django_filters/rest_framework/backends.py:31: MigrationNotice: `ScreeningStatusViewSet.filter_class` attribute should be renamed `filterset_class`. See: https://django-filter.readthedocs.io/en/master/guide/migration.html See: https://django-filter.readthedocs.io/en/master/guide/migration.html filterset_class = self.get_filterset_class(view, queryset) ```
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
Use `django.test.TestCase` instead of `unittest.TestCase` to enable DB access
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-
Saurabh Kumar authored
Do not depend on sorting IDs for checks
-
Saurabh Kumar authored
-
Saurabh Kumar authored
-