Commit Graph

213 Commits (9a2c6a4c4baa1fc238d4930fb8fbb5ff5c7e29db)

Author SHA1 Message Date
Sami Mokaddem f068d18d49 fix: [application:migration] Better support of plugin migration 2021-10-04 11:01:20 +02:00
iglocska 99a89977c8
Merge branch 'keycloak' into develop-unstable 2021-10-01 13:53:14 +02:00
iglocska f60e411af1
new [keycloak]: WiP user enrollment added
- also moved the keycloak specific functionalities to a behaviour
- added new role permission (org admin)
2021-10-01 13:19:26 +02:00
mokaddem 348792c815 chg: [app] Added timestamp behavior for multiple models 2021-09-28 13:32:51 +02:00
iglocska efe3765609
new: [keycloak auth] wip version 1 added
- authenticate via keycloak (on demand only at the moment)
- check if user from JWT token exists
  - if yes:
    - check if role needs to be updated - do so if need be
    - check if organisation needs to be updated - (currently only captures, not aligned yet!)
  - if no:
    - create user
    - set role (if set, otherwise fall back to default configuration)
    - capture organisation - (currently not aligned yet!)
2021-09-24 01:48:50 +02:00
mokaddem b4fdc625da chg: [setting] Support of themes in settings 2021-09-18 11:21:50 +02:00
mokaddem 4faecfbbd7 chg: [instance:home] Slightly improved UI 2021-09-18 10:22:59 +02:00
mokaddem 0d8841a3bf Merge branch 'ui-navigation' into develop-unstable 2021-09-17 17:12:33 +02:00
mokaddem f4eb5da49d Merge branch 'ui-refacto2' into develop-unstable 2021-09-17 16:47:41 +02:00
mokaddem 0eb14195ee Merge branch 'tags' into develop-unstable 2021-09-17 16:46:54 +02:00
mokaddem 8032d0fad8 chg: [instance:search_all] Support of limit and per-model-searches 2021-09-13 15:56:51 +02:00
mokaddem f00798db44 chg: [instance:search_all] Support of total entry found 2021-09-10 14:46:56 +02:00
mokaddem b3c25f0cae new: [instance:search_all] Early work on search all feature 2021-09-10 11:55:54 +02:00
mokaddem bf3c1b9ee4 chg: [layout:header] Improved breadcrumb generation 2021-09-09 13:12:52 +02:00
mokaddem 14e0fa90b3 new: [instance:home] Added statistics and highlight panel - WiP 2021-09-06 11:17:25 +02:00
mokaddem feeda3b32b chg: [settings] Possibility to add icons and description in setting panels 2021-09-03 10:53:18 +02:00
mokaddem 8df647cdb9 chg: [migration] Added support of plugin migrations 2021-09-03 09:47:13 +02:00
mokaddem a14dc2e8fe chg: [tags] Transformed feature into a pluging - WiP 2021-09-02 11:30:09 +02:00
mokaddem 61255e2837 chg: [tags] Improved UI and added missing files 2021-08-31 15:21:28 +02:00
mokaddem a4535ea42e chg: [tag] Continuation of integrating tagging plugin - WiP
- Filtering
- CRUD of tags
2021-08-30 15:11:21 +02:00
mokaddem b1e5bbad1a new: [tag] Started integration of tag plugin with custom helpers - WiP 2021-08-24 10:49:53 +02:00
mokaddem 14c70a092f new: Decoupled Cerebrate settings from application settings
And included an example of setting provider
2021-07-30 15:12:54 +02:00
mokaddem fcde68be3f fix: [settingProvider] Fixed various UI bug 2021-07-30 15:12:09 +02:00
mokaddem 74a8a4cac2 fix: [settings] No error by default 2021-07-30 08:19:32 +02:00
mokaddem a82c8fe62b fix: [settings] Fixed missing error when evaluating parent settings 2021-07-30 08:16:04 +02:00
mokaddem 99522056fe chg: [instance:settings] Moved setting provider function at the top 2021-07-27 13:39:56 +02:00
mokaddem 6a89e65a37 fix: [instance:settings] Normalise value before saving 2021-07-27 10:58:34 +02:00
mokaddem 7fc2c595d7 chg: [instance:settings] Integrated actually save of settings 2021-07-27 10:40:58 +02:00
mokaddem ef86e77e41 chg: [instance:settings] UI refactoring 2021-07-26 11:48:26 +02:00
mokaddem cf793b6742 chg: [instance:settings] UI improvements 2021-07-23 14:51:48 +02:00
mokaddem 22faffb170 fix: [instance:settings] Improved support of select and apply correct UI coloring 2021-07-23 12:03:03 +02:00
mokaddem ac464e4129 chg: [instance:settings] UI improvements 2021-07-23 10:32:00 +02:00
mokaddem 99e3576221 chg: [instance:settings] Improved support of selects 2021-07-22 16:59:26 +02:00
mokaddem 7c4b45a6e0 chg: [instance:settings] Improved support of checkboxes 2021-07-22 15:51:06 +02:00
mokaddem 362a42787a chg: [instance:settings] Added search matcher and sorter 2021-07-22 09:54:01 +02:00
mokaddem 6f4f628c7c chg: [instance:settings] UI Improvements and framework to save settings - WiP 2021-07-21 16:07:30 +02:00
mokaddem 9f4fbf0410 chg: [instance:settings] Improved UI interface
Added searches and notices for individual settings
2021-07-21 11:18:06 +02:00
mokaddem d501969c1d chg: [instance:settings] Added notice if setting have issues 2021-07-20 11:54:55 +02:00
mokaddem dc5d54c30e new: [settings] Added setting and settingProvider functionality - WiP 2021-07-19 15:00:09 +02:00
mokaddem 41e9666224 new: [localTool:batchActions] Added framework to execute batch actions on list of connections 2021-07-07 15:05:32 +02:00
mokaddem d9bef3dc0c new: [localTools] Setting validation 2021-07-05 17:27:39 +02:00
mokaddem bc7e2baf83 new: [localtools] Integration of codemirror of tools parameters 2021-07-05 14:14:17 +02:00
mokaddem 7c269d6089 chg: [broods] Improved validation 2021-06-30 12:19:25 +02:00
mokaddem e6a1cf019d fix: [broods] Added validation 2021-06-29 16:19:13 +02:00
iglocska 96248bbd00
fix: [individual] fetching failed due to incorrect organisation model call 2021-06-29 13:13:41 +02:00
mokaddem 45d34ee43f fix: [inbox:createEntry] Ignore user alignment with organisation when creating entry 2021-06-29 11:37:49 +02:00
mokaddem cf3a8653e1 fix: [app] Prevent some ID overrides 2021-06-28 14:49:38 +02:00
mokaddem 15da5d067b fix: [brood:captureIndividual] Typos preventing calls to correct functions 2021-06-28 14:04:50 +02:00
mokaddem 31d04b8ff4 chg: [individuals:capture] Prevent ID override and usage of _accessible property 2021-06-28 14:04:01 +02:00
mokaddem 8f1f56d060 Merge branch 'develop' into inbox-misp-sync 2021-06-28 10:59:28 +02:00
iglocska 7ed72c5469
chg: [wip] local tool interconnector, user browsing/searching added for misp connector 2021-06-28 10:45:23 +02:00
mokaddem 63928e756a chg: [brood] Centralized methods to issue requests 2021-06-28 09:36:47 +02:00
mokaddem 2b8daf7960 chg: [connectorTools] Tracking of connection request state and improved integration with outbox 2021-06-21 14:30:32 +02:00
mokaddem 1da74b283a new: [outbox] Added outbox and linked it with failed outgoing messages 2021-06-19 13:16:25 +02:00
mokaddem 063575d8b3 fix: [inbox] Missing `Table` in class name 2021-06-18 11:59:25 +02:00
mokaddem 4080654806 chg: [inboxProcessor] Renamed `RequestProcessors` into `InboxProcessors` 2021-06-18 11:09:19 +02:00
mokaddem ae423bfb68 chg: [brood] Moved request sender handler in the brood table 2021-06-18 10:17:02 +02:00
mokaddem e1ebbc125a chg: [inbox:localTool] Usage of localTools in the inbox to process connection requests - WiP 2021-06-17 14:13:10 +02:00
mokaddem 974ed02e9b chg: [requestProcessors] Usage of connector name, connector/user/broods validations & UI improvements 2021-06-14 16:46:53 +02:00
mokaddem 048842263a fix: [localTools] Uncommented health-check 2021-06-14 14:13:38 +02:00
mokaddem 034ff034df chg: [inbox] Started integrating local tools within the inbox - WiP 2021-06-12 15:29:16 +02:00
mokaddem a03b433f2b chg: [requestProcessor] Recover local tool from request 2021-06-12 14:04:17 +02:00
mokaddem 5e0a4b155e Merge branch 'develop' of github.com:cerebrate-project/cerebrate into inbox-misp-sync 2021-06-12 13:34:13 +02:00
mokaddem 285061c4c6 chg: [requestProcessor] Improved processor collection for local tools processor 2021-06-12 12:10:22 +02:00
iglocska 2e9b306f46
chg: [wip] local tools integration 2021-06-11 14:27:22 +02:00
iglocska 551ca0d83f
chg: [wip] localtools 2021-06-11 10:44:24 +02:00
iglocska 7f58c34e02
chg: [wip] localtools 2021-06-10 13:45:46 +02:00
iglocska ef94ce147c
Merge branch 'main' into inbox 2021-06-01 14:37:29 +02:00
iglocska 62c43e854f
new: [queryLocalTools] endpoint added to broods
- show a list of local tools exposed by a remote cerebrate
2021-06-01 07:49:59 +02:00
iglocska c6332dee16
new: [sharing group] capture functionality added
- capture incoming sharing groups and add/update them when appropriate
- also capture child organisations
2021-06-01 07:49:22 +02:00
iglocska 3806831633
new: [localtools] functionality added 2021-06-01 07:45:01 +02:00
iglocska 2d4727770c
wip: initial connectors 2021-04-30 23:59:53 +02:00
mokaddem 80a07f9138 chg: [requestProcessor] Moved templates files in libraries/default folder 2021-03-22 16:17:56 +01:00
mokaddem bc1feaa9e6 chg: [requestProcessor] Moved setViewVariables 2021-03-19 11:15:43 +01:00
mokaddem e7a0f3f2ff chg: [requestProcessor] Added placeholder for future request processors 2021-03-18 15:17:39 +01:00
mokaddem 414ac9a59f chg: [requestProcessor] Refactoring code organisation 2021-03-18 08:51:11 +01:00
mokaddem 77fe4e6505 new: [inbox] First version of Inbox system and requestProcessors - WiP 2021-03-15 22:47:13 +01:00
mokaddem d4001fab18 chg: [CRUD] Improved metaFields filtering capabilities 2021-02-26 10:36:06 +01:00
mokaddem a8951ed69e new: [instance] Added first version of database migration plugin 2021-02-24 11:05:23 +01:00
iglocska aa15ad7781
Merge branch 'main' of github.com:cerebrate-project/cerebrate into main 2021-02-09 22:12:23 +01:00
iglocska c87f6651dc
new: [fetch] individuals added 2021-01-18 14:08:12 +01:00
mokaddem ff84f87d33 fix: [Component:CRUD] Allow saving metaFields 2021-01-15 14:40:03 +01:00
mokaddem 93f1467d5e chg: [broods] Moved to use the new factories 2021-01-14 12:42:05 +01:00
mokaddem 41ca17ef36 Merge branch 'main' of github.com:cerebrate-project/cerebrate into namespaced-metatemplates 2021-01-14 09:15:37 +01:00
iglocska c3a96c27af
new: [broods] added
- Cerebrate <-> Cerebrate sync
- explore remote cerebrate instances
- fetch data from remote (orgs, individuals)
- run connection tests with a remote instance
- check the version, sync user privileges on the remote
2021-01-13 14:30:44 +01:00
iglocska 1a6505bf61
chg: [Aligntments] setAlignment function moved to its appropriate model 2021-01-13 14:20:53 +01:00
iglocska 539ce4b99a
chg: [internal] saveMetafields moved to AppTable 2021-01-13 14:20:29 +01:00
iglocska af3d2dd6d9
new: [individuals] table capture functions added 2021-01-13 14:20:06 +01:00
iglocska a47dd94011
new: [Organisation] table capture function added 2021-01-13 14:19:45 +01:00
mokaddem b93dd49232 chg: [component:CRUD] Remove usage of custom header + added custom form
validation feedback
2021-01-12 10:16:58 +01:00
mokaddem 0a377915f6 chg: [metaTemplate:toggle] Enforce one default template per scope 2020-12-10 17:18:17 +01:00
mokaddem fa49821731 chg: [genericElement:index] Allow support of closure for variables and type 2020-12-10 16:50:46 +01:00
mokaddem 340626ce4e chg: [singleViews] Meta data are now clustered based on their template namespace 2020-12-08 09:07:48 +01:00
mokaddem 14509edef8 chg: [metaTemplate] Moved to namespaced meta fields based on their
template - WiP
2020-12-07 09:52:35 +01:00
mokaddem 7b393e58aa fix: [organisations] Make sure to cascade deletion calls 2020-11-30 13:54:36 +01:00
mokaddem 7f067acfa2 chg: [sharingGroupOrgs] Renamed table back to original name 2020-11-25 16:36:59 +01:00
mokaddem 54c513613e fix: [sharingGroup] Various fixes for sharing groups
- Renamed sharingGroupsOrgs table to follow cake4's recommendation
- Fix case if logged user doesn't have an organisation
- Provide all orgs if user is admin
- Fix issue with model associated with sharingGroupOrgs
- Fix addOrg missing entity for genericForm helper
2020-11-25 16:06:31 +01:00
iglocska 62d9a73673
new: [individuals] also contain metafields 2020-11-20 11:49:31 +01:00
iglocska 9e05e667ec
fix: [password validation] don't accept linebreaks
- as reported by cert.sk
2020-11-20 11:16:57 +01:00
iglocska 6df0ce51d3
new: [meta templates] reworked 2020-11-20 11:09:24 +01:00
iglocska df02343448
fix: [passwords] several fixes
- complexity requirements added
- validation rules added
- added confirm password rules

