Skip to content

Commit d056cae

Browse files
authored
Merge pull request #837 from OpenSourceBrain/develop
v0.7.4
2 parents a2ef3a9 + 644911d commit d056cae

63 files changed

Lines changed: 495 additions & 575 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Docker Image Build Jupyterlab
2+
3+
on:
4+
push:
5+
branches: [ master, dev*, feature/docker* ]
6+
pull_request:
7+
branches: [ master, dev*, feature/docker* ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Build the Docker image
19+
run: |
20+
cd applications/jupyterlab
21+
docker build -t myjlab -f Dockerfile --no-cache .
22+
23+
- name: Info on Docker image sizes
24+
run: |
25+
docker images
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Docker Image Build NetPyNE-UI
2+
3+
on:
4+
push:
5+
branches: [ master, dev*, feature/docker* ]
6+
pull_request:
7+
branches: [ master, dev*, feature/docker* ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Build the Docker image
19+
run: |
20+
cd applications/netpyne
21+
docker build -t mynpui -f Dockerfile --no-cache .
22+
23+
- name: Info on Docker image sizes
24+
run: |
25+
docker images

.github/workflows/docker-nwbe.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Docker Image Build NWB Explorer
2+
3+
on:
4+
push:
5+
branches: [ master, dev*, feature/docker* ]
6+
pull_request:
7+
branches: [ master, dev*, feature/docker* ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-20.04
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Build the Docker image
19+
run: |
20+
cd applications/nwb-explorer
21+
docker build -t mynwbosb -f Dockerfile --no-cache .
22+
23+
- name: Info on Docker image sizes
24+
run: |
25+
docker images
26+
27+

applications/accounts-api/backend/accounts_api/services/user_service.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
from cloudharness.auth.quota import get_user_quotas
55
from keycloak.exceptions import KeycloakGetError, KeycloakError
66
from accounts_api.models import User
7-
from cloudharness.auth import AuthClient
7+
from cloudharness.auth import AuthClient, UserNotFound
88
from cloudharness import log
99
import typing
1010
# from cloudharness.models import User as CHUser # Cloudharness 2.0.0
1111

12-
class UserNotFound(Exception): pass
13-
1412

1513
class UserNotAuthorized(Exception): pass
1614

@@ -20,7 +18,8 @@ def get_user(username_or_id: str) -> User:
2018
try:
2119

2220
kc_user = client.get_user(username_or_id)
23-
21+
except UserNotFound:
22+
raise
2423
except KeycloakGetError as e:
2524
if e.response_code == 404:
2625
raise UserNotFound(username_or_id)

applications/accounts/themes/custom/login/resources/css/login.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body {
1919
}
2020

2121
.login-pf-logo {
22-
background: url(../img/osblogo.png) no-repeat;
22+
background: url(../img/osb-logo.png) no-repeat;
2323
background-size: contain;
2424
width: 132px;
2525
height: 20px;
Lines changed: 12 additions & 0 deletions
Loading
3.75 KB
Loading
Binary file not shown.

applications/accounts/themes/custom/login/template.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</#list>
1414
</#if>
1515
<title>${msg("loginTitle",(realm.displayName!''))}</title>
16-
<link rel="icon" href="${url.resourcesPath}/img/favicon.ico" />
16+
<link rel="icon" href="${url.resourcesPath}/img/favicon.svg" />
1717
<#if properties.stylesCommon?has_content>
1818
<#list properties.stylesCommon?split(' ') as style>
1919
<link href="${url.resourcesCommonPath}/${style}" rel="stylesheet" />
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/deploy

0 commit comments

Comments
 (0)