Open data portal
Project description
uData
Customizable and skinnable social platform dedicated to (open)data.
The full documentation is hosted on Read the Docs.
Changelog
Current (in progress)
1.3.0 (2018-03-13)
Breaking changes
Switch to flask-cli and drop flask-script. Deprecated commands have been removed. #1364
Update card components to make them more consistent #1383 #1460
udata is now protocol (http/https) agnostic. This is now fully the reverse-proxy responsibility (please ensure that you are using SSL only in production for security purpose). #1463
Added more entrypoints and document them. There is no more automatically enabled plugin by installation. Plugins can now properly contribute translations. #1431
New features
Soft breaks in markdown is rendered as line return as allowed by the commonmark specifications, client-side rendering follows the same security rules #1432
Switch from OAuthlib/Flask-OUAhtlib to Authlib and support all grants type as well as token revocation #1434
Chunked upload support (big files support) #1468
Improve tasks/jobs queues routing #1487
Add the udata schedule|unschedule|scheduled commands #1497
Bug fixes and minor changes
Internals
Switch to pytest as testing tool and expose a udata pytest plugin #1400
1.2.11 (2018-02-05)
1.2.10 (2018-01-24)
Markdown rendering is now the same between the back and the frontend. #604
Make the dataset page reuses section and cards themable. #1378
ValueError is not hidden anymore by the Bad Request error page, it is logged. #1382
Spatial encoding fixes: prevent breaking unicode errors. #1381
Ensure the multiple term search uses a AND operator #1384
Facets encoding fixes: ensure lazy strings are propery encoded. #1388
Markdown content is now easily themable (namespaced into a markdown class) #1389
Fix discussions and community resources alignment on datasets and reuses pages #1390
Fix discussions style on default theme #1393
Ensure empty harvest jobs properly end #1395
1.2.9 (2018-01-17)
1.2.8 (2018-01-10)
Fix html2text dependency version #1362
1.2.7 (2018-01-10)
1.2.6 (2018-01-04)
Fix wrongly timed notification on dataset creation with misformed tags #1332
Fix topic creation #1333
Add a udata worker status command to list pending tasks.[breaking] The udata worker command is replaced by udata worker start. #1324
Prevent crawlers from indexing spammy datasets, reuses and organizations #1334 #1335
Ensure Swagger.js properly set jQuery.ajax contentType parameter (and so data is properly serialized) #1126
Allows theme to easily access the owner_avatar_url template filter #1336
1.2.5 (2017-12-14)
Fix misused hand cursor over the spatial coverage map in dataset admin #1296
Fix broken post edit page #1295
Display date of comments in dataset discussions #1283
Prevent `reindex` command from failing on a specific object and log error instead. #1293
Position the community resource link icon correctly #1298
Add a sort option to query of list of posts in API #1301
Import dropdown behavior from udata-gouvfr and fix hidden submenus on mobile #1297
show message for emtpy dataset search #1044
1.2.4 (2017-12-06)
Fix flask_security celery tasks context #1249
Fix dataset.quality handling when no format filled #1265
Ignore celery tasks results except for tasks which require it and lower the default results expiration to 6 hours #1281
Import community resource avatar style from udata-gouvfr #1288
Terms are now handled from markdown and customizable with the SITE_TERMS_LOCATION setting. #1285
Deeplink to resource #1289
1.2.3 (2017-10-27)
Check only the uncollapsed resources at first on dataset view #1246
1.2.2 (2017-10-26)
Fixes on the search index command #1245
1.2.1 (2017-10-26)
Introduce udata search index commmand to replace both deprecated `udata search init` and `udata search reindex` commands. They will be removed in udata 1.4. #1233
Rollback oauthlib from 2.0.5 to 2.0.2, pending a permanent solution #1237
Get cached linkchecker result before hitting API #1235
Cleanup resources checksum (migration) #1239
Show check results in resource modal #1242
Cache avatar rendering #1243
1.2.0 (2017-10-20)
New features ******** and big improvements
Expose harvester scheduling through the API and the admin interface #1123
Added a udata info command for diagnostic purpose #1179
Switch from static theme avatars/placeholders to identicons for readability (mostly on discussions) #1193
Move croquemort features to a generic link checker architecture #1110
CKAN and OpenDataSoft backends are now optionnal separate udata extensions #1213
Better search autocomplete #1222
Big post improvements (discussions support, navigation, fixes…) #1224
Breaking changes
Upgrade to Celery 4.1.0. All celery parameters should be updated. (See Celery options documentation #1150
Switch to Flask-Security. Flask-Security-Fork should be uninstalled before installing the new requirements #958
Miscellaneous changes and fixes
Display organization metrics in the organization page tab labels #1022
Organization dashboard page has been merged into the main organization page #1023
Fix an issue causing a loss of data input at the global search input level #1019
Fixes a lot of encoding issues #1146
Add .ttl and .n3 as supported file extensions #1183
Improve logging for adhoc scripts #1184
Improve URLs validation (support new tlds, unicode URLs…) #1182
Properly serialize empty geometries for zones missing it and prevent leaflet crash on invalid bounds #1188
Start validating some configuration parameters #1197
Remove resources without title or url [migration] #1200
Improve harvesting licenses detection #1203
Added missing delete post and topic admin actions #1202
Fix the scroll to a discussion sub-thread #1206
Fix duplication in discussions [migration] #1209
Display that a discussion has been closed #1216
Explicit dataset search reuse facet context (only known reuses) #1219
Optimize indexation a little bit #1215
Fix some reversed temporal coverage [migration] #1214
1.1.8 (2017-09-28)
1.1.7 (2017-09-25)
Prevent a random territory from being displayed when query doesn’t match #1124
Display avatar when the community resource owner is an organization #1125
Refactor the “publish as” screen to make it more obvious that an user is publishing under its own name #1122
Make the “find your organization” screen cards clickable (send to the organization page) #1129
Fix “Center the full picture” on user avatar upload #1130
Hide issue modal forbidden actions #1128
Ensure spatial coverage zones are resolved when submitted from the API or when querying oembed API. #1140
Prevent user metrics computation when the object owner is an organization (and vice versa) #1152
1.1.6 (2017-09-11)
Fix CircleCI automated publication on release tags #1120
1.1.5 (2017-09-11)
Fix the organization members grid in admin #934
Fix and tune harvest admin loading state and payload size #1113
Automatically schedule validated harvesters and allow to (re)schedule them #1114
Raise the minimum raven version to ensure sentry is filtering legit HTTP exceptions #774
Pin GeoJSON version to avoid breaking changes #1118
Deduplicate organization members #1111
1.1.4 (2017-09-05)
Fix packaging
1.1.3 (2017-09-05)
Make the spatial search levels exclusion list configurable through SPATIAL_SEARCH_EXCLUDE_LEVELS. #1101
Fix facets labelizer with html handling #1102
Ensure territories pages have image defined in metadatas #1103
Strip tags in autocomplete results #1104
Transmit link checker status to frontend #1048
Remove plus signs from search query #1048
1.1.2 (2017-09-04)
Handle territory URLs generation without validity #1068
Added a contact button to trigger discussions #1076
Improve harvest error handling #1078
Improve elasticsearch configurability #1096
Lots of fixes admin files upload 1094
Prevent the “Bad request error” happening on search but only on some servers #1097
Migrate spatial granularities to new identifiers
Migrate remaining legacy spatial identifiers #1080
Fix the discussion API documention #1093
1.1.1 (2017-07-31)
Fix an issue preventing reuse edition: #1027
Fix an issue preventing user display and edit in admin: #1030
Fix an error when a membership request is accepted: #1028
Fix issue modal on a reuse: #1026
Fix sort by date on admin users list: #1029
Improve the purge command #1039
Ensure search does not fail when a deleted object has not been unindexed yet #1063
Start using Celery queues to handle task priorities #1067
Updated translations
1.1.0 (2017-07-05)
New features ******** and improvements
Added a DCAT harvester and expose metadata as RDF/DCAT. #966 See the dedicated documentions:
Images are now optimized and you can force rerendering using the udata images render command.
Allowed files extensions are now configurable via the ALLOWED_RESOURCES_EXTENSIONS setting and both admin and API will have the same behavior #833.
Improve and fix notifications: #928
Changed notification style to toast
Fix notifications that weren’t displayed on form submission
Add a toggle indicator on dataset quality blocks that are collapsible #915
Integrating latest versions of GeoZones and GeoLogos for territories. Especially using history of towns, counties and regions from GeoHisto. #499
Breaking Changes
Themes are now entrypoint-based #829. There is also a new theming documention.
Images placeholders are now entirely provided by themes #707 #1006
Harvester declaration is now entrypoint-based #1004
Fixes
Ensure URLs are stripped #823
Lot of fixes and improvements on Harvest admin UI #817:
harvester edition fixed (and missing API added)
harvester deletion fixed
harvester listing is now paginated
more detailed harvesters widgets
ensure harvest source are owned by a user or an organization, not both [migration]
Pure Vue.js search facets #880. Improve and fix the datepicker:
Proper sizing and positionning in dropdowns
Fix initial value not being displayed
Make it usable on keyboard
Allows to define min and max values to disable some dates
Keyboard input is reflected into the calendar #615
Disable next button when no file has been uploaded #930
Fix badges notification mails #894
Fix the `udata search reindex` command #1009
Reindex datasets when their parent organization is purged #1008
Miscellaneous / Internal
Upgrade to Flask-Mongoengine 0.9.3, Flask-WTF 0.14.2, mongoengine 0.13.0. #812 #871 #903
Upgrade to Flask-Login 0.4.0 and switch from Flask-Security to the latest Flask-Security-Fork #813
Migrated remaining widgets to Vue.js #828:
bug fixes on migrated widgets (Issues button/modal, integrate popover, coverage map)
more coherent JS environment for developpers
lighter assets
drop Handlebars dependency
bleach and html5lib have been updated leading to more secure html/markdown cleanup and better performances #838
Drop jquery-slimscroll and fix admin menu scrolling #851
drop jquery.dotdotdot for a lighter css-only solution (less memory consumption) #853
Lighter style #869:
Drop glyphicons and use only Font-Awesome (more coherence, less fonts)
lighter bootstrap style by importing only what’s needed
make use of bootstrap and admin-lte variables (easier for theming)
proper separation between front and admin style
Drop ExtractTextPlugin on Vue components style:
Pure Vue.js modals. Fix the default membership role. Added contribute modal. #873
Easier Vue.js development/debugging:
Drop Vue.config.replace = false: compatible with Vue.js 1/2 and no more style guessing #760
name on all components: no more Anonymous Component in Vue debugger
No more Fragments
More ES6 everywhere
Make metrics deactivable for tests #905
1.0.11 (2017-05-25)
1.0.10 (2017-05-11)
1.0.9 (2017-04-23)
1.0.8 (2017-04-14)
1.0.7 (2017-04-07)
1.0.6 (2017-04-01)
Default values are properly displayed on dataset form #745
Prevent a redirect on discussion fetch #795
API exposes both original and biggest thumbnail for organization logo, reuse image and user avatar #824
Restore the broken URL check feature #840
Temporarily ignore INSPIRE in ODS harvester #837
Allow X-API-KEY and X-Fields in cors preflight headers #841
1.0.5 (2017-03-27)
1.0.4 (2017-03-01)
1.0.3 (2017-02-21)
1.0.2 (2017-02-20)
Transform udata_version jinja global into a reusable (by themes) package_version #768
Ensure topics datasets and reuses can display event with a topic parameter #769
Raise a 400 Bad Request when a bad class attribute is provided to the API (for entry point not using forms). #772
Fix datasets with spatial coverage not being indexed #778
Ensure theme assets cache is versionned (and flushed when necessary) #781
Raise maximum tag length to 96 in order to at least support official INSPIRE tags #782
Properly raise 400 error on transfer API in case of bad subject or recipient #784
Fix broken OEmbed rendering #783
Improve crawlers behavior by adding some meta[name=robots] on pages requiring it #777
1.0.1 (2017-02-16)
Pin PyMongo version (only compatible with PyMongo 3+)
1.0.0 (2017-02-16)
Breaking Changes
2016-05-11: Upgrade of ElasticSearch from 1.7 to 2.3 #449
You have to re-initialize the index from scratch, not just use the `reindex` command given that ElasticSearch 2+ doesn’t provide a way to delete mappings anymore. The command is `udata search init` and may take some time given the amount of data you are dealing with.
2017-01-18: User search and listing has been removed (privacy concern)
New & Improved
2017-01-06: Add some dataset ponderation factor: temporal coverage, spatial coverage, certified provenance and more weight for featured ones. Need reindexation to be taken into account.
2016-12-20: Use all the Dublin Core Frequencies plus some extra frequencies.
2016-12-01: Add the possibility for a user to delete its account in the admin interface
In some configurations, this feature should be deactivated, typically when there is an SSO in front of udata which may cause some inconsistencies. In that case, the configuration parameter DELETE_ME should be set to False (True by default).
2016-05-12: Add fields masks to reduce API payloads #451
The addition of fields masks in Flask-RESTPlus allows us to reduce the retrieved payload within the admin — especially for datasets — and results in a performances boost.
Fixes
Deprecation
Theses are deprecated and support will be removed in some feature release. See Deprecation Policy.
- Theses frequencies are deprecated for their Dublin Core counter part:
fortnighly ⇨ biweekly
biannual ⇨ semiannual
realtime ⇨ continuous
0.9.0 (2017-01-10)
First published version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file udata-1.3.1.dev7389-py2.py3-none-any.whl
.
File metadata
- Download URL: udata-1.3.1.dev7389-py2.py3-none-any.whl
- Upload date:
- Size: 23.5 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 849dd93d6f90fb05e607ba13fed0a93ff54c658196a6ef0b4abf5b53eb471353 |
|
MD5 | bb57a2e9307694c335f11687e8eae831 |
|
BLAKE2b-256 | 65008bec8d4ac18fa36232e26935f26df8972bb2ba0f78a8f8b1f9d5c554c3d1 |