Commit Graph

508 Commits (e7e5c0aebd1f712bcffb18c95efbf146e0b93626)

Author SHA1 Message Date
Sami Mokaddem 1ea7c796ac
chg: [component:CRUD] Include meta-fields in REST queries and clever pagination support for REST queries 2023-08-29 14:57:48 +02:00
iglocska 6e33d78996
Merge branch 'main' into develop 2023-05-26 16:15:58 +02:00
iglocska 52e8a5c6a6
new: [enumerations] added enumerations system
- for string entry fields, simply add lists of values to convert the text entry for values
- helps with maintaining accurate lists
- currently the fields that are valid targets are organisations.nationality, organisations.sector, organisations.type
2023-05-26 16:13:52 +02:00
iglocska 41749ae5a8
fix: [users] added the country information to the index / view 2023-05-25 16:22:49 +02:00
Sami Mokaddem 3ae32606cc
Merge branch 'main' into develop 2023-03-30 16:14:53 +02:00
Sami Mokaddem 5cb65f8fc1
fix: [genericElements:formInfo] Removed unused portion of code 2023-03-30 16:14:15 +02:00
Sami Mokaddem 7df0169ecf
fix: [meta-template-name-directory] Do not access property from null object 2023-03-23 14:44:05 +01:00
Sami Mokaddem 768bbcb996
fix: [meta-template-direcotry:index] Pass baseurl to the anonymous function 2023-03-23 14:29:22 +01:00
Sami Mokaddem 8e2718a0ae
fix: [metaTemplateDirectory:index] No static call anymore 2023-03-23 13:35:45 +01:00
Sami Mokaddem 6fe1318ada
fix: [template:update_all] Correct usage of modal parameters 2023-03-23 10:41:54 +01:00
Sami Mokaddem 06d9f02998
fix: [app:js] Removed log forgotten console log output 2023-03-21 09:49:48 +01:00
Sami Mokaddem 6ff8eb6a91
chg: [UI:saas] Clean-up css files and improved sidebar behavior and rendering for all themes 2023-03-21 09:45:21 +01:00
Sami Mokaddem dbf18da087
fix: [meta-template:update] Typo in variable name 2023-03-13 11:40:47 +01:00
Sami Mokaddem c2e9fd3b75
chg: [meta-template:index] Added link to metaTemplateNameDirectory 2023-03-13 11:38:32 +01:00
Sami Mokaddem 47bebe5b68
chg: [metaTemplate:update] Gracefully handle case when template on disk is not readable 2023-03-13 11:37:58 +01:00
Sami Mokaddem 5b07c57037
fix: [elements:dropdownField] Always attach select2 to the body 2023-03-13 10:02:33 +01:00
Sami Mokaddem db19afd9ac
chg: [ui:select2] Added CSS file relying on BS variables instead of default theme hardcoded values 2023-03-13 09:59:01 +01:00
Sami Mokaddem acb66ac4a0
fix: [individuals:delete] Gracefully catches deletion of individuals associated to a user 2023-03-13 08:05:32 +01:00
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