Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Aser #398

Open
wants to merge 104 commits into
base: FixStoresLint
Choose a base branch
from
Open

Aser #398

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
493d99d
Merge pull request #333 from CatalystCode/ibex-version-1.0
Aug 23, 2017
0ae734e
Merge pull request #341 from CatalystCode/FixStoresLint
eladiw Aug 24, 2017
4e8215a
Fixing Toasts issue
eladiw Aug 24, 2017
daa6be8
Merge pull request #343 from CatalystCode/ibex-version-1.0
Aug 24, 2017
0497fce
Create dashboard with Icon Picker
Aug 24, 2017
8d82fd9
Removed autocomplete case-insensitive filter as it is on by default
Aug 24, 2017
b5a6c3e
Props and State same order
Aug 24, 2017
850ff4c
Added IconPicker listStyle prop
Aug 25, 2017
90e9932
IconPicker component with tests
Aug 25, 2017
c425170
removed test Toast warning
Aug 25, 2017
be71b8a
Merge pull request #347 from CatalystCode/iss346
deadlyfingers Aug 25, 2017
cb6fade
Instrumentation for Node / C# readme
Aug 26, 2017
7d151c2
updating format
Aug 27, 2017
dc1b565
Merge pull request #350 from CatalystCode/master
Aug 27, 2017
ffa3673
Merge pull request #344 from CatalystCode/iss275
Aug 27, 2017
625de82
Merge pull request #348 from CatalystCode/iss335
Aug 27, 2017
badcb3f
Merge pull request #351 from CatalystCode/ibex-version-1.0
Aug 27, 2017
2c02bb9
Update README.md
Sep 27, 2017
f2a4bcc
Update README.md
Sep 27, 2017
c85ca6b
Update README.md
Sep 27, 2017
3b1ddab
Separated custom user data into a"persistent" folder
itye-msft Oct 15, 2017
c6276b6
added new version and readme notice
itye-msft Oct 15, 2017
a8423bd
readme update
itye-msft Oct 15, 2017
f35f6c3
style applied to readme
itye-msft Oct 15, 2017
273c24b
style fix
itye-msft Oct 15, 2017
ecf77eb
Updating README
Oct 16, 2017
755e8a2
Merge pull request #355 from CatalystCode/itye/create-persistent-folder
Oct 16, 2017
a125f26
Make sure persistent missing folder doesn't crash site
morsh Nov 2, 2017
6702a90
update version + versions
morsh Nov 2, 2017
fd2f276
Move querying AI data from the client side to the server side (so we …
Nov 8, 2017
6ad349d
Merge pull request #361 from CatalystCode/features/yairip/moveApiCalls
Jan 3, 2018
c9555b1
fixing build to apply to all PRs
Jan 4, 2018
70aa988
fix vulnerability issues for github
morsh Jan 7, 2018
8f5f64f
Merge pull request #365 from Azure/ibex-version-1.1
Jan 7, 2018
c174dfe
fix firefox display issue
morsh Jan 7, 2018
5a151dc
Merge remote-tracking branch 'origin/ibex-version-1.1' into yairor-mo…
morsh Jan 7, 2018
c415cd8
fixing server to work
morsh Jan 7, 2018
6d92e73
updating repo name
morsh Jan 7, 2018
abe20af
updating tests with to reduce warnings and support AI server side
morsh Jan 7, 2018
42b6438
fix firefox bug
morsh Jan 7, 2018
0506a35
add masking to connection parts
morsh Jan 8, 2018
d5eb939
updating version and README
morsh Jan 8, 2018
8432dc8
update version in README
morsh Jan 8, 2018
c2af8d9
update tslink and fix relevant rules
morsh Jan 8, 2018
7eedf64
make travis push to source branch
morsh Jan 8, 2018
4d724d8
update travis-ci vars
morsh Jan 8, 2018
32a36d8
update push branch
morsh Jan 8, 2018
22d63e6
Merge 32a36d834678f2b43776cbe35cc02a3ca0fc0cff into 8432dc88d3e0f41a2…
Jan 8, 2018
fdd67c9
Travis build: 702
Jan 8, 2018
ad2d8e5
update travis message
morsh Jan 8, 2018
2b0dde8
Merge branch 'fix-travis-errors' of https://github.com/Azure/ibex-das…
morsh Jan 8, 2018
e84949a
wip travis
morsh Jan 8, 2018
c545802
update PR
morsh Jan 8, 2018
099af99
update message travis
morsh Jan 8, 2018
ec69bcb
travis wip
morsh Jan 8, 2018
02da7c8
updating build files
morsh Jan 9, 2018
d99bdc3
Merge 02da7c814a1bb0743fe6b21dcee6b75e3066c9fc into 8432dc88d3e0f41a2…
Jan 9, 2018
623d141
Travis build: 716
Jan 9, 2018
95f480e
updating travis build
morsh Jan 9, 2018
ab4be30
travis update build fix
morsh Jan 9, 2018
ed5144c
fix nothing to dispatch error
morsh Jan 9, 2018
7ea92d1
add build to push script (travis)
morsh Jan 9, 2018
0576b48
update map plugin
morsh Jan 9, 2018
6a68e02
Merge 0576b48376d0c598d07694793f243a2922be1029 into 8432dc88d3e0f41a2…
Jan 9, 2018
a67cc45
Travis build: 728
Jan 9, 2018
e9afbb5
build in travis only on PRs to master
morsh Jan 9, 2018
63ecf9f
Merge branch 'fix-travis-errors' of https://github.com/Azure/ibex-das…
morsh Jan 9, 2018
ea53540
fixed null on dashboard creation
morsh Jan 10, 2018
e60a388
Merge pull request #366 from Azure/fix-travis-errors
Jan 15, 2018
3e7a8ba
using recursive regex for faster processing
morsh Jan 18, 2018
bc3a1d7
Merge pull request #368 from Azure/dix-dashboard-api-run-faster
Jan 18, 2018
975433b
fixing tslint to remove warning
morsh Jan 18, 2018
3d8cebd
fixing code after code review
morsh Jan 18, 2018
c614b65
Merge 3d8cebd5178344dcc91e815891562880812f7659 into 8f5f64fbefc0586f4…
Jan 18, 2018
4599308
Travis build: 744
Jan 18, 2018
ef9e89c
updateing quick masking api
morsh Jan 18, 2018
b026c2a
Merge pull request #364 from Azure/yairor-move-api-calls
Jan 22, 2018
265c695
update release date
morsh Jan 22, 2018
082e6c9
update leaflet markers to fix bug with map
morsh Mar 11, 2018
c11b5d8
Merge 082e6c9959c5490c1a5b2c1521c69c225d367474 into 265c69520d96c69c6…
Mar 11, 2018
254f043
Travis build: 752
Mar 11, 2018
8c55afe
Merge pull request #371 from Azure/fix-367
Mar 11, 2018
99e6e0a
Fix doc blocks
wilsonge Apr 11, 2018
acabc27
Merge pull request #373 from wilsonge/patch-1
Apr 16, 2018
58a7b57
Merge pull request #1 from Azure/master
May 4, 2018
6d7a7c1
new datePickerFilter
May 4, 2018
5ea6860
datePicker added
May 4, 2018
96a3f30
datepickerExample on instrumentation dashboard && new build
May 8, 2018
8a8a57e
Merge pull request #374 from CristianPQ/master
May 9, 2018
401f175
Merge pull request #375 from Azure/CristianPQ-DateRangeFilter
May 30, 2018
4df221a
update some minor issues
morsh May 31, 2018
7494b5f
Merge 4df221acacb92d343b37413e58028629254c2a9c into 401f175226abfafec…
May 31, 2018
a7da8e6
Travis build: 768
May 31, 2018
57e1c98
update Dockerfile
morsh May 31, 2018
3c49712
Merge branch 'fix-no-data' of https://github.com/Azure/ibex-dashboard…
morsh May 31, 2018
4e337a0
Merge pull request #376 from Azure/fix-no-data
May 31, 2018
cc4c553
Fixed URL in 'DeployToAzure' Badge
joalmeid May 31, 2018
37924de
Merge pull request #378 from joalmeid/FixDeployToAzureBadge
Jun 1, 2018
246d0de
Allow for more timespan options
mikegoatly Jun 6, 2018
fcd5826
Render all hourly timespans as hours in timeline
mikegoatly Jun 6, 2018
8834c9d
Fixed broken tests
mikegoatly Jun 6, 2018
0c8961c
Merge pull request #379 from mikegoatly/timespan-options
Jun 7, 2018
01f5717
Fixed bug with preselected values in MenuFilter
EdwinOtten Aug 16, 2018
3d4e265
Merge pull request #389 from EdwinOtten/feature/bugfix_menufilter_pre…
Aug 16, 2018
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
2 changes: 1 addition & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

yarn build
# yarn build
37 changes: 31 additions & 6 deletions .travis/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

set -euo pipefail

readonly GITHUB_ORG="${GITHUB_ORG:-CatalystCode}"
readonly GITHUB_ORG="${GITHUB_ORG:-Azure}"
readonly GITHUB_REPO="${GITHUB_REPO:-ibex-dashboard}"
readonly TARGET_BRANCH="${TARGET_BRANCH:-master}"
readonly SOURCE_BRANCH="${SOURCE_BRANCH:-ibex-version-1.0}"
# readonly SOURCE_BRANCH="${SOURCE_BRANCH:-ibex-version-1.0}"

readonly AUTOCOMMIT_NAME="Travis CI"
readonly AUTOCOMMIT_EMAIL="[email protected]"
Expand All @@ -16,16 +16,40 @@ log() {
}

ensure_preconditions_met() {

log "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
log "TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST}"
log "TRAVIS_PULL_REQUEST_BRANCH: ${TRAVIS_PULL_REQUEST_BRANCH}"
log "TRAVIS_COMMIT: ${TRAVIS_COMMIT}"
log "TRAVIS_COMMIT_MESSAGE: ${TRAVIS_COMMIT_MESSAGE}"
log "TRAVIS_COMMIT_RANGE: ${TRAVIS_COMMIT_RANGE}"
log "TRAVIS_BUILD_NUMBER: ${TRAVIS_BUILD_NUMBER}"

# get last commit comment
ORIGINAL_COMMIT_ID="$(echo ${TRAVIS_COMMIT_RANGE} | cut -d '.' -f4)"
log "ORIGINAL_COMMIT_ID: ${ORIGINAL_COMMIT_ID}"
ORIGINAL_COMMIT_MESSAGE=$(git log --format=%B -n 1 $ORIGINAL_COMMIT_ID)
log "ORIGINAL_COMMIT_MESSAGE: ${ORIGINAL_COMMIT_MESSAGE}"

# If last commit was by travis build, ignore and don't push
if [ "${ORIGINAL_COMMIT_MESSAGE}" == "Travis build: "* ]; then
log "Last commit by Travis CI - Ignoring and existing"
exit 0
fi

if [ -z "${TRAVIS_PULL_REQUEST_BRANCH}" ]; then
log "Job is CI for a push, skipping creation of production build"
exit 0
fi
if [ "${TRAVIS_BRANCH}_${TRAVIS_PULL_REQUEST_BRANCH}" != "${TARGET_BRANCH}_${SOURCE_BRANCH}" ]; then

# Only if push is to master branch, include a build
if [ "${TRAVIS_BRANCH}" != "${TARGET_BRANCH}" ]; then
log "Skipping creation of production build"
log "We only create production builds for pull requests from '${SOURCE_BRANCH}' to '${TARGET_BRANCH}'"
log "but this pull request is from '${TRAVIS_PULL_REQUEST BRANCH}' to '${TRAVIS_BRANCH}'"
log "We only create production builds for pull requests to '${TARGET_BRANCH}'"
log "but this pull request is to '${TRAVIS_BRANCH}'"
exit 0
fi

if [ -z "${GITHUB_TOKEN}" ]; then
log "GITHUB_TOKEN not set: won't be able to push production build"
log "Please configure the token in .travis.yml or the Travis UI"
Expand All @@ -50,10 +74,11 @@ commit_build_files() {
}

push_to_github() {
git push origin-travis "${AUTOCOMMIT_BRANCH}:${SOURCE_BRANCH}"
git push origin-travis "${AUTOCOMMIT_BRANCH}:${TRAVIS_PULL_REQUEST_BRANCH}"
}

ensure_preconditions_met
create_production_build
setup_git
commit_build_files
push_to_github
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ RUN mkdir -p /usr/src/app/server
WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/
COPY package-lock.json /usr/src/app/
COPY yarn.lock /usr/src/app/
COPY package.json /usr/src/app/

COPY server/yarn.lock /usr/src/app/server
COPY server/package.json /usr/src/app/server
COPY server/package-lock.json /usr/src/app/server

COPY client/yarn.lock /usr/src/app/client
COPY client/package.json /usr/src/app/client
COPY client/package-lock.json /usr/src/app/client

RUN npm install yarn -g
RUN yarn
Expand Down
38 changes: 31 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
# Ibex Dashboard [![Build Status](https://travis-ci.org/CatalystCode/ibex-dashboard.png?branch=master)](https://travis-ci.org/CatalystCode/ibex-dashboard)
# Ibex Dashboard [![Build Status](https://travis-ci.org/Azure/ibex-dashboard.png?branch=master)](https://travis-ci.org/Azure/ibex-dashboard)

Ibex is a dashboarding application that enables building dashboard and templates.

[Ibex](http://aka.ms/ibex) is a dashboarding application that enables building dashboard and templates.
It mainly supports **Application Insights** but data sources and visual components are easily extendable.

## Changes

### Version 1.3 (January 22, 2018)

Version 1.3 contains the following changes:

* Moving application insights queries from client to server
* Updated tests to answer some security risks presented by GitHub
* Updated tests to accommodate the new approach
* Added masking/unmasking of connection parameters (so that client side can only update API KEY but not see what it is)
* Fixed small bugs with Firefox rendering

### Version 1.2 (October 16, 2017)
Version 1.2 breaks the persitency paths of dashboard files and custom templates. If you are upgrading to this version, copy your private dashboards from `/dashboards` into `/dashboards/persistent/` as follows:

> Private Files: Move files from `/dashboards/*.private.js` to `/dashboards/persistent/private`.

> Custom Templates: Move files from `/dashboards/customTemplates/*.private.ts` to `/dashboards/persistent/customTemplates`.

# Preview

[![Preview](/docs/images/bot-fmk-dashboard.png)](/docs/images/bot-fmk-dashboard.png)
Expand All @@ -14,7 +34,7 @@ It mainly supports **Application Insights** but data sources and visual componen
```bash
npm install yarn -g

git clone https://github.com/CatalystCode/ibex-dashboard
git clone https://github.com/Azure/ibex-dashboard
cd ibex-dashboard
yarn
yarn start
Expand Down Expand Up @@ -57,13 +77,13 @@ There are 3 ways to deploy to Azure:
1. Fork this repo (to be able to automatically create github deployment key)
2. Copy the fork url and use it with the following deployment button:

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Ftorosent%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapp%2Fazuredeploy.json" target="_blank">
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapp%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>

### 2. Web App On Linux - Automated with Docker Hub

<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FCatalystCode%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapponlinux%2Fazuredeploy.json" target="_blank">
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fibex-dashboard%2Fmaster%2Fscripts%2Fdeployment%2Fwebapponlinux%2Fazuredeploy.json" target="_blank">
<img src="http://azuredeploy.net/deploybutton.png"/>
</a>

Expand All @@ -77,7 +97,7 @@ There are 3 ways to deploy to Azure:

1. `docker build -t **image name** .`
2. `docker run -d -e PORT=80 **image name** `
3. Docker image is also available at Docker Hub - `docker pull catalystcode/ibex-dashboard`
3. Docker image is also available at Docker Hub - `docker pull morshemesh/ibex-dashboard`

# Application Insights Integration

Expand All @@ -99,6 +119,10 @@ The following steps explain how to connect **Application Insights** bot with you
6. Open the URL of your web app
7. Under **AppId**/**ApiKey** set the values you created.

### Adding Application Insights instrumentation to your bot
- [Instrumentation for Node.js bots](https://github.com/Azure/botbuilder-instrumentation)
- [Instrumentation for C# bots](https://github.com/Azure/botbuilder-instrumentation-cs)

# Testing
The test watcher is integrated into the create-react-app mechanism and runs tests related to files changes since the last commit.

Expand Down Expand Up @@ -159,4 +183,4 @@ Thinking about integrating with:
* Running node version 6.11 or above.

# License
MIT
MIT
8 changes: 4 additions & 4 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.a28d60f2.css",
"main.css.map": "static/css/main.a28d60f2.css.map",
"main.js": "static/js/main.fcbb67b2.js",
"main.js.map": "static/js/main.fcbb67b2.js.map"
"main.css": "static/css/main.526645cd.css",
"main.css.map": "static/css/main.526645cd.css.map",
"main.js": "static/js/main.462c17f8.js",
"main.js.map": "static/js/main.462c17f8.js.map"
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="/favicon.ico"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"/><title>React App</title><link href="/static/css/main.a28d60f2.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/static/js/main.fcbb67b2.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="/favicon.ico"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"/><title>React App</title><link href="/static/css/main.526645cd.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/static/js/main.462c17f8.js"></script></body></html>
1 change: 1 addition & 0 deletions build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions build/static/css/main.526645cd.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/css/main.526645cd.css.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions build/static/css/main.a28d60f2.css

This file was deleted.

1 change: 0 additions & 1 deletion build/static/css/main.a28d60f2.css.map

This file was deleted.

2 changes: 2 additions & 0 deletions build/static/js/main.462c17f8.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

93 changes: 0 additions & 93 deletions build/static/js/main.fcbb67b2.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.fcbb67b2.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion client/@types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ interface IElement {
/**
* The name of the element type to be used
* For a complete list follow:
* https://github.com/CatalystCode/ibex-dashboard/tree/master/docs#elements-plugins
* https://github.com/Azure/ibex-dashboard/tree/master/docs#elements-plugins
*/
type: string;
/**
Expand Down
6 changes: 0 additions & 6 deletions client/build/asset-manifest.json

This file was deleted.

Binary file removed client/build/favicon.ico
Binary file not shown.
Binary file removed client/build/images/bot-framework-preview.png
Binary file not shown.
1 change: 0 additions & 1 deletion client/build/index.html

This file was deleted.

1 change: 0 additions & 1 deletion client/build/static/css/main.43e63d1e.css.map

This file was deleted.

92 changes: 0 additions & 92 deletions client/build/static/js/main.8bbc9d4e.js

This file was deleted.

Loading