Releases: laws-africa/indigo
Releases · laws-africa/indigo
v18.1.0
What's Changed
- Don't let empty links break PDF by @goose-life in #1782
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #1654
- add as_at_date_override to bulk importer, updater by @goose-life in #1793
- note on installing psycopg2-binary in dev / production by @longhotsummer in #1798
- update law-widgets version to 1.5.0 for latest styles by @goose-life in #1795
- ignore generated app css files by @nicksonlangat in #1800
- fix commencements beautifier bug by @goose-life in #1801
- Tree taxonomy by @actlikewill in #1788
- Fix active class for taxonomy table by @actlikewill in #1805
- Fix bulk creator by @goose-life in #1809
- avoid tempfile error; better fop exceptions; quiten fop non-error output by @longhotsummer in #1810
- Topics by @longhotsummer in #1814
- Work commencement description by @goose-life in #1813
- use len(), not .count(), on WorkMixin by @goose-life in #1817
- Show current source document by @actlikewill in #1815
- Bulk user permissions by @actlikewill in #1812
- introduce hier-container, heading-keyword templates by @goose-life in #1818
- Timeline by @goose-life in #1821
- parse bytes, not strings by @longhotsummer in #1824
- update allauth dependency by @actlikewill in #1827
- API v3 by @goose-life in #1825
- Timeline tweaks by @goose-life in #1831
- tweak commenceable provisions logic by @goose-life in #1838
- tweak TermsFinderENG by @goose-life in #1841
- Escape AoS by @goose-life in #1840
- include 'Schedule' in AoS; don't assume all akn-blocks have a num by @goose-life in #1842
- Escape AoS: deal with Schedules by @goose-life in #1843
- Swahili by @goose-life in #1844
- show all explorer results as collapsed by default by @goose-life in #1848
- deal with partial single commencements by @goose-life in #1850
- fix filterset with DRF API by @longhotsummer in #1851
- Add conn_max_age by @actlikewill in #1852
- PDF translation support, and write XML using buffer by @goose-life in #1849
- Project taxonomy by @actlikewill in #1846
- Provision refs resolver by @longhotsummer in #1832
- Refs resolver supports text documents by @longhotsummer in #1853
- Force HTML parser to use utf-8 by @longhotsummer in #1854
- bug fix for citator by @longhotsummer in #1855
- don't treat local html doc as akn by @longhotsummer in #1856
- PDF static content by @goose-life in #1857
- handle another html edge case by @longhotsummer in #1858
- widen slug field for deeply nested topics by @longhotsummer in #1863
- Add topics to bulk creator by @goose-life in #1862
- Migrate projects --> Taxonomy topics by @goose-life in #1861
- increase locality code to 100, place code to 120 by @goose-life in #1868
- taxonomy topic serializer loads tree once (for each root) by @longhotsummer in #1871
- Details and sorting by @goose-life in #1874
- Work list overview tab by @goose-life in #1870
- cleaner tabs by @longhotsummer in #1873
- Tweaks by @longhotsummer in #1876
- Advanced form tweaks by @goose-life in #1875
- Work list facets by @actlikewill in #1872
- make subtypes multichoice, make 'Acts only' work by @goose-life in #1877
- Work detail changes by @goose-life in #1878
- include all doctypes in subtype filter by @goose-life in #1879
- Document tweaks by @goose-life in #1880
- Facet fix by @goose-life in #1881
- Work list v2 by @longhotsummer in #1869
- add multiple commencements facet by @goose-life in #1882
- support hyphens / emdash for provision ref ranges by @longhotsummer in #1883
- Provision citation range by @goose-life in #1885
- include the ends of XML, XSL, and FOP config in error output by @goose-life in #1888
- Facets by @goose-life in #1889
- fix unicode pit diff by @longhotsummer in #1891
- Work listing tweaks by @goose-life in #1890
- Work actions by @goose-life in #1893
- small tweaks to layout of work details by @longhotsummer in #1894
- move date first in all related-work tables by @goose-life in #1895
- check perms for bulk actions by @longhotsummer in #1897
- smarter taxonomy topic tree that supports checkboxes by @longhotsummer in #1896
- make facets not sticky, lower max height by @goose-life in #1900
- tweak work actions by @goose-life in #1898
- use download_xsl_url rather than relying on the request path by @goose-life in #1899
- add 'Select all' checkbox by @goose-life in #1901
- Pubdoc htmx tweaks by @longhotsummer in #1905
- Publication document with htmx by @actlikewill in #1892
- change title to 'New work' for new works by @goose-life in #1906
- Place works list improvements by @longhotsummer in #1907
- Work form with htmx by @longhotsummer in #1886
- include all elements in the document ToC by @goose-life in #1908
- Place works query improvement by @longhotsummer in #1910
- law-widgets 1.5.1 by @longhotsummer in #1911
- include main commencement date in form initial by @goose-life in #1914
- add missing 'regulations' (other all have plurals) by @goose-life in #1916
- Update allauth templates and dependency by @actlikewill in #1915
- add FindPossibleDuplicatesView and friends by @goose-life in #1912
- fix context['work_pks'] to be e.g. '1 2 3 4' again by @goose-life in #1918
- remove text-nowrap from FRBR URIs by @goose-life in #1919
- latest docpipe, limit lxml version by @longhotsummer in #1921
- sentry: ignore /static/ and wrap bg tasks by @longhotsummer in #1920
- improve task page performance by loading assignees on demand by @longhotsummer in #1922
- don't include trailing slash after works in breadcrumbs by @goose-life in #1923
- disable the button if a consolidation exists at the default date by @goose-life in #1924
- Bootstrap v5 by @actlikewill in #1917
- fix progress bar, toggle buttons by @longhotsummer in #1925
- Work in progress by @goose-life in #1904
- make all work fixtures approved by @goose-life in #1927
- Bulk actions by @longhotsummer in https://github.com/laws-africa/...
18.0.0
What's Changed
- Prevent table editor from clobbering rich content by @longhotsummer in #1451
- add more actions to the toolbar by @goose-life in #1460
- Don't render duplicate issues by @longhotsummer in #1462
- build(deps): bump nokogiri from 1.13.1 to 1.13.4 by @dependabot in #1445
- Popup enrichments for linter issues by @longhotsummer in #1459
- Fix iteration issue by @goose-life in #1464
- replace call to tableToAkn by @longhotsummer in #1466
- Remove definitions by @goose-life in #1470
- Fix debatereport bulk import by @goose-life in #1477
- New Crowdin updates by @longhotsummer in #1480
- New Crowdin updates by @longhotsummer in #1482
- New Crowdin updates by @longhotsummer in #1483
- add check for mimetype when stashing images on import by @goose-life in #1485
- New Crowdin updates by @longhotsummer in #1488
- New Crowdin updates by @longhotsummer in #1489
- Reduce dependency on local indigo-web by @longhotsummer in #1495
- use latest indigo-web (8.1.2) by @goose-life in #1493
- build(deps): bump nokogiri from 1.13.4 to 1.13.6 by @dependabot in #1476
- Add french locale translation placeholders by @longhotsummer in #1490
- Use indigo-akn and web-components from npm by @longhotsummer in #1501
- Page counts by @goose-life in #1486
- Portions by @longhotsummer in #1504
- portuguese by @longhotsummer in #1505
- New Crowdin updates by @longhotsummer in #1506
- Portions by @longhotsummer in #1508
- New Crowdin updates by @longhotsummer in #1507
- Additional translation extraction by @longhotsummer in #1509
- build(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #1472
- Bump y18n from 4.0.0 to 4.0.3 by @dependabot in #1498
- Bump ssri from 6.0.1 to 6.0.2 by @dependabot in #1497
- Bump elliptic from 6.5.3 to 6.5.4 by @dependabot in #1510
- build(deps): bump nanoid from 3.1.23 to 3.3.3 by @dependabot in #1463
- build(deps): bump moment from 2.24.0 to 2.29.3 by @dependabot in #1473
- Replace libsass with dart sass by @longhotsummer in #1512
- Fix for epub generation by @longhotsummer in #1513
- Bump eslint from 7.32.0 to 8.18.0 by @dependabot in #1496
- Update to webpack 5 and latest eslint by @longhotsummer in #1520
- remove unused dependency on django-taggit by @longhotsummer in #1518
- Bump sass-loader from 12.1.0 to 13.0.2 by @dependabot in #1503
- Bump moment from 2.29.3 to 2.29.4 by @dependabot in #1519
- Use range functionality from indigo-akn. by @longhotsummer in #1517
- monaco 0.33.0 by @longhotsummer in #1523
- update indigo-akn by @longhotsummer in #1528
- translations up to end of files in indigo_app/templates/indigo_api by @longhotsummer in #1529
- Fix create_or_update on DocumentMetrics model by @goose-life in #1535
- Maintenance mode by @longhotsummer in #1539
- no numbered title for Acts with text numbers by @goose-life in #1543
- New Crowdin updates by @longhotsummer in #1511
- Xpath explorer by @goose-life in #1548
- rename html_to_akn_text_act --> akn for generic case by @goose-life in #1555
- update term_re to include all quotes on either side by @goose-life in #1545
- Components by @longhotsummer in #1557
- support alternation in term_re, only mark up matching quotes by @goose-life in #1565
- import all la-web-components by @longhotsummer in #1567
- Work frbr fields by @longhotsummer in #1568
- Only save updated fields by @longhotsummer in #1569
- Sentry Integration by @ro6ley in #1575
- compile epub scss during normal process by @longhotsummer in #1576
- Bulk Import Repeals Tweak by @ro6ley in #1585
- Better diffs and defined terms in all hierarchical elements by @longhotsummer in #1590
- Front end logic for time tracking document edits by @musangowope in #1588
- Add styling to accommodate wide document content by @musangowope in #1593
- Document Edit Activity by @ro6ley in #1580
- Use iso 639 2T language codes by @longhotsummer in #1594
- fix additional language code references by @longhotsummer in #1596
- Commencement Date Filter Fix by @ro6ley in #1597
- Don't consider a future commencement date as initial by @longhotsummer in #1601
- Better error display by @musangowope in #1604
- add padding bottom to toc so items are above label by @musangowope in #1605
- Handle Unknown Commencement Date on Bulk Imports by @ro6ley in #1606
- N+1 Fixes by @ro6ley in #1607
- Set SERVER_EMAIL to the same as DEFAULT_FROM_EMAIL by @longhotsummer in #1611
- Principal Works by @ro6ley in #1610
- Publication dates optional on country object by @longhotsummer in #1612
- Optional pub date fix by @longhotsummer in #1613
- Published Document Serializer Tweak by @ro6ley in #1614
- replace la-web-components with law-widgets by @longhotsummer in #1617
- New Crowdin updates by @longhotsummer in #1554
- updated indigo-akn dependency by @longhotsummer in #1623
- Add TLS/SSL Email Support by @buff0k in #1624
- Show consolidation note more by @goose-life in #1631
- Use statusText for error reporting of editTimes in fetch function by @musangowope in #1630
- add work_amendments to PublishedDocumentSerializer by @goose-life in #1632
- Split out HTML differ logic from attribute differ logic by @longhotsummer in #1634
- create import-content task on principal works (not non-stubs) by @goose-life in #1636
- Error report response.text() and editTimes by @musangowope in #1639
- update average words per page from 250 to 370 by @goose-life in #1640
- Prevent pushing a timeslot if editStartedAt empty by @musangowope in #1644
- DOCX mime type constant by @longhotsummer in #1653
- Bulk updater by @goose-life in #1645
- add disclaimer by @goose-life in #1660
- make tags to strip when diffing configurable by @longhotsummer in #1661
- subclass Form for ChapterMixin by @goose-life in #1662
- Fix bulk importer / updater by @goose-life in #1668
- latest docpipe by @longhotsummer in #1669
- Link multiple (active) amendments on bulk import by @goose-life in #1670
- allow w...
17.0.0
What's Changed
- Prune deleted documents updated more than 90 days ago by @longhotsummer in #1351
- Crossheadings and attachment eIds by @longhotsummer in #1348
- Disconnect signals. Guard against no updater_by_user by @longhotsummer in #1352
- Support pdf override by @goose-life in #1311
- Rewrite eids when updating/deleting attachments by @longhotsummer in #1355
- Allow works to repeal themselves by @goose-life in #1358
- Wrap tables so that their scrolling can be controlled on small screens by @longhotsummer in #1353
- Correctly handle table attributes by @longhotsummer in #1361
- La toc by @musangowope in #1363
- update indigo-app.js by @musangowope in #1365
- La akn by @musangowope in #1366
- Prevent too many tasks from being assigned. by @longhotsummer in #1367
- Show badge perms to all users by @longhotsummer in #1369
- add CSS for bulleted lists by @goose-life in #1344
- Django 2.2.25 by @longhotsummer in #1371
- Use la-akoma-ntoso to show document structure by @longhotsummer in #1370
- Clarify the use of doctypes through settings.py by @buff0k in #1364
- Guard against top-level TOC without children by @longhotsummer in #1375
- new indigo-web, web-components by @goose-life in #1377
- web-components update by @goose-life in #1383
- Run webpack when committing to master by @longhotsummer in #1384
- Annotation, task and other serializer performance improvements by @longhotsummer in #1391
- Tweaks to data migrations by @longhotsummer in #1392
- Date and consolidation phrasing on coverpage by @goose-life in #1388
- Update Django-Countries-Plus by @buff0k in #1390
- eol to br by @longhotsummer in #1394
- Pipelines by @longhotsummer in #1398
- La gutter replacement by @musangowope in #1397
- Commencement selected options fix by @musangowope in #1401
- Updated docs by @longhotsummer in #1407
- models.js: add if a is truthy for destroy function by @musangowope in #1408
- create fix for ResizeObserver loop limit exceeded on xml editor by @musangowope in #1411
- Django 3.2 by @ro6ley in #1409
- Django 3.2 Deploy Fixes by @ro6ley in #1414
- Django 3 fixes by @ro6ley in #1417
- Fix for serializers by @longhotsummer in #1418
- add new indigo_api translation strings by @goose-life in #1422
- Fix scrolling to active gutter items by increasing scroll top offset by @musangowope in #1423
- Intelligently choose best next/prev annotation when scrolling by @longhotsummer in #1425
- V 17 date by @goose-life in #1426
- Don't load full model during data migrations by @longhotsummer in #1427
Full Changelog: v16.0.0...v17.0.0
16.0.0
What's Changed
- update update_commencements to work with new beautifier by @goose-life in #1323
- Bump nokogiri from 1.11.7 to 1.12.5 by @dependabot in #1326
- Smarter toc provision calculations and caching by @longhotsummer in #1325
- Toc vue implementation tweaks by @longhotsummer in #1328
- Prevent toc indent from shrinking, restrict growth by @longhotsummer in #1329
- eslint for new js by @longhotsummer in #1330
- Toc vue implementation by @musangowope in #1312
- document_toc.js: add rebuild function for external use by @musangowope in #1331
- add button type attribute to buttons of TOC component, so it can work in a form by @musangowope in #1332
- Possible Changes for Production Installation by @buff0k in #1321
- Test against python 3.6, 3.7 and 3.8 by @longhotsummer in #1334
- Query improvements by @longhotsummer in #1336
- Requirements by @longhotsummer in #1337
- Filter multiple commencements by @goose-life in #1338
- Support import text from PDF override by @goose-life in #1343
- Optionally disable reporting javascript errors by @longhotsummer in #1346
- Pubdocs by @longhotsummer in #1349
- new version 16.0.0 by @goose-life in #1350
New Contributors
Full Changelog: v15.0.1...v16.0.0
15.0.1
- FIX: update_commencements management command updated.
- FEATURE: New Content API Badge for controlling who can use the Content API.
- FEATURE: Admins can now remove badges from the contributor detail page.
- NEW: Commencements below the section level supported.
Important
After updating to this version, you must run the update_commencements management command.
14.0.0
- FEATURE: Authorities and resolvers support priorities; highest priority for multiple matches wins.
- BREAKING: Indigo now always requires authentication. Support for unauthenticated use is removed because it is too difficult and risky to support allowing both types of access.
- FEATURE: Enforce view permissions for countries, tasks, workflows, works and documents.
- BREAKING: Default badge permissions have changed. Run python manage.py award_badges.
- FEATURE: Configure the badges assigned to new users through INDIGO_SOCIAL['new_user_badges']
- FEATURE: Support underlines with __
- FIX: Export all extra properties on XLSX export.
Important
After updating to this version, you must manually grant the Contributor badge to your users from each user's profile view (from /contributors). The badge grants basic read-only permissions and will be automatically awarded to new users.
13.1.2
- FEATURE: Introduce 'commencement note', which can give extra context when the commencement date is unclear.
13.1.1
- SECURITY: Bump bootstrap-select to 1.13.18
- FEATURE: New 'blocked' state for tasks introduced, with the option of listing one or more blocking tasks.
- FIX: Start using indigo-akn v1.3.1, which allows us to adjust tables' column widths again.
- FIX: Helper to support reversing content API URLs.
- NEW: Introduce Place Admin Permission Badge for editing place settings; move this permission out of 'Super Reviewer' badge.
- NEW: Bulk creator now supports overriding the date of a commencement / amendment / repeal if it's different from the commencement date of the affecting work.
- NEW: All extra properties are now shown on bulk import.
13.1.0
- FEATURE: Filter tasks by type, country in all Task list views.
- FEATURE: Export all works in a place into a maintainable spreadsheet.
- FEATURE: Bulk creator now supports linking all active and passive, parent and child relationships.
- FEATURE: The text given on the coverpage of a document when no publication document is linked can now be specified per place.
- FIX: Taxonomies that include spaces and/or commas are now imported correctly.
- FIX: Comment-based tasks now show their context even if the annotation doesn't have a parent in the ToC.
- NEW: Commenceable provisions on the coverpage of a document now only include provisions that exist(ed) on or before the date of the document.
- NEW: Introduce Taxonomist Permission Badge for working with Taxonomies in the Admin section.
- NEW: Show 'Stub' status in Preview on bulk import.
13.0.0
- BREAKING: Replace migrations with squashed migrations permanently
Important
When updating to this version, you must change your Django migrations to declare dependencies on the latest squashed migrations provided by Indigo.
- For indigo_api, this is 0001_squashed_0137
- For indigo_app, this is 0001_squashed_0021