-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCHANGES
2376 lines (2040 loc) · 75.4 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Changes
-------
1.0.3
-----
- add (optional) output to reset_visit_code_sequence_or_pass and enable
on management command (edc_appointment)
1.0.2
-----
- remove reset_visit_code_sequence_for_subject from view mixin
(edc-visit-schedule)
1.0.1
-----
- fix issue with unscheduled appointments and visit code sequence
(edc_appointment)
1.0.0
-----
- update use of format_html for DJ6 (most modules)
- remove all references in templates to `bootstrap3` folders
(most modules)
- update test settings in modules still using old func_main
0.6.26
------
- pass same params for site to create next action (edc-action-item)
0.6.25
------
- move ReviewQuestions form clean field methods to mixin (edc-consent)
- add missing migration (edc-visit-schedule)
0.6.24
------
- fix issue to ensure create appointments uses explicitly
passed site_id instead of current site_id
(edc_appointment, edc_visit_schedule, edc_sites,
edc-action-item)
- fix tests
0.6.23
------
- fix tests (edc-metadata, edc-action-item)
0.6.22
------
- add ConsentDefinitionExtension (edc-consent)
- update to truncate subjects visit schedule based on consent
extension. (edc-appointment, edc-visit-schedule,
edc-visit-tracking, edc-metadata)
0.6.21
------
- move truncate_string() to edc-utils (edc-utils, edc-qareports)
0.6.20
------
- standardise new line insertion around docstrings and fix trailing
whitespace (edc-form-describer)
- prevent 'Add/Change CRF' button wrapping on whitespace (edc-qareports)
0.6.19
------
- fix regression with pdf_report not having a default NumberedCanvas
(edc-pdf-report)
- call func to get vars for get_context_data - easier to override in
tests (edc-sites)
- update test settings (edc-device)
0.6.18
------
- split perms in roles (edc-pharmacy)
0.6.17
------
- fix perms on pharmacy navbar in admin templates (edc-model-admin)
- remove get_boostrap_ver for templates (edc-dashboard, edc-navbar)
- add missing migrations (edc-pharmacy)
- update test settings (edc-appointment, edc-adherence,
edc-appconfig, edc-dashboard, edc-navbar)
0.6.16
------
- separate site/central perms (edc-pharmacy)
- add exception if raised when checking celery (edc-utils)
0.6.15
------
- require `edc-pylabels` as an app that integrates django-pylabels
into the edc (edc)
- refactor and add new stock management models, label printing,
document printing and functionality to follow chain-of-custody from
original IMP order to dispensing at site. This is a major update.
(edc-pharmacy)
- remove from administration page (edc-crf, edc-offstudy)
- allow pad value to be passed as arg to to_file() (edc-form-describer)
- move ModelButton dataclasses to edc-view-utils (edc-view-utils)
- change screening_model attr on ConsentDefinition to accept a list
of model names for when screening uses proxy models
(edc-consent)
- requirements:
- align requirements.tests (and dev_repos.sh) files with setup.cfg
- add script update_reqs_from_setup.py to align files in future
- add release.txt requirements file
- add third party package dependencies
(edc-form-runners, edc-pdf-reports)
0.6.14
------
- improve date handling in dataframes (edc-pdutils, edc-analytics)
- add model method to manually recreate views for unmanaged model
using DBView mixin (edc-qareports)
0.6.13
------
- minor refactor, update exception text (edc-consent)
- fix CRP units/normal ranges (edc-lab-results, edc-reportable)
- fix sodium normal ranges (edc-reportable)
0.6.12
------
- add requisition_id_field attr to RequisitionCase (edc-qareports)
0.6.11
------
- update change_button template (edc-qareports)
- add index to Rx model (edc-pharmacy)
0.6.10
------
- fix list_display type when concatenating for column order
(edc-sites)
0.6.9
-----
- bump edc-lab-panel
0.6.8
-----
- include site in list filter and list display if viewallsites
perms (edc-sites)
- add custom attr to set site column insert pos (edc-sites)
- use constants for UTEST ids (edc-lab-panel)
- rename attr for blood results lipid to blood results lipids
(edc-lab-results)
- expand signature for get_eos (edc-pdutils)
- refactor QaCase into CrfCase and RequisitionCase (edc-qareports)
0.6.7
-----
- use class QaCase instead of dict (edc-qareports)
0.5.66 - 0.6.6
--------------
- improvements to edc-qareports
0.5.65
------
- add classes/funcs to generate SQL for view_definitions.
Add model/admin mixins for OnStudyMissingValues report
(edc-qareports)
0.5.64
------
- remove deprecated linked-based navbar logout item in favor
of logout form (edc-navbar)
- remove deprecated linked-based logout on admin template
logout button in favor of a logout form (edc-model-admin)
0.5.63
------
- move NoteModelAdmin code to a modeladmin mixin (edc-qareports)
- use get_status_display to render status column correctly in
Admin (edc-qareports)
0.5.62
------
- refactor get_crf (edc-pdutils)
- add method to safely render change list note (edc-model-admin)
- exclude listfilter of nbote column not used (edc-qareports)
0.5.62
------
- add fbg and ogtt list filters (edc-glucose)
- check for empty column before using .dt accessor (edc-pdutils)
0.5.61
------
- add default index to QAReportsModelMixn (edc-qareports)
- check for empty column before using .dt accessor (edc-pdutils)
- fix breadcrumbs on change_form (edc-model-admin)
- add sample systemd service files for celery
0.5.60
------
- remove property user_may_view_other_sites incorrectly overriding
method on QaReportLogSummaryAdmin (edc-qareports)
- convert DurationField class values to pd.TimeDelta (edc-pdutils)
- bump django-crypto-fields 0.4.2
0.5.99
------
- when building list of codenames with get_app_codenames, use
default_permissions on model Meta class. Note: default permissions
are customized for models using BaseUuidModel and models using
model mixins in edc-qareports. (edc-auth, edc-qareports)
- deprecate `get_qareports_codenames`, add viewallsites to
default Note model. (edc-qareports)
0.5.98
------
- add django-pandas to requirements
0.5.97
------
- fix issue where braces in AE descriptions broke the AE reports
admin pages (edc-adverse-event)
- add escape_braces text function (edc-utils)
- add postgres to the gh-action matrix for updated edc modules
(this will be done for other modules are they are updated)
- skip checks and postmigrate signals for apps not found in
INSTALLED_APPS (edc-appconfig)
- add option to prevent Django from creating the default
"example.com" site using settings.EDC_SITES_CREATE_DEFAULT.
The default is still to create the default site. Deleting the
default site raises an Operational error for unmanaged "sql view"
models that have a FK to Site. (edc-appconfig, edc-sites)
- add django_db_views to requirements.
- update to use django_db_views and add view scripts for
mysql, postgres and sqlite3 (edc-qareports)
- recognize `viewallsites` codename. The new codename allows
administrator to allocate permissions to a user to see instances
from all sites in a changelist by model. Limit unmanaged models
using QAReportsModelMixin to "view, viewallsites, export"
codenames. (edc-sites, edc-qareports)
- refactor of QaReports and related Notes to facilitate
overriding (edc-qareports)
- tighten up handling of str/bytes data and typing of signatures for
methods receiving str and/or bytes data. Add support for postgres.
Add field classes for additional datatypes:
- EncryptedIntegerField
- EncryptedDecimalField
- EncryptedDateField
- EncryptedDateTimeField
(django-crypto-fields)
- in test setup for updated edc modules, import `DefaultSettings`
from `edc-test-settings` where `test_settings.py` is in the test
folder and the `DJANGO_SETTINGS_MODULE` is set in `runtests.py`
using `func_main2`. For an example, see edc_appconfig.
(edc-test-settings)
- add edc-analytics
0.5.96
------
- add new funcs when using pandas dataframes, e.g get_crf,
get_subject_visit (edc-pdutils)
0.5.95
------
- fix issue where 'nav_' codenames omitted from view only
codenames (edc-auth)
- minor README/docstring fixes (edc-qareports)
- add edc-qareports status badges to edc README
0.5.94
------
- add QA REPORTS AUDIT group and role (edc-qareports)
- fix minor issue in list_filter (edc-sites)
- add attribute `user_may_view_other_sites` to bypass
site filter at the admin class if set to False
(edc-sites)
0.5.93
------
- add new module, edc-qareports
- fix missing link to app_index on Admin template (edc-model-admin)
- add link to model's changelist from data dictionary
(edc-data-manager)
0.5.92
------
- add ListFilter to filter number of days appointment overdue
(AppointmentOverdueListFilter) to default AppointmentAdmin
class. (edc-appointment)
0.5.91
------
- ListFilter to filter changelists on subject's schedule
status, e.g. ON schedule, OFF schedule. (edc-visit-schedule)
- Add 'Attended' category to 'Status' ListFilter. Add
(ScheduleStatusListFilter) to default AppointmentAdmin
class. (edc-appointment)
- bump django-simple-history to 3.7.0
0.5.90
------
- add func duration_hm_to_timedelta (edc-model)
- remove indexes=[] from Meta on mixin (edc-crf)
- change error text when diagnosis not detected (edc-dx)
- add type hints, return obj from validation check (edc-dx-review)
- update fasting factory field fasting_duration_minutes to
fasting_duration_delta calc delta on model save (edc-glucose)
0.5.89
------
- add model validators to screening report_datetime (edc-screening)
- add MySQL roles and read only users docs (edc)
0.5.88
------
- (edc-consent)
- enforce consent definitions must be in UTC
- convert report_datetime to utc when getting consents
- always add consents to dashboard
0.5.87
------
- fix issue to prevent appointment creator from resetting appointment
datetime for appointments that are not NEW. (edc-appointment)
0.5.86
------
- refresh medata on each render of subject dashboard is current.
Performance penalty is negligible (edc-metadata)
- catch ObjectDoesNotExist and pass when validating ae_initial
outcome date if AeInitial relation does not exist.
(edc-adverse-event)
0.5.85
------
- fix regression in site_consents where consent definitions were not
filtered by site before querying for consent model instances. This
resulted in irrelevant links to consents showing on the subject
dashboard. (edc-consent)
- fix syntax error in popover templates.
(edc-prn, edc-subject-dashboard)
- fix regression where action item button was not passing parent
reference model instance id to new form. For example, given the
sequence aeinitial->aefolllowup->aefollowup, the last aefollowup
action item pop over list item link was not passing the aeinitial
id to the add form for AeFollowup. (edc-action-item)
0.5.84
------
- add gettext wrappers to field validator messages. (edc-model)
- minor, allow import of show_urls from root __init__. (edc-utils)
- remove edc-next-appointment as a default module
0.5.83
-----
- improve consent definition validity period comparisons (edc-consent)
0.5.82
-----
- allow action_identifier to be passed when creating an ActionItem
(edc-action-item)
- also skip get_site_on_create() if self.site_id (edc-sites)
0.5.81
------
- add `site` to signatures for get_consent_or_raise, etc
(edc-consent, edc-appointment, edc-crf)
0.5.80
------
- fix issue where requisition rule group incorrectly tries to run rules
when appointment is missed. (edc-metadata)
0.5.79
------
- minor, separate age from dob on subject dashboard (edc-subject-dashboard)
0.5.78
------
- fix outdated call in view mixin to site_consents from
'get_consent_or_raise' to 'get_consents'. (edc-consent)
- (edc-action-item)
- fix search field list not finding subject_identifier;
- check for action_identifier before looking up reference_obj.
- bump to django-audit-fields 0.3.17
- bump to django-multisite2 2.0.1
- add management command `sync_sites` to manually sync and review
site related models from edc_sites, django_sites and multisite.
Also review ALLOWED_HOSTS for current settings file. (edc-sites)
0.5.76
------
- fix regression where dynamic site middleware incorrectly tried to
determine site after calling get_response in __call__.
(django-multisite2)
0.5.75
------
- fix export_model management command incorrectly enumerating model
names (edc-pdutils)
- prefix regex strings with 'r' (edc-identifier, edc-lab)
- (django-crypto-fields) 0.4.1
- major refactor
- use cache framework for encryption keys
- (edc-consent)
- remove 'updates_by' from ConsentDefinition init and instead set
when registering the ConsentDefinition with site_consents.register.
- change 'updates' to only accept a ConsentDefinition
- update system checks that warn of duplicate versions
and period overlap when using the same proxy_for_model.
- (django-multisite2)
- switch to django-multisite2
- major refactor
- add MULTISITE_REGISTER_POST_MIGRATE_SYNC_ALIAS settings attr
- (edc-sites)
- require --settings when running migrate
- require MULTISITE_REGISTER_POST_MIGRATE_SYNC_ALIAS = False so
multisite post-migrate signal NOT be registered by multisite2
- connect multisite2 post-migrate signal AFTER edc-site post migrate
signal (edc-appconfig)
0.5.74
------
yanked because of edc-consent
0.5.73
------
- Move fieldsets to modeladmin mixin (edc-adherence)
- Django 4.2.11
0.5.72
------
- add missing migrations (edc-locator, edc-visit-tracking)
- replace deprecated dataframe manipulation for pandas v2.2. Add
ValueError exception if remove_illegal_characters() operates
on a non-str Series (edc-pdutils)
- rename data dictionary field from "default" to "default_value"
(edc-data-dictionary)
- change site_consent system checks that look for duration overlap
from errors to warnings (edc-consent)
- get consent definition directly from site_consents on PRN
models that do not have access to a schedule (edc-prn)
0.5.71
------
- refactor to handle multiple versions of consents and consents that
update previous versions (edc-consent)
- query consent attr thru consent definition (edc-crf, edc-screening,
edc-visit-schedule)
- use RequiresConsentModelAdminMixin for modeladmin classes that
require consent (edc-model-admin)
0.5.70
------
- show field_cls.metadata in reference document (edc-form-describer)
- use 'custom_name' to capture 3rd element of tuple in list_data,
if it exists. Add ListModelMixin2 and class to convert a choices
tuple to something the list_data loader can handle
(edc-list-data)
- add iter to custom Choices class (edc-model-field)
- change precision for ALP to 2 places, ALT to 2 places, magnesium to
2 places (edc-lab-results)
- update precision on equalities for magnsium, uric acid, neutrophils
(edc-reportable)
0.5.69
------
- fix timeuntil on aefollowup "description" template
(edc-adverse-event)
0.5.68
------
- add missing action_identifier to extra kwargs coming from popover
(edc-action-item)
- fix issue where runner fails if no fieldset defined in ModelAdmin.
Check get_related_visit_model_attr has value before calling.
(edc-form-runners)
- check creatinine has value before attempting to calculate eGFR drop
(edc-egfr)
- fix signature on get_next_related_visit to include
`include_interim=True` (edc-pharmacy, edc-visit-tracking)
- change form validation error to use message from
ScheduledVisitWindowError when date is outside window period
(edc-appointment)
- skip some form validation until report_datetime has value
(edc-visit-schedule)
- get ConsentDefinition from Screening model if not enough
data to get from schedule.get_consent_definition
(edc-consent)
0.5.67
------
- add `is_required_by_date` method to allow a metadata_rule user to
hardcode a date before which the rule always returns not_required
(edc-he)
- fix issue where the action item popover template incorrectly gets
the color style from the Action instance instead of the Action
class (edc-action-item)
0.5.66
------
- minor changes to system checks
- update pre-commit config
- force metadata_handler to create missing metadata,
allow_create=True (edc-metadata)
- fix regression where visit_code and visit_code sequence are
incorrectly saved as booleans on the Issues model
(edc-form-runners)
- fix timezone setting on to_local, to_utc (edc-utils)
- check value of creatinine before calculating drop (edc-egfr)
- fix how refill_end_datetime is set (edc-pharmacy)
0.5.65
------
- remove fields reference_model and related_reference_model from ActionItem.
Fields already appear on ActionType. (edc-action_item)
- display window period boundaries on changelist (edc-appointment)
- skip system check if migrating (edc-sites)
- fix run_form_runners command incorrectly including skipped models
(edc-form-runners)
- bump to Django 4.2.10
0.5.64
------
- remove redundant check from Holiday model (edc-facility)
- fix render TmgButton when reference_obj is None by passing
subject_identifier (edc-adverse-event)
- remove edc-model-wrapper, edc-subject-model-wrapper from
requirements
- fix issue where missing CRF/Requisition metadata is not
created using subject dashboard's refresh button
(edc-metadata)
- rework TMG dashboard, add navigation for TMG Role members
to navigate to new, open, closed TMG summaries from subject
dashboard and subject review dashboard (edc-adverse-event,
edc-subject-dashboard, edc-review-dashboard)
- add Choices class and custom fields to accept standardized field
names and standardized categorical field values in choices as
metadata when building model classes for standardized forms.
(edc-model-fields)
0.5.63
------
- minor fixes to templates (edc-dashboard, edc-subject-dashboard,
edc-navbar)
- add system check against SubjectScheduleHistory and the OnSchedule
model (edc-visit-schedule, edc-appconfig)
- management command to delete invalid onschedule instances
(edc-visit-schedule)
- fix issue where form runner fails on PRN forms that do not
have visit schedule fields (edc-form-runners)
0.5.62
------
- add checks to confirm reference_model matches (edc-action_item)
- skip admin classes without custom modelform classes
(edc-form-runner)
- fix modelform not finding site for PRN forms (edc-site)
0.5.61
------
- add related_visit_model_cls attr to form validator mixin
(edc-visit-tracking)
-
0.5.60
------
- fix regression on updating missed appointments in signal
(edc-appointment)
- fix query on userprofile.role raising exception
(edc-auth)
0.5.59
------
- use get_locator_model to access SUBJECT_LOCATOR_MODEL
settings attribute (edc_locator)
0.5.58
------
- disabled refresh appointments and refresh data collection schedule
if multisite viewer or auditor (edc-subject-dashboard)
0.5.57
------
- add `is_multisite_viewer` boolean to UserProfile model. This field
value replaces the use of a special codename for multisite data
view (edc-auth)
- redirect to screening_listboard if not a registered subject in
view_on_site (edc-model-admin)
- move refresh_appointments to utils, check appt_datetime is not
before previous appt (edc-appointment)
- change DeathReportTmgSecond mixin to be used with a proxy of death
report tmg (edc-adverse-event)
- Add subject consent buttons for listboards and subject-dashboards
(edc-subject-dashboard)
- Rework resequencing when visit code sequences and dates not
correctly ordered (edc-appointment)
- add schedule button to review listboard (edc-review-listboard)
0.5.56
------
- add new app edc_appconfigs
- call all site global autodiscover() in ready
- register system checks that access site globals in ready
- register post-migrate signals that access site globals in ready
- move NavbarItem class validation to system_checks. Rename
NavbarItem.append_item method to register (edc-navbar)
- refactor edc_protocol, rename class to ResearchProtocolConfig
(edc-protocol)
- minor changes to subject dashboard template (edc-subject-dashboard)
- require consent definition as class attr on screening models
(edc-screening)
- refactor notification, raise exception any entries, referred to
by Action classes, are missing from EMAIL_CONTACTS
- wrap search form in button div (edc-listboard)
0.5.55 yanked
-------------
0.5.54 yanked
-------------
- refactor to remove modelwrappers and other listboard and
dashboard improvements
- refactor TMG listboard
- refactor subject dashboard, screening and subject listboards
0.5.53
------
- refactor edc-consent
- AE PDF reports for changes in edc_pdf_reports:
- set `pdf_report_cls` on AE models (death report, AE initial)
- update modeladmin changelist (death report, AE initial)
- add urls from edc_pdf_reports
- See edc_pdf_reports README
- user is now redirected to effect_ae changelists instead of AE
listboards. Remove effect_ae from administration section.
(changes from edc-adverse-event)
- migrations for indexes triggered from other modules e.g.
edc-list-data, edc-model, etc
- remove redundant edc-sites post-migrate signal
- update edc_sites import paths
0.5.51
------
- reset migrations. may need to review existing migrations before
updating (edc-form-runners)
- split index migrations to avoid mem issues during migrations.
may need to review existing migrations before updating
(edc-data-manager)
- fix decimal_places==0 treated as falsy (edc-lab-panel)
- pass current site and locale into form_validator (edc-form-validators)
- SodiumModelMixin (edc-lab-results)
- add inclusive option to report_datetime validators (edc-form-validators)
- major refactor of edc_sites:
- register sites from sites.py. sites must be registered
with the new sites global. ``sites`` uses autodiscover
to find ``sites.py`` in root of an app.
- move most functionality related to sites onto the
`sites`` global instance.
- add funcs to allow a configuration where an auditor type
user, with view only access, is able to view data from
other sites while logged into the current site.
- set current site and locale from request object in get_forms
- update dashboard apps to accommodate expanded auditor type
role using funcs from edc_sites (edc-dashboard, edc-listboard,
edc-subject-dashboard, edc-review-dashboard)
- update tests to either register a default site or add sites.py
to the test setup (most modules)
- add DJ50 to testing matrix, drop DJ41.
0.5.50 (yanked)
------
** skip this release, goto 0.5.51
- bump django-audit-fields
0.5.49 (yanked)
------
** skip this release, goto 0.5.51
- bump django-audit-fields, django-crypto-fields
- track locale on model instance add/change (django-audit-fields)
- convert Meta.unique_together to new Meta.constraints
- review index inheritance and fix where not working
- add indexes to improve performance (edc-metadata, edc-action-item)
0.5.48
------
- remove invalid permissions codename (edc-data-manager)
0.5.47 (yanked)
------
** skip this release, goto 0.5.48
- require module `edc_form_runners`
- fix missing model name in breadcrumbs (edc-model-admin)
- use self.subject_identifier from base class when looking up
``action_cls`` in `ActionItemModelFormMixin` (edc-action-item)
- add custom form_runner (edc_appointment)
- use proxy model to make custom admin class for edc_form_runner
Issue model (edc-data-manager)
- add link to edc_data_manager.Issue changelist from subject
dashboard and issue badge with hover text on subject dashboard
CRF/Requisitions (edc-subject-dashboard,
edc-subject-model-wrappers)
0.5.46
------
- minor, updates to translation files (edc-he)
0.5.45
------
- updates to HE 'PropertyModelMixin' (edc-he)
- add 'calculated_land_surface_area' field (standardised to m2)
- add additional units: Decimals (1/100th of Acre), Sq. feet
- convert 'land_surface_area' to decimal field
- minor, remove additional refs to edc_reference in tests (edc-utils)
0.5.44
------
- fix issue where appointment creator may lose the site id
for funcs run from the django console on a multisite
installation (edc-appointment, edc-visit-schedule, edc-sites)
0.5.43
------
- method to calculated relative previous appt with a subject visit
report (edc_appointment)
0.5.42 (invalid)
------
- fix where scheduled crf collection incorrectly combines
crfs_unscheduled + crfs_prn instead of crfs + crfs_prn
(edc-metadata)
0.5.41
------
- docs (edc)
- add 'appt_status' property to form validation, trivial
(edc-appointment)
0.5.40
------
- remove `edc_reference` from setup.cfg
- fix additional exceptions not caught in modelform
(edc-appointment, edc-visit-tracking)
- fix prn metadata not updating (edc-metadata)
- refactor form collections in visit class (edc-visit-tracking)
0.5.39
------
- fix minor typos in fieldsets (edc-lab-results)
- catch exception into form when unscheduled appointment not allowed
(edc-appointment)
- remove additional refs to edc_reference in tests
0.5.38
------
- add further validation to death report model and form validation
mixins (edc-adverse-event)
- minor doc updates
0.5.37
------
- remove dependency `edc_reference`. `edc-reference` maintained a
single table, "edc_reference.Reference", with values needed for
metadata-rules. The table was updated on a `post_save` signal
for CRF/Requisition and other models using the
`ReferenceModelMixin`. By removing `edc_reference`, `edc-metadata` now
directly queries CRF/Requisition models instead of querying model
"edc_reference.Reference". This change has bumped most edc modules. The
dependency was required for a few modules or, as in most cases, just for
tests. The model mixin `ReferenceModelMixin` and the site controller
`site_reference_configs` are no longer required. You may remove from
your app any reference to `edc-reference` and the file
`reference_model_configs`.
0.5.36
------
- add missing migrations (edc-data-manager)
0.5.35
------
- remove imports from base constructor (edc-visit-schedule)
- update imports for changes to edc-visit-schedule
and drop 3.10/DJ4.1 (all)
0.5.34
------
- add import path for ScreeningManager to model_mixins (edc-screening)
0.5.33
------
- merge edc-next-appointment into edc-appointment.
edc-next-appointment is now deprecated.
- refactor mixin paths (edc-appointment)
- update modules to reflect path changes in edc-appointment
(edc-crf, edc-timepoint, edc-visit-tracking, edc-facility)
0.5.32
------
- add site to SubjectScheduleHistory model (edc-visit-schedule)
- change signature on UnscheduledAppointmentCreator; allow signal
to create unscheduled/interim appointment when using next
appointment CRF based on `allow_create_interim` field value.
(edc-appointment)
- update mixins with `allow_create_interim` field.
(edc-next-appointment)
- allow proxy models but use the proxy_for_model model name to
update and get references (edc-reference).
- add data manager to recipients list (edc-data-manager)
- use title case for "Data Collection Status" app name (edc-metadata)
0.5.31
------
- refactor update_skipped_appointments management command
(edc-appointment)
- add SiteModelAdminMixin to SubjectRefusalAdmin to filter by site
(edc-refusal)
- change to use non-ISO numbering (edc-facility)
- fix administration page template failing if app_list is None.
(edc-model-admin)
0.5.30
------
- fix issues when setting appointments as skipped, resetting
appointments (edc-appointment, edc-next-appointment)
- (edc-visit-tracking)
- use Django's get_model_related to determine `related_visit` and
other similar properties.
- enforce appointment sequence when saving CRFs in model save.
0.5.29
------
- reset migrations. You need to drop the `edc_visit_tracking`
models and delete any migrations under django_migrations
where app="edc_visit_tracking" before running
`migrate`. (edc_visit_tracking)
- add SKIPPED_APPT appointment status; update admin, form classes;
Add settings.EDC_APPOINTMENT_ALLOW_SKIPPED_APPT_USING.
(edc-appointment, edc-next-appointment, edc-visit-tracking)
- minor change to admin (edc-he)
0.5.28
------
- fix import and minor typos (edc-crf)
- add custom language internationalization constants (edc-constants)
- refactor SingleSite interface to accept list of `language_codes`
instead of a dict of `languages` (edc-sites)
- NOTE: this is a "breaking" change. Protocol specific sites.py
modules that already declare `languages` will need to be
updated use 'language_codes' instead.
0.5.27
------
- add constants (edc-constants)
- use django_apps to get model to prevent circular
import in tests (edc-sites)
0.5.26
------
- change from 'confirm' to 'transcribe' (edc-adherence)
- add proxy_models to list of models to be used by consent
object (edc-consent)
- removed `PiiModelAdminMixin` (edc-consent)
- use getters for some class attributes (changelist_url,
post_full_url_on_delete, post_url_on_delete_name) to make
it easier to override and to access request object
(edc-model-admin)
- add `country` templatetag; change signature for
`get_current_country` to accept both `site` and `request`
(edc-sites)
0.5.25
------
- include django.mo file in MANIFEST.IN for modules with
locale messages (django-audit-fields, edc-adverse-event,
edc-constants, edc-crf, edc-dashboard, edc-he, edc-model-admin,
edc-protocol, edc-qol, edc-review-dashboard, edc-subject-dashboard,
edc-visit-tracking)
0.5.24
------
- ICECAP-A sw translation (edc-qol)
- add translation funcs, sw translation (edc-visit-tracking
and others)
- slight refactor PiiModelAdminMixin (edc-model-admin)
0.5.23
------
- fix filter_fieldsets_for_pii_permissions (edc-consent)
0.5.22
------
- setup apps for translation, add partially updated po files for
locale sw.
- add set language template (edc-navbar)
- expect default settings of USE_I18N and USE_L10N to be `True`
on main project apps
0.5.21
------
- edc-adverse-event
- check for pdf report class on model class as well as on view mixin;
- rename reports as `AePdfReport` and `DeathPdfReport`;
- Check for "susar" model instance field attribute in `signal` before
updating.
- add hospitalization codenames for auth
- use get_edc_adverse_event_app_label() (edc-transfer)
- add migration; update tests (edc-he)
- access ADVERSE_EVENT_APP_LABEL settings attr through function
get_adverse_event_app_label
0.5.20
------
- remove default contact date from subject visit missed
(edc-visit-tracking)
0.5.19
------
- use related visit attr for singleton model mixin lookup
(edc-crf)
- fix spelling error in constant (edc-he)
0.5.18
------
- modify metadata rules to update the CrfMetadata of previous
timepoints if HE forms are filled in over more than one timepoint;
fix minor validation issues; improve test coverage (edc-he)
- add `time-machine` to testing dependencies
0.5.17
------
- add Meta option to declare PredicateCollection on a RuleGroup;
update README (edc-metadata)
- add models and other classes (edc-he)
- and method `get_models` to list all models associated with a visit
(edc-visit-schedule)
- add model_mixin method `update_references_on_save` to update ALL
references on save (edc-reference)
0.5.16
------
- move model, admin, form, etc from intecomm to edc-he (edc-he)
- add extra_value column to ListModelMixin to inspect in
admin class (edc-list-data)
- set instance attr in get() instead of get_context_data()
(edc-listboard, edc-appointment, edc-registration)
- add disaster recovery (from backup) docs (edc)
- minor updates to backup docs (edc)
0.5.15
------
- minor updates to email subject and body for new/changed user
accounts (edc-auth)
- update backup docs (edc)
- add SubjectVisit concrete model/admin; raise exception if related
visit model, or SubjectVisit, is a proxy model; deprecate
func get_subject_visit_model_cls (edc-visit-tracking)
- raise exception if attempting to get an invalid visit_code from
the visit schedule (edc-visit-schedule)
- add related_visit_model to RuleGroups to allow related visit model
to be from an outside app; fix issue where Rule runner relied on
related visit model for the app_label to get rules from site global
(edc-metadata)
- use `get_appointment_model_cls` instead of directly importing
Appointment model; add tests for admin class (edc-appointment)
- add missing mixins to QueryRule admin class (edc-data-manager)
- add checks to form validator (edc-facility)
- update tests to use SubjectVisit from edc-visit-tracking (all)
- add more typing hints (all)
0.5.14
------
- raise if locator model in settings does not match visit schedule
(edc-locator, edc-visit-schedule)
0.5.13
------
- 0.5.12 has wrong version of edc-facility, bump to 0.3.16
0.5.12
------
- add missing edc-next-appointment
0.5.11
------
- add HealthFacility model/form/admin (edc-facility)
- rename func get_clinic_codenames to get_app_codenames,
deprecate get_clinic_codenames (edc-auth)
- fix issue where unable to read selected models from the
post/session (edc-export)
- improve SubjectLocator changelist (edc-locator)
- Add additional date filters to custom ListFilter class,
yes_no_coloring templatetag (edc-model-admin)
- new module with mixins for NextAppointment CRF
(edc-next-appointment)
0.5.10
------
- 0.5.9 has wrong version of django-crypto-fields,
bump to 0.3.7
0.5.9
------
- limit data export to the sites listed in userprofile; use