Commit Graph

1602 Commits (a2aa5646df4ea04a8190a67b0263460f3d618b3f)

Author SHA1 Message Date
Pierre-Jean Grenier a2aa5646df
chg: Return empty list instead of None
In all cases but one, the 3rd returned object is a (potentially empty) list.
2019-08-08 14:35:51 +02:00
Raphaël Vinot 783b84899d new: Preliminaty setup for testing syncing 2019-08-07 18:22:28 +02:00
Raphaël Vinot 0cedf960e9 new: Add few tests for admin tasks 2019-08-07 18:21:46 +02:00
Raphaël Vinot 7a5945a5ce fix: Properly __repr__ MISPUser 2019-08-07 18:20:38 +02:00
Raphaël Vinot f9c8fb815e new: Update MISP, test sync server 2019-08-07 18:19:52 +02:00
Raphaël Vinot da6d7cbeb8 fix: move __not_jsonable *inside* the __init__
Turns out, if you modify a variable defined outside the __init__,
every instances (and inherited classes) of that class will be impacted by it.
2019-08-07 16:09:56 +02:00
Raphaël Vinot a3140f3773 new: Properly support attribute/add of multiple attributes (2.4.113+) 2019-08-06 16:50:09 +02:00
Raphaël Vinot 89a24d4923 chg: Some more code cleanup 2019-08-06 14:26:54 +02:00
Raphaël Vinot 5286462361 chg: Code cleanup 2019-08-06 14:23:32 +02:00
Raphaël Vinot e993886dd7 fix: Exception when posting multiple attributes on attributes/add
Fix #433

Few cleanups in code.
2019-08-06 14:14:28 +02:00
Raphaël Vinot 549e3a5a84 chg: Enable more tests 2019-08-05 16:53:32 +02:00
Raphaël Vinot 9b7d547f14 chg: #4891 was fixed. 2019-08-05 15:59:24 +02:00
Raphaël Vinot 277f9a6037 chg: Bump describeTypes 2019-08-05 11:34:59 +02:00
Raphaël Vinot 9da8268162 chg: Bump changelog 2019-08-03 00:55:28 +02:00
Raphaël Vinot d160edce57 fix: Inconsistency in MISPEvent, reenable tests 2019-08-03 00:54:08 +02:00
Raphaël Vinot 1a0688ef6f fix: Some test cases need more love. 2019-08-02 18:01:08 +02:00
Raphaël Vinot c837ec6840 chg: Bump Changelog 2019-08-02 17:10:36 +02:00
Raphaël Vinot 1ac62e8e4e chg: Bump version 2019-08-02 17:09:44 +02:00
Raphaël Vinot 66ccc7d082 new: [Search] Add a few new options in rest search 2019-08-02 17:08:25 +02:00
Raphaël Vinot edb17ab092
Merge pull request #431 from chrisr3d/master
add: New attribute type weakness
2019-08-02 09:39:49 +02:00
chrisr3d 0e024760d1
add: New attribute type weakness 2019-08-01 16:47:38 +02:00
Raphaël Vinot a3a6e3cfd5
Merge pull request #430 from paalbra/master
Fix missing f in f-string
2019-08-01 15:53:17 +02:00
Paal Braathen 8d302d3ea6 Fix missing f in f-string
Fixes: #429
2019-08-01 15:47:40 +02:00
Raphaël Vinot b1c79f939b chg: [tests] Few improvements 2019-08-01 15:10:48 +02:00
Raphaël Vinot 1b85f73d89 chg: [tests] Add new test cases 2019-08-01 13:19:21 +02:00
Raphaël Vinot 1f6c238370 Merge branch 'master' of github.com:MISP/PyMISP 2019-07-30 20:15:15 +02:00
Raphaël Vinot 9352062de3 fix: PyTaxonomies is not compatible with python<3.6 2019-07-30 20:14:50 +02:00
Raphaël Vinot c0eced64f9
Merge pull request #428 from GOVCERT-LU/fix_make_timestamp
Bug in _make_timestamp
2019-07-30 11:45:28 +02:00
Georges Toth 7cc72349c1 wrong variable 2019-07-30 01:13:08 +02:00
Raphaël Vinot 0198c87b3f Merge branch 'master' of github.com:MISP/PyMISP 2019-07-25 14:53:56 +02:00
Raphaël Vinot 0957399799 new: Allow to change the template on an object on-the-fly
Related: #425
2019-07-25 14:53:30 +02:00
Raphaël Vinot 4974a4dd62
Merge pull request #426 from kovacsbalu/fix-tag-examples
Fix tag examples
2019-07-25 10:38:23 +02:00
kovacsbalu f3cb8c89a6 Remove unused line 2019-07-25 08:08:17 +02:00
kovacsbalu 98610fbafc Fix tag help text
Minor pycodestyle
2019-07-25 07:55:25 +02:00
Raphaël Vinot d477a3688c chg: Rename relationship included-in -> includes 2019-07-24 13:57:36 +02:00
Raphaël Vinot 96f65b7d29 chg: Bump misp-objects 2019-07-24 09:32:12 +02:00
Raphaël Vinot b5226a959c fix: Rename filename 2019-07-23 16:47:32 +02:00
Raphaël Vinot 03a7de794a new: [example] Script to load datasets from Scripps CO2 2019-07-23 16:46:28 +02:00
Raphaël Vinot 5a3e3def97 new: get_objects_by_name in MISPEvent
new: Convert datetime objects to python datetime.
2019-07-23 16:37:26 +02:00
Raphaël Vinot 457bbca839 chg: [deps] Bump 2019-07-23 00:02:27 +02:00
Raphaël Vinot 4d45587dc5 fix: [deprecation] Wrong deprecation message
Also, deprecated method was broken.

Fix #424
2019-07-22 15:18:25 +02:00
Raphaël Vinot 1dce91af8f chg: [examples] pythonify properly when needed 2019-07-22 12:41:27 +02:00
Raphaël Vinot 7bd130b506 chg: [tests] Toggle pythonify in create_massive_dummy_events 2019-07-22 12:32:03 +02:00
Raphaël Vinot f172a4a9c3 chg: Bump Changelog 2019-07-22 11:43:42 +02:00
Raphaël Vinot 38140e3a45 chg: Bump verison 2019-07-22 11:41:26 +02:00
Raphaël Vinot a6a0fcd4fb chg: Make pythonify=False default everywhere
Add a method to toggle pythonify globally
2019-07-22 11:28:31 +02:00
Raphaël Vinot 08da648dfb fix: [tests] Path to test file
Fix #423
2019-07-22 09:42:15 +02:00
Raphaël Vinot a40e383b18 fix: [objects] Allow the value of an attribute to be 0 2019-07-22 00:42:44 +02:00
Raphaël Vinot 31499bdc7e fix: [tests] Disable one of the test cases for now. 2019-07-21 02:26:24 +02:00
Raphaël Vinot ff2dd4435d chg: [tests] Update stats 2019-07-21 02:08:33 +02:00