Commit Graph

66 Commits (c591f06feaf6e73885ac52ed3d8a509fac2f3c52)

Author SHA1 Message Date
Nick Driver a4c230e4e4
Define $relationshipsInbound before call
Debug.log was showing the following error otherwise:

```
2024-04-12 14:11:52 Notice: Notice (8): Undefined variable: relationshipsInbound in [/var/www/MISP/app/View/Elements/Events/View/row_object.ctp, line 40]
Trace:
ErrorHandler::handleError() - APP/Lib/cakephp/lib/Cake/Error/ErrorHandler.php, line 230
include - APP/View/Elements/Events/View/row_object.ctp, line 40
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Elements/eventattribute.ctp, line 148
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Elements/Events/View/event_contents.ctp, line 64
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Elements/genericElements/SingleViews/single_view.ctp, line 113
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Events/view.ctp, line 296
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Lib/cakephp/lib/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 101

```
2024-04-12 10:19:56 -04:00
Sami Mokaddem 94dd4fa093
fix: [analyst-data:UI] Added missing entries for view elements 2024-04-03 15:39:20 +02:00
Sami Mokaddem 16439afde5
new: [analyst-data] Added Inbound Relationship to all views. 2024-04-03 14:44:08 +02:00
Sami Mokaddem 4f33648290
chg: [analyst-data:UI] Added support of relation for object + refactoring + fixes 2024-01-26 16:05:35 +01:00
Sami Mokaddem dca913c969
chg: [analyst-data] Linked CRUD and UI together - WiP
- Added dynamic association binding
- Recursive notes and opinions injection
- few improvements
- fixes

-> Still need to link CRUD for relationships and UI
-> Still need to refactor for performance notes/opinions loading
2024-01-24 21:48:53 +01:00
Sami Mokaddem 67156760dc
chg: [analyst-notes:ui] Started integration in events/view 2024-01-04 10:48:13 +01:00
iglocska c7d9575908
new: [UI] show which attributes/objects are new and awaiting publication still 2023-09-06 09:01:21 +02:00
Luciano Righetti 3698fdcfa8 fix: only show object enrichment icon if theres an available enrichment for the template 2023-08-01 11:23:22 +02:00
Luciano Righetti 2c661b565f new: allow user to enrich objects 2023-07-11 16:36:20 +02:00
iglocska 7d93f74b7b
new: [role permission] for viewing feed correlations
- added additional role permission
- allows hiding feed correlations from users
  - main purpose is with very large instances, to reduce the load on redis
