Commit f0b7d2b
authored
Support for the Research Organization Registry (ROR) (#4483)
* First draft of data model #3168
* Build ROR importer #3168
* Updates to data model #3168
* Create standard buttons #3168
* UI for core affiliation management #3168
* Deprecate several more old account templates #4380
* chore #3168 Clean up old prints in testing
* Work through regressions #3168
* Avoid Django ListView paginator bug
* Display primary affiliation; add primary if first #3168
* feat #3168 Add affiliation inline to admin pages
* feat #3168 Migrations for existing data
* feat #3168 Avoid bug that caused duplicate locations to be created
* feat #3168 Add country and location to data migration
* feat #3168 Override get_or_create to handle old affiliation fields
* feat #3168 Utility for matching legacy organizations
* feat #3168 Improve importing process
* feat #3168 Fix a bug where a bool might be unset
* feat #3168 Fix a bug with a URL name
* feat #3168 Display start and end dates on affiliations
* feat #3168 Use function-based views for CRUD interface
* feat #3168 Fix logic that manages affiliations
* Clean up submission test data
* feat #3168 Adjustments from manual testing
* feat #3168 Expand max_length of OrganizationName.value
* feat #3168 Validate exclusive fields on Affiliation
* feat #3168 Fix view bugs and write tests
* feat #3168 Make OrganizationName.value a required field
* feat #3168 Fixes to backwards compatibility
* feat #3168 Reflow migrations after rebase
* feat #3168 Make account affiliation form more secure
* feat #3168 Pass account to form kwargs
* feat #3168 Cleanup requested in review
* feat #3168 Include variable names in translatable strings
* feat #3168 Use safer method in affil create view
* feat #3168 Guard against duplicate affiliations
* feat #3168 Fix bugs
* feat #3168 Rename methods
* feat #3168 Prepend 'is_' to status-related properties
* feat #3168 Log exceptions not just errors
* feat #3168 Refactor exclusive fields check as model constraint
* feat #3168 Account for case where all exclusive fields are blank
* feat #3168 Store non-URI form of ROR ID
* feat #3168 More small fixes
* feat #3168 Reflow migrations again
* feat #3168 Remove accidentally added migration
* feat #3168 Change print statement
* feat #3168 Check defaults dict in backwards compat method
* feat #3168 Backwards compatibility in queryset lookups
* feat #3168 Backwards compatibility in queryset lookups
* feat #3168 Improve regex handling
* feat #3168 Improve logging
* feat #3168 Avoid unnecessary change to test
* feat #3168 Delay importing latitude and longitude
* feat #3168 Fix bug between ISO-639-1 and ISO-639-2/T
* feat #3168 Document odd Account.objects.create custom method
* feat #3168 Move regex patterns to constant1 parent 1df1b31 commit f0b7d2b
File tree
64 files changed
+3662
-148
lines changed- src
- core
- forms
- migrations
- tests
- cron/management/commands
- repository
- migrations
- review
- static
- admin/img/icons
- common/css
- submission
- migrations
- templates/admin
- core
- accounts
- manager/users
- elements
- accounts
- layout
- identifiers
- themes
- OLH/templates/elements/accounts
- clean/templates/elements/accounts
- material/templates/elements/accounts
- utils
- management/commands
- migrations
- testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+3662
-148
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
398 | 399 | | |
399 | 400 | | |
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 | + | |
401 | 480 | | |
402 | 481 | | |
403 | 482 | | |
| |||
427 | 506 | | |
428 | 507 | | |
429 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
430 | 513 | | |
431 | 514 | | |
432 | 515 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
945 | 945 | | |
946 | 946 | | |
947 | 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 | + | |
| 1001 | + | |
| 1002 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 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 | + | |
132 | 164 | | |
133 | 165 | | |
134 | 166 | | |
| |||
0 commit comments