Commit Graph

1668 Commits (refacto/CRUDComponent)

Author SHA1 Message Date
Sami Mokaddem 1ea0bb9be6
chg: [command:importer] Make sure to use the latest known version of the template 2023-03-31 13:55:48 +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 5f1c99cd53
fix: [security] blind SQL injection in searchAll
- As reported by Zigrin Security
2023-03-25 09:23:45 +01: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 727c21bd23
fix: [template:registration] Correct usage of modal parameters 2023-03-23 10:42:02 +01:00
Sami Mokaddem 6fe1318ada
fix: [template:update_all] Correct usage of modal parameters 2023-03-23 10:41:54 +01:00
Sami Mokaddem cc5914cccc
Merge branch 'develop' into main 2023-03-21 09:52:43 +01:00
Sami Mokaddem 16a50c08a3
fix: [helper:formFieldMassage] Correctly check for key to avoid debug output 2023-03-21 09:52:28 +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
iglocska eaa3398f8d
Merge branch 'develop' 2023-03-13 15:50:35 +01:00
iglocska 61027e9c1e
chg: [version] bump 2023-03-13 15:50:00 +01:00
Sami Mokaddem 3b385ade74
Merge branch 'develop' into main 2023-03-13 15:48:18 +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 3ca6b68429
fix: [acl:metaTemplate] Added missing entry 2023-02-27 12:17:04 +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 ce8a7ba1be
fix: [individuals:canEdit] Changed function from public to private 2023-02-27 12:14:13 +01:00
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