Changelog
### 3.1.0
```
- :warning: Use pip-tools for requirements management [2642](https://github.com/opendatateam/udata/pull/2642)[#2650](https://github.com/opendatateam/udata/pull/2650)[#2651](https://github.com/opendatateam/udata/pull/2651). Please [read the doc](https://github.com/opendatateam/udata/blob/master/docs/development-environment.md#python-and-virtual-environment) if you are a udata developer.
- :warning: Check db integrity and apply temporary and permanent fixes [2644](https://github.com/opendatateam/udata/pull/2644) :warning: the associated migrations can take a long time to run.
- :warning: Upgrade to Flask-1.1.4 [2639](https://github.com/opendatateam/udata/pull/2639)
- Safeguard `User.delete()` [2646](https://github.com/opendatateam/udata/pull/2646)
- Fix user delete command [2647](https://github.com/opendatateam/udata/pull/2647)
- Protect `test_ignore_post_save_signal` from weak ref error while testing [2649](https://github.com/opendatateam/udata/pull/2649)
- Update translations following frontend refactoring (a lot of translations have been moved to udata-gouvfr) [2648](https://github.com/opendatateam/udata/pull/2648)
- Fix RDF output content negociation [2652](https://github.com/opendatateam/udata/pull/2652)
- Update Pillow dependency to 8.0.0 [2654](https://github.com/opendatateam/udata/pull/2654)
- Add more fixes on HarvestSource and HarvestJobs for db integrity [2653](https://github.com/opendatateam/udata/pull/2653/files)
```
### 3.0.4
```
- Now returning notfound() http exception when router does not match any territory object instead of None [2637](https://github.com/opendatateam/udata/pull/2637)
- Add larger reuse thumbnail image [2638](https://github.com/opendatateam/udata/pull/2638)
- Activate plugins before creating app when testing [2643](https://github.com/opendatateam/udata/pull/2643)
```
### 3.0.3
```
- Remove mail sending task on follow [2635](https://github.com/opendatateam/udata/pull/2635)
- Fix root api endpoint error [2636](https://github.com/opendatateam/udata/pull/2636)
```
### 3.0.2
```
- Fix sentry id event logging [2364](https://github.com/opendatateam/udata/pull/2634)
- Fix remote resource upload [2632](https://github.com/opendatateam/udata/pull/2632)
```
### 3.0.1
```
- Remove apidoc blueprint, moved to udata-gouvfr [2628](https://github.com/opendatateam/udata/pull/2628)
- New migration to update community resources schema from string to dict [2629](https://github.com/opendatateam/udata/pull/2629)
```
### 3.0.0
```
- :warning: **breaking change**: most of the theme/templates logic has been moved to https://github.com/etalab/udata-gouvfr. `udata` no longer contains a default theme. In the 3.x series, we hope it will be usable as a "headless" open data platform, but for now you probably need to plug your own theme or use udata-gouvfr. [More info about this change here](https://github.com/opendatateam/udata/blob/master/docs/roadmap/udata-3.md#the-road-to-udata3). [2522](https://github.com/opendatateam/udata/pull/2522)
- Migrate from raven to sentry-sdk [2620](https://github.com/opendatateam/udata/pull/2620)
- Add a UdataCleaner class to use udata's markdown configuration on SafeMarkup as well [2619](https://github.com/opendatateam/udata/pull/2619)
- Fix schema name display in resource modal [2617](https://github.com/opendatateam/udata/pull/2617)
```
### 2.7.1
```
- Add migration to roolback on resource's schema's name to None [2615](https://github.com/opendatateam/udata/pull/2615)
```
### 2.7.0
```
- Modify `schema` field to resource. This field is now a nested field containing two sub-properties `name` and `version` [2600](https://github.com/opendatateam/udata/pull/2600).
- Add a `schema_version` facet to the dataset search (need to be reindex to appear in results) [2600](https://github.com/opendatateam/udata/pull/2600).
```
### 2.6.5
```
- Fix create user by API [2609](https://github.com/opendatateam/udata/pull/2609)
- Add sqlite, db and ics to allowed extensions [2610](https://github.com/opendatateam/udata/pull/2610)
- Better markup parsing [2611](https://github.com/opendatateam/udata/pull/2611):
- Geozone's and Resource type's labelize function return None if no object is found.
- New SafeMarkup class, which inherits from Markup, uses Bleach to sanitize Markup class.
```
### 2.6.4
```
- Enhance self endpoint verification [2604](https://github.com/opendatateam/udata/pull/2604)
```
### 2.6.3
```
- Extraction of translation's strings [2602](https://github.com/opendatateam/udata/pull/2602)
```
### 2.6.2
```
- Fix SECURITY_CONFIRMABLE=False [2588](https://github.com/opendatateam/udata/pull/2588)
- Support dct:license on DCAT harvester [2589](https://github.com/opendatateam/udata/pull/2589)
- Admin small enhancements [2591](https://github.com/opendatateam/udata/pull/2591):
- The sidebar "Me" label has been renamed "Profile"
- The user's profile now displays the user's email
- The button "Edit" and the dropdown were merged. The button is now only a dropdown listing the actions.
- "Edit" action has been renamed to "Edit the dataset/reuse/organization/profile" according to the current object to edit.
- Add `nofollow` attribute to links in discussions comments [2593](https://github.com/opendatateam/udata/pull/2593)
- Add pip upgrade in circle's publish step [2596](https://github.com/opendatateam/udata/pull/2596)
- Pin Twine's version [2597](https://github.com/opendatateam/udata/pull/2597)
- Pin twine'version in circle's publish step [2598](https://github.com/opendatateam/udata/pull/2598)
```
### 2.6.1
```
- Fix url_for method in organization's catalog's view [2587](https://github.com/opendatateam/udata/pull/2587)
```
### 2.6.0
```
- Add resource's description and title size limit [2586](https://github.com/opendatateam/udata/pull/2586)
- Add RDF catalog view for organizations [2583](https://github.com/opendatateam/udata/pull/2583)
```
### 2.5.1
```
- Add title's and description's length limit in forms [2585](https://github.com/opendatateam/udata/pull/2585)
```
### 2.5.0
```
- Change reuse's form's label name to title [2575](https://github.com/opendatateam/udata/pull/2575)
- Unpublished posts are no longer served by the `Post.list` API endpoint [2578](https://github.com/opendatateam/udata/pull/2578)
- Read only mode can now be toggled in settings [2565](https://github.com/opendatateam/udata/pull/2565):
- Toggles a warning banner on the frontend view and a warning toast on the admin view.
- Prevents new users to register.
- Prevents non admin users to create new content such as organizations, datasets, community resources or discussions.
- Will return a `423` response code to any non-admin request to endpoints specified in `METHOD_BLOCKLIST` setting.
- Existing content can still be updated.
- Add an alert block in layout template, to be overrided in installed theme [2580](https://github.com/opendatateam/udata/pull/2580)
```
Links
- PyPI: https://pypi.org/project/udata
- Changelog: https://pyup.io/changelogs/udata/
- Repo: https://github.com/opendatateam/udata
This PR updates udata from 2.4.1 to 3.1.0.
Changelog
### 3.1.0 ``` - :warning: Use pip-tools for requirements management [2642](https://github.com/opendatateam/udata/pull/2642)[#2650](https://github.com/opendatateam/udata/pull/2650)[#2651](https://github.com/opendatateam/udata/pull/2651). Please [read the doc](https://github.com/opendatateam/udata/blob/master/docs/development-environment.md#python-and-virtual-environment) if you are a udata developer. - :warning: Check db integrity and apply temporary and permanent fixes [2644](https://github.com/opendatateam/udata/pull/2644) :warning: the associated migrations can take a long time to run. - :warning: Upgrade to Flask-1.1.4 [2639](https://github.com/opendatateam/udata/pull/2639) - Safeguard `User.delete()` [2646](https://github.com/opendatateam/udata/pull/2646) - Fix user delete command [2647](https://github.com/opendatateam/udata/pull/2647) - Protect `test_ignore_post_save_signal` from weak ref error while testing [2649](https://github.com/opendatateam/udata/pull/2649) - Update translations following frontend refactoring (a lot of translations have been moved to udata-gouvfr) [2648](https://github.com/opendatateam/udata/pull/2648) - Fix RDF output content negociation [2652](https://github.com/opendatateam/udata/pull/2652) - Update Pillow dependency to 8.0.0 [2654](https://github.com/opendatateam/udata/pull/2654) - Add more fixes on HarvestSource and HarvestJobs for db integrity [2653](https://github.com/opendatateam/udata/pull/2653/files) ``` ### 3.0.4 ``` - Now returning notfound() http exception when router does not match any territory object instead of None [2637](https://github.com/opendatateam/udata/pull/2637) - Add larger reuse thumbnail image [2638](https://github.com/opendatateam/udata/pull/2638) - Activate plugins before creating app when testing [2643](https://github.com/opendatateam/udata/pull/2643) ``` ### 3.0.3 ``` - Remove mail sending task on follow [2635](https://github.com/opendatateam/udata/pull/2635) - Fix root api endpoint error [2636](https://github.com/opendatateam/udata/pull/2636) ``` ### 3.0.2 ``` - Fix sentry id event logging [2364](https://github.com/opendatateam/udata/pull/2634) - Fix remote resource upload [2632](https://github.com/opendatateam/udata/pull/2632) ``` ### 3.0.1 ``` - Remove apidoc blueprint, moved to udata-gouvfr [2628](https://github.com/opendatateam/udata/pull/2628) - New migration to update community resources schema from string to dict [2629](https://github.com/opendatateam/udata/pull/2629) ``` ### 3.0.0 ``` - :warning: **breaking change**: most of the theme/templates logic has been moved to https://github.com/etalab/udata-gouvfr. `udata` no longer contains a default theme. In the 3.x series, we hope it will be usable as a "headless" open data platform, but for now you probably need to plug your own theme or use udata-gouvfr. [More info about this change here](https://github.com/opendatateam/udata/blob/master/docs/roadmap/udata-3.md#the-road-to-udata3). [2522](https://github.com/opendatateam/udata/pull/2522) - Migrate from raven to sentry-sdk [2620](https://github.com/opendatateam/udata/pull/2620) - Add a UdataCleaner class to use udata's markdown configuration on SafeMarkup as well [2619](https://github.com/opendatateam/udata/pull/2619) - Fix schema name display in resource modal [2617](https://github.com/opendatateam/udata/pull/2617) ``` ### 2.7.1 ``` - Add migration to roolback on resource's schema's name to None [2615](https://github.com/opendatateam/udata/pull/2615) ``` ### 2.7.0 ``` - Modify `schema` field to resource. This field is now a nested field containing two sub-properties `name` and `version` [2600](https://github.com/opendatateam/udata/pull/2600). - Add a `schema_version` facet to the dataset search (need to be reindex to appear in results) [2600](https://github.com/opendatateam/udata/pull/2600). ``` ### 2.6.5 ``` - Fix create user by API [2609](https://github.com/opendatateam/udata/pull/2609) - Add sqlite, db and ics to allowed extensions [2610](https://github.com/opendatateam/udata/pull/2610) - Better markup parsing [2611](https://github.com/opendatateam/udata/pull/2611): - Geozone's and Resource type's labelize function return None if no object is found. - New SafeMarkup class, which inherits from Markup, uses Bleach to sanitize Markup class. ``` ### 2.6.4 ``` - Enhance self endpoint verification [2604](https://github.com/opendatateam/udata/pull/2604) ``` ### 2.6.3 ``` - Extraction of translation's strings [2602](https://github.com/opendatateam/udata/pull/2602) ``` ### 2.6.2 ``` - Fix SECURITY_CONFIRMABLE=False [2588](https://github.com/opendatateam/udata/pull/2588) - Support dct:license on DCAT harvester [2589](https://github.com/opendatateam/udata/pull/2589) - Admin small enhancements [2591](https://github.com/opendatateam/udata/pull/2591): - The sidebar "Me" label has been renamed "Profile" - The user's profile now displays the user's email - The button "Edit" and the dropdown were merged. The button is now only a dropdown listing the actions. - "Edit" action has been renamed to "Edit the dataset/reuse/organization/profile" according to the current object to edit. - Add `nofollow` attribute to links in discussions comments [2593](https://github.com/opendatateam/udata/pull/2593) - Add pip upgrade in circle's publish step [2596](https://github.com/opendatateam/udata/pull/2596) - Pin Twine's version [2597](https://github.com/opendatateam/udata/pull/2597) - Pin twine'version in circle's publish step [2598](https://github.com/opendatateam/udata/pull/2598) ``` ### 2.6.1 ``` - Fix url_for method in organization's catalog's view [2587](https://github.com/opendatateam/udata/pull/2587) ``` ### 2.6.0 ``` - Add resource's description and title size limit [2586](https://github.com/opendatateam/udata/pull/2586) - Add RDF catalog view for organizations [2583](https://github.com/opendatateam/udata/pull/2583) ``` ### 2.5.1 ``` - Add title's and description's length limit in forms [2585](https://github.com/opendatateam/udata/pull/2585) ``` ### 2.5.0 ``` - Change reuse's form's label name to title [2575](https://github.com/opendatateam/udata/pull/2575) - Unpublished posts are no longer served by the `Post.list` API endpoint [2578](https://github.com/opendatateam/udata/pull/2578) - Read only mode can now be toggled in settings [2565](https://github.com/opendatateam/udata/pull/2565): - Toggles a warning banner on the frontend view and a warning toast on the admin view. - Prevents new users to register. - Prevents non admin users to create new content such as organizations, datasets, community resources or discussions. - Will return a `423` response code to any non-admin request to endpoints specified in `METHOD_BLOCKLIST` setting. - Existing content can still be updated. - Add an alert block in layout template, to be overrided in installed theme [2580](https://github.com/opendatateam/udata/pull/2580) ```Links
- PyPI: https://pypi.org/project/udata - Changelog: https://pyup.io/changelogs/udata/ - Repo: https://github.com/opendatateam/udata