1
0
Fork 0
Commit graph

8963 commits

Author SHA1 Message Date
dependabot[bot]
4f5fc2f1f5
build(deps): bump axios from 1.6.4 to 1.6.5
Bumps [axios](https://github.com/axios/axios) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.4...v1.6.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 04:36:14 +00:00
joostdecock
c06a18e06e feat: Support notes in title macro
This started out as a fix for #5753 after I felt the approach in #5760
was not the best way to handle this.

The problem lies in the way the cutlist data is added to the pattern by
the title plugin. The whole cutlist thing was added by a less
experienced contributor, and they were a little too focussed on what
they were trying to accomplish, rather than keeping an eye on the big
picture.

In this case, a bunch of points get added to the part to anchor all of
the text for the cutlist. This causes problems when inheriting parts
because points are added per material, and now we don't know what
materials were used and how to remove these points.

I appreciate @woutervdub effort to resolve this in #5760 but as I
mentioned above, I don't love the approach.
Rather than finding a clever way to remove these points, I am of the
opinion that they should never have been added in the first place.

Specifically, all we are doing is adding one or more lines of text. The
idea that you need multiple points for this is an incorrect assumption,
and therein lies the root of this problem.

So, this refactor adds support to the title macro for 'notes'. These
notes will be added below the title. The cutlist info is now just
prepended to the notes. So it stops being something 'special' (which it
never should have been) and instead just behaves like other text that is
placed on the part by the title macro.

The only flanking measure required to make this happen was to add
support for nested arrays in handling text.
This way, you can pass a nested array to concatenate strings in such a
way that each part will still be individually translated.

And as all text in FreeSewing, to force a linebreak, you just use "\n"
as The Dark Lord intended.
2024-01-06 17:54:11 +01:00
dependabot[bot]
aecb8b9e1f
build(deps): bump axios from 1.6.3 to 1.6.4
Bumps [axios](https://github.com/axios/axios) from 1.6.3 to 1.6.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.3...v1.6.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 04:39:26 +00:00
Joost De Cock
ec80822ffa
Merge pull request #5701 from freesewing/dependabot/npm_and_yarn/ora-8.0.1
build(deps): bump ora from 7.0.1 to 8.0.1
2023-12-28 17:25:16 +01:00
dependabot[bot]
ef9903a24c
build(deps): bump axios from 1.6.2 to 1.6.3
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.6.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-27 04:16:37 +00:00
joostdecock
ba370f74d2 release: v3.1.0
- Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Added IDs to dimension macros that missed them, causing them to not be shown
 - Keep seam allowance out of the binding length calculation

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - Corrected part mixup in translation of flag message

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Fixed wrong use of options in a value method. Fixes

 - Remove names from old plugins from list option

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - The skirt and curved waistband are now constructed with the ringsector macro

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Replaced all instances of 'seperate' with 'separate' in option names

 - Initial release

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Changed defaults to have more rise in the back
 - Increase default rise
 - Decrease default vertical stretch
 - Decreased default back waist dip
 - Increased default front waist dip
 - Allowed lower values on back exposure, causing back to flare out
 - Fix issue with back part when bulge is on and expand is off

 - Pocket opening was not drawn on the facing and pocket pieces. Fixes
 - Improve placement of the front welt. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Initial release

 - Added support for notes in flags

 - Removing macros did not always remove the cutlist data in the store. Fixes

 - First release of the plugin providing the default packing implementation

 - First release of the plugin facilitating drafting a ring sector

 - Allow plugins to provide their own packing implementation
 - Added named export `cbqc` which exports the constant to approximate a circle with Cubic Bézier curves
 - Core will now set `activeMacro` in the store, keeping track of the running macro - Added the `generateMacroIds`, `getMacroIds`, and `removeMacroNodes` store methods

 - Fix order in mergeOptions method so user settings take precendence over defaults
 - Fix upward snap for snapped percentage option when snap is a simple number
 - The conditional loading of plugins had a bug causing them to never be loaded
 - Make Path.split() more robust when handling edge-case. Fixes
 - Prevent utils.circlesIntersect() from running sqrt on a negative number. Fixes

 - Removed unwanted debug output
2023-12-26 20:30:42 +01:00
joostdecock
ae0438a75c fix(new-design): Remove debug output 2023-12-26 19:50:53 +01:00
dependabot[bot]
d52433870c
build(deps): bump ora from 7.0.1 to 8.0.1
Bumps [ora](https://github.com/sindresorhus/ora) from 7.0.1 to 8.0.1.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v7.0.1...v8.0.1)

---
updated-dependencies:
- dependency-name: ora
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 16:06:15 +00:00
Wouter van Wageningen
dfe98c19cf
Update utils.mjs
Fix #5697
2023-12-24 15:39:33 -08:00
joostdecock
14bca334f6 release: v3.1.0-rc-0 2023-12-24 14:06:17 +01:00
joostdecock
83111ac646 fix(new-design): Typo in filename 2023-12-24 14:01:17 +01:00
joostdecock
128a594cb2 fix(sde): Mock files to fix SDE 2023-12-24 13:53:23 +01:00
joostdecock
6e9e2f97ba fix: Add missing measurments images to SDE 2023-12-24 13:27:10 +01:00
Joost De Cock
c62d19766b chore: Updated dependencies - Fixed axios issue 2023-12-24 10:18:14 +01:00
Joost De Cock
18284cf904 Merge branch 'develop' into joost 2023-12-24 10:02:07 +01:00
dependabot[bot]
43ba49b2d6
build(deps-dev): bump eslint from 8.55.0 to 8.56.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-20 04:47:58 +00:00
dependabot[bot]
d86ab29dc1
build(deps): bump axios from 1.5.1 to 1.6.2
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 04:32:37 +00:00
Joost De Cock
a3c7776aa3
Merge pull request #5652 from woutervdub/path
Fixes #5569 (`path.split()`)
2023-12-17 14:31:31 +00:00
woutervdub
3cef72975e Add test case for code coverage, and implement two Joost comments. 2023-12-16 22:09:22 +00:00
Wouter van Wageningen
e1fa8286d4 Fixes split() bug #5569 2023-12-15 06:50:58 +00:00
dependabot[bot]
283e9a1575
build(deps-dev): bump eslint from 8.51.0 to 8.55.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.55.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.55.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 05:00:55 +00:00
joostdecock
72d4e3c8d5 chore[sde]: Adding missing downloads and dependencies 2023-12-10 13:40:29 +01:00
joostdecock
3e2fafa647 chore: Updating SDE dependency list 2023-12-10 13:13:58 +01:00
joostdecock
210aa93d5c chore: Reconfigure & prebuild 2023-12-10 12:32:49 +01:00
joostdecock
d77adf5efe Merge branch 'develop' into joost 2023-12-09 15:46:39 +01:00
joostdecock
b1cbe526d1 chore: Update dependencies 2023-12-09 15:39:22 +01:00
Joost De Cock
cd50ba4141
Merge pull request #5378 from freesewing/dependabot/npm_and_yarn/sinon-17.0.1
chore(deps-dev): bump sinon from 16.1.1 to 17.0.1
2023-12-09 14:59:31 +01:00
Joost De Cock
0880fce6ba
Merge pull request #5595 from freesewing/dependabot/npm_and_yarn/html-react-parser-5.0.7
build(deps): bump html-react-parser from 4.2.9 to 5.0.7
2023-12-09 14:58:56 +01:00
dependabot[bot]
d5cc8eb65c
build(deps): bump axios from 1.6.0 to 1.6.2
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.6.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-08 04:20:17 +00:00
dependabot[bot]
9f6ea8f911
build(deps): bump html-react-parser from 4.2.9 to 5.0.7
Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 4.2.9 to 5.0.7.
- [Release notes](https://github.com/remarkablemark/html-react-parser/releases)
- [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remarkablemark/html-react-parser/compare/v4.2.9...v5.0.7)

---
updated-dependencies:
- dependency-name: html-react-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 05:05:07 +00:00
dependabot[bot]
62a36f6b87
build(deps): bump axios from 1.5.1 to 1.6.0 in /packages/new-design
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-03 16:48:13 +00:00
joostdecock
d2030405dc chore: Reconfigure packages 2023-12-03 17:34:44 +01:00
dependabot[bot]
7ae718c69d
build(deps): bump axios from 1.6.1 to 1.6.2
Bumps [axios](https://github.com/axios/axios) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.1...v1.6.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 04:15:08 +00:00
dependabot[bot]
c149fdae60
build(deps-dev): bump eslint from 8.53.0 to 8.54.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.53.0 to 8.54.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.53.0...v8.54.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 04:21:44 +00:00
dependabot[bot]
1fd31814ef
build(deps-dev): bump eslint from 8.51.0 to 8.53.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.51.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.51.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 04:58:08 +00:00
dependabot[bot]
2542863f79
Bump axios from 1.5.1 to 1.6.1
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 05:00:55 +00:00
joostdecock
635d908482 fix(core): Corectly load conditional plugins
The parameters passed to the conditional load method were incorrect
causing a conditional plugin to never get loaded.
2023-11-08 20:27:48 +01:00
Joost De Cock
cf7d8155b2
Merge pull request #5404 from freesewing/i18n
New Crowdin Translations [skip build]
2023-11-04 07:47:34 +01:00
Joost De Cock
ea271218a4 New translations en.json (Ukrainian)
skip-build
2023-11-03 23:29:44 +01:00
Joost De Cock
aba16aa93c New translations en.json (Dutch)
skip-build
2023-11-03 23:04:11 +01:00
Joost De Cock
7bd60dc89d New translations en.json (Spanish)
skip-build
2023-11-03 22:12:34 +01:00
joostdecock
306fba47d7 chore: Reconfigure packages 2023-11-03 19:41:41 +01:00
joostdecock
705b6bcecd fix(shared): Run search indexing only in production 2023-11-02 17:46:57 +01:00
joostdecock
40b926e801 feat(shared): Implemented search and indexing 2023-11-02 17:17:11 +01:00
dependabot[bot]
66f8255fb2
chore(deps-dev): bump sinon from 16.1.1 to 17.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 16.1.1 to 17.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v16.1.1...v17.0.1)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 04:14:30 +00:00
dependabot[bot]
07a5bfe4b4
chore(deps): bump axios from 1.5.1 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-31 09:15:38 +00:00
joostdecock
8cb5ee9498 chore: Migrate to MDX 3 2023-10-30 17:46:39 +01:00
joostdecock
2b25739566 chore(core): Allow overriding more store methods 2023-10-29 17:21:00 +01:00
joostdecock
2fa394c8ab chore: Reconfigure packages 2023-10-28 21:49:40 +02:00
Joost De Cock
ccc1e9343c
Merge pull request #5293 from freesewing/dependabot/npm_and_yarn/axios-1.6.0
Bump axios from 1.5.1 to 1.6.0
2023-10-28 10:02:40 +02:00