-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into isosurface
* origin/master: Optimize performance for the list request /api/datasets (#3441) add annotation dataset foreign key (#3482) thumbnails: correctly use zoom value if specified (#3487) Store Meshes in Postgres (#3367) fix alpha return (#3483) Added script to apply all new evolutions (#3427) Simple fix to speed up dataset gallery (#3480) better errors for screenshot tests, fix imports, refresh screenshots (#3479) (Backend only) Add project priority to progress report json (#3476) Handle missing write access on datastore (#3411) Re-introduce "Flightmode improvements"" (#3473) Circleci-notify: linkify PR number (#3469) Revert "Flightmode improvements" (#3472) also flow-ignore binaryData when using symlinks (#3471) Flightmode improvements (#3392) Circleci custom notification (#3465) enable /api/switch cross-organization (#3464)
- Loading branch information
Showing
102 changed files
with
1,958 additions
and
773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/env bash | ||
set -Eeuo pipefail | ||
|
||
if [ "${CIRCLE_BRANCH}" == "master" ] ; then | ||
author=${CIRCLE_USERNAME} | ||
author=${author/fm3/<@florian>} | ||
author=${author/jstriebel/<@jonathan>} | ||
author=${author/daniel-wer/<@daniel>} | ||
author=${author/georgwiese/<@georg>} | ||
author=${author/hotzenklotz/<@tom>} | ||
author=${author/jfrohnhofen/<@johannes>} | ||
author=${author/MichaelBuessemeyer/<@michael>} | ||
author=${author/normanrz/<@norman>} | ||
author=${author/philippotto/<@philipp>} | ||
author=${author/rschwanhold/<@robert>} | ||
author=${author/tmbo/<@tmbo>} | ||
author=${author/valentin-pinkau/<@valentin>} | ||
channel="webknossos-bots" | ||
commitmsg=$(git log --format=%s -n 1) | ||
pullregex="(.*)#([0-9]+)(.*)" | ||
while [[ $commitmsg =~ $pullregex ]] | ||
do | ||
commitmsg="${BASH_REMATCH[1]}#<https://github.com/scalableminds/webknossos/issues/${BASH_REMATCH[2]}|${BASH_REMATCH[2]}>${BASH_REMATCH[3]}" | ||
done | ||
buildlink="<https://circleci.com/gh/scalableminds/webknossos/${CIRCLE_BUILD_NUM}|${CIRCLE_BUILD_NUM}>" | ||
mesg="${author} your ${CIRCLE_BRANCH} build ${buildlink} “${commitmsg}” is almost finished." | ||
user="circleci-notify" | ||
token="${SLACK_NOTIFY_TOKEN:-}" | ||
res=$(curl -s \ | ||
-X POST \ | ||
-d "token=${token}" \ | ||
-d "channel=${channel}" \ | ||
-d "text=${mesg}" \ | ||
-d "username=${user}" \ | ||
-d "icon_url=https://a.slack-edge.com/41b0a/img/plugins/circleci/service_48.png" \ | ||
https://slack.com/api/chat.postMessage | ||
) | ||
if [[ "$(echo ${res} | jq '.ok')" == "false" ]]; then | ||
echo "[WARN] Error sending Slack notification: $(echo ${res} | jq -r '.error')." | ||
fi | ||
echo "[INFO] Sent Slack notification to ${channel}." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
app/assets/javascripts/oxalis/controller/scene_controller_provider.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// @flow | ||
|
||
import type { SceneControllerType } from "./scene_controller"; | ||
|
||
let sceneController: ?SceneControllerType = null; | ||
|
||
export default function getSceneController(): SceneControllerType { | ||
if (!sceneController) { | ||
throw new Error("SceneController was not initialized yet"); | ||
} | ||
|
||
return sceneController; | ||
} | ||
|
||
export function setSceneController(c: SceneControllerType): void { | ||
sceneController = c; | ||
} |
Oops, something went wrong.