Commit Graph

898 Commits (4e36ac34dc391780ca0e063a71adc89603242ff5)

Author SHA1 Message Date
Raphaël Vinot 4a1d43c7e2 fix: Fix typo 2017-12-20 14:27:31 +01:00
Raphaël Vinot de412edaee Merge branch 'master' of https://github.com/cvandeplas/PyMISP into cvandeplas-master 2017-12-20 14:25:00 +01:00
Raphaël Vinot 994afea0bd fix: Fix python2.7 support. 2017-12-20 14:21:32 +01:00
Christophe Vandeplas 2fb4170152 Merge remote-tracking branch 'MISP/master' 2017-12-20 13:29:36 +01:00
Christophe Vandeplas 582fd28702 fix MISPObject missing distribution and sharing_group_id
- fix MISPObject missing distribution concept
- fix language typo paramaters => parameters
2017-12-20 13:29:05 +01:00
Raphaël Vinot 78c156bb6f new: (hopefully) Cleverer handling of timestamps in the objects
& some cleanup
2017-12-20 12:43:31 +01:00
Raphaël Vinot a6bae6f79c Merge branch 'master' of github.com:MISP/PyMISP 2017-12-20 10:55:58 +01:00
Raphaël Vinot e90d28af9d chg: Add get_attribute_tag method at MISPEvent level
Also add a MISPTag class for consistency.
2017-12-20 10:53:46 +01:00
Alexandre Dulaunoy a573f3bae1
Merge pull request #156 from cvandeplas/master
document submodule downloading
2017-12-20 10:02:08 +01:00
Christophe Vandeplas ef6dd28478 document submodule downloading 2017-12-20 09:56:55 +01:00
Raphaël Vinot 74640af4ae fix: Initialize default class parameters.
Fix #155
2017-12-19 17:10:52 +01:00
Raphaël Vinot 0fa7785f7e chg: Bump misp-objects 2017-12-19 10:28:49 +01:00
Raphaël Vinot a2a59e703f Merge branch 'master' of github.com:MISP/PyMISP 2017-12-18 13:56:53 +01:00
Raphaël Vinot 6884289156 chg: Bump describeTypes 2017-12-18 13:56:44 +01:00
Raphaël Vinot 6828233a22
Merge pull request #154 from wagner-certat/inc-meta
Include documentation and examples in source dist
2017-12-18 13:47:25 +01:00
Sebastian Wagner 04351dfa80
Include documentation and examples in source dist 2017-12-18 11:25:11 +01:00
Raphaël Vinot 892ebbf077 chg: Add __repr__ methods (fix last commit) 2017-12-15 17:34:54 +01:00
Raphaël Vinot 56c74f1f50 chg: Add __repr__ methods 2017-12-14 16:12:54 +01:00
Raphaël Vinot 19a50a7ba7 chg: Use new format for filtering. 2017-12-14 11:06:52 +01:00
Raphaël Vinot 78d9673e24 chg: Bump misp-objects 2017-12-13 18:01:42 +01:00
Raphaël Vinot f15341d1cf chg: Bump describeTypes 2017-12-13 18:00:35 +01:00
Raphaël Vinot 68afcf1c38 chg: Bump misp-objects 2017-12-13 17:12:35 +01:00
Raphaël Vinot 98d63be062 chg: bump Changelog 2017-12-13 17:11:22 +01:00
Raphaël Vinot f02f889077 chg: Bump version 2017-12-13 17:09:46 +01:00
Raphaël Vinot 6db31b397a new: Add methods to get taxonomy(ies)
Thanks to @truckydev
2017-12-13 16:43:21 +01:00
Raphaël Vinot fe00b0b712
Merge pull request #151 from MISP/refactor
chg: Make the library easier to use
2017-12-13 15:58:56 +01:00
Raphaël Vinot 6c4e2b2861
Merge pull request #150 from sdrees/first-friendly-contribution-enhance-coverage
First friendly contribution enhance coverage
2017-12-13 15:47:43 +01:00
Raphaël Vinot d19a10ddcc chg: Make the library easier to use 2017-12-13 15:45:02 +01:00
Stefan Hagen (Individual) f68faf7c61 further tests added (for public methods) 2017-12-11 15:27:50 +01:00
Raphaël Vinot ff58b3bd59 Merge branch 'truckydev-get_last_modified_event' 2017-12-11 15:01:57 +01:00
Raphaël Vinot 5cbcc09d7d new: Add method to get all the events modified in an interval 2017-12-11 15:01:25 +01:00
Stefan Hagen (Individual) 635c02eadc changed asserts from dict usecases to set comparison to workaround non 3.6 behavior 2017-12-11 14:18:06 +01:00
Stefan Hagen (Individual) 207e1f195e Merge branch 'master' of https://github.com/MISP/PyMISP into first-friendly-contribution-enhance-coverage 2017-12-11 14:04:04 +01:00
Raphaël Vinot 9f8f15fb2b Merge branch 'get_last_modified_event' of https://github.com/truckydev/PyMISP into truckydev-get_last_modified_event 2017-12-11 14:03:37 +01:00
Stefan Hagen (Individual) e7f395a92c enhance coverage and fix en passant with focus on api 2017-12-11 14:00:43 +01:00
Raphaël Vinot 7946e2ef83 fix: Disable pseudofile support in py2, skip tests. 2017-12-09 13:35:44 +01:00
Raphaël Vinot 52e079fea2 chg: Allow to pass a pseudofile to LIEF 2017-12-09 13:12:04 +01:00
Raphaël Vinot 8a23e7a35a Merge branch 'master' of github.com:MISP/PyMISP 2017-12-09 11:52:58 +01:00
Raphaël Vinot ab3a6bb404 chg: Bump misp-objects 2017-12-09 11:52:26 +01:00
Raphaël Vinot 324b1c44a8
Merge pull request #149 from naisanza/master
fix: Typo in error output text description
2017-12-07 12:16:36 +01:00
Eric Jaw 66ccf54c12 fix: Typo in error output text description 2017-12-06 11:07:36 -05:00
Raphaël Vinot afa21e26dc chg: Update changelog 2017-12-06 10:45:51 +01:00
Raphaël Vinot 7db4dcfa22
Merge pull request #147 from StrayLightning/master
Check explicitly for a 500 response from the server with no response content
2017-12-06 10:41:21 +01:00
StrayLightning 748be6a093 Improve the exception message for a server 500+ response with no response content 2017-12-05 18:04:11 +00:00
StrayLightning 8a8b0c113d Check for zero-length 500 response from the server and produce a suitable error message
In experimenting with PyMISP I am triggering problems on the server I
am using.  Occasionally the server will return a 500 response with a
message indicating an internal error, but more often than not it returns
a 500 response with no contents, and _check_response falls over itself,
generating hard-to-fathom exception from the json internals.

This commit hardens _check_response by detecting zero-length responses
and raising a suitable exception.

Also fix a missing bracket in one of the subsequent exception strings.
2017-12-05 17:44:15 +00:00
Raphaël Vinot 1d190cdf50
Merge pull request #146 from c-goes/lief_integrity_exception
Make FileObject creation work if lief parsing fails
2017-12-04 18:57:52 +01:00
Raphaël Vinot 42c5cc5e37 chg: allow to pass a proxy to query VT 2017-12-04 18:43:44 +01:00
c-goes b514600965 Make FileObject creation work if lief parsing fails 2017-12-04 17:52:13 +01:00
Raphaël Vinot 5d0cc16e75 Merge branch 'master' of github.com:MISP/PyMISP 2017-12-04 14:12:18 +01:00
Raphaël Vinot 2ec1f20bc6 chg: Bump misp-objects 2017-12-04 14:11:45 +01:00