Commit Graph

1049 Commits

Author SHA1 Message Date
Oliver Booth a0b07edc82
fix: replace Moq with a library that DOESN'T steal your pii
Moq has recently introduced a payload named SponsorLink which takes PII (your email address) to send to a third party server for remote verification.

This kind of suspicious data harvesting is simply unacceptable, and the developers have now destroyed all credibility and trust with their user base. This change replaces Moq with NSubstitute.

For further information, see:
https://github.com/moq/moq/issues/1372
2023-08-09 15:18:01 +01:00
Oliver Booth 7b844bd703
Merge branch 'release/3.2.2' into main 2023-06-05 21:50:03 +01:00
Oliver Booth 1a2f92c700
docs: update version in README 2023-06-05 21:47:42 +01:00
Oliver Booth 678dd914d4
feat: add support for new usernames
user discriminators become "0" if the user has a new username, distinct from "0000" for webhooks.
2023-06-05 21:47:24 +01:00
Oliver Booth 103e037dc8
docs: update changelog 2023-06-05 21:47:04 +01:00
Oliver Booth f84fc044ba
chore: bump to 3.2.2 2023-06-05 21:46:51 +01:00
Oliver Booth 455b324071
feat: add support for new usernames
user discriminators become "0" if the user has a new username, distinct from "0000" for webhooks.
2023-06-05 21:38:09 +01:00
Oliver Booth 7222bbb496
Merge branch 'release/3.2.1' into main 2023-06-05 21:35:12 +01:00
Oliver Booth 35073d9c85
chore: bump to 3.2.1 2023-06-05 21:34:54 +01:00
Oliver Booth 334c64e995
[ci skip] ci: add workflow_dispatch trigger to nightly workflow 2023-04-13 23:27:08 +01:00
Oliver Booth 545994389d
[ci skip] ci: run dotnet and unity workflows from all branches 2023-04-13 23:26:54 +01:00
Oliver Booth a0d70eaa35
[ci skip] ci: add workflows for push to any branch 2023-04-13 21:55:38 +01:00
Oliver Booth 1c58403708
[ci skip] ci: add workflow_dispatch trigger for sonarcloud 2023-04-13 21:55:38 +01:00
Oliver Booth b5f4c16266
[ci skip] update bug-report.yml
Adds 3.2.0 and "nightly/other" to version options.
2023-04-13 21:39:00 +01:00
Oliver Booth af6534d23d
Merge branch 'develop' into main 2023-04-13 20:55:57 +01:00
Oliver Booth 0ae377250c
feat: add IEnumerable<T>.Except(T)
LINQ-provided Except method filters by array, but there's no way to filter a single value. This method introduces single-value filtering.
2023-04-13 20:55:24 +01:00
Oliver Booth 847af30945
docs: properly document ArgumentNullException 2023-04-13 20:54:07 +01:00
Oliver Booth a07cc4118a
Merge branch 'main' into develop 2023-04-13 02:38:39 +01:00
Oliver Booth a23be6dd77
[ci skip] fix(ci): mkdir docfx_project/images 2023-04-13 02:38:17 +01:00
Oliver Booth 4639fbd6a4
Merge branch 'develop' into main 2023-04-13 02:36:04 +01:00
Oliver Booth 25ef4e68ef
fix(docs): fix cp source (+g. oops) 2023-04-13 02:35:44 +01:00
Oliver Booth 3bd69dfa36
Merge branch 'develop' into main 2023-04-13 02:33:29 +01:00
Oliver Booth 2f5d1aee4c
docs: add favicon and app title to docfx project 2023-04-13 02:31:21 +01:00
Oliver Booth 1be3f75538
docs: add initial docfx intro 2023-04-13 02:27:35 +01:00
Oliver Booth 3655e33a9c
chore(test): update test project to 2021.3.22f1
ref b6c551784ba3
2023-04-13 01:50:26 +01:00
Oliver Booth 3f08f5270f
feat: add DebugUtility.DrawFunction 2023-04-13 01:48:58 +01:00
Oliver Booth 9b4ef5abb6
Merge branch 'develop' into main 2023-04-12 12:47:53 +01:00
Oliver Booth c5ea6cca58
[ci skip] docs: add conventional commit to contrib guidelines 2023-04-12 12:47:32 +01:00
Oliver Booth b8a63c0d5c
feat: add float/double support for WriteNoAlloc and WriteLineNoAlloc 2023-04-11 22:27:31 +01:00
Oliver Booth f13907a4d0
style: move Write/WriteLine overloads to files
This change should help to organise this entire class a bit better, due to the number of overloads that exist.
2023-04-11 22:23:12 +01:00
Oliver Booth e6025b1a4c
fix: validate null arguments in X10D.Unity
The CA runs are really testing me today.
2023-04-11 17:09:14 +01:00
Oliver Booth 2e9f27b6b7
fix: validate null arguments for Polygon and PolygonF extensions 2023-04-11 17:05:58 +01:00
Oliver Booth 5ff521073c
fix: suppress CA5394
This analysis warning is irrelevant. We're making extension methods here, dammit! This will be the consumer's responsibility to worry about.
2023-04-11 17:04:09 +01:00
Oliver Booth ac499537ed
feat: add RaycastHit.GetComponent and RaycastHit.TryGetComponent 2023-04-11 16:58:16 +01:00
Oliver Booth b70b704b63
Merge branch 'develop' into main 2023-04-10 13:54:05 +01:00
Oliver Booth b2e4092ca7
[ci skip] docs: remove addition of component copy/move 2023-04-10 13:50:44 +01:00
Oliver Booth 98cd96d5cb
fix(test): fix malformed test
The child was not being assigned a new parent, causing GetComponentsInChildrenOnly to return empty array and the subsequent line:

