Commit Graph

490 Commits (3ca6b68429eabf34018631c7a3372747ff6fb602)

Author SHA1 Message Date
Sami Mokaddem 6fc568e80e
new: [metaTemplateNameDirectory] Added index to see the known template and their associated saved meta-templates 2023-02-27 12:16:36 +01:00
Sami Mokaddem 59f8608d50
new: [user:permissionLimitation] Added current permission status while in `add` or `edit` context
Also moved the notification key from meta-fields to meta-template-fields
2023-02-24 15:22:18 +01:00
Sami Mokaddem 57835b8e52
fix: [elements:metaTemplateForm] Restored error container in the form 2023-02-24 15:05:19 +01:00
Sami Mokaddem 14b46c0e9d
fix: [element:metafields_panel] Correct usage of notices for bootstrap/listTable 2023-02-24 15:03:06 +01:00
Sami Mokaddem af8f1e9e74
chg: [tags:org/individual] Relaxed ACL on tagging
- Before only `site_admin` could add tags.
- Now `org_admins` can add tags for their orgs and individuals
- Regular users can self manage their own individual tag
2023-02-24 11:17:55 +01:00
Sami Mokaddem cbdf64a784
new: [element:tagsField] Added support of editable based on passed configuration 2023-02-24 11:12:48 +01:00
Sami Mokaddem 22c460575e
chg: [organisations:add] Added notice about UUID reuse 2023-02-24 10:06:04 +01:00
Sami Mokaddem 6eb5106153
new: [ui:formInfo] Rafactored formInfo and added support of field description
Can be done by using the `tooltip` key on the field configuration
2023-02-24 10:03:45 +01:00
Sami Mokaddem b4df0ce289
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2023-02-23 14:59:10 +01:00
Sami Mokaddem a67c6b70d5
chg: [roles:index] Only show `add role` button for users having ACL access 2023-02-23 14:58:54 +01:00
Sami Mokaddem f18cde8b0f
fix: [authkey:add] Forced `expiration` field to use datetime UI component
Fix #145
2023-02-23 14:22:00 +01:00
Sami Mokaddem 4d4642770f
new: [crud:filter] Added support of IN searches using dropdown 2023-02-23 12:55:18 +01:00
iglocska ab2ab4e8f8
chg: [organisations] nationality field renamed to country
- UI display only so far
  - want to maintain alignment with MISP, might change in the future
- filtering still calls it nationality
- API still calls it nationality
2023-02-22 00:37:34 +01:00
Sami Mokaddem 0850c92e89
chg: [users:index] Added setting to allow the deletion of users
Fix #119
2023-02-16 15:07:06 +01:00
Sami Mokaddem b0e06cd0f6
fix: [users:index] Removed deletion button for self
Fix #118
2023-02-16 14:59:52 +01:00
Sami Mokaddem 62b2a1b264
new: [crud:auditlog] Added auditlogs for entity being viewed 2023-02-16 14:52:05 +01:00
Sami Mokaddem adad45baf6
chg: [metaTemplate:updateStrategyDelete] Restored strategy to update a template and delete conflicting metafields 2023-02-16 13:51:36 +01:00
Sami Mokaddem 97a151aff5
new: [metaTemplate:metaFieldMigration] Added support of force migrate
Remove conflicting meta-fields and migrate non-conflicting ones
2023-02-16 13:35:38 +01:00
Sami Mokaddem 03b6de68e1
fix: [ui:migrateMetaFields] Fixed total number of items displayed 2023-02-16 09:42:08 +01:00
Sami Mokaddem 20eebd097d
new: [meta-template] Improvement of the update system
- Changed default update strategy from `create_new` to `update_existing`
- Added mechanism to automatically migrate meta-fields to newest template
- Improved validation and conflict detection strategies
- Fixed various UI bugs and improved QoL
2023-02-14 14:42:35 +01:00
Sami Mokaddem c43772315a
chg: [genericTemplates:toggle] Added support of confirm modal 2023-02-13 15:31:00 +01:00
Sami Mokaddem 5175564c47
fix: [encryptionKeys:index] Typo in fingerprint column 2023-02-13 15:30:17 +01:00
Sami Mokaddem 3e6b77c478
new: [element:index_table] Added possibility to download current table based on filters 2023-02-13 15:29:03 +01:00
Sami Mokaddem 79a97efa70
Merge branch 'chg-sync-improvements' into develop-unstable 2023-01-18 15:40:54 +01:00
Sami Mokaddem 697c068ca6
chg: [alignments:add] Usage of select2 for org selector 2023-01-17 09:24:00 +01:00
Sami Mokaddem 2a754160ef
chg: [ui:genericDropdownField] Allow using select2 on dropdown field 2023-01-17 09:19:40 +01:00
Sami Mokaddem 715ba1d75b
chg: [ui:generic_index] Only show enabled meta-templates in table options 2023-01-17 09:17:49 +01:00
iglocska da2f904554
fix: [security] reworked the Individual handling of user creations / modifications
- creating a new user with the e-mail address of an already existing individual should NOT overwrite the first/last name fields
- it merely connects the individual to the new user

