Commit Graph

134 Commits (df9fa875038652aad331c84bcaa73227601a940e)

Author SHA1 Message Date
Christophe Vandeplas 67efc70bf5 fix: [style] consistent space indentation 2019-02-10 13:08:55 +01:00
iglocska 0365cb19b1 fix: [API] previous commit fixed 2018-11-29 17:18:42 +01:00
iglocska e289db66aa fix: [internal] When editing an object to add new attributes, correctly set the default distribution if nothing is set 2018-11-29 17:14:56 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
Sami Mokaddem 7f71f2d4f8 fix: [mispObject] fixed disable_correlation saving & display issue
Before this fix, MISP was not saving any modification related to disable_correlation.
Moreover, the value of disable_correlation was always set to the one specified in the object's template
regardless of its actual value.
2018-11-21 15:25:03 +01:00
iglocska aa15896839 fix: [objects] Fixes issue #3874
- shouldn't be allowed in the first place
2018-11-14 20:10:22 +01:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
iglocska 604b463a42 fix: [API] Fixed object view API 2018-07-03 17:42:09 +02:00
iglocska 45cef39b2d fix: Account for alternate format for /objects/edit
- I need to take a shower after this fix
2018-05-08 14:38:30 +02:00
iglocska 436c9c9a01 fix: Fixed broken objects/edit 2018-05-08 14:07:40 +02:00
iglocska b2dff10511 fix: Fixed name change of variable breaking /objects/add 2018-05-08 10:24:51 +02:00
iglocska d49e3cb83f fix: Handle no template being passed to objects/add correctly 2018-05-08 09:44:04 +02:00
iglocska fc00138fc7 fix: Emergency fix for objects getting overwritten on a pull in certain situations
- object IDs not purged on pull can lead to a local object being overwritten
- the patch fixes the capture function to purge the object IDs

- as discovered and reported by TS-WAY (@TS_WAY_SRL)
2018-03-01 21:44:49 +01:00
iglocska f93db19b9c fix: objects not purged correctly when deleting an event, fixes #2810
- correctly included objects now in the quick delete function
- new upgrade script that purges existing orphaned objects
2018-01-15 11:55:29 +01:00
iglocska 8ed3883f0b fix: Fixed an issue where adding an attribute to an existing object isn't handled correctly via the API / sync, fixes #2760 2017-12-20 17:00:33 +01:00
iglocska 205d6ba148 fix: Fixed a condition where adding objects through /events/edit would fail 2017-12-12 09:50:31 +01:00
iglocska c332f43368 fix: Fixed an issue with the log model being referenced incorrectly in MispObject 2017-12-12 09:34:59 +01:00
iglocska bd81f48f07 new: Added object references to ZMQ 2017-10-27 15:39:40 +02:00
iglocska 68f4833893 new: First version of the zmq reimplementation 2017-10-27 09:10:46 +02:00
iglocska 9eb3ea2114 fix: When deleting an attirbute/objects, object references to it are not deleted, fixes #2477
- force a reference deletion on attribute/object deletion
- changed it to match deletion type
  - soft-deleting an attribute/object soft-deletes all references to it
  - hard-deleting an attribute/object hard-deletes all references to it
2017-09-17 12:26:06 +02:00
iglocska 80e70fd240 fix: Fixed notices described in #2482 2017-09-15 17:26:10 +02:00
iglocska 3938abe7e1 fix: Fixed the add attachments functionalities 2017-09-07 16:10:36 +02:00
iglocska b442a273fc new: Further progress on the synchronisation 2017-09-07 12:20:20 +02:00
iglocska 4bf01000dd fix: Various fixes with object reference editing 2017-09-04 23:12:46 +02:00
iglocska 80a00ea054 fix: Fixing various issues with the pull 2017-09-04 22:36:35 +02:00
iglocska 58bfabfa73 new: Sync with objects wip
- add/edit of full events now capture all object related structures
- restructuring of the edit/add functionalities into clearly divided subsections
2017-09-04 17:26:45 +02:00
iglocska 5552d7c030 new: Several new features
- added multiple flag among other things
2017-08-29 18:28:18 +02:00
iglocska c8b0be9431 new: Added first iteration of new add attachment functionality
- still WIP
2017-08-28 09:18:40 +02:00
iglocska c1ef6fe2b6 fix: Fixed array level mess-up
derp
2017-08-23 14:28:24 +02:00
iglocska 7b8e11379d chg: Removed default distribution for attributes in object - tkaen over by the pre-validation script 2017-08-11 15:58:06 +02:00
iglocska 94fbfed48f fix: Ommit object template elements with invalid attribute types
- and warn users
- shout out to all C-level managers at SHA2017
2017-08-06 20:53:21 +02:00
iglocska 8f6b53ee24 new: Progress on the Objects
- Fixed UI elements in the event view
- Added object-aware filtering to the event view
- Objects can now be deleted and viewed once deleted
  - object sanitisation if the setting is set is implemented
- Edit objects directly from the interface (if the template exists)
- Various other fixes
2017-08-06 18:23:24 +02:00
iglocska dd27f118f3 new: WIP - change to model aliasing to solve the reserved class name
- Internal name is now MispObject for the model, but it is used Aliased, removing the need to do any data massaging
- Added WIP edit function
2017-07-06 15:04:01 +02:00
iglocska 3a5b2f0157 chg: Changed Object to MispObject internally 2017-07-05 14:25:09 +02:00