Commit Graph

19433 Commits

Author SHA1 Message Date
Mads Rasmussen
1335664756 add path helper to root 2024-09-13 10:43:05 +02:00
Mads Rasmussen
bb3740b0c7 pass entity type from manifest 2024-09-13 10:43:05 +02:00
Mads Rasmussen
6eed13ed24 update import path 2024-09-13 10:43:05 +02:00
Mads Rasmussen
19309eb0f8 register user group menu item 2024-09-13 10:43:05 +02:00
Mads Rasmussen
8ba77baa11 register root workspace 2024-09-13 10:43:05 +02:00
Mads Rasmussen
63f0420477 register user sidebar menu 2024-09-13 10:41:04 +02:00
Niels Lyngsø
cc28e65612 refactor for a more direct appending implementation 2024-09-13 10:38:22 +02:00
Niels Lyngsø
0dee4d1792 remove test code 2024-09-13 10:38:22 +02:00
Niels Lyngsø
c9b67aca97 import type 2024-09-13 10:38:22 +02:00
Warren Buckley
b35a6eb602 Fix up code so test passes & my rough entrypoint demo of usage works 2024-09-13 10:38:22 +02:00
Warren Buckley
0d176dfb4d Update tests
Still need to uncomment & reinvestigate the late loading test
2024-09-13 10:38:22 +02:00
Warren Buckley
764bd0b8e5 Remove the prepend conditions and rename append to addCondition and addCondtions
As the order of conditions is not important, as all conditions set on an extensions must be true/valid
2024-09-13 10:38:22 +02:00
Warren Buckley
4107117efb Trying to add a test to show that a late registered extension works - but test says otherwise compared to using it in entrypoint 2024-09-13 10:38:22 +02:00
Warren Buckley
c6e10515e8 Rework of tests to pass and minor fix to _whenExtensionAliasIsRegistered to get the ext alias that matches 2024-09-13 10:38:22 +02:00
Mads Rasmussen
734c173656 split some tests 2024-09-13 10:38:22 +02:00
Mads Rasmussen
7ed4dcc73e simplify _whenExtensionAliasIsRegistered 2024-09-13 10:38:22 +02:00
Warren Buckley
143faa6b3a Adds _whenExtensionAliasIsRegistered as a promise so that we basically wait until the manifest is registered so late extensions will work as well
Seems to work with my hack in an entrypoint and the console logs the extension with the updated condition but its the tests I am struggling to get to work.

