Skip to content

Commit

Permalink
chore: prepare release v24.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nimdanitro committed Sep 26, 2024
2 parents e13560f + 33d4c5f commit 41fcf44
Show file tree
Hide file tree
Showing 163 changed files with 13,239 additions and 5,816 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ updates:
interval: "daily"
time: "20:00"
open-pull-requests-limit: 10
groups:
development-dependencies:
dependency-type: "development"
applies-to: version-updates
update-types:
- "minor"
- "patch"
labels:
- "javascript"
- "dependencies"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.vscode
node_modules
ui/node_modules
ui/stats.html
ui/.pnp.*
ui/.yarn/*
!ui/.yarn/patches
Expand Down
152 changes: 145 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,153 @@ and this project adheres to [Calendar Versioning](https://calver.org/) with pate

## [Unreleased]

### Changed
**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/main...develop

- Adjust Docker tags to have stable, develop and major tags
## v24.9.0
### What's Changed
- feat(map): also adjust imagery map with new style
- feat(map): improve map loading speed
- feat(map): improve styling of railways and aeroways
- feat(map): switch mapstyle to basemap vector tiles and enable housenumbers
- fix(map): improve map styling
- fix(map): prevent that style switching causes map to not move anymore
- fix(translations): improve French Translations (#442)
- chore(deps): bump @apollo/client from 3.11.4 to 3.11.5 in /ui (#411)
- chore(deps): bump @apollo/client from 3.11.5 to 3.11.6 in /ui (#417)
- chore(deps): bump @apollo/client from 3.11.6 to 3.11.7 in /ui (#419)
- chore(deps): bump @apollo/client from 3.11.7 to 3.11.8 in /ui (#422)
- chore(deps): bump @watergis/maplibre-gl-export in /ui (#407)
- chore(deps): bump dompurify (#435)
- chore(deps): bump i18next from 23.14.0 to 23.15.1 in /ui (#428)
- chore(deps): bump micromatch (#400)
- chore(deps): bump react-i18next from 15.0.1 to 15.0.2 in /ui (#433)
- chore(deps): bump react-router-dom from 6.26.1 to 6.26.2 in /ui (#426)
- chore(deps-dev): bump @eslint/js from 9.9.0 to 9.9.1 in /ui (#401)
- chore(deps-dev): bump @testing-library/jest-dom in /ui (#403)
- chore(deps-dev): bump eslint from 9.9.0 to 9.9.1 in /ui (#402)
- chore(deps-dev): bump jsdom from 24.1.1 to 25.0.0 in /ui (#405)
- chore(deps-dev): bump the development-dependencies group (#409)
- chore(deps-dev): bump the development-dependencies group (#416)
- chore(deps-dev): bump the development-dependencies group (#418)
- chore(deps-dev): bump the development-dependencies group (#431)
- chore(deps-dev): bump the development-dependencies group (#436)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 3 updates (#443)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 4 updates (#424)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 6 updates (#430)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 6 updates (#434)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 7 updates (#415)
- chore(deps-dev): bump the development-dependencies group across 1 directory with 9 updates (#440)
- chore(deps-dev): bump ts-jest from 29.2.4 to 29.2.5 in /ui (#404)
- ci: improve dependabot configuration

## [22.0.0] - 2022-08-15
### New Contributors
* @sebug made their first contribution in https://github.com/f-eld-ch/sitrep/pull/442

### Added
**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.8.0...v24.9.0

- Initial Version with a working scope for adding new incidents, corresponding journals and messages.
- Triage workflow working on per-incident defined sets of division tags
## v24.8.0
### What's Changed
* chore(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/374
* chore(deps-dev): bump @testing-library/react from 15.0.7 to 16.0.0 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/370
* chore(deps-dev): bump @types/node from 20.12.11 to 20.14.10 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/378
* chore(deps-dev): bump @types/node from 20.12.11 to 20.14.11 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/380
* chore(deps-dev): bump @types/react from 18.2.48 to 18.3.3 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/371
* chore(deps-dev): bump @types/react from 18.2.48 to 18.3.3 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/381
* chore(deps-dev): bump @types/react from 18.3.3 to 18.3.4 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/398
* chore(deps-dev): bump husky from 9.1.4 to 9.1.5 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/396
* chore(deps-dev): bump jsdom from 24.0.0 to 24.1.0 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/373
* chore(deps-dev): bump ts-jest from 29.1.2 to 29.2.4 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/385
* chore(deps-dev): bump vite from 5.4.1 to 5.4.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/395
* chore(deps-dev): bump vite-plugin-checker from 0.6.4 to 0.7.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/375
* chore(deps): bump @watergis/maplibre-gl-export from 2.0.1 to 3.8.2 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/382
* chore(deps): bump dayjs from 1.11.12 to 1.11.13 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/391
* chore(deps): bump docker/build-push-action from 5 to 6 by @dependabot in https://github.com/f-eld-ch/sitrep/pull/389
* chore(deps): bump oauth2-proxy/oauth2-proxy from v7.5.1 to v7.6.0 by @dependabot in https://github.com/f-eld-ch/sitrep/pull/347
* chore(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot in https://github.com/f-eld-ch/sitrep/pull/368
* chore(deps): update to maplibre 4.5.2 by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/399
* chore(deps): upgrade various dependencies by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/388

[unreleased]: https://github.com/Redgecko/sitrep/compare/v1.0.0...HEAD
**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.6.0...v24.8.0


## v24.6.0

### What's Changed
* feat(ui): enable DarkMode in UI by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/365
* fix(ui): adds missing autocomplete for email receiver details by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/357
* chore(deps-dev): bump vite from 5.1.4 to 5.1.7 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/359
* chore(deps): bump ejs from 3.1.8 to 3.1.10 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/362
* chore(deps): bump tar from 6.1.12 to 6.2.1 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/360
* chore(deps): upgrade yarn and other dependencies by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/364
* enable multiplatform builds by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/363

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.3...v24.6.0


## v24.2.3

### Highlights
* Map is now fully synchronized with the backend and across subscribed clients from this incident. We consider the map still a beta feature but the basic functionality has been created. At the moment only one layer is supported.

### What's Changed
* feat(map): sync map to backend by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/354
* feat(map): improve icon text coloring and alignment by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/355

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.2...v24.2.3

## v24.2.2
### What's Changed
* feat(ui): better incident name by @lukastresch in https://github.com/f-eld-ch/sitrep/pull/353
* chore(deps): bump ip from 2.0.0 to 2.0.1 in /ui by @dependabot in https://github.com/f-eld-ch/sitrep/pull/351

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.1...v24.2.2

## v24.2.1
### What's Changed
* feat(map): add custom style with B612 fonts to map by @nimdanitro in https://github.com/f-eld-ch/sitrep/pull/346
* feat(ui): add dedicated login page to initialize OIDC login flow

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.2.0...v24.2.1

## v24.2.0
### What's Changed
* feat(map): improve drawing UI for map, feature remains in beta with only locally synced features
* feat(ui): adds time / date to Navbar
* feat(ui): small improvements on overall design
* fix(map): adds missing icons and improved "Brandzone" and "Zerstört" polygon pattern.
* chore(deps): various dependency updates

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.1.1...v24.2.0

## v24.1.1
### What's Changed
* feat(map): improve Map Drawings to properly display start and end icons of lines

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v24.1.0...v24.1.1

## v24.1.0
### What's Changed
* feat(ui): change default font to [B612](https://b612-font.com/)
* feat(ui): adds autoscroll in feed
* chore(deps): upgrade various dependencies to their latest versions

### New Contributors
* @lukastresch made their first contribution in https://github.com/f-eld-ch/sitrep/pull/284

**Full Changelog**: https://github.com/f-eld-ch/sitrep/compare/v23.2.0...v24.1.0

## v23.2.0
This is release containing mainly dependency upgrades and security fixes

### What's Changed
* chore(deps): various dependency upgrades

**Full Changelog**: https://github.com/RedGecko/sitrep/compare/v23.1.0...v23.2.0

## v23.1.0
This is release containing mainly dependency upgrades and security fixes

### What's Changed
* chore(deps): various dependency upgrades

**Full Changelog**: https://github.com/RedGecko/sitrep/compare/v22.11.2...v23.1.0- chore(docker): add selinux compose file
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ OAUTH2_PROXY_REDIRECT_URL=http://localhost:3000/oauth2/callback # port for yarn
docker compose --env-file .env.local up -d
```

If you are running on a SElinux enabled machine, use the selinux compose file:
```
docker compose -f docker-compose.selinux.yml --env-file .env.local up -d
```


4. Run yarn

```
Expand Down
118 changes: 118 additions & 0 deletions docker-compose.selinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
name: sitrep
services:
graphql-engine:
depends_on:
postgres:
condition: service_started
dex:
condition: service_started
environment:
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET}
HASURA_GRAPHQL_DEV_MODE: "true"
HASURA_GRAPHQL_ENABLE_CONSOLE: "false"
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
HASURA_GRAPHQL_JWT_SECRET: '{"type":"RS256","jwk_url": "http://dex:5556/dex/keys" ,"header":{"type":"Authorization"},"claims_map":{"x-hasura-user-id":{"path":"$.sub"},"x-hasura-email":{"path":"$.email"},"x-hasura-allowed-roles":["viewer","editor"],"x-hasura-default-role":"editor"}}'
HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anonymous
PG_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
build:
dockerfile: Dockerfile.hasura
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
restart: always
oauth2proxy:
depends_on:
graphql-engine:
condition: service_started
dex:
condition: service_started
environment:
OAUTH2_PROXY_CLIENT_ID: ${OAUTH2_PROXY_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${OAUTH2_PROXY_CLIENT_SECRET}
OAUTH2_PROXY_CODE_CHALLENGE_METHOD: S256
OAUTH2_PROXY_COOKIE_SECRET: ${OAUTH2_PROXY_COOKIE_SECRET}
OAUTH2_PROXY_COOKIE_CSRF_PER_REQUEST: true
OAUTH2_PROXY_COOKIE_CSRF_EXPIRE: 5m
OAUTH2_PROXY_EMAIL_DOMAINS: "*"
OAUTH2_PROXY_HTTP_ADDRESS: :4180
OAUTH2_PROXY_OIDC_ISSUER_URL: http://dex:5556/dex
OAUTH2_PROXY_INSECURE_OIDC_SKIP_ISSUER_VERIFICATION: true
OAUTH2_PROXY_PASS_ACCESS_TOKEN: "true"
OAUTH2_PROXY_PASS_AUTHORIZATION_HEADER: "true"
OAUTH2_PROXY_PROVIDER: oidc
OAUTH2_PROXY_PROXY_WEBSOCKETS: "true"
OAUTH2_PROXY_UPSTREAMS: http://graphql-engine:8080/v1/graphql
OAUTH2_PROXY_SKIP_PROVIDER_BUTTON: true
OAUTH2_PROXY_REDIRECT_URL: ${OAUTH2_PROXY_REDIRECT_URL}
# disable autodiscovery due to token endpoint not properly accessible on localhost for oauth2proxy
OAUTH2_PROXY_SKIP_OIDC_DISCOVERY: "true"
OAUTH2_PROXY_OIDC_JWKS_URL: http://dex:5556/dex/keys
OAUTH2_PROXY_LOGIN_URL: http://localhost:5556/dex/auth
OAUTH2_PROXY_REDEEM_URL: http://dex:5556/dex/token
OAUTH2_PROXY_SKIP_AUTH_ROUTES: ^\/(manifest\.json|favicon\.ico|asset-manifest\.json|service-worker\.js\.map|service-worker\.js|robots\.txt|logo\d+\.png)
image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1
restart: always
networks:
default: null
ports:
- mode: ingress
target: 4180
published: "4180"
protocol: tcp
postgres:
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
image: postgis/postgis:14-3.2
networks:
default: null
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
dex:
image: docker.io/dexidp/dex:v2.38.0
restart: always
environment:
OAUTH2_PROXY_CLIENT_ID: ${OAUTH2_PROXY_CLIENT_ID}
OAUTH2_PROXY_CLIENT_SECRET: ${OAUTH2_PROXY_CLIENT_SECRET}
DEX_CONNECTORS_ENABLE_MOCK: "true"
DEX_CONNECTORS_ENABLE_DEMO_USER: "true"
DEX_ISSUER: http://localhost:5556/dex
networks:
default: null
command: dex serve /etc/dex/config-demo.yaml
volumes:
- "./example/dexidp/config-demo.yaml:/etc/dex/config-demo.yaml:Z"
- type: volume
source: dex_data
target: /var/sqlite/dex
volume: {}
ports:
- mode: ingress
target: 5556
published: "5556"
protocol: tcp
- mode: ingress
target: 5557
published: "5557"
protocol: tcp
networks:
default:
name: sitrep_default
volumes:
db_data:
name: sitrep_db_data
dex_data:
name: sitrep_dex_data
Loading

0 comments on commit 41fcf44

Please sign in to comment.