Skip to content

connected-spaces-platform.web 4.5.0

Install from the command line:
Learn more about npm packages
$ npm install @magnopus-opensource/connected-spaces-platform.web@4.5.0
Install via package.json:
"@magnopus-opensource/connected-spaces-platform.web": "4.5.0"

About this version

Built from changelist ID 33303b7b5f2aae4bd12737514adcad10575a8d1b

Summary Lists

🍰 πŸ™Œ New Features

  • No Ticket - Client apps can query whether a space requires a ticket to enter or not - 1af8619
  • No Ticket - Adds update to eventticketing - befc69b
  • No Ticket - Video component isenabled property - 7fe7dd9
  • No Ticket - Add get for eventticketingsystem - 523dcb8
  • No Ticket - Improve multiplayer testing - ffe09bd
  • No Ticket - Log if response is an error - 73efddf

πŸ› πŸ”¨ Fixes

  • No Ticket - Add .npmrc to gitignore - a3faaeb
  • No Ticket - Fixing labelling in interop gif - a699be2
  • No Ticket - User tests for regular test accounts - 693e26e
  • No Ticket - Remove .npmrc file - a3276e6
  • No Ticket - Gif in api documentation - 23486d3
  • No Ticket - Correct leader event logic - 9368ad8
  • No Ticket - Portable timegm implementation, allowing for the platform to parse dates past 2038 - 7e48581
  • No Ticket - Protect against broken portraits - 74418c7

πŸ’« πŸ’₯ Refactor

  • No Ticket - Remove enterspace auto connect - 744e92e
  • No Ticket - Updates to c# example - 8ff7e2e

πŸ™ˆ πŸ™‰ πŸ™Š Test Changes

  • No Ticket - Create helper functions and internal tests - e6a52b6
  • No Ticket - Split component tests out - 59c8d50

πŸ“– ✍ Document Changes

  • No Ticket - Update to the interoperability gif - 51ff41b
  • No Ticket - Reuploaded readme gif - 85def16
  • No Ticket - Tenant key request form url - a4c6b03
  • No Ticket - Readme background section update - ac50183

🧩 Misc Changes

  • No Ticket - Merge pull request #99 from magnopus-opensource/of-1077-add-ticket-submit-to-event-ticketing of 1077 add ticket submit to event ticketing - 622f9a8
  • No Ticket - Merge pull request #87 from magnopus-opensource/of-1078_ticketing_vendor_authentication of 1078 ticketing vendor authentication - 325560b
  • No Ticket - Merge pull request #82 from magnopus-opensource/of-1091-remove-hardcoded-credential-in-wasm-tests of 1091 remove hardcoded credential in wasm tests - e48c373
  • No Ticket - Merge pull request #78 from magnopus-opensource/of-1072-add-event-ticketing-system [of-1072] add event ticketing system with create implemented - 6e4f8dd
  • No Ticket - Merge pull request #72 from magnopus-opensource/hotfix-for-v4.4.0 nt-0_hotfixing_expose _free function - d9b8458
  • No Ticket - Merge pull request #71 from magnopus-opensource/ob-2764-o-free-is-not-a-function [ob-2764] _free is not a function - 24246de
  • No Ticket - Merge pull request #54 from magnopus-opensource/ope-1482-update-unityexample [ope-1482] update csp unity example projects to use latest public version - a5d89a9

Revision Change Details

