From 0ecf750c95c03d92363e9558569c21f17b62e289 Mon Sep 17 00:00:00 2001 From: Mark Nyon Date: Fri, 4 Sep 2015 00:34:51 -0400 Subject: [PATCH] Removed unused HOWTO from other project; #11 - docs/DEVELOPMENT.md - Removed a HOWTO that was included from another project. --- docs/DEVELOPMENT.md | 51 +-------------------------------------------- 1 file changed, 1 insertion(+), 50 deletions(-) diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index d7f59d023..b43ab6f8a 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -9,53 +9,4 @@ developed for the site. This will be adjusted over time Here are a list of style guides and standards found and used for this drywall site. -# [Google JSON Style Guide](https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml) - -## HOWTOs: - -### HOWTO Add a filter to the requests admin (http:///admin/requests) - -1. In `views/admin/requests/index.jade`, add a filter to the list of filters - in the Underscore template id `tmpl-filters`. Note; there are currently 6 - filter boxes on this page, so if more are to be added, it might be good - to have a UI person check those out. - -2. In the `find()` function in `views/admin/requests/index.js`, the query that - returns the requests to the frontend is the [Sequelize](http://sequelize.readthedocs.org/en/latest/) [findAll()](http://sequelize.readthedocs.org/en/latest/docs/querying/#where) - function. This is located in the getResults() function expression. - - Currently, certain query parameters are used for certain filters. - * The `beginDate` and `endDate` params are used for date range filtering - - * The `search` param is used for an ILIKE query. - - * The `offset` and `limit` params are used for limiting ranges - - * The `region` param is used to filter by region - - Each of these maps to a [Sequelize operator](http://sequelize.readthedocs.org/en/latest/docs/querying/#operators) or clause. - - * `beginDate` and `endDate` are used with the $between operator. - - * `offset` and `limit` are optional parameters to the findAll query - - - -## Notes: - -### DB Table Usage for Red Cross Smoke Alarm App. This lists the models (and accompanying tables) and their current status regarding the application. The tables that are not used -are candidates for removal later. - -* Account - Used by Drywall for user management. -* Admin - Used by Drywall for user management. -* AdminGroup - Used by Drywall for user management. -* Category - Part of Drywall package, but not used for this application. -* LoginAttempt - Used by Drywall for user management. -* Message - Part of Drywall package, but not used for this application. -* Note - Part of Drywall package, but not used for this application. -* Requests - Used in this application. -* SelectedCounties - Used in this application. -* Status - Part of Drywall package, but not used for this application. -* StatusLog - Part of Drywall package, but not used for this application. -* UsAddress - Used in this application. -* User - Used by Drywall for user management. \ No newline at end of file +# [Google JSON Style Guide](https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml) \ No newline at end of file