Commit Graph

699 Commits (161e10ec4068243b6f8eb835bf708d3da9a00bba)

Author SHA1 Message Date
Chris Lenk 161e10ec40 Bump version: 0.5.1 → 1.0.0 2018-04-16 14:57:35 -04:00
Chris Lenk f66fbb73d9 Update CHANGELOG, docs for v1.0.0 2018-04-16 14:56:23 -04:00
Chris Lenk fef3717576
Merge pull request #168 from oasis-open/123-default-revoked
Provide default for revoked, sighting:summary.
2018-04-16 14:54:49 -04:00
Chris Lenk 14dce03616 Provide default for revoked, sighting:summary.
This allows filter on un-revoked objects. Changes default JSONEncoder to
drop optional properties with default values in the spec if set to the
default value. They can be included by passing
include_optional_defaults=True to serialize().
2018-04-16 14:37:07 -04:00
Chris Lenk 194672ee2b Tweak FilterSet docstrings style 2018-04-13 17:11:07 -04:00
Chris Lenk a1befe6387
Merge pull request #167 from oasis-open/invalid-type-names
Disallow invalid type names in custom classes
2018-04-13 16:52:36 -04:00
Chris Lenk 14d3543906
Merge branch 'master' into invalid-type-names 2018-04-13 16:38:17 -04:00
Chris Lenk f127d145c4
Merge pull request #166 from oasis-open/139-dict-filter-value
139 dict filter value
2018-04-13 16:35:32 -04:00
= 6df23e7268 removed unecessary checks, (clearly I need to review python ref model) 2018-04-13 16:06:31 -04:00
= 4734711137 corresponding doc update 2018-04-13 15:07:49 -04:00
Chris Lenk a475fc6dbd Disallow invalid type names in custom classes 2018-04-13 14:52:00 -04:00
Chris Lenk a8b8bfe88b
Merge pull request #165 from oasis-open/161-dictionaryproperty-fixes
Allow dictionaries in a ListProperty
2018-04-13 14:39:04 -04:00
= a614a78e22 rm testing lines 2018-04-13 14:21:44 -04:00
= eba1844535 tweak to filter property checking to make sure original object property is not altered; added tests for this as well 2018-04-13 14:01:33 -04:00
Chris Lenk 58be98104f
Merge pull request #164 from oasis-open/157-allow-generic-custom-observables
Allow generic custom observables and custom observable extensions
2018-04-13 12:38:02 -04:00
= abe252e248 Merge branch 'master' of https://github.com/oasis-open/cti-python-stix2 into 139-dict-filter-value 2018-04-13 12:35:47 -04:00
= 61e091baf3 added FilterSet class for internal use; modified certain parsing processes to make deepcopies or suppled values(dicts) so as to taint original user passed data; added Filter logic to handle datetime objects; added/adjusted tests accordingly 2018-04-13 12:25:12 -04:00
Chris Lenk fc6a33b23e Disallow missing 'type' property with allow_custom
There was a bug where if you allowed custom content the library would parse an
object without the required 'type' property.
2018-04-13 11:18:56 -04:00
= 1a1e5e1616 WIP- getting close though 2018-04-13 11:08:03 -04:00
Emmanuelle Vargas-Gonzalez a8b7be88d0 Add support for pretty print case list of dictionaries. 2018-04-13 11:04:07 -04:00
Chris Lenk d08be151f7 Allow a ListProperty of DictionaryProperties 2018-04-12 21:26:48 -04:00
Chris Lenk 91376586d4 Simplify allowing custom observables/extensions 2018-04-12 16:33:08 -04:00
Chris Lenk 9ef5b395a8 Fix allowing custom observables and extensions 2018-04-12 14:20:24 -04:00
= 31fc1c369a still WIP 2018-04-12 12:03:07 -04:00
Greg Back 2d689815d7
Merge pull request #162 from oasis-open/tox-fix
Improve Tox test harness
2018-04-12 08:49:35 -05:00
= 333fea4d18 merge conflicts 2018-04-11 21:08:37 -04:00
= ba6fa595c6 WIP - finding more issues with allowing dicts as filters 2018-04-11 20:54:16 -04:00
Chris Lenk 3e048ef325 Fix deprecated 3.6 backslash-character pairs
(https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior)
2018-04-11 15:46:17 -04:00
Chris Lenk 1d22c757ef Improve Tox test harness
- No need for both pycodestyle and flake8; flake8 includes the former.
- Use the proper pytest invocation.
2018-04-11 15:40:52 -04:00
Chris Lenk 76f1474a8b Pin sphinx version for ReadTheDocs
See also: https://github.com/rtfd/readthedocs.org/issues/3148
2018-04-11 14:43:44 -04:00
= 27647091a5 WIP - just at stash point 2018-04-11 13:36:52 -04:00
Greg Back 86b5d8408c
Merge pull request #160 from oasis-open/159-custom-consistency
Ensure consistency with custom Observable content
2018-04-11 09:00:08 -05:00
Chris Lenk af84948659
Merge pull request #158 from oasis-open/137-docs-review
Documentation Review
2018-04-10 13:11:24 -04:00
Chris Lenk b633fd3785 WIP: Allow custom observables, extensions 2018-04-10 12:54:27 -04:00
Chris Lenk 5c5ca1f21c Move 'extensions' property to custom Observables
... from custom Observable extensions (an extension doesn't need an
'extensions' property).
2018-04-09 15:35:08 -04:00
Chris Lenk b851afba01 Req. custom extension properties as list of tuples 2018-04-09 15:34:39 -04:00
Chris Lenk f83d9a56b5 Clean up documentation 2018-04-09 13:29:53 -04:00
Chris Lenk 1d06e642a4 Bump and pin nbsphinx version 2018-04-09 09:55:29 -04:00
Greg Back f5d64279e0
Merge pull request #156 from oasis-open/105-docs-label-out
Ensure all guide doc output cells have "Out [#]:" label
2018-04-05 16:28:35 -05:00
Chris Lenk 5791810906 Ensure all guide doc output cells have [Out] label
Fixes #105.
2018-04-05 16:44:44 -04:00
Chris Lenk e6e72856b3 Remove query_by_type()
Missed these earlier.
2018-04-05 11:22:50 -04:00
Greg Back a1ad90d43f
Merge pull request #150 from oasis-open/38-workbench
Create Workbench layer
2018-04-05 10:09:23 -05:00
Chris Lenk e3bbc39353 Fix bug with mutable default parameter 2018-04-05 10:07:35 -04:00
Chris Lenk 589c00064b Remove query_by_type
It's not that much of a shortcut and we can add it back in later if it
makes sense.
2018-04-04 14:09:54 -04:00
Chris Lenk f951b9b09e Factor out dupl. code for creating list of filters 2018-04-04 13:50:41 -04:00
Chris Lenk 9a50f54ec4
Update README.rst
Fix line break in usage example
2018-04-04 12:12:09 -04:00
Chris Lenk a1af05a14e Warn against using workbench with the rest of lib
Doing so may cause issues because the workbench overwrites the STIX
Object mapping.
2018-04-04 09:47:48 -04:00
Chris Lenk 1536857b19
Merge pull request #155 from oasis-open/emmanvg-patch-1
Update README.rst
2018-04-04 08:48:32 -04:00
Emmanuelle Vargas-Gonzalez fe1852d41e
Update README.rst
Update broken banners for Build_Status, Coverage and Version
2018-04-04 05:48:32 -04:00
Greg Back f61bc5e5ee
Merge pull request #154 from oasis-open/code-coverage
Increase code coverage, fix patterning bugs
2018-04-03 15:11:15 -05:00