- as reported by cert.pl
2020-11-06 10:07:25 +01:00
iglocska 5f30a8b674
chg: [ACL] rework
- moved the menu into the ACL function
- tied ACL function into menubuilding process to remove items the user has no access to - thanks to @JakubOnderka for the inspiration
- tied missing endpoints into the ACL system
- fixed the queryACL function to work with Cerebrate
2020-09-29 13:18:28 +02:00
iglocska 4fd2c3b548
new: [metaFields] system added
- rework of several internal libraries
- append custom fields to objects
- templating system to assist users, using JSON files
- mapped the FIRST directory as a first test
2020-09-28 01:25:07 +02:00
iglocska b027007618
new [Authkey] implementation ready
- users can have multiple keys
- keys are hashed with bcrypt
- each key can have its own expiration
- each key can have a contextual comment

- authentication via API requests happens with the Authorization header
2020-08-07 21:47:04 +02:00
iglocska 7f42a728d5
new: [trust circles] menues added 2020-06-25 01:46:45 +02:00
iglocska ecc81bdb00
new: [Sharing groups] added (wip)
- CRUD
- attach organisation

still missing:
- remove organisation
2020-06-25 01:44:26 +02:00
iglocska 1a50e2ded1
fix: [encryption] keys could not be added due to invalid marshaling, fixes #15 2020-06-23 14:42:53 +02:00
iglocska 0fbec5374c
fix: [default user] Added default first/lastname 2020-06-22 17:54:19 +02:00
iglocska e26c0d0958
fix: [typo] pluralise model name 2020-06-22 17:52:11 +02:00
iglocska 6f9a9ca236
fix: [internal] Correct way of fetching the ID of the new entity 2020-06-22 17:50:10 +02:00
iglocska e5e7feff35
fix: [import] of table registry added to users table 2020-06-22 17:47:11 +02:00
iglocska 0c6e88cdee
new: [init] added functions to create a default user 2020-06-22 17:45:00 +02:00
iglocska 44c60942c0
chg: [restructure] the application
- move the app dir's contents to the source
- update composer for easier installation
2020-06-22 14:28:17 +02:00