Commit Graph

1693 Commits (6967c03d8b78de39460c1007cfc0611ec6ef4a2b)

Author SHA1 Message Date
Sami Mokaddem c8e5823393
chg: [helper:bootstrap] Make sure to output the value even if it's a `0` 2023-02-27 11:13:40 +01:00
Sami Mokaddem 26c038b25b
chg: [settings:cerebrate] Improved check before saving debug level 2023-02-27 11:12:54 +01:00
Sami Mokaddem 480e4a65fe
fix: [elements:bootstrapTabs] Removed unused options 2023-02-27 10:43:59 +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 aead79a4c3
chg: [component:CRUD] Added `afterFind` support in add 2023-02-24 15:20:29 +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 a427686388
chg: [user:permissionRestriction] Move check from beforeSave to ApplicationRule 2023-02-24 15:02:08 +01:00
Sami Mokaddem fda8aa5866
chg: [component:CRUD] Include meta-template before calling `afterFind` 2023-02-24 14:57:40 +01:00
Sami Mokaddem 0833a8c0e4
fix: [individual:getValidToEdit] Restricted ACL to prevent one org_admin to edit another from the same org 2023-02-24 11:18:48 +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 c148b0993a
chg: [encryptionKeys:beforeSave] Updated ACL to disable management of keys for regular orgs 2023-02-24 10:35:25 +01:00
Sami Mokaddem 1620fd3e59
chg: [encryptionKey] Made key searchable with substring strategy 2023-02-24 10:31:33 +01:00
Sami Mokaddem 22c460575e
chg: [organisations:add] Added notice about UUID reuse 2023-02-24 10:06:04 +01:00
Sami Mokaddem 73c4baac31
chg: [helper:bootstrap] Added support of ID option 2023-02-24 10:04:18 +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 487670e522
chg: [authkeys:add] Select logged-in user by default 2023-02-23 14:57:58 +01:00
Sami Mokaddem 7ccf925247
security: [authkey:add] Restrict creation of API keys for users in the same org and for other org_admins 2023-02-23 14:57:42 +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 e9056a7b4c
chg: [audit:filter] Made request_action a multiple search 2023-02-23 13:04:33 +01:00
Sami Mokaddem 4d4642770f
new: [crud:filter] Added support of IN searches using dropdown 2023-02-23 12:55:18 +01:00
Sami Mokaddem fdd876b1b2
new: [component:CRUD] Added support of IN condition when filtering index 2023-02-23 11:40:07 +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
iglocska 130d5082e9
Merge branch 'main' into develop 2023-02-21 13:56:10 +01:00
iglocska a7dca8284b
Merge branch 'develop' 2023-02-21 13:55:57 +01:00
Sami Mokaddem 9bc1ba899f
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2023-02-21 13:54:22 +01:00
Sami Mokaddem 0b2f7c31b2
Merge branch 'develop-unstable' into develop 2023-02-21 13:54:13 +01:00
iglocska 648291b30e
Merge branch 'develop' 2023-02-21 13:50:58 +01:00
iglocska ce42bd7726
chg: [version] bump 2023-02-21 13:50:30 +01:00
iglocska 0ba6310434
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2023-02-21 13:49:55 +01:00
Sami Mokaddem e375e24a6d
chg: [component:CRUD] Added validation of order fields 2023-02-20 10:17:20 +01:00
Sami Mokaddem e4c132374e
fix: [crud:renderInVariable] Fixed deprecation notice 2023-02-16 15:13:52 +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 88abecfe8f
fix: [sharingGroups:addOrg] Use correct index to add to the group 2023-02-16 14:55:43 +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 94509ff5d3
new: [js-bootstrap:quickConfirm] Added quickConfirm UI element to create a confirmation popover to confirm actions 2023-02-16 13:34:17 +01:00
Sami Mokaddem e21eceed8a
chg: [js-bootstrap] Added new quick function to display a modal from an URL 2023-02-16 13:33:20 +01:00
Sami Mokaddem e630b78134
new: [js-bootstrap:popover] Added support of popover in bootstrap-helper 2023-02-16 13:32:21 +01:00
Sami Mokaddem d2003d45d6
chg: [js-utils:sanitize] Added sanitization function 2023-02-16 13:30:54 +01:00
Sami Mokaddem 03b6de68e1
fix: [ui:migrateMetaFields] Fixed total number of items displayed 2023-02-16 09:42:08 +01:00
Sami Mokaddem 27673b54c9
chg: [metaTemplate:migrateMetaField] Ignore metafield with empty value 2023-02-16 09:32:27 +01:00
Sami Mokaddem a872379529
chg: [inboxProcessor:dataChange] Further improved UI and readability 2023-02-15 11:42:35 +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 c0636b89ab
fix: [bootstrap:table] Fixed typo and pass field config for indexed arrays 2023-02-14 10:31:23 +01:00