Skip to content

Commit

Permalink
Merge pull request #685 from sw5e-foundry/Develop-2.1.5.x.x.x
Browse files Browse the repository at this point in the history
Develop 2.1.5.2.4.8
  • Loading branch information
unrealkakeman89 authored Jul 19, 2023
2 parents aa8bb99 + 5ea3ee2 commit d8a4848
Show file tree
Hide file tree
Showing 16,160 changed files with 1,176,011 additions and 1,088,619 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: true
name: ${{ steps.get_version.outputs.version }}
name: ${{ steps.get-version.outputs.version }}
draft: false
prerelease: false
token: ${{secrets.GITHUB_TOKEN}}
artifacts: "./system.zip, ./static/system.json"
generateReleaseNotes: true
tag: ${{ steps.get_version.outputs.version }}
tag: ${{ steps.get-version.outputs.version }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Build Artifacts
sw5e-compiled*
sw5e.lock
dist/**/*
!dist/.gitkeep

# Compiled class file
*.class
Expand Down Expand Up @@ -38,4 +40,4 @@ hs_err_pid*
*.iml

# Node Modules
node_modules/
node_modules/
70 changes: 67 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,86 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.5.2.4.8] - 2023-07-19

## [v2.1.5.2.4.4]
### Fixed

- Icon Backdrops should work correctly on linux.
- Removing a deployed actor should once again work properly.
- Backpacks with no rarity no longer show '&Nbsp;'.
- Website character importer should now have the correct abilities for each skill.
- Website character importer should now work with profiencies like `all martial vibroweapons with the finesse property` (treated as `all martial vibroweapons`).
- Module Art Config button should now work.
- Datamodel issues on starship creation.
- Species characteristics should once again be editable.

### Changes

