Merge pull request #545 from chisholm/complete_pattern_visitor
Chris Lenk
2022-05-02 11:00:34 -0400
3dba3f74f9Fix more pre-commit style issues.
Michael Chisholm
2022-04-28 21:39:59 -0400
724122db65pre-commit styling changes
Michael Chisholm
2022-04-28 21:23:05 -0400
e534e41865Complete the addition of AST node class override support which was begun by frank7y. Added some unit tests.
Michael Chisholm
2022-04-28 21:10:12 -0400
b5260c95f6Fix utils.detect_spec_version() to use presence of the spec_version property in a bundle to infer spec version, not the property's value. Update unit tests accordingly.
Michael Chisholm
2022-02-18 21:33:13 -0500
Merge pull request #534 from chisholm/fix_comp_expr_dnf_sco_type_check
Chris Lenk
2021-12-23 16:36:26 -0500
3086b7ab5bFix pattern semantic equivalence bug: comparison expression DNF transform could trigger an error from the AST code which does the SCO type checks on comparison expression ANDs. The transform had been ignoring SCO types. Now, it will catch the exception and drop the AND from the pattern. Added a couple new unit tests for this.
Michael Chisholm
2021-12-23 00:59:41 -0500
519a5cb8faMerge branch 'master' of github.com:oasis-open/cti-python-stix2 into main
chrisr3d
2021-10-07 01:01:26 +0200
81550cab92Bump version: 3.0.0 → 3.0.1
Chris Lenk
2021-09-24 09:34:37 -0400
f5ea1396a1Update CHANGELOG for v3.0.1
Chris Lenk
2021-09-24 09:33:40 -0400
659e1fd90dFix transform from Filter object to TAXII filter to look at the filter operator; TAXII filters only support equals.
Michael Chisholm
2021-08-26 20:55:35 -0400
a4ce0222bfMove and edit a comment about HTTP status code 416 to reduce confusion.
Michael Chisholm
2021-08-24 15:04:05 -0400
a3d1056122Fix TAXIICollectionSource.query() to propagate HTTPErrors instead of ignoring them. Special-cased 416, since that can occur naturally while paging with TAXII 2.0.
Michael Chisholm
2021-08-24 00:15:50 -0400
295037f92cFix parsing.ipynb to not mention SCOs "inside" observed-data SDOs anymore. That is no longer the case in STIX 2.1.
Michael Chisholm
2021-07-12 16:16:29 -0400
d7981dce9fStop the flake8 hook from complaining about a line in a unit test that it is misunderstanding and shouldn't be complaining about.
Michael Chisholm
2021-07-12 14:40:54 -0400
b2108e90c6pre-commit stylistic fixes
Michael Chisholm
2021-07-12 14:33:56 -0400
3cee753852In extensions.ipynb, ran the JSON syntax highlighting cell before running the other cells, to produce HTML highlighted output cells, which I think had been the intent. I forgot and it produced plain text... oops.
Michael Chisholm
2021-07-11 21:04:38 -0400
79ceef5100Fix parsing.ipynb to not use the deprecated "objects" property of the observed-data SDO.
Michael Chisholm
2021-07-11 20:44:45 -0400
9f428c5efdUpdates to extensions.ipynb:
Michael Chisholm
2021-07-11 20:16:55 -0400
f0779d7802Add unit tests for self-enabling extensions support, and for compliance checking on toplevel extension property names.
Michael Chisholm
2021-07-09 20:28:32 -0400
945e3375aaFix extension registration to not only check nested properties for spec compliance, but also the toplevel properties, if any.
Michael Chisholm
2021-07-09 20:24:31 -0400
e99be67c1eRemove registration._get_extension_class() since it's redundant with registry.class_for_type().
Michael Chisholm
2021-07-09 18:11:11 -0400
34e82e489fFix marking definition extension unit test to use a plain old CustomExtension.
Michael Chisholm
2021-07-08 23:06:57 -0400
d27e9e6e55Back out changes to the CustomMarking decorator and registration, to revert its behavior to what it did before: register a type for old-style non-extension custom markings.
Michael Chisholm
2021-07-08 22:18:28 -0400
bb164ad1aeSmall change to a unit test
Michael Chisholm
2021-07-07 16:06:04 -0400
3a0297c597replaced links with stix-v2.1-os
Rich Piazza
2021-07-07 15:03:28 -0400
02bf33eedfMerge branch 'dev-extensions-proposal' of github.com:oasis-open/cti-python-stix2 into dev-extensions-proposal
Rich Piazza
2021-07-07 13:43:10 -0400
638689c481Add another check to the test_toplevel_ext_prop_meta() unit test.
Michael Chisholm
2021-07-07 13:03:13 -0400
d6a1aa9f74Merge branch 'dev-extensions-proposal' of github.com:oasis-open/cti-python-stix2 into dev-extensions-proposal
Rich Piazza
2021-07-07 11:02:05 -0400
99a8ade4cdpre-commit stylistic fixes
Michael Chisholm
2021-07-06 20:40:50 -0400
2cda97cf5eChanged STIX object initialization to formulate a property order and process properties in that order. This establishes iteration order on object properties, making the object_properties() method unnecessary. So the latter method has been deleted. All uses of that method have been removed.
Michael Chisholm
2021-07-06 20:32:58 -0400
8bbf5fa461Make extension instances work the same as other objects, with respect to properties. Before, properties were declared on toplevel-property-extension extensions as if they were going to be used in the normal way (as actual properties on instances of the extension), but they were not used that way, and there was some ugly hackage to make it work. Despite the fact that property instances were given during extension registration, they were not used to typecheck, set defaults, etc on toplevel property extension properties.
Michael Chisholm
2021-07-06 14:27:40 -0400
93d2524d45Remove excessive nested lists from CusomObservable decorator. Remove iterable chaining from CustomObject decorator. If all values are guaranteed lists now, it no longer makes sense to use it. Simpler and clearer to use plain old list concatenation.
Michael Chisholm
2021-07-02 21:10:52 -0400
b9eba77008Move the CustomExtension decorator from the v21.observables module to v21.common. Custom extensions are not specific to SCOs, so I don't know why it was in that module. Now, ExtensionDefinition and CustomExtension are together in the same module, just like MarkingDefinition and CustomMarking are together. Made sense to me.
Michael Chisholm
2021-07-02 20:54:54 -0400
6fc39a70eapre-commit stylistic fixes
Michael Chisholm
2021-07-01 20:08:09 -0400