Skip to main content

uData customizations for Data.gouv.fr

Project description

uData-gouvfr

Join the chat at https://gitter.im/etalab/udata-gouvfr

uData customizations for Etalab / Data.gouv.fr.

Note: This is a uData extension, you should read the uData documentation first.

Compatibility

udata-gouvfr requires Python 2.7+ and uData.

Installation

Install uData.

Remain in the same Python virtual environment and install udata-gouvfr:

pip install udata-gouvfr

Create a local configuration file udata.cfg in your udata directory (or where your UDATA_SETTINGS point out) or modify an existing one as following:

PLUGINS = ['gouvfr']
THEME = 'gouvfr'

Development

Prepare a udata development environment.

It is recommended to have a workspace with the following layout:

$WORKSPACE
├── fs
├── udata
│   ├── ...
│   └── setup.py
├── udata-gouvfr
│   ├── ...
│   └── setup.py
└── udata.cfg

The following steps use the same Python virtual environment and the same version of npm (for JS) as udata.

Clone the udata-gouvfr repository into your workspace and install it in development mode:

git clone https://github.com/etalab/udata-gouvfr.git
pip install -e udata-gouvfr

Modify your local udata.cfg configuration file as following:

PLUGINS = ['gouvfr']
THEME = 'gouvfr'

You can execute udata-gouvfr specific tasks from the udata-gouvfr directory.

ex: Build the assets:

cd udata-gouvfr
npm install
inv assets-build

You can list available development commands with:

inv -l

Changelog

1.6.2 (2018-11-17)

  • Konami code 🥚 #362 NB: this is not a release worth installing except on data.gouv.fr.

1.6.1 (2018-11-05)

  • Add a BAL badge #347
  • Remove TOS opt-in subtext #349

1.6.0 (2018-10-02)

  • Make use of assets manifest for long term caching #328
  • Discussion add card style coherence #339
  • Remove a duplicate rule on .dataset-container h3

1.4.4 (2018-08-27)

  • Fix the multisearch labels position #330

1.4.3 (2018-08-08)

  • Fix the navbar toggle button position 🎊 #327

1.4.2 (2018-07-30)

  • Add a reference on the page about SPD #318

1.4.1 (2018-06-06)

  • Fix packaging

1.4.0 (2018-06-06)

  • Typed resources related styles #265
  • Enforce a domain whitelist when resource.filetype is file (migration) #292
  • Use new pypi.org links #295
  • Ensure active users have a confirmed_at date (migration) #298
  • Remove credits page #306
  • Fix modal-lg width #311
  • Add tracking and privacy page #310

1.3.2 (2018-03-28)

  • Limit number of forum topics #284
  • Use new OEmbed cards in datasets recommandations #285
  • Fix the RSS popover not being clickable #287
  • Drop the custom style for non-certified datasets #288

1.3.1 (2018-03-15)

  • Fix some cards positionning

1.3.0 (2018-03-13)

  • Make use of udata pytest plugin #254
  • Expose new entrypoints. Plugins and theme translations are now splitted #263
  • Align card components design #252 #272
  • Discourse timeout and response parse error catch #267
  • Add tracking on home page call to action #271
  • Add tracking on carousel elements #268
  • Temporary carousel layout #274
  • Add tracking of dataset recommendations #277

1.2.5 (2018-02-05)

1.2.4 (2018-01-24)

  • Licenses: Update SHOM attachment + fix BAN URL #249

1.2.3 (2018-01-17)

  • Add the homologation of CC-BY-SA for SHOM #244
  • Dataset recommendations #243
  • Move some discussions style into udata core #251

1.2.2 (2017-12-14)

1.2.1 (2017-12-06)

  • Export community resource avatar style to udata #233
  • Drop the terms.html template. Terms and conditions are now externalized and use the udata core template. (See udata#1285) #232

1.2.0 (2017-10-20)

  • Use new search blueprint from uData #224

1.1.2 (2017-09-04)

  • Fixes some spacing issues on dataset and reuses page buttons #209
  • Fix some wrong spatial coverages #213
  • Fix translations collision on contact #211 #212
  • Updated some translations

1.1.1 (2017-07-31)

  • Updated translations

1.1.0 (2017-07-05)

  • Use the new entrypoint-based theme management #164
  • Adjust the dataset reuses title overflow for proper display #172
  • Drop glyphicons, remove some useless classes and upgrade to bootstrap 3.3.7 #177
  • Use the core publish action modal #178
  • Fix the deuil header not being an SVG #180
  • Integrating latest versions of GeoZones and GeoLogos for territories. Especially using history of towns, counties and regions from GeoHisto. #499
  • Add the missing placeholders #194
  • Use the udata.harvesters entrypoint #195
  • Revamp actionnable tabs #189
  • Remove .btn-more class #191

1.0.9 (2017-06-28)

  • Nothing yet

1.0.8 (2017-06-21)

1.0.7 (2017-06-20)

  • Added a Licences page #181

1.0.6 (2017-04-18)

  • Fixed numbering in system integrator FAQ (thanks to Bruno Cornec) #174
  • Added a footer link to the SPD page #176

1.0.5 (2017-04-06)

  • Added a missing translation
  • Alphabetical ordering on SPD datasets

1.0.4 (2017-04-05)

  • Introduce SPD page and badge

1.0.3 (2017-02-27)

  • Translations update
  • Switch udata-js link to metaclic #161

1.0.2 (2017-02-21)

  • Optimize png images from theme #159
  • Optimize png images sizes for territory placeholders #788

1.0.1 (2017-02-20)

  • Ensure missing FAQ sections raises a 404 #156
  • Provide deep PyPI versions links into the footer #155
  • Provide proper cache versionning for theme assets #155

1.0.0 (2017-02-16)

  • Remove some main menu entries (events, CADA, Etalab)
  • Use a new SVG logo
  • Apply changes from uData 1.0.0

0.9.1 (2017-01-10)

  • First published release

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

udata_gouvfr-1.6.2-py2.py3-none-any.whl (4.6 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file udata_gouvfr-1.6.2-py2.py3-none-any.whl.

File metadata

  • Download URL: udata_gouvfr-1.6.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.13

File hashes

Hashes for udata_gouvfr-1.6.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3103de417c7ee4b3022b83270c81f1de0c00928cd1806669a2db91e36dfb880d
MD5 c53ecd208909bf1b1b822338d277e201
BLAKE2b-256 d58f95e5345e5d1a1ab12e69c934d3942817bc7551c015064665b6e227c511fb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page