2023-06-09 08:22:45 +02:00
Jakub Onderka e32971df5a fix: [UI] Quick edit of distribution 2022-12-15 10:04:46 -05:00
Jakub Onderka 3dbf37cd2a fix: [UI] Show add object attribute button just when user has permission 2022-12-15 10:04:46 -05:00
Jakub Onderka abc778871b chg: [UI] Hide org column if not required 2022-12-15 10:04:45 -05:00
Jakub Onderka 69997028e3 fix: [acl] Extended event UI permission 2022-10-25 17:23:10 +02:00
Jakub Onderka 20013e49fb chg: [UI] Event ID is not required for deleteObject method 2022-04-18 19:54:13 +02:00
Jakub Onderka 01c049448f chg: [UI] data-edit-field 2022-04-18 19:54:13 +02:00
Jakub Onderka f280866b53 chg: [UI] Event ID is not required 2022-04-18 19:54:13 +02:00
Jakub Onderka 1f6b6acdea chg: [UI] Make event page smaller 2022-04-18 19:54:13 +02:00
Jakub Onderka 6a8273d9ee chg: [UI] Cleanup code for object template 2022-04-18 19:54:12 +02:00
Jakub Onderka 79e911fde0 chg: [UI] Remove unnecessary placeholders from HTML code 2022-04-18 19:54:12 +02:00
Jakub Onderka c155dabc7b fix: [UI] Popovers 2022-03-29 20:42:06 +02:00
Jakub Onderka 9b92b502cc chg: [UI] Remove two onclick 2022-03-29 17:37:59 +02:00
iglocska dd6165762b
fix: [UI] hard-delete option missing for soft-deleted objects 2021-02-03 15:45:26 +01:00
mokaddem e68d19e209
chg: [events:view] Renamed object's `name` key into `Object name`
- This is done to emphasis that elements bordered with a blue line are
in fact MISP Objects
2020-11-09 17:24:37 +01:00
Alexandre Dulaunoy 4ffffc7445
Merge pull request #6416 from JakubOnderka/event-view-fix
Remove object checkbox
2020-10-14 20:16:16 +02:00
Jakub Onderka e6b8cb039e fix: [UI] Remove objectType is zero checks 2020-10-13 16:07:35 +02:00
Jakub Onderka 81bc9d6b00 chg: [UI] Use quick select for objects UUID 2020-10-13 16:07:35 +02:00
Jakub Onderka 8053cef45c chg: [UI] Put space between object action icons 2020-10-13 16:07:34 +02:00
Jakub Onderka 82ed06f86f fix: [internal] Remove unused $page variable 2020-10-10 22:51:29 +02:00
Jakub Onderka fd3d90ced1 fix: [UI] Remove checkbox from objects 2020-10-10 12:44:36 +02:00
Jakub Onderka c6ba723f50 fix: [UI] Make attribute/object focus work again 2020-09-27 11:40:44 +02:00
Vito Piserchia 7da8b32ada rebase continue 2020-08-17 17:25:02 +02:00
Vito Piserchia b8c7485712 resolve merge 2020-08-16 13:31:31 +02:00
Jakub Onderka 6e1c98fc25
fix: [UI] Proper object table header when includeRelatedTags 2020-02-07 13:07:14 +01:00
mokaddem 5ff9c29fb8
fix: [update] Function name conflict introduced by the merge + UI
Improvements
2019-12-09 09:53:18 +01:00
mokaddem a1fdea754d
Merge branch 'zoidberg-timeline' into zoidberg-final 2019-12-06 15:40:51 +01:00
iglocska c4f1d4d15e
new: [SightingDB] Added integration with SightingDB
- Added configuration tool
- Added lookups from the event view
- Added includeSightingdb flag for the restSearch searches
- Added SightingDB search tool
- Added SightingDB connection test tool
2019-11-06 21:20:04 +01:00
mokaddem 17763f7cee
chg: [object:quickAddAttribute:ui] Adjusted qcuik add buton placement 2019-10-02 11:54:42 +02:00
mokaddem bb3cf85776
Merge branch '2.4' into zoidberg-timeline 2019-10-02 11:23:04 +02:00
mokaddem bd1aacafea
new: [event:view] Added support of decay score 2019-08-12 16:34:26 +02:00
mokaddem 05838fb7bc
fix: [event:view] Icons color set to white when applicable 2019-07-04 09:37:39 +02:00
mokaddem ea7e7951b9
chg: [event:view] Added first_seen/last_seen column (event, server and
feed)
2019-07-04 09:33:39 +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 e7f3d0d9df new: [timeline/*-seen] Initial import of the timeline code from the
zoidberg branch
2019-06-13 09:16:34 +02:00
Olivier BERT aef027c4b9 Accessibility: added roles and aria labels for many icons and icon links (server list, tags, users, roles, attributes, ...)
There is still much work to be done. But we are on the road.

Ideally, and in order to avoid code dupplicates, we should have some utility functions to generate a proper and accessible yes/no icon, an accessible icon link, etc. This would prevent the code from being filled with "aria-label" tags, since the "title" and "aria-label" properties are nearly always the same.
2019-04-02 15:31:34 +02:00
iglocska a067fc769e new: [UI] Move to FA 5 2019-03-23 11:18:22 +01:00
iglocska 524ed1e8ac fix: [UI] show object UUID via the UI 2019-02-25 23:07:04 +01:00
iglocska 214df94bda chg: [i18n] Made the strings more i18n friendly across the application 2018-06-20 12:56:53 +02:00
iglocska b3c1354b30 fix: Made sure that object edit buttons are only visible to those that can edit them
- also, some cleanup in the code to make it more readable
2018-06-08 19:30:43 +02:00