Git Product home page Git Product logo

ckanext-cfpb-extrafields's People

Contributors

contolini avatar marcesher avatar ooblioob avatar sleitner avatar

Watchers

 avatar  avatar

ckanext-cfpb-extrafields's Issues

data explorer

We are coopting the resource preview from data explorer and this hack needs to be made more uniform and documented. The preview region block is currently used for:

  • Displaying data dictionaries
  • Displaying DSNs
  • Using the data explorer to view operational metadata

The first two items should live in their own new block(?)

The data explorer should move down and live in an expandable.

automatically create resource and redirect to edit page from resource_form

In solving #6 and #27, I want resources to be created on the backend and users to only ever see a resource_edit form (never a new_resource form). As of bf4128d
the resource_form has a button that makes this happen, but we need the redirect to be automatic. As-is, if I make the redirect automatic, I end up in an infinite loop of resource creation. Something happens after the whole page is loaded that allows a manual click to be successful (form_action gets changed?).

Specific field contents

OMB control number pick-1 options
Procurement Doc ID — what are the constraints on this field format
Subject matter -- should it be the same as tags?

Search

What do users want to be able to filter by?

  • What should be faceted?
  • Should Resources be searchable?
  • How should we handle searching binary variables?
  • Is selecting by dataset time period an important use-case?

WARNINGS in ckan logs

[Mon Jul 20 13:51:14 2015] [error] 2015-07-20 13:51:14,678 WARNI [ckan.lib.maintain] Function get_action() in module ckan.lib.helpers has been deprecated and will be removed in a later release of ckan. helpers.get_action() is deprecated and will be removed in a future version of CKAN. Instead, please use the extra_vars param to render() in your controller to pass results from action functions to your templates.
[Mon Jul 20 13:51:16 2015] [error] 2015-07-20 13:51:16,789 WARNI [ckan.lib.maintain] Use `c.search_facets` instead.
[Mon Jul 20 13:51:14 2015] [error] 2015-07-20 13:51:14,207 WARNI [ckan.lib.maintain] Function _resource_preview() in module ckan.controllers.package has been deprecated and will be removed in a later release of ckan. Resource preview is deprecated. Please use the new resource views
[Wed Jul 01 11:45:59 2015] [error] 2015-07-01 11:45:59,991 WARNI [ckan.logic] package 6de49b54-6aec-4714-bbd9-b553f36a27b9 in index but not in database
[Wed Jul 01 11:45:59 2015] [error] 2015-07-01 11:45:59,997 WARNI [ckan.logic] package 3c7f1e47-6878-46c6-9bc3-09ad23a6cc68 in index but not in database
[Wed Jul 01 11:46:00 2015] [error] 2015-07-01 11:46:00,002 WARNI [ckan.logic] package 441bff5a-492e-4e3c-b5e2-9e59425e05e9 in index but not in database

Checkmarx medium: Client Potential XSS

Method this._postGIST at line 23 of /ckanext/cfpb_extrafields/fanstatic/post_related_gist.js
gets user input for the ""value"" element. This element’s value then flows through the code
without being properly sanitized or validated and is eventually displayed to the user in method
this._postGIST at line 23 of /ckanext/cfpb_extrafields/fanstatic/post_related_gist.js. This may
enable a Cross-Site-Scripting attack.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.