19.0.0
Important
You must upgrade to this version before upgrading to future versions.
You must upgrade to 18.1.0 first and run python manage.py migrate_taxonomies before upgrading to this version.
What's Changed
- remove old taxonomy system (replaced with taxonomy topics) by @longhotsummer in #2057
- fix for approved_works -> works by @longhotsummer in #2058
- fix action modals by @longhotsummer in #2061
- New Crowdin updates by @longhotsummer in #2060
- New Crowdin updates by @longhotsummer in #2065
- Remove workflow by @actlikewill in #2059
- Include allauth social account details in user admin view by @longhotsummer in #2066
- fix for allauth template by @longhotsummer in #2067
- Task filters changes by @longhotsummer in #2069
- Task filters changes by @longhotsummer in #2070
- Task facets by @actlikewill in #2068
- latest docpipe by @longhotsummer in #2071
- New Crowdin updates by @longhotsummer in #2072
- global work-expressions api endpoint by @longhotsummer in #2075
- Edit commencements by @goose-life in #2073
- Content API improvements; swagger by @longhotsummer in #2076
- timeline tests by @longhotsummer in #2077
- Work form commencements by @goose-life in #2074
- make it less work to include extra urls in the content api by @longhotsummer in #2080
- Ensure a commenced work is always 'commenced' by @goose-life in #2078
- don't toggleCommenced anymore; use publication date in formset by @goose-life in #2079
- French translation fixes by @goose-life in #2081
- include docs for coverpage, resolver and media-url for html response … by @longhotsummer in #2082
- facet on frbr date by @longhotsummer in #2083
- add principal and subleg labels/badges to work titles by @longhotsummer in #2084
- fix task counts on work overview by @goose-life in #2085
- remove build dir, it should not be committed by @longhotsummer in #2086
- fix django-allauth dependency by @longhotsummer in #2089
- update crowdin to use github action by @longhotsummer in #2090
- fix permission by @longhotsummer in #2091
- All tasks view by @longhotsummer in #2094
- sorting, bug fix for all tasks view by @longhotsummer in #2095
- Javascript i18n by @longhotsummer in #2093
- javascript translations by @Sandravaphilips in #2096
- Task and work popup tweaks by @longhotsummer in #2097
- Disallow password reset emails to non-existent accounts by @longhotsummer in #2098
- fix bug where moving taxonomy topics didn't update slugs correctly by @longhotsummer in #2099
- New Crowdin updates by @longhotsummer in #2100
- tests and fixes for newlines in provision citation extraction by @longhotsummer in #2102
- New Crowdin updates by @longhotsummer in #2103
- New Crowdin updates by @longhotsummer in #2107
- provision ref citation fixes by @longhotsummer in #2105
- mark subtypes and (all) hierarchical elements for translation by @goose-life in #2108
- keep s with next if they have children by @goose-life in #2109
- re-block tasks that are blocked by other tasks after reopening them by @goose-life in #2110
- Bulk and unblock tasks in bulk by @goose-life in #2111
- Approved relationships by @goose-life in #2112
- Dont prefetch commencements by @goose-life in #2114
- latest docpipe by @longhotsummer in #2115
- Add explicit indigo error pages by @longhotsummer in #2116
- fix how sentry errors are reported for bg tasks by @longhotsummer in #2117
- anchor django-compressor by @longhotsummer in #2119
- PDFs by @goose-life in #2118
- PDF tweaks by @goose-life in #2123
- Dont notify inactive users by @goose-life in #2121
- don't Unhyphenate text when cleaning up (too many false positives) by @goose-life in #2120
- add migration for recent model changes by @goose-life in #2124
- update default badges' permissions by @goose-life in #2125
- migrations by @goose-life in #2126
- update the matrix correctly when adjusting tables; add tests by @goose-life in #2128
- squash and tweak indigo_api migrations by @goose-life in #2129
- Task tweaks by @goose-life in #2122
- latest law-widgets for updated term styling by @longhotsummer in #2131
- Move document with amendment by @goose-life in #2132
- make it possible to adjust frbr_uri uri used for publication document url by @longhotsummer in #2138
- PDF changes by @goose-life in #2139
- content api must return results even if a document isn't available in the country's default language by @longhotsummer in #2140
- Updated ref matchers to use docpipe matchers, to avoid duplicating code by @longhotsummer in #2141
- Fix dodgy popups by using tippy; turn off user popups by @longhotsummer in #2142
- Fix publication document bug by @goose-life in #2144
- add title to taxonomy topic label by @goose-life in #2146
- Provision references citator handles French by @longhotsummer in #2143
- update django.po files by @goose-life in #2147
- New Crowdin updates by @longhotsummer in #2149
- add chapter, part for nor in html_akn by @goose-life in #2151
- warn on approval if the import date is missing by @goose-life in #2152
- fall back to today when a document is ready to import by @longhotsummer in #2150
- make it possible to adjust analysis items in the toolbar by @longhotsummer in #2153
- Commencement bug by @goose-life in #2154
- rewrite all attachment FRBR URI work components after edit by @goose-life in #2159
- don't use the latest version of django-allauth just yet by @goose-life in #2161
- bad hrefs for FOP by @goose-life in #2160
- PDF frontmatter tweak by @goose-life in #2157
- move citation (FRBR URI) into its own block by @goose-life in #2164
- django 4.2 and updated dependencies by @longhotsummer in #2163
- Django 4.2, python >= 3.10 by @longhotsummer in #2162
- Dockerfile by @longhotsummer in #2165
- Bump sheet2dict from 0.1.1 to 0.1.5 by @dependabot[bot] in #1608
- Bump django-filter from 2.4.0 to 24.3 by @dependabot[bot] in #2167
- Bump terser from 5.14.1 to 5.31.6 by @dependabot[bot] in #2168
- rely on bootstrap from node modules by @longhotsummer in #2177
- akomantoso.org used by a domain squatter now, change references to OASIS URL by @paulmwatson in #2178
- monaco 0.50 by @longhotsummer in #2179
- Bump word-wrap from 1.2.3 to 1.2.5 by @dependabot[bot] in #2176
- Bump braces from 3.0.2 to 3.0.3 by @dependabot[bot] in #2175
- Bump webpack from 5.73.0 to 5.93.0 by @dependabot[bot] in #2181
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot[bot] in #1625
- Bump style-loader from 2.0.0 to 4.0.0 by @dependabot[bot] in #2183
- Bump eslint from 8.18.0 to 8.57.0 by @dependabot[bot] in #2182
- bootstrap must be available when compiling assets during deployment by @longhotsummer in #2184
- use new bootstrap to dismiss alerts by @longhotsummer in #2194
- include level when writing badge awards to db by @longhotsummer in #2195
- work-around for pasting by @longhotsummer in #2197
- latest indigo-akn to solve pasting bug properly by @longhotsummer in #2198
- fix all tables in newNodes before replacing oldNode by @goose-life in #2199
- bring back setting rowspans to a max -- FOP complains about empty rows by @goose-life in #2200
- remove old, unused metrics code by @longhotsummer in #2202
- Clean author / actor in work form by @goose-life in #2205
- update reverse_content_api to always return an absolute URL by @goose-life in #2206
- Taxonomy topic view adjustments by @longhotsummer in #2207
- Beautiful provisions by @goose-life in #2208
- Tasks linked to annotations (comments) have code = 'comment' by @longhotsummer in #2212
- PDF notices by @goose-life in #2213
- add xml to makemessages extensions; re-ran translation extraction by @goose-life in #2215
- bring subtypes matcher into the new world by @longhotsummer in #2216
- pin whitenoise to 5.3.0 by @longhotsummer in #2217
- Bump webpack from 5.93.0 to 5.94.0 by @dependabot[bot] in #2218
- provide for commencements without a date by @goose-life in #2220
- fix text matching when xpath not available by @longhotsummer in #2221
- Content Manager badge by @goose-life in #2223
- Facets can be negated by @longhotsummer in #2224
- Work chooser by @goose-life in #2225
- only create Amendment tasks from spreadsheet data by @goose-life in #2227
- saved searches for task and work views by @longhotsummer in #2228
- sort facets by labels by @longhotsummer in #2229
- publish the work title of a document separately to the expression title by @longhotsummer in #2232
- copy certain topics from principal works to incoming related works by @longhotsummer in #2233
- don't add second round of negations for sortby on the WorkFilterForm by @goose-life in #2237
- Use taxonomy tree component in work forms by @longhotsummer in #2241
- fix ordering options in task filter form by @longhotsummer in #2240
- give remarks a background colour by @longhotsummer in #2243
- Publication document – include has_trusted_url in serialized data by @goose-life in #2231
- Enforce unique attachment filenames on documents by @goose-life in #2245
- updated recaptcha namespace by @Sandravaphilips in #2236
- Fix pipeline bug by @goose-life in #2247
- Fix action missing bug by @goose-life in #2248
- Fix image antialias issue by @goose-life in #2249
- Add checks before blocking, unblocking, and cancelling tasks by @goose-life in #2252
- citator mustn't match subtypes mid-word, or lowercase by @longhotsummer in #2254
- Amendment / revision by @goose-life in #2255
- Update base html_akn XSL by @goose-life in #2260
- Refs subtype by @goose-life in #2264
- don't default to a language in the content api by @longhotsummer in #2265
- Make edit toolbar a bit easier to use and options more visible by @longhotsummer in #2266
- skip creating amendment tasks on approve by @goose-life in #2270
- Deal with duplicate commencements when they've been added elswhere by @goose-life in #2275
- fix email bug by @goose-life in #2280
- fix the link to create a new work from the work chooser by @goose-life in #2278
- fix the notices bug by @goose-life in #2279
- use commencement date if publication date is missing by @goose-life in #2281
- Sentence caser / accented terms by @goose-life in #2291
- Support "of that Act" for citations by @longhotsummer in #2292
- update dependencies for updated bluebell grammar by @longhotsummer in #2294
- Fixes for items in citation references, and others by @longhotsummer in #2299
- Panes by @longhotsummer in #2282
- support non-existent xml editor by @longhotsummer in #2301
- Fixes for document view: show structure, remarks, recent changes by @longhotsummer in #2306
- support lxml >= 5 by @longhotsummer in #2305
- fix background task bug by @longhotsummer in #2307
- Client-side bluebell parsing with pyodide by @longhotsummer in #2304
- prevent long lines of non-breakable content overflowing by @longhotsummer in #2308
- fix gutter issues for short gutter areas and long annotations by @longhotsummer in #2309
- default to title when there's no numbered title for an amending work by @goose-life in #2310
- Provision editing by @goose-life in #2277
- check parentNode, not parentElement (null when editing Entire document) by @goose-life in #2311
- include parent prefix when rewriting all eids by @goose-life in #2315
- remove broken link from principles.rst by @mscarey in #2317
- move /popup up so it doesn't load DocumentProvisionDetailView by @goose-life in #2318
- minor: add provision eid to title for navigation history by @goose-life in #2316
- tweaks to provision chooser page by @longhotsummer in #2321
- Live editing by @longhotsummer in #2320
- enable italicisation of portion by @goose-life in #2312
- change social logins to use post by @longhotsummer in #2327
- Provision-level PiT comparison by @goose-life in #2330
- Provision editing permissions, links by @goose-life in #2331
- Better re-rendering on quick-edit by @longhotsummer in #2332
- render coverpage last by @longhotsummer in #2334
- Common annotations by @goose-life in #2339
- Facets by @goose-life in #2340
- latest docpipe, use alias and title refs matchers by @longhotsummer in #2344
- counters by @goose-life in #2347
- process mutations in bulk by @longhotsummer in #2349
- wait before rendering issues by @goose-life in #2351
- if pyodide fails, then parse with the server by @longhotsummer in #2350
- support "sub section" in provision refs, strip punct around nums by @longhotsummer in #2352
- Handle refs to schedules by @longhotsummer in #2354
- correctly look up plural schedules by @longhotsummer in #2356
- Plural schedule refs by @longhotsummer in #2357
- improve diff navigation by @longhotsummer in #2358
- disable htmx's history support, ensure caching takes htmx into account by @longhotsummer in #2360
- fix N+1 query by @longhotsummer in #2362
- New bluebell versions by @goose-life in #2363
- New Crowdin updates by @longhotsummer in #2366
- guard against undefined nodes by @longhotsummer in #2370
- Translation fix by @goose-life in #2369
- bulk link-refs action for place view by @longhotsummer in #2376
- Support roman numerals in provision references by @longhotsummer in #2374
- add missing file by @longhotsummer in #2377
- taxonomy topics form should use pks not slugs by @longhotsummer in #2379
- fix TaxonomyTOC to use place codes as IDs by @longhotsummer in #2380
- ensure the comment form validates when just posting a comment by @longhotsummer in #2383
- cap sentry-sdk version by @longhotsummer in #2384
- Document task pane by @goose-life in #2381
- different targets for comment / submission buttons by @goose-life in #2385
- Footnote marker by @goose-life in #2386
- add French for 'Sub-title' by @goose-life in #2387
- Strip # from attachment filenames before saving by @goose-life in #2389
- don't break PDF when a num is an inline glyph by @goose-life in #2390
- introduce and use get_spans() for colspan and rowspan on a cell by @goose-life in #2392
- Tweak task pane logic for easier override by @goose-life in #2394
- Allow users with a Place Admin badge to see the Explorer for that place by @goose-life in #2397
- add blocking / unblocking task perms to ConverterBadge by @goose-life in #2398
- Repealed verb, note by @goose-life in #2401
- run apt-get update before install by @goose-life in #2403
- New Crowdin updates by @longhotsummer in #2402
- don't use 'refs-cap' citation matcher when linking references by @goose-life in #2404
- use placeholders for the cobalt RepealEvent by @goose-life in #2405
- Chapter number details by @goose-life in #2407
- Copy button etc by @goose-life in #2410
- upgrade law-widgets to 2.2.1 by @longhotsummer in #2412
- correct fixture file size by @longhotsummer in #2413
- update 'document_provision' URL to be more explicit by @goose-life in #2414
- include "/provision/" before the provision_eid by @goose-life in #2415
- update work_chapter_number() to deal with more scenarios by @goose-life in #2416
- try / except ValueError instead of pk check by @goose-life in #2417
- fake a click on the most recent point in time by @goose-life in #2418
- work out a default pit to compare to instead of always using the second-latest by @goose-life in #2420
- try to avoid deadlock by @longhotsummer in #2421
- filter out dead activities from list by @longhotsummer in #2422
- don't support lxml 6 just yet by @goose-life in #2426
- make DiffNavigator a reusable component by @longhotsummer in #2425
- Performance by @longhotsummer in #2424
- Fix commencements beautifier by @goose-life in #2423
- N plus 1 by @goose-life in #2427
- avoid counting in the db by @longhotsummer in #2428
- Basic async diffs by @longhotsummer in #2429
- bugs: handle case of no html, delete revisions with sql by @longhotsummer in #2430
- add 'id' to places_toc in AllTasksView by @goose-life in #2431
- add 'replaced' as a repealed verb choice by @goose-life in #2432
- block tasks the first time they're 'blocked by' another by @goose-life in #2433
- Async diffs for revisions; django 5.0 by @longhotsummer in #2435
- Support Django 5.0 by @longhotsummer in #2434
- fix bug where work may not have a pk and can't be used in a filter by @longhotsummer in #2437
- Adjust diffing to avoid marking unchanged elements as changed by @longhotsummer in #2438
- only compare against the remote doc's same portion if it exists by @goose-life in #2439
- make it easier to customise xlsx exporter by @longhotsummer in #2440
- make blockContainers quick-editable by @goose-life in #2441
- don't break if cleaned_data doesn't have 'provisions' by @goose-life in #2443
- Defns into blocks by @goose-life in #2442
- ignore a:act[@contains] when diffing by @longhotsummer in #2444
- Defs into blocks update by @goose-life in #2446
- propagate topics from principal works when amendments/commencements a… by @longhotsummer in #2447
- Defs in toc by @goose-life in #2445
- use resolver param as part of pdf caching for api by @longhotsummer in #2448
- Work chapter number by @goose-life in #2449
- correctly use resolver not resolver_url by @longhotsummer in #2450
- Fix get_place_string() by @goose-life in #2451
- Fix remove terms by @goose-life in #2452
- add 'disapplied' as a repealed_verb choice by @goose-life in #2453
- use the text() xpath, not the .text, of a to get the term by @goose-life in #2454
- Fix finding definitions sections by @goose-life in #2455
- use download_attachment, not view_attachment, in task_file_response by @goose-life in #2457
- cache akn diffs based on html fingerprints by @longhotsummer in #2460
- fix null activeItem by @longhotsummer in #2461
- fix e.g. /works/new/ leading to an IndexError by @goose-life in #2463
- Country cache by @longhotsummer in #2464
- only compare by default in provision editing mode by @goose-life in #2467
- No '(untitled)' for a work's short title by @goose-life in #2466
- avoid n+1 when checking for task assignee perms by @longhotsummer in #2469
- Performance improvements for document detail page by @longhotsummer in #2468
- avoid n+1 when loading work taxonomy topics by @longhotsummer in #2470
- task prefetches, remove unused code by @longhotsummer in #2472
- preload place settings for place listing views by @longhotsummer in #2471
- move amendment menu into htmx so that we avoid expensive per-amendmen… by @longhotsummer in #2473
- Remove unused preloads and work_json by @longhotsummer in #2474
- make work.main_commencement a first-class property by @longhotsummer in #2475
- Reduce N+1 for action timelines by @longhotsummer in #2476
- prefetches when rendering documents by @longhotsummer in #2477
- delete country-related badges when a country is deleted by @longhotsummer in #2478
- avoid loading user photos to avoid n+1 by @longhotsummer in #2480
- Task n plus 1 by @longhotsummer in #2479
- Docs n plus 1 by @longhotsummer in #2481
- N plus 1 by @longhotsummer in #2482
- make it possible to resolve internal refs against an explicit target by @longhotsummer in #2483
- prepare fop config once at startup by @longhotsummer in #2486
- rather update a temporary fop.xconf by @longhotsummer in #2487
- Bug fixes by @longhotsummer in #2488
- Prep for version 19 by @longhotsummer in #2491
New Contributors
- @Sandravaphilips made their first contribution in #2096
- @paulmwatson made their first contribution in #2178
- @mscarey made their first contribution in #2317
Full Changelog: v18.1.0...v19.0.0