Commit Graph

15 Commits (c1a2d17bbf38fb53ef5a8ce92c9a18bb0f5bd10d)

Author SHA1 Message Date
mokaddem c1a2d17bbf chg: More sane response decoding, done by the ORM 2019-06-19 11:32:06 +02:00
mokaddem 68f158ebed fix: [all] Fixed issue with py-redis>2.x and fix failed merge conflict 2019-06-18 11:25:17 +02:00
Steve Clement eda2581441
fix: [import] Fixed missing import sys 2019-06-01 15:08:48 +09:00
Steve Clement 92b91c5c05
chg: [log] Added 3 seperate log files: helpers.log / zmq_subscribre.log / zmq_dispatcher.log
fix: [log] Catch permission errors on log files
2019-05-29 10:41:43 +09:00
Steve Clement e74b4a5bff
fix: [isort] isort source files: https://github.com/timothycrosley/isort/wiki/isort-Plugins 2019-05-29 08:42:39 +09:00
Steve Clement 9d4cdd7e16
chg: [sort] isort on source files
fix: [typo] fix retreive to retrieve
2019-05-29 08:30:57 +09:00
Sami Mokaddem b76a9cd082 fix: [userLogin] Do not consider all login as login from the SYSTEM
ADMIN anymore

Due to the change in the misp-zmq, `misp_json_user` only contain the
information that a user has logged in, the user always being the same.

The code now records user logins from the audit channel `misp_json_audit`.
2018-10-01 13:28:27 +02:00
Sami Mokaddem 2c3f17c4a9 fix: return datetime instead of timestamp (to stay consistent) 2017-12-07 13:03:52 +01:00
Sami Mokaddem d8d9d5a145 fix: getDates was omitting dates 2017-12-07 09:17:22 +01:00
Sami Mokaddem bb3ccf2815 fix: contribution is correctly taken for the entire time span instead of just one day if no org is specified 2017-12-06 16:51:29 +01:00
Sami Mokaddem a52bf6ced5 update: Clear separation between login and contribution to have
meaningful query and contribution/login score.
2017-12-05 16:31:08 +01:00
Sami Mokaddem 73fb3324d3 feature/refacto: Simplified users_helper script. Added possibility to
get data from particular org (in helper and with typeahead).
/!\ CHANGED DATABASE ORGANISATION
2017-12-05 16:04:28 +01:00
Sami Mokaddem 2034941d64 Append to log instead of replacing 2017-12-05 10:32:12 +01:00
Sami Mokaddem 9139ed7eef Added logger in config 2017-12-05 10:23:40 +01:00
Sami Mokaddem bdef0c21e9 Moved helper scripts in their folder + updated import path 2017-12-05 09:56:32 +01:00