change_id user description
15bd47a Sam Birley merge pull request #103 from magnopus-opensource/staging
v4.5.0
1192c17 MAG-AW merge pull request #102 from magnopus-opensource/develop
Staging v4.5.0
b2837aa Michael K [of-1098] test: test `csp::common::string`
622f9a8 MAG-pw merge pull request #99 from magnopus-opensource/of-1077-add-ticket-submit-to-event-ticketing
Of 1077 add ticket submit to event ticketing
23f6b1c MAG-pw [of-1077] fix: move files to correct folder
The EventTicketing cpp files were not in a folder that followed
convention. This moves the to the right place.
e7261f8 MAG-pw [of-1077] test: add an on behalf of user test
Adds a test for submitting tickets on bahalf of other users.
Also adds some documentation.
8e9202c MAG-pw merge branch 'develop' into of-1077-add-ticket-submit-to-event-ticketing
a3faaeb Mag-JB merge pull request #101 from magnopus-opensource/of-1093-remove-npmrc-file-from-wasm-tests
[OF-1093] fix: Add .npmrc to gitignore
85883a8 Mag-JB [of-1093] fix: add .npmrc to gitignore
fd8d78f MAG-pw merge branch 'develop' into of-1077-add-ticket-submit-to-event-ticketing
e6a52b6 Mag-JB merge pull request #97 from magnopus-opensource/of-1061-space-system-tests-refactor
[OF-1061] refac: Create helper functions and internal tests
a699be2 Sam Birley merge pull request #100 from magnopus-opensource/nt-0_fixing_labelling_in_interop_gif
[NT-0} doc: fixing labelling in interop gif
8f19c4c Sam Birley [nt-0] doc: correcting labeling in interop gif
fb85da8 Sam Birley [nt-0} doc: fixing labelling in interop gif
References to Web and Unreal were the wrong way round
ad62ecb MAG-pw [of-1077] fix: fix typo from bad merge
d0b3541 MAG-pw merge branch 'develop' into of-1077-add-ticket-submit-to-event-ticketing
88a64ee MAG-pw [of-1077] feat: upgrade chs wrapper
31ccd3f MAG-pw [of-1077] feat: add ticket redemption
Adds the ability to redeem event tickets by submitting them to the
CHS endpoint.
Note that this cannot be automatically tested since it requires
events and tickets to be setup in the 3rd party vendor and requires
human interaction during the test. A test is provided with
instructions but is disabled by default.
d4f141a Mag-JB [of-1061] refac: move internal function to helper
* Test: create interal helper tests
1af8619 Sam Birley merge pull request #94 from magnopus-opensource/of-1076_isspaceticketed
[OF-1076] feat: client apps can query whether a space requires a ticket to enter or not
4fc1b9a MAG-AW merge branch 'develop' into of-1076_isspaceticketed
51ff41b Sam Birley merge pull request #96 from magnopus-opensource/nt-0_update_interoperability_gif
[NT-0] doc: update to the interoperability gif
4d6717c Sam Birley [nt-0] doc: updating api docs gif
bc3a898 MAG-AW [of-1076] doc: added comments to a test
dd90165 Mag-JB [of-1061] fix: fix wrong array passed
95a2445 Sam Birley [nt-0] doc: update to the interoperability gif
A new gif showing off the real-time interoperability of CSP far better than our previous one.
cb1a2de MAG-AW [of-1076] doc: added comment to callback define
cfd341d MAG-AW [of-1076] test: added ticket status failure tests
1c454b6 Mag-JB [of-1061] fix: remove blank line
08a6013 Mag-JB [of-1061] refac: encapsulate duplicate code
afeb2ef MAG-AW merge branch 'develop' into of-1076_isspaceticketed
cdc5e54 MAG-AW [of-1076] doc: adding comments
4fb6cf0 Sam Birley [of-1078] fix: spelling correction (#93)
CSP seeks to adopt American English. Updating
the term 'authorise' to 'authorize' within the event
ticketing API accordingly.
af96c1c Sam Birley [of-1076] fix: space ticket status parsing
Fixing a case where we were parsing the response
back from services incorrectly, the json returned
from services describes a JSON object with individual
fields per space, rather than array of them.
deafbd9 Michael K [of-1100] test: test csp::common::vector3 and 4 (#92)
827a366 MAG-AW [of-1076] feat: in progress isticketedevent
2104ef6 Michael K [of-1079] test: add `csp::common::array` tests (#88)
* [OF-1079] test: add `csp::common::Array` tests

* [OF-1079] test: add bounds checking and tests
befc69b Sam Birley merge pull request #90 from magnopus-opensource/of-1073-add-update-event-ticketing
[OF-1073] feat: Adds Update to EventTicketing
d13cdcf MAG-pw [of-1073] feat: adds update to eventticketing
Add functionality to EventTicketingSystem to enable updating ticketed
events to change the third party vendor details and whether ticketing
is active for the event.
325560b Sam Birley merge pull request #87 from magnopus-opensource/of-1078_ticketing_vendor_authentication
Of 1078 ticketing vendor authentication
693e26e Sam Birley merge pull request #89 from magnopus-opensource/nt-0_user_system_tests_role_fix
[NT-0] fix: user tests for regular test accounts
4723129 Sam Birley [nt-0] fix: user tests for regular test accounts
Our CICD automations were running tests using non-standard
users with non-standard roles on MCS.
In order to have full confidence that CSP works as it should for
client applications, we have changed the MCS test users to have standard
roles.
That however started causing two tests to fail, where we were
attempting to create users, bypassing email verification - something
typical end-users cannot do.
So, we updated our tests to validate that when a regular user attempts
to create another another user, we get the expected responses.
b0fc373 MAG-pw merge branch 'develop' into of-1078_ticketing_vendor_authentication
454a224 Sam Birley [of-1078] fix: addressing feedback on event auth
c16120b Sam Birley [of-1078] fix: compile error
14f6edb Sam Birley [of-1078] fix: addressing feedback on event auth
6c8e874 Sam Birley [nt-0] feat: clearer logging for 400s
We now print error messages for any kind of 400
response from a service.
We print messages whether there were an array of errors messages
returned, just one error, or no error.
These edge cases were found as part of testing the sad paths of the new
event ticketing third-party auth API.
e662724 Sam Birley [of-1078] test: coverage of event ticketing auth
Testing happy and sad paths for the new API
19872f6 Sam Birley [of-1079] feat: event ticketing third-party auth
The CSP event ticketing API now exposes a means for clients to initiate
an oauth flow with a third party ticketing vendor (like eventbrite).
7fe7dd9 Mag-JB merge pull request #86 from magnopus-opensource/ow-1404_video_component_isenabled_property
[OW-1404] feat: Video component IsEnabled property
927037d Michael K [of-814] test: unit test parameters of class functions (#83)
* [NT-0] fix: fix passing class by value in C wgen

* [NT-0] fix: fix passing class by value in C# wgen

* [OF-814] test: unit-test parameters 4 class funcs
f7a9e2c MAG-ThomasGreenhalgh merge branch 'develop' into ow-1404_video_component_isenabled_property
a3276e6 Mag-JB merge pull request #84 from magnopus-opensource/of-1093-remove-npmrc-file-from-wasm-tests
[OF-1093] fix: remove .npmrc file
85def16 Sam Birley merge pull request #85 from magnopus-opensource/nt-0]-doc-reuploaded-readme-gif
[NT-0] doc: reuploaded readme gif
31fc4fa Sam Birley [nt-0] doc: reuploaded readme gif
Making the repo public has broken all GitHub-hosted assets that we've uploaded. Fixing this first and most important one by reuploading the gif again.

I also took the liberty of removing the WIP section of the readme, as the page it links to is empty. We can revive it when content exists there.
a255d78 Mag-JB [of-1093] fix: remove .npmrc file
e48c373 Mag-JB merge pull request #82 from magnopus-opensource/of-1091-remove-hardcoded-credential-in-wasm-tests
Of 1091 remove hardcoded credential in wasm tests
1ceb16e MAG-ThomasGreenhalgh [ow-1404] feat: video component isenabled property
25468a4 Mag-JB merge branch 'develop' into of-1091-remove-hardcoded-credential-in-wasm-tests
523dcb8 MAG-pw merge pull request #80 from magnopus-opensource/of-1075-add-event-ticketing-get
[OF-1075] feat: Add GET for EventTicketingSystem
885eb81 Mag-JB [of-1091] fix: update regex
5ec2915 Mag-JB [of-1091] fix: correct style
8fccdf2 Mag-JB [of-1091] fix: usersystem_tests_helpers conflicts
c27d259 Mag-JB [of-1091] feat: remove hardcoded credentials
02452e4 Mag-JB [of-1091] feat: remove hardcoded credentials
2c2677e MAG-pw [of-1075] test: remove unused wasm test file
fb4bdf0 MAG-pw [of-1075] feat: make get use multiple space ids
* EventTicketingSystem GetTicketedEvents now uses an array of space
IDs
* Extra c++ tests and all c# tests added for the get
3be75a4 MAG-pw merge branch 'develop' into of-1075-add-event-ticketing-get
915408b MAG-pw [of-1075] feat: add get for eventticketingsystem
Adds a GetTicketedEvents to the EventTicketingSystem that takes a
Space ID as a parameter and returns an array of TicketedEvents for
the given space.
691108f Michael K [of-814] test: more class functions unit tests (#79)
* [NT-0] fix: add macro hints

* [NT-0] refac: move jinja2 wrappergen types

Moving new wrapper generator metadata types and conversion functions
into a separate file in preparation of more template stuff being
migrated.

* [OF-814] test: add class func prim return exports

* [NT-0] fix: add support for class func NativeRef

Adds support for returning primitive pointers/references from class
functions.

* [NT-0] refac: use accessor in Ref

* [NT-0] feat: add `TypeMetadata.is_primitive`

* [NT-0] fix: support prim ref returns in classes

* [OF-814] test: unit test prim returns in classes

* [NT-0] fix: fix C# class function generation

* [OF-814] test: more unit tests and wgen fixes

This change fixes an issue with strings being destroyed after being
returned by value. It also addresses the fact that the TS wrapper was
not destroying the string copies returned from CSP.

* [OF-814] fix: add missing Free function
6e4f8dd Sam Birley merge pull request #78 from magnopus-opensource/of-1072-add-event-ticketing-system
[OF-1072] Add event ticketing system with create implemented
9885723 MAG-pw merge branch 'develop' into of-1072-add-event-ticketing-system
e0125b5 MAG-pw [of-1072] fix: fix issue in assetsystem
Fixes a mistake made in upgrading to the new csp-services.
f37c707 Michael K [nt-0] refac: more component interfaces (#77)
* [NT-0] refac: add transform component interfaces

Adds `IPositionComponent`, `IRotationComponent`, `IScaleComponent`, and
`ITransformComponent` for declaring that components contain transform
data. Also implements `ITransformComponent` for
`StaticModelSpaceComponent`.

* [NT-0] refac: add asset ID component interface

Adds `IExternalResourceComponent` to enable components to reference an
asset as storing external data required by the component. Also
implements this interface for `AnimatedModelSpaceComponent` and
`StaticModelSpaceComponent`.

* [NT-0] refac: add ITransformComponent to anim mod

Implements `ITransformComponent` for `AnimatedModelSpaceComponent`.
5c88eb9 MAG-pw [of-1072] fix: update csp-services commit
0098467 MAG-pw [of-1072] test: ensure disposal in c# tests
fecede5 MAG-pw [of-1072] test: add c# tests
2d1d006 MAG-pw [of-1072] test: minor test and pr updates
7c58b69 MAG-pw merge branch 'develop' into of-1072-add-event-ticketing-system
7bb18ef MAG-pw [of-1072] feat: adds the event ticketing create
a65d97f Michael K [nt-0] fix: support interface inheritance in wrapper generator (#76)
* [NT-0] fix: add more macro hints

* [NT-0] fix: support interface inheritance in wgen

* Update CSharpWrapperGenerator.py

Fix for mac and iOS (likely due to an older Python version)
ffe09bd Will Cowling merge pull request #67 from magnopus-opensource/ob-2424_improved_multiplayer_testing
[OB-2424] feat: Improve multiplayer testing
64a9985 MAG-pw [of-1072] feat: add basic eventticketing system
Adds the skeleton of the EventTicketingSystem with no actual
functionality. There is just a Dummy function to allow a dummy test.
e16ff7e MAG-Will [ob-2424] fix: string formatting
a4c6b03 Sam Birley merge pull request #74 from magnopus-opensource/nt-0]-doc-tenant-key-request-form-url
[NT-0] doc: Tenant key request form URL
dfafd0e Will Cowling merge branch 'develop' into ob-2424_improved_multiplayer_testing
cfb48fc MAG-Will [ob-2424] fix: more feedback fixes
82743ab MAG-Will [ob-2424] fix: feedback fixes
87b0529 Sam Birley [nt-0] doc: tenant key request form url
- We've now got a confirmed URL for the tenant key request form.
- So in this change, the readme is updated to direct users to the URL when they click through the `Obtaining a Tenant Key` link
d9b8458 Mag-JB merge pull request #72 from magnopus-opensource/hotfix-for-v4.4.0
NT-0_hotfixing_Expose _free function
80e210a Mag-JB [ob-2764] fix: expose _free function
24246de Mag-JB merge pull request #71 from magnopus-opensource/ob-2764-o-free-is-not-a-function
[OB-2764] _free is not a function
e97aeed Mag-JB [ob-2764] fix: revert chromedriver
cf1fa27 Mag-JB [ob-2764] fix: revert chromedriver and index.js
7c3c156 Mag-JB [ob-2764] test: update web tests
ebc7ddf Mag-JB [ob-2764] test: update web tests
fe3b158 Mag-JB [ob-2764] fix: expose _free function
ce92624 Michael K [of-814] test: unit test primitive return types for class member functions in wrapper (#70)
* [NT-0] fix: add macro hints

* [NT-0] refac: move jinja2 wrappergen types

Moving new wrapper generator metadata types and conversion functions
into a separate file in preparation of more template stuff being
migrated.

* [OF-814] test: add class func prim return exports

* [NT-0] fix: add support for class func NativeRef

Adds support for returning primitive pointers/references from class
functions.

* [NT-0] refac: use accessor in Ref

* [NT-0] feat: add `TypeMetadata.is_primitive`

* [NT-0] fix: support prim ref returns in classes

* [OF-814] test: unit test prim returns in classes

* [NT-0] fix: fix C# class function generation
0c1751f Michael K delete version.h (#68)
a96fd19 MAG-Will [ob-2424] fix: disable test by default
74546e2 MAG-Will [ob-2424] feat: improve multiplayer testing
744e92e Sam Birley merge pull request #64 from magnopus-opensource/of-1006_remove_enterspace_autoconnect
[OF-1006] refac: remove EnterSpace auto connect
8ff7e2e Sam Birley merge pull request #66 from magnopus-opensource/not-0_update_example_info
[NT-0] refac: Updates to c# example
b1b07f4 Michael K [of-1006] fix: fix issues causing test failures
62f56ba lyubomirlichev [nt-0] refac: removing unneeded function, update readme
488842b Michael K [of-1006] fix: fix merge conflicts
6adb705 Michael K [nt-0] fix: prevent event delegate from being gc'd
Turns out that passing a static method as a delegate creates a delegate
instance that WILL be garbage collected at some point, even though it
points to a static function. This change addresses this issue by
creating a static delegate instance to pass.
5632fb9 Michael K merge branch 'develop' into of-1006_remove_enterspace_autoconnect
129e435 lyubomirlichev [nt-0] doc: comment on unpredictable function
bcfb977 Michael K [of-1006] refac: remove enterspace auto connect
23486d3 Sam Birley merge pull request #63 from magnopus-opensource/nt-0_fix_gif_in_docs
[NT-0] doc: gif in API documentation
f030635 Sam Birley merge branch 'develop' into nt-0_fix_gif_in_docs
fb41074 Sam Birley [nt-0] doc: gif in api documentation
- No longer referencing GitHub-hosted .gif in API docs
- Instead we host the .gif on our storage and reference it directly
in the API docs
9368ad8 Will Cowling merge pull request #61 from magnopus-opensource/ob-2424_fix_leader_election_complete
[OB-2424] fix: Correct leader event logic
59c8d50 Sam Birley merge pull request #62 from magnopus-opensource/of-1057_component_tests_refactor
[OF-1057] refac: split component tests out
7e48581 Sam Birley merge pull request #55 from magnopus-opensource/ob-2722_portable_timegm
[OB-2722] fix: portable timegm implementation, allowing for the platform to parse dates past 2038
a6c6d49 MAG-Will [ob-2424] fix: clarifying comment
Make it clearer why we track the highest Id
fa870c8 MAG-AW [of-1057] refac: split component tests out
- Split component related tests into their own files
b070a8e Sam Birley [ob-2424] refac: csptimegm simpifications
- Based on PR review feedback, we have simplified our
portable implementation of `timegm`
- Removed some modulo operators by assuming provided
parameters adhere to cpp specs
- Additional comments explaining why blocks of code exist
- Additional tests validating that the start and end of years,
and leap years, can be parsed correctly.
f04e535 MAG-Will [ob-2424] fix: fix incorrect event logic
Fix for incorrect leader event logic causing clients to disagree
on who the leader should be
74418c7 Michael K merge pull request #60 from magnopus-opensource/ob-2732_allow_nonexistent_avatar_portraits
[OB-2732] fix: protect against broken portraits
604953b Michael K [ob-2732] fix: protect against broken portraits
27207d3 Sam Birley merge branch 'develop' into ob-2722_portable_timegm
637765b MAG-AdrianMeredith [nt-0] fix: default shadow casting on models to true
9fdb700 Sam Birley merge branch 'ob-2722_portable_timegm' of https://github.com/magnopus-opensource/csp-foundation into nt-0_fix_emscripten_timegm
f7c7b6d Sam Birley [ob-2722] refac: literal int width suffixes
- Removed some spurious literal width suffixes
a5d89a9 Garrett Hickey merge pull request #54 from magnopus-opensource/ope-1482-update-unityexample
[OPE-1482] Update CSP Unity Example projects to use latest public version
316f577 Sam Birley merge branch 'develop' into ob-2722_portable_timegm
2890758 Garrett Hickey [ope-1482] updated sku naming
ddaf698 Garrett Hickey [ope-1482] renamed / cleaned up remaining foundation refs
43e6f07 Garrett Hickey [ope-1482] updated initializing foundation example to use latest csp unity
019ba68 Garrett Hickey [ope-1482] updated basic framework example to use latest csp unity
82e3046 Daniel [of-1053] refac: update web example references
- Update packages to reflect the new name
- Update namespace to CSPFoundation
- Update READMEs to use Connected Spaces Platform or CSP
- Update comments to use Connected Spaces Platform or CSP
- Set debug to false in both examples to avoid a console error for now

Co-authored-by: Daniel Murdolo
73efddf Mag-JB merge pull request #51 from magnopus-opensource/of-1041-as-a-developer-i-want-all-chs-error-response-messages-printed-to-the-foundation-log
[OF-1041] feat: Log if response is an error
ac50183 Sam Birley merge pull request #47 from magnopus-opensource/nt-0_readme_background_section
[NT-0] doc: readme background section update
7660570 Mag-JB [of-1041] test: detect prefix
5f2df23 Mag-JB [of-1041] test: remove uneeded setsystemlevel
d978ce2 Mag-JB [of-1041] test: update email
a8df101 Sam Birley [ob-2722] test: datetime test coverage
Additional testing of UTC string parsing and a separate
test validating the `DateTime` comparison operator.
d5b9c8e Mag-JB [of-1041] fix: add prefix
2c16cbd Mag-JB [of-1041] feat: log if response is an error
76d0a90 Sam Birley [ob-2722] fix: emscripten timegm
A known issue has been discovered with emscripten,
where timegm will fail in emscripten-generated-WASM-builds
to produce correct results for dates/times greater than an int32
can represent past the epoch.
The fix here is to introduce our own portable version of timegm,
which fels like the right thing to do because `timegm` is _not part
of the c++ spec`. Adopting our own as a solve for this protects
CSP from encountering similar problems in the future should we
start supporting another kind of C++ runtime environment.
Implementation has been validated via unit tests that are part of
this PR, where the test criteria were created based on the results
returned by `timegm` on windows.
a98add4 Sam Birley [nt-0] doc: readme background section update
Minor revisions to the wording in the background section.

Expecting more small iterations and tweaks to come in the next couple of weeks as we continue to refine.

Details


Assets

  • connected-spaces-platform.web-4.5.0.tgz

Download activity

  • Total downloads 14
  • Last 30 days 0
  • Last week 0
  • Today 0