Commit Graph

311 Commits (789bd9926f2f5a357f02f79642e3a420584e2ac9)

Author SHA1 Message Date
mokaddem 64646aa118 fix: [settings:fields] Added support of textarea and fixed variant from severity 2021-07-30 08:17:00 +02:00
mokaddem b75cdac42b chg: [instance:settings] group and panel level are optionals 2021-07-27 13:40:24 +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 aa66b4fbf5 fix: [genericElement:singleView] Improved display of json field 2021-07-07 15:11:52 +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 493530f52d fix: [genericElement:codemirror] Catch if no data for codemirror are passed 2021-07-07 15:02:48 +02:00
mokaddem 1251d0f168 chg: [genericElement:single_view] Usage of factories 2021-07-06 12:37:16 +02:00
mokaddem 64ca0179bf chg: [genericElement:single_view] Metafields have their own element 2021-07-06 12:35:50 +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 9de600db97 chg: [genericElement:index-table] Automatically include selector if
topbar has multi-select actions
2021-07-05 09:30:20 +02:00
mokaddem 91a9d0e662 chg: [brood:add] Empty organisation by default 2021-06-30 12:24:34 +02:00
mokaddem 97dd912da9 chg: [genericForm] Allow empty option in selector 2021-06-30 12:22:22 +02:00
mokaddem 186fba395a fix: [indexTable:group_search] Fixed typo in passed argument 2021-06-30 08:33:09 +02:00
iglocska 0472108cc3
fix: [authkeys] correctly filter the api keys on the user view 2021-06-28 23:43:42 +02:00
iglocska 0e8a6cbe1c
chg: [view] templates added for new permission role
- also fixed an issue with the signature of the component import in CRUDcomponent
2021-06-28 23:27:21 +02:00
mokaddem 7add89aa9e fix: [singleView:jsonField] Render only first value 2021-06-28 11:48:39 +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 3b0c2d2dca chg: [localTolls:broods] Reload correct index instead of redirect 2021-06-28 08:47:20 +02:00
mokaddem e933d6ca3b chg: [outbox] Support of bulk deletion 2021-06-23 11:34:26 +02:00
mokaddem 4899ede9cc fix: [inbox] Typo 2021-06-23 11:34:06 +02:00
mokaddem 2c58de4712 chg: [inbox] Added bulk deletion support 2021-06-23 11:19:56 +02:00
mokaddem 18e32730d2 fix: [genericElement:index_table] Added missing multi-select-actions view 2021-06-23 11:18:51 +02:00
mokaddem 467f549afc chg: [genericTemplate:delete] Support of single and bulk delete operations 2021-06-23 11:16:13 +02:00
mokaddem bb6489778f chg: [genericElement:index_table] Generic support of bulk operations 2021-06-23 11:15:22 +02:00
mokaddem 1da74b283a new: [outbox] Added outbox and linked it with failed outgoing messages 2021-06-19 13:16:25 +02:00
iglocska 3bf7f5a3e4
fix: [add encryption key] view description fixed, fixes #29 2021-06-18 10:46:54 +02:00
mokaddem f7b3e712eb fix: [localTools] Fixed typos 2021-06-16 09:47:26 +02:00
mokaddem 169ebac9ab Merge remote-tracking branch 'origin/develop' into inbox-misp-sync 2021-06-14 14:11:07 +02:00
iglocska e1ac7fe2e6
chg: [wip] localtools 2021-06-14 08:37:00 +02:00
mokaddem 034ff034df chg: [inbox] Started integrating local tools within the inbox - WiP 2021-06-12 15:29:16 +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 d76aa04ad7 chg: [genericElement:form] More flexible variable check 2021-06-12 12:04:57 +02:00
mokaddem 543603339b new: [inbox] Added list request processors 2021-06-12 12:04:11 +02:00
mokaddem edc23d8b71 fix: [genericElements:indexTable] Enforce actions button to be inline 2021-06-12 12:01:03 +02:00
mokaddem 835dbd88c8 fix: [genericElement:singleView] Allow displaying object not included in an array 2021-06-12 12:00:06 +02:00
mokaddem 7e47c48ef3 chg: [genericTemplate:index_simple] Moved file to element 2021-06-12 11:59:40 +02:00
iglocska 114e4e76e5
chg: [no-wrap] connections 2021-06-11 14:42:08 +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 d84caa97c9
chg: [templates] updated to support the new functionalities of localtools 2021-06-01 07:46:29 +02:00
iglocska cc31a22527
new: [localtools] templates added 2021-06-01 07:45:58 +02:00
iglocska 357c147c13
Merge branch 'main' into connector 2021-05-26 17:16:54 +02:00
iglocska cb28278f30
fix: [logout] url fixed, fixes #45 2021-05-14 13:43:28 +02:00
iglocska 32fc30a401
fix: [baseurl] for openmodal actions in the index factory fixed, fixes #46
- invalid url by prepending any url (even # for modal <a> tags) with the baseurl
2021-05-14 13:31:19 +02:00
iglocska 2d4727770c
wip: initial connectors 2021-04-30 23:59:53 +02:00
mokaddem df31135591 Merge remote-tracking branch 'origin/main' into inbox-system 2021-04-22 09:32:22 +02:00
iglocska dd30519e73
fix: [urls in links] 2021-03-26 12:55:40 +01:00
mokaddem 61f3701d14 fix: [genericTemplates:indexFilter] Correct usage of confirmFunction 2021-03-23 10:04:06 +01:00
mokaddem 80a07f9138 chg: [requestProcessor] Moved templates files in libraries/default folder 2021-03-22 16:17:56 +01:00
mokaddem 75a1ecba69 chg: [genericElements] Index table UI improvements 2021-03-19 11:17:00 +01:00
mokaddem f3f73a475b chg: [requestProcessor] UI improvements and simplified creation of
processors
2021-03-18 14:01:14 +01:00
mokaddem 0a1294bbee chg: [inbox] Improved layouts 2021-03-18 09:26:01 +01:00
mokaddem 414ac9a59f chg: [requestProcessor] Refactoring code organisation 2021-03-18 08:51:11 +01:00
mokaddem 1729d4b6ed chg: [requestProcessor:user-registration] Slightly improved UI 2021-03-16 08:45:37 +01:00
mokaddem 77fe4e6505 new: [inbox] First version of Inbox system and requestProcessors - WiP 2021-03-15 22:47:13 +01:00
mokaddem 5e7811ccaf chg: [genericTemplates:filters] Slightly improved UI 2021-03-11 09:18:12 +01:00
mokaddem 3bd2b7583e chg: [js:bootstrap-helper] Made submission modal more explicit 2021-03-10 14:54:52 +01:00
mokaddem 004bca47e6 new: [CRUD] Advanced filtering capabilities for index 2021-03-10 09:43:36 +01:00
mokaddem e35bf9fa74 chg: [element:indexTable] Changed notification behavior of toggle field 2021-03-10 09:40:08 +01:00
mokaddem 748c035cbf Merge branch 'main' of github.com:cerebrate-project/cerebrate into feature-metaField-index-filtering 2021-03-04 09:05:27 +01:00
mokaddem 1804d1ee3b fix: [pagination] Fixed ellipsis pagination 2021-03-04 09:00:16 +01:00
mokaddem d4001fab18 chg: [CRUD] Improved metaFields filtering capabilities 2021-02-26 10:36:06 +01:00
mokaddem 00528112f1 fix: [element] Group context filter to support multiple conditions 2021-02-24 11:10:52 +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 3c2fa086d6
new: [baseurl] added better baseurl handling
- set the baseurl via /config/app_local.php
  - simple set the baseurl to an absolute path or to a relative path if you with to use a subdirectory without setting a baseurl

- If no baseurl is set above, Cerebrate will also check the CEREBRATE_BASEURL environment variable
2021-02-09 22:10:26 +01:00
mokaddem 41948044cd fix: [sharinggroups] Possibility to remove/add org from sharinggroup 2021-01-18 17:26:35 +01:00
mokaddem 2288e8f66f chg: [element:generic_index] Added more flexibility in topbar 2021-01-18 17:25:18 +01:00
mokaddem 35c5c7d2d3 chg: [js] Include dark mode variable 2021-01-18 09:47:15 +01:00
mokaddem c70ce5170f fix: [element:generic_index] Toggle field passes expected data format 2021-01-18 08:51:16 +01:00
mokaddem 13c8f3f7c5 chg: [element:generic_index] Improved quick filter functionality and UI 2021-01-15 16:58:46 +01:00
mokaddem c4ef14077f fix: [element:generic_index] Correctly passes button variable 2021-01-15 14:42:38 +01:00
mokaddem 9873561ac5 chg: [element:generic_index] Usage of additional status node for context filtering 2021-01-15 12:15:36 +01:00
mokaddem 0ff8655fb3 chg: [element:generic_index] Usage of UI factory for group_search 2021-01-15 12:12:55 +01:00
mokaddem ba65c60838 chg: [component:CRUD] Pass searched value to the view and allow searching by hitting <enter> 2021-01-15 11:49:20 +01:00
mokaddem 93f1467d5e chg: [broods] Moved to use the new factories 2021-01-14 12:42:05 +01:00
mokaddem 691032551b chg: Added support of displayOnSuccess, non-dismissable modals and some
house cleaning
2021-01-14 11:33:51 +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 b0ee85cb12
new: [UI] connection test field added for the brood index 2021-01-13 14:29:54 +01:00
iglocska 7402476f0c
new: [templates] generic ajax form added 2021-01-13 14:29:29 +01:00
iglocska 867b7a22a1
fix: [cleanup] unused var in single view 2021-01-13 14:29:03 +01:00
iglocska 1a1a7b9107
fix: [index] search fixed
- correctly persist url parameters when searching
2021-01-13 14:23:11 +01:00
iglocska d6bef47ce9
fix: [org] field in the index table fixed
- removed debug
- correct extraction of the data
- show links for the orgs to the org view
2021-01-13 14:22:15 +01:00
mokaddem db1286074a Merge branch 'main' of github.com:cerebrate-project/cerebrate into namespaced-metatemplates 2021-01-13 14:21:11 +01:00
mokaddem 35165129b9 chg: [helpers:DataFromPathHelper] Simplified usage 2021-01-13 14:17:55 +01:00
mokaddem adc4a776a8 chg: [element:genericElements] Button placement consistency in generic modal 2021-01-12 11:59:35 +01:00
mokaddem 41f96dedcb fix: [js:bootstrap-helper] Correctly returns promise 2021-01-12 11:36:33 +01:00
mokaddem cd8d537273 chg: [js:bootstrap-helper] Overlay factory correctly supports variant for both elements 2021-01-12 11:30:15 +01:00
mokaddem 1753ce387e chg: [element:genericElements] UI improvements in index factory 2021-01-12 10:56:47 +01:00
mokaddem 974d3197e8 chg: [controllers] Bug fixes and usage of UI factory 2021-01-11 16:28:07 +01:00
mokaddem a5e3ded892 chg: [genericElements:indexTable] Improved UI of toggle field 2021-01-11 14:21:46 +01:00
mokaddem 899fa27a45 chg: [component:CRUD] Improved flexibility 2021-01-11 12:48:58 +01:00
mokaddem 30246dfc70 chg: [genericElements:indexTable] Added documentation for toggle field 2020-12-15 16:36:53 +01:00
mokaddem dddc7d1a12 chg: [genericElements:indexTable] Added option in toggle field to skip full index reload 2020-12-15 16:14:06 +01:00
mokaddem 5782e29642 fix: [genericElements] Fixed Usage of bootstrap-helper's overlay 2020-12-15 15:00:21 +01:00
mokaddem f9bf1c6f55 chg: [generic] Added Modal from URL support
- Support Form submission
- Success / Fail callbacks
- Modal reloading in case of validation errors
2020-12-15 10:40:49 +01:00
mokaddem f4725207fc chg: [helper:stringFromPath] Added same feature but for array of strings 2020-12-11 10:11:59 +01:00
mokaddem f279939c8b chg: [genericElement:single_view] Bit of refactoring and
skip_meta_template option
2020-12-11 09:01:46 +01:00
mokaddem aebbb3ebd8 chg: [metaTemplates] Outline default template 2020-12-10 17:46:16 +01:00
mokaddem 9a1d254b01 chg: [metaTemplates:index] Improved conflict text 2020-12-10 17:05:51 +01:00
mokaddem fa49821731 chg: [genericElement:index] Allow support of closure for variables and type 2020-12-10 16:50:46 +01:00
mokaddem 3d647680a0 chg: [genericElements] Perform ajax call when filtering with context 2020-12-10 15:37:39 +01:00
mokaddem 79e34052c8 new: [app] Lots of new helpers for views, js and genericElements 2020-12-10 15:20:30 +01:00
mokaddem a9d808f533 chg: [genericElements:listTopBar] Filtering context are taken from
passed data instead of set variables
2020-12-08 15:15:58 +01:00
mokaddem 8cc16b4a69 chg: [component:CRUD] Improved filtering context to be more flexible
- Support fields to be taken as quick filters
- Support custom quick filters by specifying the conditions
2020-12-08 15:08:12 +01:00
mokaddem 8c2f9a6940 fix: [genericElements:single_view] Only display meta-field box if the view contains some 2020-12-08 15:05:53 +01:00
mokaddem 52fef41f3c fix: [Component:CRUD] Allow edit of meta-fields and added group_by clause 2020-12-08 10:31:17 +01:00
mokaddem ff1f8bfc97 chg: [singleView:single_view] Usage of name instead of namespace for meta-templates 2020-12-08 09:25:16 +01:00
mokaddem 332c4f48a2 chg: [singleViews:single_view] Improved layout for meta-templates 2020-12-08 09:19:00 +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 4cfff0fce4 chg: [genericElements:toggle] Added support of requirement for being
able to change the toggle's state
2020-12-08 09:07:00 +01:00
iglocska 8d57ce11a4
fix: [metafield] account for "raw" being null but still set - use isset for the check 2020-12-07 17:17:11 +01:00
mokaddem ad8ce73fdf fix: [genericElements:form] Make sure current model have meta-templates 2020-12-07 16:20:20 +01:00
mokaddem aecf8df4f4 chg: [templates] House cleaning 2020-12-07 16:20:01 +01:00
mokaddem 80a8062ba8 new: [genericElements:topBar] Added contextual filtering 2020-12-07 16:06:01 +01:00
mokaddem 1f32072d69 chg: [CRUDComponent] Added toggle
- Applied to meta-templates
2020-12-07 14:18:09 +01:00
mokaddem 8ea8bf6418 new: [webroot] Added bootstrap toaster 2020-12-07 14:15:59 +01:00
mokaddem 14509edef8 chg: [metaTemplate] Moved to namespaced meta fields based on their
template - WiP
2020-12-07 09:52:35 +01:00
iglocska fabadf3380
chg: [logo] colour change
- for the swarm
2020-12-02 19:37:24 +01:00
mokaddem 465b257d6e chg: [genericForm] Fallback entity to null (to model-less form) if not provided 2020-11-25 16:45:55 +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 0dbb5f07ca
chg: [encryption keys] index - removed superfluous owner id 2020-11-20 11:17:24 +01:00
iglocska eb2db00108
fix: [pagination] link highlighting 2020-11-20 11:16:15 +01:00
iglocska 6df0ce51d3
new: [meta templates] reworked 2020-11-20 11:09:24 +01:00
iglocska ac79db5699
chg: [menu system] fixes and updates
changes:
- added "popup" as a new flag for the menu element in the ACL component - links in the menues will be popovers for these
- added some missing links

bug fixes:
- fixed a bug breaking the adding of sharing groups due to the id variable not being set

as reported by cert.pl
2020-11-06 13:21:45 +01:00
iglocska ff9c60902b
fix: encryption modifications
- added a limited edit function
- changed the index to make more sense

- as reported by cert.pl
2020-11-06 10:45:00 +01:00
iglocska d04efb232c
fix: [encryption keys] adding a key correctly returns the expected view elements
- also some minor tweaks on the index
- CRUD component now accepts a redirect parameter

- as reported by cert.pl
2020-11-06 10:25:22 +01:00
iglocska 76883145fb
chg: [user add] don't autocomplete username/password fields 2020-11-06 09:21:44 +01:00
iglocska 1d611b2df8
fix: [metafields] don't show the element if no metafields are configured for the scope 2020-11-06 08:59:15 +01:00
iglocska 930d728a97
fix: [user edit] required password change
- as reported by cert.pl
2020-11-05 10:21:57 +01:00
iglocska a7348e5266
fix: [security] Removed a user's ability to change their role
- as reported by cert.pl
2020-11-05 10:17:42 +01:00
iglocska f09e8ce3c7
fix: [templates] left off 2020-09-28 01:26:50 +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 44bab1754c
chg: [users add UI] changed password to an actual password field 2020-06-25 02:11:56 +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 cb9e650b5f
fix: [open APIs] fixed some minor issues 2020-06-24 23:18:52 +02:00
iglocska 3c0bee7848
chg: [UI] some adjustements to make both themes less awkward 2020-06-23 14:26:41 +02:00
iglocska 1ae1e496f2
new: [UI] some refactor and added theming 2020-06-23 14:14:20 +02:00
iglocska a5e00aa567
fix: [UI] removed the annoying left side padding 2020-06-23 13:07:12 +02:00
iglocska 243cffad6e
new: [UI] made the side menu responsive, fixes #16 2020-06-23 13:05:08 +02:00
iglocska 7c9e44164c
fix: [UI] reverted ajax index tables not having the title/description
- messes with the pagination
2020-06-23 00:58:27 +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