Assert.That(components, Has.Length.EqualTo(1));

was resulting in a test fail.
2023-04-10 13:45:39 +01:00
Oliver Booth f4d6c9083b
refactor(test): remove lingering IEnumerator test
Remant from 0b5bb074c8
2023-04-10 13:44:37 +01:00
Oliver Booth a8ebe9c902
fix: fix issue with GetComponentsInChildrenOnly checking wrong Transform 2023-04-10 13:42:12 +01:00
Oliver Booth 0b5bb074c8
refactor(test): remove IEnumerator tests
Use synchronous NUnit tests
2023-04-10 13:38:56 +01:00
Oliver Booth 77ab429f72
refactor: remove Copy/Move component functionality
This may be returned at a later point.
2023-04-10 13:26:38 +01:00
Oliver Booth 844f697754
style: remove unused using directives 2023-04-10 12:45:18 +01:00
Oliver Booth f6847315a1
feat: add Progress<T>.OnProgressChanged
Provides a mechanism to wrap the ProgressChanged event of a Progress<T> as an IObservable<T>.
2023-04-10 12:44:53 +01:00
Oliver Booth a4a1d3b13a
fix: only copy Unity-serialized members 2023-04-07 13:09:07 +01:00
Oliver Booth ad2d33aa88
style(test): use constraint API for length check 2023-04-07 01:34:34 +01:00
Oliver Booth dc6d984fa8
test: suppress ReSharper.Unity.InefficientPropertyAccess
This is false positive being thrown by the analyzer. The values are - in fact - changing before being read each time.
2023-04-07 01:34:08 +01:00
Oliver Booth 420ec2433a
feat: add Component move/copy
As usual, experimental API - subject to change.
2023-04-07 01:21:56 +01:00
Oliver Booth 1fe2a26b7f
Merge branch 'develop' into main 2023-04-06 19:23:58 +01:00
Oliver Booth 75ac9e2d8f
chore: add MetaServices to sln 2023-04-06 19:22:27 +01:00
Oliver Booth 57ff32ee94
[ci skip] docs: add comment explaining my absolute pain 2023-04-06 19:18:20 +01:00