Skip to content

Commit

Permalink
Merge branch 'release/2023.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruptein committed Sep 17, 2023
2 parents 9b6e14a + bcec828 commit 0088bc3
Show file tree
Hide file tree
Showing 159 changed files with 5,654 additions and 1,703 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- "dev"
tags:
- "v*"
- "docker-pr-*"

jobs:
docker:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ server/static/vite/**
server/static/vite-admin/**
server/templates/**
server/static/temp/**
server/static/mods/**

# docs
docs/_build
Expand Down
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,45 @@ All notable changes to this project will be documented in this file.

[DM] denotes changes only useful for the dungeon master\
[server] denotes changes only useful for the server owner\
[tech] denotes internal changes that are only useful for code contributors\
[tech] denotes internal technical changes that are only useful for code contributors\
tech changes will usually be stripped from release notes for the public
[lang] this is a change to some translation string

## Unreleased

## [2023.3.0] - 2023-09-17

### Added

- Character concept
- A shape can be marked as a character
- Characters can be dropped anywhere (by the DM), moving/teleporting the shape to the new location
- This fills in a niche adjacent to the "Templates" concept
- Templates allow configuration of common data before placement, allowing unique modification afterwards
(e.g. useful for prefilling monster info)
- Characters are a specific instance that remember their modifications (e.g. useful for (N)PCs)
- Sort campaign listing by recent play or alphabetically
- Defaults to recent sort

### Changed

- Assets removed in the asset manager will not remove the image on disk if there are still shapes depending on it
- Shape removal will now also remove the related image on disk if there are no other assets/shapes depending on it
- Circles used for shadows no longer use a square bounding box, but instead use a polygon approximating the circle.
- [tech] Don't serve main app on unknown `/api/` endpoints
- [tech] Selected system now has a proper state with better type ergonomics for focus retrieval
- [tech] Spawn Info no longer sends entire shape info, but just position, floor, id and name

### Fixed

- Export: Campaigns with notes could fail to export
- Vision: Edgecase in triangulation build
- Kicking: The check to prevent the co-DM from kicking the main DM was incorrect
- Shapes: The angle of shapes while rotating was being rounded to whole integers, which is kinda awkard when dealing with radians
- Lighting: auras with both value and dim value set to 0 no longer light up the entire map
- [tech] AssetManager: Folder changing was doing an unnecessary extra call to the server
- [tech] Socket: Changing location was not properly leaving the socket connection to the previous location

## [2023.2.0] - 2023-06-21

### Added
Expand Down
12 changes: 6 additions & 6 deletions admin-client/package-lock.json

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

1 change: 1 addition & 0 deletions client/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
VITE_APP_I18N_LOCALE=en
VITE_APP_I18N_FALLBACK_LOCALE=en
VITE_VUE_URL="../server/static/extern/js/vue.esm-browser.prod.js"
1 change: 1 addition & 0 deletions client/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_VUE_URL="https://unpkg.com/vue@3/dist/vue.esm-browser.js"
4 changes: 3 additions & 1 deletion client/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ postcss.config.js
babel.config.js
.eslintrc.js
tests/unit/.eslintrc.js
vite.config.ts
vite.config.ts
vitest.config.ts
index.html
11 changes: 11 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
<link rel="shortcut icon" type="image/png" href="/static/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="PA-signup" content="true" />
<script type="importmap">
{
"imports": {
<% if(localVue){ %>
"vue": "%BASE_URL%<%= vueUrl %>"
<% } else { %>
"vue": "<%= vueUrl %>"
<% } %>
}
}
</script>
<title>PlanarAlly</title>
</head>
<body>
Expand Down
Loading

0 comments on commit 0088bc3

Please sign in to comment.