Skip to content

Commit

Permalink
Upgrade Layman test client to version 1.1.2
Browse files Browse the repository at this point in the history
Fix reaching  without authentication
  • Loading branch information
jirik committed Apr 15, 2020
1 parent 6ceb138 commit a4351e8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost/client/
LAYMAN_CLIENT_VERSION=v1.1.1
LAYMAN_CLIENT_VERSION=v1.1.2

# extra hosts to be added to /etc/hosts
EXTRA_HOST1=1.2.3.4:1.2.3.4
Expand Down
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LAYMAN_CLIENT_URL=http://layman_client:3000/client/

# client
LAYMAN_CLIENT_PUBLIC_URL=http://localhost:3000/client/
LAYMAN_CLIENT_VERSION=v1.1.1
LAYMAN_CLIENT_VERSION=v1.1.2


##############################################################################
Expand Down
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ LAYMAN_TIMGEN_URL=http://timgen:8080/
LAYMAN_CLIENT_URL=http://layman_client_test:3000/client/

# client
LAYMAN_CLIENT_VERSION=v1.1.1
LAYMAN_CLIENT_VERSION=v1.1.2


##############################################################################
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
**/.pytest_cache

src/layman_settings.py
src/layman/static/test-client

/deps/*/data
/deps/*/tmp
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog


## v1.3.3
2020-04-15
### Upgrade requirements
- Change [LAYMAN_CLIENT_VERSION](doc/env-settings.md#LAYMAN_CLIENT_VERSION) from `v1.1.1` to `v1.1.2`
### Changes
- Upgrade Layman test client to version 1.1.2, fixing reaching `static.css` without authentication
- Extend map JSON schema with ArcGIS REST API layers and static image layers


## v1.3.2
2020-04-09
- Request Geoserver through http instead of public scheme, fix #57
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ sudo chown -R 1000:1000 layman_data/
sudo chown -R 1000:1000 layman_data_test/
sudo chown -R 1000:1000 src/
sudo chown -R 1000:1000 tmp/
sudo chown -R 1000:1000 src/layman/static/test-client/
```
and restart layman
```bash
Expand Down
Empty file removed src/layman/static/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/wait_for_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def main():
print()

# Layman Test Client
ltc_url = f"{settings.LAYMAN_CLIENT_URL}test-client/global.css"
ltc_url = f"{settings.LAYMAN_CLIENT_URL}static/global.css"
wait_for_msg = f"Layman Test Client, url={ltc_url}"
print(f"Waiting for {wait_for_msg}")
while True:
Expand Down

0 comments on commit a4351e8

Please sign in to comment.