Commit Graph

92 Commits (a98c559bff48842a786f95ed24486b4dc8686533)

Author SHA1 Message Date
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
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 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
mokaddem 67b3f29dd0 new: [object:add] UI to propose to merge into similar objects - WiP 2019-04-18 16:58:49 +02:00
iglocska 31ac700a15 fix: [API] Correctly embed attributes and the event metadata in the object via /objects/view/[ID] 2019-04-04 10:35:53 +02:00
iglocska ad53fc2c17 fix: [API] /objects/view should return dictionary not list 2019-04-04 10:11:07 +02:00
iglocska b519230f28 fix: [API] fixed adding malware-samples unencrypted with the encrypt key set, fixes #4355 2019-03-24 22:30:41 +01:00
iglocska e0a38b3cc0 fix: [API] Allow adding objects without having the correct template via the API fixed 2019-03-01 10:00:54 +01:00
Christophe Vandeplas 67efc70bf5 fix: [style] consistent space indentation 2019-02-10 13:08:55 +01:00
iglocska ce7704e4c5 fix: [API] object edit fixed to return the object in the correct format 2018-11-29 17:09:04 +01:00
iglocska 5c9fbe474a fix: [API] when adding an object, the response should have the correct format 2018-11-29 16:47:23 +01:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +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 8c450da4b5 fix: [Objects] Adding an object would not unpublish the event 2018-10-08 21:38:47 +02:00
chkp-aliaksandrt f1c9db50de
chg: [bug] Fixed wrong event lookup in case the uuid is passed as an eventId. Previously the code had two mutually exclusive conditions `Event.id = uuid and Event.uuid = uuid` so we were getting `Invalid event.` error 2018-08-03 13:32:55 +03: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
Steve Clement c607729e18 chg: [i18n] More __(); 2018-07-12 23:36:47 +02:00