Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge R1.4.1 changes #318

Merged
merged 32 commits into from
Aug 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5bfc6d4
Added direct link to CLA
tomschenkjr Jun 29, 2017
fd88294
update toc
reve0716 Jul 6, 2017
6ba78c7
images update
reve0716 Jul 6, 2017
b1a3f6d
update images
reve0716 Jul 6, 2017
4380120
test dec12,jpg
reve0716 Jul 7, 2017
c94669d
update dev user doc and yml file to rtd
reve0716 Jul 10, 2017
5babde8
format paragraph find data panel
reve0716 Jul 10, 2017
dbd7152
format file
reve0716 Jul 10, 2017
5d594e0
Merge branch 'dev' of https://github.com/Chicago/opengrid into dev
reve0716 Jul 10, 2017
1d2b6dd
??
Jul 11, 2017
6bca624
Use global replace of '#' for shared query links
rladines Jul 13, 2017
fb8693e
Use global replace of '#' for shared query links
rladines Jul 13, 2017
d3eac88
add new images
reve0716 Jul 13, 2017
5d13b3f
new images added
reve0716 Jul 13, 2017
8606ba9
add new images
reve0716 Jul 13, 2017
cd7debf
add remrks img
reve0716 Jul 13, 2017
eff2503
new img
reve0716 Jul 13, 2017
c952a57
adding new images
reve0716 Jul 13, 2017
dc7ca6c
new images added
reve0716 Jul 13, 2017
39d3bab
new images added
reve0716 Jul 13, 2017
671d67b
Added API key to OpenWeather calls
rladines Jul 17, 2017
2147893
Fixed Open Weather cloud cover layer URL
rladines Jul 17, 2017
6409d00
add images og
reve0716 Jul 18, 2017
7627f3a
added images to OG
reve0716 Jul 18, 2017
0fb939b
Switched OpenWeatherMap key
rladines Jul 24, 2017
92a1793
Corrected mistyped key
rladines Jul 24, 2017
40b532f
Fixed issue with array view deactivating when columns are selected/de…
rladines Jul 25, 2017
f3e7459
Merge pull request #317 from Chicago/iss235
tomschenkjr Jul 31, 2017
f456c10
Merge branch 'dev' into master
tomschenkjr Jul 31, 2017
4a4f835
Merge pull request #314 from cyanliu/master
tomschenkjr Jul 31, 2017
cdc7155
Merge pull request #315 from Chicago/iss301
tomschenkjr Aug 7, 2017
ec29bc2
Merge pull request #316 from Chicago/iss115
tomschenkjr Aug 7, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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');

}
});
});