Commit Graph

106 Commits (0d4df7c98b0fc67618b1c3c298e64efb668fc4fe)

Author SHA1 Message Date
iglocska 4ea3612dfc
new: [objects] pass the /breakOnDuplicate:1 flag to the /objects/add endpoint to deduplicate
- returns an error if the object already exists
  - objects of the same template_uuid are compared
  - non deleted attributes only
  - type + category + value + object_relation tuple is compared
2020-02-10 14:30:34 +01:00
mokaddem eb9b60032e
fix: [objects:edit] Added *_seen validation and error reporting 2020-01-27 16:29:28 +01:00
iglocska 0b402e6474
Merge branch 'zoidberg-final' into 2.4 2020-01-20 06:10:41 +01:00
iglocska 03de8be19a
fix: [Objects] editing refactored
- code made more readable
- resolved an issue where objects could not be edited via the API without having the correct template
2020-01-17 10:11:51 +01:00
mokaddem a1fdea754d
Merge branch 'zoidberg-timeline' into zoidberg-final 2019-12-06 15:40:51 +01:00
iglocska e4c82eb9ff
fix: [API] adding objects now has better validation errors
- instead of silently dropping attributes in certain cases
2019-11-15 14:11:24 +01:00
mokaddem 6eda00f701
chg: [timeline] Synchronize *-seen at Object and ObjectAttribute level,
few fixes and Improved UI
2019-10-28 15:45:33 +01:00
mokaddem 265f96dac8
chg: [object:quickAddAttribute] Improved feedback when creation fails 2019-10-02 14:30:34 +02:00
mokaddem bb3cf85776
Merge branch '2.4' into zoidberg-timeline 2019-10-02 11:23:04 +02:00
iglocska 7a56d9ff43
fix: [API] invalid object reference fixed in objects/view, fixes #5003
- the Copy Pasta God(tm) strikes again
2019-08-14 17:03:47 +02:00
iglocska eb4e5bf765
fix: [API] Misp object delete's uuid lookup fixed 2019-08-14 15:07:11 +02:00
iglocska 519e110f9f
new: [internal / API] new component added to handle repeatable code across all controllers (toolbox controller)
- added UUID -> ID lookup function and integrated it across several functions
- fixes #4990
- fixes #4999
- fixes #4993
- fixes #4991
- fixes #4989
- fixes #4987
2019-08-14 15:01:31 +02:00
iglocska 5028b7250a
fix: [API] /objects/view should accept UUID as a parameter instead of just ID, fixes #4991 2019-08-14 11:39:51 +02:00
Pierre-Jean Grenier 36f4471055 chg: delete an object by its uuid, similar syntax to attribute's deletion 2019-08-13 18:12:52 +02:00
iglocska ae28d7b461
fix: [API] Object edit clusterfudge fixed 2019-08-05 13:41:23 +02:00
iglocska 166fbf0da4
fix: [objects] Fix various issues with objects/edit
- value1 and value2 should not be included in the repsonse, fixes #4944
- fixed input being misunderstood in certain situations
2019-08-05 10:50:39 +02:00
iglocska 5acc5f9658
fix: [objects] delete now accepts delete HTTP method 2019-07-12 16:05:15 +02:00
mokaddem d0361cecfc
chg: [object:edit] Reverted useless code 2019-07-11 10:36:37 +02:00
mokaddem 59d815b716
chg: [object] Set fs/ls on all attributes when an object got its fs/ls
sets
2019-07-04 13:52:29 +02:00
mokaddem 7d74408bdf chg: [object:quickAttributeAdd] Replace popover selection by the generic
picker
2019-06-13 14:14:02 +02:00
mokaddem 553ea16783 fix: [object:quickEdit] Fixed response to be of JSON type and improved layout 2019-06-13 10:51:59 +02:00
mokaddem 88eb7ee433 fix: [object:quickAttributeAdd] Fixed response to be of JSON type and improved layout 2019-06-13 10:34:22 +02:00
mokaddem e7f3d0d9df new: [timeline/*-seen] Initial import of the timeline code from the
zoidberg branch
2019-06-13 09:16:34 +02:00
mokaddem d6093b9659 chg: [object:fromAttributes] Method only accesible via AJAX and regular
users can use the feature
2019-06-12 11:17:17 +02:00
mokaddem b050269949 chg: [object:fromAttributes] Added support of hard delete if event not
published yet
2019-06-12 11:00:17 +02:00
mokaddem 82e7859182 chg: [object:fromAttributes] Show object references that will be dropped 2019-06-06 16:43:54 +02:00
mokaddem fe4740abd9 fix: [object:fromAttributes] SYNC support for older instances
(duplicate attributes and their contexts)
2019-06-06 15:11:34 +02:00
mokaddem af15c4af79 fix: [sync] Correctly capture the attributes from a groupment into an
object during the sync
2019-05-27 15:40:54 +02:00
mokaddem 42b952d9d8 chg: [object:fromAttributes] Added object_relation description 2019-05-24 14:29:35 +02:00
mokaddem a85cbd5877 Merge branch '2.4' of github.com:MISP/MISP into mergeAttributeIntoObjects 2019-05-24 10:18:39 +02:00
mokaddem db96ff4dae fix: [object:fromAttributes] Correctly skip non valid attributes 2019-05-21 10:56:58 +02:00
mokaddem 753a445177 chg: [object:fromAttributes] Created Object from Attribute now works 2019-05-20 17:36:00 +02:00
mokaddem 44d71a327a chg: [object:fromAttributes] Shows selected types and started
implementaion of the actual object creation - WiP
2019-05-20 14:30:20 +02:00
mokaddem f751c822b5 chg: [object:fromAttributes] Added support of form submission - WiP 2019-05-17 16:51:21 +02:00
mokaddem ca01897857 chg: [object:fromAttributes] Better Attribute filtering - WiP 2019-05-17 16:28:58 +02:00
mokaddem 5798a73462 chg: [object:fromAttributes] Greatly improved UI - WiP 2019-05-17 16:02:06 +02:00
mokaddem a90ac883aa chg: [object:fromAttribute] Continue of web and controller
implementation - WiP
2019-05-16 17:13:18 +02:00
mokaddem 2bce33b83e fix: [object:revise] Removed useless ACL conditions; was failing for users
not being admin.
2019-05-13 08:53:22 +02:00
mokaddem c325f1728c new: [object:fromAttribute] Started dev on merging selected attributes
into an object - WiP
2019-05-08 16:56:19 +02:00
mokaddem 9b1b5a6896 fix: [object:revise] Force field to be `value1`, preventing bug in some
cases
2019-05-02 16:35:11 +02:00
mokaddem 7848fb3ed8 chg: [object:revise] Increase threshold of
similar_objects_display_threshold and fixed count
2019-04-25 10:55:34 +02:00
mokaddem 324c7e783b chg: [object] Refacto renamed variables and added comments 2019-04-24 15:47:47 +02:00
mokaddem d75089e7a2 chg: [object:revise] Little perf improvement 2019-04-24 09:45:26 +02:00
mokaddem 0f48cfe13e chg: [object:edit] Clean up 2019-04-23 16:48:05 +02:00
mokaddem af16fa51b0 chg: [object:edit] Avoid duplicating same multiple entries and usage of
threshold instead of harcdoded value.
2019-04-23 16:19:25 +02:00
mokaddem 8bb9201a3d chg: [object:edit] Added similarity amount between objects 2019-04-23 14:54:09 +02:00
mokaddem 675af7d357 chg: [object:edit] Improved UI and diff recognition - WiP 2019-04-23 13:47:33 +02:00
mokaddem c1d330e046 chg: [object:edit] Continuation integration with template update and
object merge - WiP
2019-04-19 17:10:36 +02:00
mokaddem e2c865e07c chg: [object:edit] Started integration to allow updating object
templates - WiP
2019-04-19 11:43:28 +02:00
mokaddem f44efc9299 chg: [object:add] Improved UI for similar objects - WiP 2019-04-19 10:47:33 +02:00