Skip to content

Commit

Permalink
Merge pull request #6 from Chicago/master
Browse files Browse the repository at this point in the history
OG 1.4.1
  • Loading branch information
nfspeedypur authored Aug 14, 2017
2 parents 447edb6 + 8fe5094 commit b8c5f67
Show file tree
Hide file tree
Showing 26 changed files with 142 additions and 115 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ When you are ready to submit a pull request, please following these instructions
git push origin my-fix-branch
```

* Sign the [Contributor License Agreement](https://www.clahub.com/agreements/Chicago/opengrid). If you have any questions or issues, please visit the [license agreement's repository](https://github.com/Chicago/contributor-license-agreement).
* In GitHub, send a pull request to `opengrid:dev`. Please add a descriptive title and description of the changes. Please reference issues or prior conversations, if applicable.
* Interact with the development team as questions and conversation arises.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ After the release package has been built deploy the files under the ./dist folde

## Submit a bug

We would like to hear about any bugs or odd behavior that you uncover. Use the [issue tracker](../../../issues/) to open a new item. When describing the issue, we recommend that you discuss the following items:
We would like to hear about any bugs or odd behavior that you uncover. Use the [issue tracker](../../issues/) to open a new item. When describing the issue, we recommend that you discuss the following items:

* Describe the bug
* Describe the steps you did to discover the bug
Expand Down
230 changes: 126 additions & 104 deletions docs/User Documentation.md

Large diffs are not rendered by default.

Binary file added docs/media/ADDRESSSRCH_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/OR.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/media/Thumbs.db
Binary file not shown.
Binary file added docs/media/and.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/andoper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/barg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/heat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/linegraph.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/mltisng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/mpkey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/nofilter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/notes1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/orexp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/piech.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/remarks.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/rtime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/status.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/media/tile1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ site_description: Explore your space with OpenGrid
site_author: City of Chicago

repo_url: https://github.com/Chicago/opengrid
theme: readthedocs

pages:
- Home: index.md
Expand Down
10 changes: 5 additions & 5 deletions src/js/custom/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ ogrid.Config = {
overlayLayers: [{
groupName: 'Open Weather Layers',
name: 'Cloud Cover',
url: 'http://{s}.tile.openweathermap.org/clouds/precipitation/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/clouds/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -115,7 +115,7 @@ ogrid.Config = {
},{
groupName: 'Open Weather Layers',
name: 'Quantity of Precipitation',
url: 'http://{s}.tile.openweathermap.org/map/precipitation/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/precipitation/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -125,7 +125,7 @@ ogrid.Config = {
}, {
groupName: 'Open Weather Layers',
name: 'Sea Level Pressure',
url: 'http://{s}.tile.openweathermap.org/map/pressure_cntr/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/pressure_cntr/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand All @@ -135,7 +135,7 @@ ogrid.Config = {
}, {
groupName: 'Open Weather Layers',
name: 'Temperature',
url: 'http://{s}.tile.openweathermap.org/map/temp/{z}/{x}/{y}.png',
url: 'http://{s}.tile.openweathermap.org/map/temp/{z}/{x}/{y}.png?APPID=8e0f9d1de886ff78c6bab40f2e6d1afe',
useEsri: false,
options: {
attribution: 'Map data (c) OpenWeatherMap',
Expand Down Expand Up @@ -264,4 +264,4 @@ ogrid.Config = {
url: 'http://opengrid.readthedocs.org/en/latest/User%20Documentation',
type: 'icon' //valid values are 'button' or 'icon'
}
};
};
4 changes: 2 additions & 2 deletions src/js/ux/AdvancedSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ ogrid.AdvancedSearch = ogrid.Class.extend({

//register with browser history
if (query.geoFilter && query.geoFilter.boundary === '_map-extent') {
hasher.setHash("query?q=" + JSON.stringify(query).replace('#', encodeURIComponent('#')) + "&loc=" + this._getMapLocation() + "&run=" + autoexec + randomData);
hasher.setHash("query?q=" + JSON.stringify(query).replace(/#/g, encodeURIComponent('#')) + "&loc=" + this._getMapLocation() + "&run=" + autoexec + randomData);
} else {
hasher.setHash("query?q=" + JSON.stringify(query).replace('#', encodeURIComponent('#')) + "&run=" + autoexec + randomData);
hasher.setHash("query?q=" + JSON.stringify(query).replace(/#/g, encodeURIComponent('#')) + "&run=" + autoexec + randomData);
}
},

Expand Down
6 changes: 4 additions & 2 deletions src/js/ux/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ ogrid.Main = ogrid.Class.extend({
}
console.log(o);

//#issue 115; replace hash here or we'll get an error
o.q = o.q.replace(encodeURIComponent('#'), "#");
var regex = new RegExp(encodeURIComponent('#'),'g');

//#issue 115; replace hash here or we'll get an error
o.q = o.q.replace(regex, '#');

me._loadQuery(
o.q,
Expand Down
3 changes: 2 additions & 1 deletion src/js/ux/TableView.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ ogrid.TableView = ogrid.Class.extend({
//events to handle re-activation of popovers (for now, use the same event handler)
$t.on('page-change.bs.table', $.proxy(this._onPageChange, this));
$t.on('sort.bs.table', $.proxy(this._onPageChange, this));
$t.on('column-switch.bs.table', $.proxy(this._onPageChange, this));

//highlight of clicked row
$t.on('click', 'tbody tr', function(e) {
Expand Down Expand Up @@ -679,4 +680,4 @@ ogrid.TableView = ogrid.Class.extend({
//$t.bootstrapTable('resetView');

}
});
});

0 comments on commit b8c5f67

Please sign in to comment.