Commit Graph

301 Commits (06332c7511337eed37499e290aecf981b26539e0)

Author SHA1 Message Date
Luciano Righetti 9625cc9584 fix: use query count instead of affected rows 2023-12-07 11:26:44 +01:00
Luciano Righetti 9cdea3488a chg: use factory index view for access logs 2023-12-07 11:18:39 +01:00
Luciano Righetti bf9ee1a0ca fix: authors serialization issue 2023-12-07 11:18:03 +01:00
Luciano Righetti 8fff28fd5f chg: use view factory 2023-12-07 11:16:00 +01:00
Luciano Righetti 796a9a04bf fix: function returns false in cli mode (test) and prevents logs to be written 2023-12-07 09:23:51 +01:00
Luciano Righetti c688095299 add: access logs views, add missing helpers 2023-12-06 15:46:36 +01:00
Luciano Righetti f5e90d63d0 fix: missing visibility 2023-12-06 11:05:50 +01:00
Luciano Righetti aaa99fda84 fix: deprecation notice 2023-12-06 11:05:31 +01:00
Luciano Righetti be8a307507 fix: warnings, authors json serialization 2023-12-06 11:04:59 +01:00
Luciano Righetti 8a5ce9d196 fix: [cs] 2023-12-06 11:00:36 +01:00
Luciano Righetti dd6c6aa164 add: [3.x] migrate access logs controller 2023-12-05 16:19:09 +01:00
Sami Mokaddem c32bc37d48
fix: [CRUD:index] Restored index filtering capabilities to support fields provided in the controller 2023-12-05 09:08:57 +01:00
Sami Mokaddem d4aa321813
chg: [objectTemplates] Removed model association with organisation and user + small UI and navigation fix 2023-12-05 09:07:44 +01:00
Sami Mokaddem f7c6cf4d13
new: [cli:user] Added resetAdmin command 2023-12-05 09:04:44 +01:00
Sami Mokaddem 10e493d27e
chg: [component:navigation] Usage of DirectoryIterator instead of deprecated folder API 2023-12-05 09:02:39 +01:00
Luciano Righetti 086859ec9f fix: remove unused imports 2023-11-28 15:24:37 +01:00
Luciano Righetti 02909aec88 new: add more api tests 2023-11-27 15:43:14 +01:00
Luciano Righetti cd1af3a455 new: migrate galaxy cluster relation endpoints, fix issues 2023-11-24 15:30:12 +01:00
Luciano Righetti a01b17904f add: api tests for /galaxyClusters/*, minor fixes 2023-11-16 16:18:14 +01:00
Luciano Righetti cd62718ae2 chg: jsonfield behavior 2023-11-16 15:05:47 +01:00
Luciano Righetti bb342f8768 add: api tests for /galaxies/wipeDefault, /galaxies/delete/[id], /galaxies/import 2023-11-14 10:47:46 +01:00
Luciano Righetti f040a50b5a add: add api test for /galaxies/export and other fixes 2023-11-13 12:56:30 +01:00
Luciano Righetti 56dea3e966 add: api tests for main galaxies controller 2023-11-10 16:58:15 +01:00
Luciano Righetti 321411a102 fix: wrong session user access 2023-11-10 16:57:42 +01:00
Luciano Righetti ac52e487dd fix: undefined access 2023-11-10 10:52:36 +01:00
Luciano Righetti dc6202d4b6 fix: session user access 2023-11-10 10:51:51 +01:00
Luciano Righetti 7b3a818ee0 fix: session user access 2023-11-10 10:51:14 +01:00
Luciano Righetti 45ced99459 fix: removed finder 2023-11-08 15:20:18 +01:00
Luciano Righetti ac98a88b75 fix: missing extension 2023-11-08 15:19:51 +01:00
Luciano Righetti e623a07815 fix: string interpolation 2023-11-08 15:19:25 +01:00
Luciano Righetti 4f8444dff6 fix: removed finder 2023-11-08 15:18:56 +01:00
Luciano Righetti 2ca194169d chg: [wip] migrate galaxies controller 2023-11-07 16:11:05 +01:00
Luciano Righetti ce159c7bb7 new: [wip] migrate galaxies controller to 3.x 2023-10-31 15:13:10 +01:00
Luciano Righetti 61e04da16b fix: wrong return hint 2023-10-31 15:05:36 +01:00
Luciano Righetti 6dd12398d4 chg: add default named params to middleware class instead of config 2023-10-26 14:44:26 +02:00
Luciano Righetti 356444f81c new: add named parameters parser middleware 2023-10-26 14:33:22 +02:00
Luciano Righetti 42b48d39e2 fix: deprecation warning 2023-10-26 14:29:27 +02:00
Luciano Righetti 00f067624c fix: use newEntity() instead of constructor 2023-10-11 16:14:23 +02:00
Luciano Righetti c424efa5e7 fix: extend tests 2023-10-11 13:27:45 +02:00
Luciano Righetti 07d12523ac fix: rename tests, fix notice 2023-10-11 10:38:17 +02:00
Luciano Righetti 1876525e35 add: test email encryption 2023-10-10 16:15:08 +02:00
Luciano Righetti b907a5b9ec add: configure gnupg, add gnupg tests 2023-10-10 10:54:23 +02:00
Luciano Righetti e2e58b77f8 add: [WiP] port of SendEmail tool and related docker adjustments 2023-10-09 15:35:32 +02:00
Luciano Righetti 2864226400 fix: unused bar 2023-10-06 15:14:05 +02:00
Luciano Righetti 744e0ed39d fix: wrong import 2023-10-06 11:54:18 +02:00
Luciano Righetti adb64de736 fix: remove debug 2023-10-06 11:52:06 +02:00
Luciano Righetti 11e0a1139a chg: refactor to use singleton 2023-10-06 11:48:43 +02:00
Luciano Righetti 60e01bf0db fix: migrate missing methods 2023-10-06 11:48:11 +02:00
Luciano Righetti 47252bc32f add: migrate command to test jobs 2023-10-06 11:47:38 +02:00
Luciano Righetti 8a879c8bce add: migrate missing tools 2023-10-06 11:43:34 +02:00
Luciano Righetti c674a2c0ac add: migrate missing methods 2023-10-06 11:43:04 +02:00
Luciano Righetti c5cfb788f5 chg: singleton/reusable instance 2023-10-06 11:19:33 +02:00
Luciano Righetti a01006d750 chg: send php env vars to child process 2023-10-06 11:14:25 +02:00
Luciano Righetti 14c675fa33 add: [WiP] background jobs basic ui 2023-10-05 11:32:33 +02:00
Luciano Righetti aff770249b add: background jobs and supervisor support 2023-10-05 09:02:57 +02:00
Luciano Righetti 8934d5acd7 fix: cs 2023-08-22 15:13:01 +02:00
Luciano Righetti a9247d324f fix: handle json columns 2023-08-22 11:48:16 +02:00
Luciano Righetti 7d924a5db9 fix: merge conflicts 2023-08-22 11:34:36 +02:00
Luciano Righetti 21749a552b fix: delete object template 2023-08-11 16:57:42 +02:00
Luciano Righetti 9dba935843 fix: parsing json values 2023-08-11 14:02:43 +02:00
Sami Mokaddem 531c8138a6
chg: [noticelists:update] Improved behavior and API response 2023-08-11 10:23:58 +02:00
Sami Mokaddem 4c3a4d353d
chg: [navigation:noticelists] Added update route and update action 2023-08-11 10:23:22 +02:00
Sami Mokaddem a586607b7e
chg: [component:navigation] Added support of new option `isPOST` for action opening a submission modal 2023-08-11 10:19:02 +02:00
Luciano Righetti 8901e860a2 fix: handle meta-category renaming 2023-08-10 16:33:32 +02:00
Luciano Righetti 8239889e8f fix: properly handle requirements 2023-08-10 16:23:33 +02:00
Luciano Righetti 11e3858042 fix: do not override json column if not present 2023-08-10 16:22:30 +02:00
Luciano Righetti d7183d69a0 fix: dir name 2023-08-10 15:29:12 +02:00
Luciano Righetti f3784eff4d fix: keep repo name for submodules 2023-08-10 15:25:17 +02:00
Luciano Righetti 0d53237894 new: migrate object templates 2023-08-10 15:15:20 +02:00
Luciano Righetti 10819dacb4 fix: use newEntity() 2023-08-10 10:09:44 +02:00
Luciano Righetti 8cb6005c10 fix: use newEntity() 2023-08-10 10:09:21 +02:00
Luciano Righetti 09191e54f7 add: migrate Log 2023-08-10 10:06:36 +02:00
Sami Mokaddem bcbf4cbdb7
fix: [sharinggroup:edit] Uses patchEntity instead of creating a new one 2023-08-10 09:48:54 +02:00
Sami Mokaddem db5f231ec9
chg: [component:CRUD] Refactored delete function to make it more flexible 2023-08-09 09:35:06 +02:00
Sami Mokaddem 52dcb51d79
chg: [component:CRUD] Changed how API reply wrapping is done 2023-08-09 09:34:30 +02:00
Sami Mokaddem 67ff5e2986
fix: [noticelists:view] Added forgotten contained models 2023-08-09 09:33:28 +02:00
Sami Mokaddem 8c2ff27df6
chg: [api] Added wrapper around response 2023-08-08 14:48:20 +02:00
Sami Mokaddem 392b34c5c1
chg: [noticelists] Updated navigation 2023-08-08 09:40:43 +02:00
Sami Mokaddem eb22955c4b
fix: [noticelist:previewEntries] Now correctly shows the entries 2023-08-04 15:34:19 +02:00
Sami Mokaddem d9dbee957c
fix: [tools:customPagination] Fixed missing arguments 2023-08-04 15:33:41 +02:00
Sami Mokaddem 67e95129bc
chg: [noticelist] Linted files 2023-08-04 15:32:53 +02:00
Sami Mokaddem b164c1b862
chg: [noticelist:index] Update to support more features 2023-08-04 14:48:48 +02:00
Sami Mokaddem daf02404be
chg: [appTable] Re-indenting 2023-08-04 14:42:50 +02:00
Sami Mokaddem a8239d2c89
chg: [sharingGroup] Added navigation link to sharing-group-template 2023-08-04 14:29:53 +02:00
Sami Mokaddem e20051abc1
chg: [sharingGroup:view] Usage of CRUD functions 2023-08-04 10:04:03 +02:00
Sami Mokaddem 64d5885b86
new: [component:CRUD] Added support of `uuid` for `view` action 2023-08-04 10:01:30 +02:00
Sami Mokaddem f3f01174d8
fix: [sharingGroup:entity] Fixed orgCount virtual field 2023-08-04 09:03:02 +02:00
Sami Mokaddem f5d9299539
chg: [sharingrGroup:indexOld] Removed function 2023-08-04 08:56:58 +02:00
Sami Mokaddem c64ad6d35b
Merge branch '3.x' of github.com:MISP/MISP into 3.x-ui-sharinggroups 2023-08-04 07:51:55 +02:00
Sami Mokaddem 3ec580247d
chg: [sharingGroups] Added support of toggle, massToggle and massDelete 2023-08-04 07:47:46 +02:00
Sami Mokaddem 30a6b67ca4
new: [component:CRUD] Added support of massToggle 2023-08-04 07:46:17 +02:00
Sami Mokaddem 6f35f5265d
chg: [component:CRUD] Refactored delete and added support of massDelete 2023-08-04 07:45:58 +02:00
Sami Mokaddem 442f3e419e
chg: [helper:table] Make linter happy 2023-08-04 07:44:25 +02:00
Luciano Righetti 0e2064c399 fix: use ->newEntity() 2023-08-03 14:26:18 +02:00
Sami Mokaddem 5944d7ba70
chg: [sharingGroupsTemplate:add] Various improvements/fix to support edition 2023-08-03 11:17:00 +02:00
Sami Mokaddem defb3d7a8d
fix: [sharingGroup] Correct usage of `newEntity` table function 2023-08-03 11:14:35 +02:00
Sami Mokaddem 83a76ccdde
fix: [sharingGroupTable:validation] Make sure the name is not empty 2023-08-03 11:14:05 +02:00
Sami Mokaddem 2604f39729
chg: [sharingGroupTable] Added `Timestamp` behavior 2023-08-03 11:13:26 +02:00
Sami Mokaddem f07209468e
fix: [sharingGroup] Added missing migrated function to update sgOrgs and sgServers 2023-08-03 11:12:54 +02:00
Sami Mokaddem 71987b5327
chg: [sharingGroupEntity] Added accessible fields 2023-08-03 11:12:01 +02:00
Sami Mokaddem 1b3d8566fa
new: [helper:bootstrapModal] Added support of `cancel` modal type 2023-08-03 11:10:58 +02:00
Sami Mokaddem 7e99bbb189
new: [helper:bootstrapIcon] Added support and styling for onclick 2023-08-03 11:03:26 +02:00
Sami Mokaddem 790133d4bc
new: [helper:bootstrapBadge] Added support of size 2023-08-03 11:02:52 +02:00
Sami Mokaddem de73cd898e
chg: [helper:bootstrapIcon] Improved support of passed options 2023-08-02 12:00:18 +02:00
Sami Mokaddem 566108b6f2
chg: [sharingGroup:add] Usage of newer UI 2023-08-02 11:31:55 +02:00
Sami Mokaddem e61a92f11c
chg: [helper:bootstrap] Added support of ID in bsTabs 2023-08-02 11:29:41 +02:00
Sami Mokaddem 8551a28302
Merge branch '3.x' of github.com:MISP/MISP into 3.x-ui-sharinggroups 2023-08-01 15:44:50 +02:00
Sami Mokaddem 281a489e1c
chg: [sharinggroup:index] Usage of newer UI and a bit of refactoring - WiP 2023-08-01 15:44:20 +02:00
Sami Mokaddem 04833c56c5
fix:[UI:sidebar] Usage of kebab-case for sharing group URL 2023-08-01 14:14:37 +02:00
Sami Mokaddem 745cd61382
fix: [component:CRUD] Use valid field input for filtering 2023-08-01 14:13:33 +02:00
Luciano Righetti 9df22f584e add: api crud tests 2023-07-27 14:40:38 +02:00
Luciano Righetti a16c34ce77 add: migrate authkeys 2023-07-27 11:27:54 +02:00
Luciano Righetti fc9b3fbdb5 fix: sharing groups add ui not working 2023-07-27 10:27:01 +02:00
Luciano Righetti 5890b8c60f add: migrate authkeys 2023-07-26 16:02:22 +02:00
Luciano Righetti 53cbbc0ec6
Merge pull request #9143 from righel/3.x-sharing-groups
3.x sharing groups
2023-06-20 11:54:45 +02:00
Luciano Righetti ce28fcc54f add: more tests, fix bugs 2023-06-20 11:52:27 +02:00
Luciano Righetti 1b0d05b3bb add: api tests for add sg with orgs and servers 2023-06-19 16:44:13 +02:00
Luciano Righetti 12d43c9d50 add: basic crud api tests for sharing groups 2023-06-15 16:51:36 +02:00
Luciano Righetti 2416a9e148 fix: duplicated method 2023-06-15 16:50:08 +02:00
Luciano Righetti 66b3e80727 fix: deprecation notice 2023-06-15 16:49:17 +02:00
Luciano Righetti a9b41e44b8 fix: cs 2023-06-15 16:48:30 +02:00
Luciano Righetti 6699712dac fix: cs 2023-06-15 16:48:10 +02:00
Luciano Righetti 058205862f fix: make endpoint backward endpoint 2023-06-15 16:47:36 +02:00
Luciano Righetti c3ec5a791f fix: cs 2023-06-15 16:45:39 +02:00
Luciano Righetti 399a3b5940 fix: namespace, notices 2023-06-15 16:44:27 +02:00
Luciano Righetti 2dae54ca15 add: migrate edit view (wip) 2023-06-14 10:53:47 +02:00
Luciano Righetti 267e870d0e add: migrate view sg 2023-06-13 16:45:44 +02:00
Luciano Righetti a44e3d8f4e add: sharing groups index view migration 2023-06-13 11:29:07 +02:00
iglocska 83dce48e60
new: [sightingsdb port] from 2.x 2023-06-09 13:45:52 +02:00
Luciano Righetti 9bd808aefd add: migrate sharing groups (controller) 2023-06-07 15:39:56 +02:00
Luciano Righetti 701d1d21b0 add: migrate sharing group table (model) 2023-06-07 15:00:03 +02:00
Luciano Righetti 82f58273a7 fix: beautify/cs 2023-06-06 11:34:04 +02:00
Luciano Righetti 3a657aaf17 add: port noticelists 2023-06-06 11:33:17 +02:00
Luciano Righetti 3fd702a8cb add: port CustomPaginationTool 2023-06-06 11:30:00 +02:00
Luciano Righetti 5256b3229a add: log table/entity 2023-06-06 11:29:47 +02:00
Luciano Righetti db5e6007dc fix: deprecation notice 2023-06-06 11:28:58 +02:00
Luciano Righetti 6b55542faf new: JsonFieldsBehavoir for handling orm level encoding/decoding of json fields 2023-06-06 11:26:52 +02:00
Luciano Righetti 3f8a7198ae fix: cs 2023-06-01 16:19:30 +02:00
Luciano Righetti 342f09b2a2 new: add JsonFieldsbehavior to handle json columns in database 2023-06-01 16:16:38 +02:00
Luciano Righetti 0d28194c84 fix: fix crypto keys controller 2023-05-12 14:18:20 +02:00
Luciano Righetti 751042f13f fix: exception types, use cakephp standard HTTP Client 2023-05-12 14:17:59 +02:00
Luciano Righetti 56ba8f9d49 fix: use CakeException 2023-05-12 14:17:19 +02:00
Luciano Righetti 9e542a0042 fix: deprecation notice 2023-05-12 13:51:45 +02:00
Luciano Righetti 093734e579 fix: linting errors, 'null' str response on delete, cs 2023-05-12 13:51:29 +02:00
Luciano Righetti fc7e6581b2 add: migrate crypto keys controller 2023-05-11 16:55:05 +02:00
Luciano Righetti f6a37b8d90 fix: event blocklists deprecation, bugs 2023-05-11 16:54:48 +02:00
Luciano Righetti f8b8c495ae fix: code 2023-05-10 16:59:55 +02:00
Luciano Righetti b73af51437 Merge branch '3.x' into allowedlists-api-tests 2023-05-10 16:57:08 +02:00
Luciano Righetti a7f4f0edbf add: acl rules for allowedlists 2023-05-10 16:41:28 +02:00
Luciano Righetti 42d99f25c0 chg: rename table for consistency 2023-05-10 15:59:11 +02:00