- Compendium Updates.
- The deployment features compendium has been updated to match the website. (Credits to GreyCouncil#8804).


## [2.1.5.2.4.7] - 2023-06-9

### Fixed

- Migration should now properly work for deprecated item types.

## [2.1.5.2.4.6] - 2023-06-06

### Added

- Trait to decrease the cost casting force/tech powers.
- Support for Supreme Accuracy / Aptitude / Durability traits.
- Trait the multiplies the character's carrying capacity.
- Compendium Browser.

### Changes

- The starship actions, armor, equipment, features, and weapons compendiums have been updated to match the website. (Credits to GreyCouncil#8804).
- Backdrop Icons were moved to `packs/Icons/ItemBackdrop`.
- Some items that were previously loot (rations, spikes) have been made consumables.
- Some items that were previously equipment (life support except suits, respirators and rations) have been made loot.
- Innate powers no longer count towards your known powers.
- When opening the powerbooks tab, the selected subtab will be one you have levels or powers known.
- Project Restructure. The entire `sw5e` project has undergone an internal restructuring, more closely matching the `dnd5e` system. As part of this, the system is now provided as a single, rolled-up file to end users. This means that if your module was previously importing individual files or classes from the sw5e system directory, those imports will no longer work. All of the public classes are available on the `sw5e` object, however, and this object should be available to your module code immediately, without any need for hooks.
- All weapon icons have been updated to work with the item rarities backdrop.
- Duplicated icons have been removed, and unused icons have been moved to a 'deprecated' folder and will be removed on a further update.
- Items now show a foreground symbol over their icon when they are made a chassis.

### Fixed

- The popup when deleting items from a PC sheet no longer refers to the item as 'undefined'.
- The popup when deleting crew from a Starship sheet no longer refers to the actor as 'undefined'.
- Old archetypes should no longer have model validation issues.
- Deployment description is once again visible and editable.
- Character description is once again editable.
- Starships can once again be created on fresh worlds.
- Starship repair should once again work.
- The character sheet can once again be openned if you have a mismatched archetype.
- Feats can once again be created on fresh worlds.
- The website character importer now properly triggers all advancements.
- Modifications can once again modify boolean properties.
- Deprecated item types no longer show up to be created.
- Huge and Gargantuan ships should now have the proper ammount of hull and shield dice at higher levels.
- Deployments can once again be ranked up.
- Shield Damage Resistances/Immunities/Vulnerabilities should once again be editable.

## [2.1.5.2.4.5] - 2023-05-02

### Added

- Item Icons now have their background automatically updated to match their rarity.

## [v2.1.5.2.4.3]
## [2.1.5.2.4.3] - 2023-04-28

### Fixed

- Starship repairs not working.
- Archetype casting not working.
- Most NPCs in the compendium should now have their Damage Resistances, Immunities and Languages in the proper fields, instead of 'Custom'.

## [2.1.5.2.4.2]
## [2.1.5.2.4.2] - 2023-04-04

### Added

Expand Down
Empty file added dist/.gitkeep
Empty file.
54 changes: 41 additions & 13 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ import gulp from "gulp";
import * as css from "./utils/css.mjs";
import * as javascript from "./utils/javascript.mjs";
import * as packs from "./utils/packs.mjs";
import * as staticGulp from "./utils/static.mjs";
import {deleteAsync} from "del";


// Default export - build CSS
export default gulp.series(css.compile);

// CSS compiling and watch for updates
export const watchUpdates = gulp.series(
gulp.parallel(css.compile),
css.watchUpdates
);
export function cleanDist() {
return deleteAsync(["dist/**", "!dist/.gitkeep"], {force: true});
}

// Javascript compiling & linting
export const buildJS = gulp.series(javascript.compile);
Expand All @@ -23,9 +19,41 @@ export const cleanPacks = gulp.series(packs.clean);
export const compilePacks = gulp.series(packs.compile);
export const extractPacks = gulp.series(packs.extract);

// Static copy
export const copyStatic = gulp.parallel(
staticGulp.copyFonts,
staticGulp.copyIcons,
staticGulp.copyJson,
staticGulp.copyLang,
staticGulp.copyPacks,
staticGulp.copyTemplates,
staticGulp.copyUi,
staticGulp.copyStaticRoot,
staticGulp.copyRoot
);

// Build all artifacts
export const buildAll = gulp.parallel(
css.compile,
javascript.compile,
packs.compile
export const buildAll = gulp.series(
cleanDist,
gulp.parallel(
css.compile,
javascript.compile,
packs.compile,
copyStatic
)
);

// Watch for updates
export const watchUpdates = gulp.series(
gulp.series(
buildAll,
gulp.parallel(
css.watchUpdates,
javascript.watchUpdates,
staticGulp.watchUpdates
)
)
);

// Default export - build CSS
export default buildAll;
19 changes: 0 additions & 19 deletions json/icon-migration.json

This file was deleted.

4 changes: 2 additions & 2 deletions less/original/actors.less
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@
.item-name {
cursor: pointer;
&.rollable:hover .item-image {
background-image: url("../../icons/svg/d20-grey.svg") !important;
background-image: url("icons/svg/d20-grey.svg") !important;
}
&.rollable .item-image:hover {
background-image: url("../../icons/svg/d20-black.svg") !important;
background-image: url("icons/svg/d20-black.svg") !important;
}
i.attuned {
color: @colorTan;
Expand Down
53 changes: 53 additions & 0 deletions less/update/compendium-browser/filter-slider.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
div[class^="slider-"] {
border: 1px solid black;
height: 10px;
width: 80%;
}
div[class^="slider-"].noUi-base {
background: #dddddd;
.noUi-origin {
.noUi-handle {
background: none;
border: none;
box-shadow: none;
color: white;
cursor: grab;
font-size: var(--font-size-16);
height: 14px;
right: -7px;
text-shadow: 0 0 4px black;
top: -4px;
width: 14px;
&:active {
cursor: grabbing;
}
&:before, &:after {
background: none;
}
.noUi-touch-area {
cursor: pointer;
}
}
.noUi-handle.handle {
background: #c85019;
border-radius: 2px;
border: 1px solid black;
box-shadow: 1px 1px 4px black;
}
}
.noUi-tooltip {
display: none;
}
.noUi-active {
.noUi-tooltip {
background-color: rgba(0, 0, 0, 0.9);
color: white;
display: block;
line-height: 18px;
padding: 6px 14px;
}
}
.noUi-connect.range_selected {
background: rgba(255, 255, 240, 0.8);
}
}
56 changes: 56 additions & 0 deletions less/update/compendium-browser/index.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// Height variables (appears count calculates by raw css)
@indexheight0: 92%; // Appears 2 times

#compendium-browser>section.window-content>.content-box {
@import "filter-slider";
@import "nav";
@import "settings";
@import "tab";
flex: 1;
height: inherit;
overflow: hidden;
}
#license-viewer>section.window-content>.content-box {
@import "filter-slider";
@import "nav";
@import "settings";
@import "tab";
flex: 1;
height: inherit;
overflow: hidden;
}
#compendium-browser>section.window-content>.content-box>section.content {
height: @indexheight0;
}
#license-viewer>section.window-content>.content-box>section.content {
height: @indexheight0;
}
#compendium-browser>section.window-content>.content-box>section.content>.tab.browser.active {
height: inherit;
}
#license-viewer>section.window-content>.content-box>section.content>.tab.browser.active {
height: inherit;
}
#compendium-browser>section.window-content>.content-box>section.content>.tab.browser.active>div {
display: grid;
grid-template-columns: 320px auto;
.control-area {
grid-column-start: 1;
}
ul {
grid-column-start: 2;
}
}
#license-viewer>section.window-content>.content-box>section.content>.tab.browser.active>div {
display: grid;
grid-template-columns: 320px auto;
.control-area {
grid-column-start: 1;
}
ul {
grid-column-start: 2;
}
}

@import "tags";
@import (inline) "./node_modules/@yaireo/tagify/dist/tagify.css";;
34 changes: 34 additions & 0 deletions less/update/compendium-browser/nav.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
>nav {
align-items: center;
background: url('ui/compendium-browser/border-pattern.webp') repeat-x top, url('ui/compendium-browser/border-pattern.webp') repeat-x bottom, var(--secondary);
background: var(--secondary);
border-image-outset: 0;
border-image: url('ui/compendium-browser/corner-box.webp') 9 repeat;
border-style: solid;
border-width: 9px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
display: inline-flex;
flex: 0;
justify-content: space-evenly;
width: 100%;
}
>nav>a {
color: var(--sidebar-label);
font-family: var(--sans-serif);
font-size: var(--font-size-12);
padding: 4px 0;
position: relative;
}
>nav>a.active {
&:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid var(--sidebar-label);
bottom: -2px;
content: '';
height: 0;
position: absolute;
right: 39%;
width: 0;
}
}
Loading

0 comments on commit d8a4848

Please sign in to comment.