As this code is heavily worked from me trying to Google, read RXJS docs and talking with Copilot I am not fully in confident in this approach
2024-09-13 10:38:22 +02:00
Warren Buckley
e57df8025c Adds prependCondition and prependConditions so you can make sure your condition loads first, as order of conditions are important 2024-09-13 10:38:22 +02:00
Warren Buckley
3b0ba436ff Adds appendConditions to allow adding multiple in one go 2024-09-13 10:38:22 +02:00
Warren Buckley
ac5d7f2d84 Adds new method to extensionRegistry for appendCondition 2024-09-13 10:38:22 +02:00
Niels Lyngsø
c9d4af81f0 JSDocs 2024-09-12 19:55:43 +02:00
Niels Lyngsø
50ee26b73f use UmbManifestTypes in extension registry 2024-09-12 19:55:43 +02:00
Niels Lyngsø
f69e358c17 Merge branch 'v15/dev' into v14/feature/POC-dynamic-global-manifest-types 2024-09-12 19:38:11 +02:00
Niels Lyngsø
dbe067fe30 JSON Schema corrections 2024-09-12 19:36:23 +02:00
Niels Lyngsø
ed93c94cb6 Merge branch 'main' into v14/feature/POC-dynamic-global-manifest-types 2024-09-12 19:24:19 +02:00
Jacob Overgaard
35fa850caf Merge pull request #2274 from umbraco/v14/chore/tsconfig-module-syntax
Build: Add advanced module check
2024-09-12 17:35:03 +02:00
Jacob Overgaard
03d67b3ec4 update lockfile 2024-09-12 15:28:56 +02:00
Jacob Overgaard
0c02c20540 Merge branch 'main' into v15/dev 2024-09-12 15:26:46 +02:00
Jacob Overgaard
259157de19 build: set modlue to "esnext" to support all generators and bundling mode (nodenext does not work for our modules) 2024-09-12 13:48:40 +02:00
dependabot[bot]
7d5ef8039b build(deps): bump send and express
Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 13:41:16 +02:00
dependabot[bot]
b32f524d33 build(deps): bump serve-static and express
Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.0
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...1.16.0)

Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 13:38:12 +02:00
Jacob Overgaard
7366f36d8a chore: update lockfile 2024-09-12 13:37:20 +02:00
Jacob Overgaard
eed53fba54 build: update the tsconfig generator 2024-09-12 13:27:34 +02:00
Jacob Overgaard
6d3f7de4be build: set module to "nodenext" to let the json schema compiler work (and also it forces us to use the .js extension on imports) 2024-09-12 13:25:50 +02:00
Niels Lyngsø
53cceff6a4 Merge pull request #2277 from umbraco/v14/feature/rename-read-only-for-property-datasets
V14: Rename readonly of Property Datatsets
2024-09-12 13:24:05 +02:00
Niels Lyngsø
2b18fe72e2 rename 2024-09-12 13:16:51 +02:00
Niels Lyngsø
cff2e6ccc0 Merge pull request #2275 from umbraco/v14/improvement/readonly-clean-up
Readonly small clean up
2024-09-12 13:12:21 +02:00
Mads Rasmussen
e983a566a3 Merge branch 'main' into v14/improvement/readonly-clean-up 2024-09-12 12:26:53 +02:00
Mads Rasmussen
d80b1ccae5 only check variant id 2024-09-12 12:25:48 +02:00
Jacob Overgaard
9696441e33 chore: add correct import type to modules 2024-09-12 12:03:05 +02:00
Jacob Overgaard
698aa91109 build: turn on advanced module detection 2024-09-12 12:02:48 +02:00
Jacob Overgaard
752cbe1c82 build: sonarlint connected mode 2024-09-12 12:02:13 +02:00
Mads Rasmussen
a19f6f9bbf more explicit identifier name 2024-09-12 11:34:40 +02:00
Mads Rasmussen
64edacf20c Merge branch 'main' into v15/dev 2024-09-11 12:14:31 +02:00
Mads Rasmussen
6d3c7dfb2c Merge pull request #2264 from umbraco/v14/feature/all-workspaces
Build: Treat src/packages/* as workspaces
2024-09-11 12:14:09 +02:00
Jacob Overgaard
734be67094 feat: improve the loading of sysinfo to accommodate bundling 2024-09-11 11:23:38 +02:00
Jacob Overgaard
a69c7f4609 feat: add all src/packages/* as workspaces since they have all been converted successfully 2024-09-11 11:23:11 +02:00
Lee Kelleher
ccb9eeb08b Feature: UFM component filters (#2246)
* UFM feature additions + refactor

- Re-structures "ufm-components" folder
- Adds `ufmFilter` extension type
- Adds `UmbUfmElementBase` to support reusing filters

* Code tidy-up

* Adds test for `{~contentPicker}` "ufm-content-name" syntax

* Exports `UfmPlugin` and `UfmToken` types

* Adds UFM filter extensions/functions

- Fallback
- Lowercase
- Strip HTML
- Title Case
- Truncate
- Uppercase
- Word Limit
2024-09-11 07:20:18 +00:00
Jacob Overgaard
f6b93de123 fix: listen for layoutEntries and set them on the manager 2024-09-11 07:45:42 +02:00
Jacob Overgaard
8b934c9efa chore: re-order imports 2024-09-11 07:45:42 +02:00