Commit Graph

50 Commits (f9d204127c6dcfaba41f7cb19961d54bd98a16f3)

Author SHA1 Message Date
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
iglocska 5b16dda5fa fix: [bug] invalid function call for the event lock via the objects controller 2018-06-12 16:08:32 +02:00
iglocska 6890b734cc new: [UI/UX] Event lock initial version
- Show if another user is editing the event you're viewing (same org only)
2018-06-12 09:40:23 +02:00
iglocska 020157df00 new: [API] objects/add now supports uuids and the version number
- API: /objects/add/[template_id]/[version]
  - template_id can be a UUID
  - version is an optional parameter to select the specific version of a template if searching by uuid
2018-06-05 16:30:26 +02:00
iglocska 008ef4fa35 fix: [API] Add object request has been black-holed. #3271
- blanket disabling the security component for API requests clashes with explicit disabling of certain security component features in the objects controller causing exceptions
2018-05-23 11:11:35 +02:00
iglocska 68b8266584 new: New flash message system, fixes #3252
- 3 types of flash messages (success, error, warning)
- uses bootstrap's own classes/structure
2018-05-16 19:32:38 +02:00
iglocska 436c9c9a01 fix: Fixed broken objects/edit 2018-05-08 14:07:40 +02:00
iglocska 3c33d82244 fix: Fixed object add 2018-05-08 14:00:19 +02:00
iglocska c01f2d54f0 chg: Allow /objects/edit/id to accept a UUID instead of a local ID 2018-05-08 11:33:36 +02:00
iglocska d49e3cb83f fix: Handle no template being passed to objects/add correctly 2018-05-08 09:44:04 +02:00
Sami Mokaddem 680311f68f chg: [Controllers] sets the ajax variable globally
As well as removing useless set in controllers and accessing it instead
of passing through the request.
2018-05-07 14:44:59 +00:00
Sami Mokaddem c7496c67ca fix: changed "xhtml:body" into "xhtml:div", to avoid creating a body DOM
which cause listener on the original body to bug. Incremented js number
and check if request is ajax or not in ObjectController
2018-04-23 07:35:52 +00:00
iglocska 9cb2095644 new: finished the first version of the recovery tool 2018-03-04 19:14:59 +01:00
iglocska 841e1d2300 new: Object reconstruction after, resolving the ID bug, WIP 2018-03-04 15:02:34 +01:00
iglocska 39b5d06f29 new: Temp diagnostic tool for orphaned object attributes 2018-03-01 22:34:20 +01:00
iglocska b893fd7663 fix: Object deletion view was bugged and non-functional 2018-01-23 08:30:40 +01:00
iglocska 54db2bf3fd fix: Correctly attach sharing groups to objects / attributes within objects 2017-12-20 15:26:41 +01:00
iglocska 396eecd242 fix: Ugly fix for the float issues 2017-11-08 18:55:13 +01:00
iglocska 2e24f86bca fix: Further fixes to the new zmq system 2017-10-27 12:16:57 +02:00
iglocska 0a15ecd6eb fix: Fixed wonky object pre-save view
- showed numeric distributiion level for attributes
- showed numeric sharing group ID for attributes
- showed currently selected sharing group ID even if the distribution was ultimately not set to sharing groups
2017-10-04 10:44:02 +02:00
iglocska 343e5b881f fix: Fixed potential double hashing of samples with the encrypt flag 2017-09-27 15:47:29 +02:00
iglocska bb99706cf3 new: Various object template improvements
- allow multiple versions of a template to be stored at the same time
- select which version is the primary version of a template
- disable/enable templates
- edit objects with one of the older versions of a template if the object's version requires that

- various UI / bug fixes
2017-09-18 00:38:30 +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 7926998023 fix: No attributes set in the objects add form makes MISP barf up notices instead of gracefully showing an error - fixes #2476 2017-09-15 17:01:31 +02:00
iglocska f078f07325 fix: Unpublish event on object add 2017-09-14 09:33:20 +02:00
iglocska 77f4d49e47 fix: Various fixes for the objects 2017-09-07 16:52:18 +02:00
iglocska 80a00ea054 fix: Fixing various issues with the pull 2017-09-04 22:36:35 +02:00
iglocska 5552d7c030 new: Several new features
- added multiple flag among other things
2017-08-29 18:28:18 +02:00
iglocska c1ef6fe2b6 fix: Fixed array level mess-up
derp
2017-08-23 14:28:24 +02:00
iglocska 859d6e1c46 new: Added object relations 2017-08-21 10:13:19 +02:00
iglocska fb799fc61a fix: Fixed the saving of objects 2017-08-10 16:19:46 +02:00
iglocska 5d9cfe5d6c fix: Updated the new ajax methods to follow the new JSON rules 2017-08-10 14:12:47 +02:00
iglocska ead2b9e1fd fix: Various fixes 2017-08-10 11:11:33 +02:00
iglocska 0e7dd2eddc new: Added first iteration of object references and other changes
- various fixes
- rework of the pagination library
2017-08-09 17:53:25 +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 8cd31dd76c new: Further work on the object UI
- refactoring
- added objects fields to object rows
- nested rows within the object
- massive cleanup
2017-08-02 23:01:12 +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
iglocska be740e608c new: Further progress with the objects
- added option to populate event with an object to the side menu
- multiselect popup for objects added
- redirect after adding object fixed
2017-07-03 00:29:03 +02:00
iglocska df5daae664 chg: Further work on the objects
- view events with objects via the API
- Further improvements to adding objects
2017-07-02 22:42:44 +02:00
iglocska d2e1a8e259 new: More work on the objects
- mostly on adding / validating / saving objects including the UI for it
2017-07-02 20:32:30 +02:00
iglocska ee1c1c5de9 new: Further progress on the objects 2017-07-02 00:05:15 +02:00
iglocska 93a99208c6 Merge branch '2.4' into feature/objects 2017-06-13 12:08:26 +02:00