Skip to content

Commit

Permalink
Merge pull request #318 from Chicago/dev
Browse files Browse the repository at this point in the history
Merge R1.4.1 changes
  • Loading branch information
tomschenkjr authored Aug 7, 2017
2 parents de4bed8 + ec29bc2 commit 8fe5094
Show file tree
Hide file tree
Showing 25 changed files with 19 additions and 14 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
7 changes: 4 additions & 3 deletions docs/User Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ User Manual Icon – Link to accessing the user manual.
<li>
</td>
<td>
Zoom In and Zoom Out Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/image34.jpg">
Zoom In and Zoom Out Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/image34.jpg">
</td>
</ol>
</tr>
Expand All @@ -160,7 +160,7 @@ Zoom In and Zoom Out Icon <img src="https://raw.githubusercontent.com/Chicago/o
<li>
</td>
<td>
Reset Map View and Area Zoom Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/rest.jpg">
Reset Map View and Area Zoom Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/rest.jpg">
</td>
</ol>
</tr>
Expand Down Expand Up @@ -194,7 +194,7 @@ Zoom specification Icon <img src="https://raw.githubusercontent.com/Chicago/open
</td>
<td>
<p>
Layers Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/image39.jpg"> <br> Consist of a list of grid views and weather layers.
Layers Icon <img src="https://raw.githubusercontent.com/Chicago/opengrid/dev/docs/media/image39.jpg"> <br> Consist of list of grid views and weather layers.
</p>

<p>
Expand Down Expand Up @@ -397,6 +397,7 @@ Tweet dataset provides real-time data and automatically refreshes with new data
<p align="center"><b>Figure 8. Quick Search on Tweets</b></p>

<br>

### Find Data Panel

<b><i>Note: Manage Queries, Load Saved Query and Save Query As seen in the image below are configurations that can be enabled and disabled within the application. These attributes does not appear in opengrid.io.</i></b>
Expand Down
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.
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 8fe5094

Please sign in to comment.