- disallow changing the individual behind an existing user altogether
- allow capturing individuals without updates

- As reported by Matúš Mikuláš, Adam Gajdošík, Milan Pikula of SK-CERT
2022-12-23 16:47:44 +01:00
Sami Mokaddem e13dc152e7
fix: [users:registration] Fixed and improved user registration 2022-12-12 16:02:41 +01:00
Sami Mokaddem e366da6171
fix: [behavior:keycloak] Trying to lower fever the best I can 2022-12-12 08:45:02 +01:00
Sami Mokaddem ea6d33112f
fix: [genericElement:keycloakStatus] Typo fixed 2022-12-12 08:16:16 +01:00
Sami Mokaddem 7526f8364f
chg: [users:index] Added comment 2022-12-09 12:19:29 +01:00
Sami Mokaddem af622dd19b
new: [users:view] Added keycloak status showing the potential differences between Cerebrate and Keycloak 2022-12-09 11:54:34 +01:00
Sami Mokaddem 21c5601c29
chg: [genericElement:fieldScaffold] Let cake's form helper decide the input type if not specified 2022-12-08 15:50:03 +01:00
Sami Mokaddem 31ce0feed8
chg: [permissionslimitations:add] Forced comment type to be textarea 2022-12-08 15:36:13 +01:00
Sami Mokaddem 20730401d7
fix: [permissionlimitations:view] Typo for max_occurence path 2022-12-08 15:35:41 +01:00
Sami Mokaddem 53f669e25c
new: [sync+meta_fields] Initial work on meta_field synchronisation and meta_template_directory - WiP
The new directory allows to ingest meta_fields without knowing their associated meta_template. Improved the way data is re-arranged, how meta-templates are saved and a helper widget showing the difference local objects have with their remote counter-part
2022-12-07 14:54:28 +01:00
Sami Mokaddem bdcf057608
chg: [genericTemplate:confirm] Usage of BootstrapHelper\Modal 2022-12-02 09:48:09 +01:00
Sami Mokaddem 7ce6507e94
fix: [user:login] Added support of `redirect` after login 2022-11-30 10:31:07 +01:00
Sami Mokaddem 9ad328d962
fix: [genericTemplate:delete] Fixed usage of BootstrapElement\BootstrapModal 2022-11-28 15:51:29 +01:00
Sami Mokaddem 3dddd96eeb
chg: [element:metafield_panel] Metafield now relying on their index type when being displayed on singleViews 2022-11-28 12:12:01 +01:00
Sami Mokaddem 6d2f3f2ef9
chg: [elements:settings-notice] Improved UI 2022-11-28 10:02:36 +01:00
Sami Mokaddem 796574994c
fix: [elements:setting-search] Fixed typo 2022-11-28 10:02:11 +01:00
Sami Mokaddem 251331b121
fix: [layout:formLayouts] Use correct parameter for accordion header 2022-11-28 10:01:49 +01:00
Sami Mokaddem 71164e5135
chg: [layout:user_profile] Improved UI 2022-11-28 08:37:00 +01:00
Sami Mokaddem 2c840c7d4f
chg: [herlper:bootstrap] Major refactor of the BootstrapHelper to make it more modular + added documentation 2022-11-28 08:36:17 +01:00
Sami Mokaddem d15f74698f
chg: [genericElement:index_table] Use provided element for the metafields 2022-11-15 14:55:26 +01:00
Sami Mokaddem 14b41451ac
fix: [genericTemplates:filters] Make sure to always return a string when fetching data 2022-11-15 11:27:12 +01:00
Sami Mokaddem be7293a5a4
new: [listTopBar:contextFilters] Added support of element to generate filter content 2022-11-15 11:12:03 +01:00
Sami Mokaddem f5b946d5a9
new: [element:bootstrapUI] To create HTML from BootrstrapHelper by using element 2022-11-15 11:11:06 +01:00