Commit Graph

160 Commits (7402476f0cc6c7c359a953586dee03beff742b02)

Author SHA1 Message Date
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 c223dcede5
new: [custom pagination] component added
- simply paginate arrays as opposed to going to the DB for data
- just use $this->CustomPagination->paginate($array);

- it will automatically use the pagination options passed in the request
- compatible with the default cakePHP pagination helper
2021-01-13 14:24:52 +01:00
iglocska e092a95951
new: [js] added connection test script 2021-01-13 14:24:07 +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
iglocska 7a195aed93
chg: [baseurl] exposed as an easy to reach variable in all views 2021-01-13 14:21:25 +01:00
iglocska 1a6505bf61
chg: [Aligntments] setAlignment function moved to its appropriate model 2021-01-13 14:20:53 +01:00
iglocska 539ce4b99a
chg: [internal] saveMetafields moved to AppTable 2021-01-13 14:20:29 +01:00
iglocska af3d2dd6d9
new: [individuals] table capture functions added 2021-01-13 14:20:06 +01:00
iglocska a47dd94011
new: [Organisation] table capture function added 2021-01-13 14:19:45 +01:00
iglocska 7159034e9e
chg: [CRUD component] internal changes
- removed saveMetaFields function from the component
- fixed issues with associations being patched in automatically for add/edit
2021-01-13 14:18:26 +01:00
iglocska 7e4580e50a
new: [drawio] graphs added 2020-12-15 13:56:13 +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
iglocska ad72115fd5
chg: [config] disable debug by default 2020-12-07 13:54:39 +01:00
iglocska 919b1c70e1
new: [config] added config using env variables for the DB connection 2020-12-07 13:54:07 +01:00
iglocska fabadf3380
chg: [logo] colour change
- for the swarm
2020-12-02 19:37:24 +01:00
Andras Iklody 64874bdb7e
fix: httpOnly should be httponly 2020-12-02 18:30:22 +01:00
Andras Iklody acf64a5d74
Merge pull request #35 from mokaddem/genericImporter
Generic importer
2020-11-30 21:35:28 +01:00
mokaddem 1db86113fc chg: [command] Added configuration file for enisa-csirts 2020-11-30 16:03:58 +01:00
mokaddem da1be4be0f fix: [command] Generic importer correct usage of options 2020-11-30 15:59:01 +01:00
mokaddem 3214787364 chg: [command] Generic importer usage of saveMany and improved TUI 2020-11-30 15:41:36 +01:00
mokaddem a67a5d118d chg: [command] Generic importer added more validation and progress bar 2020-11-30 15:36:13 +01:00
mokaddem 566d93b67c chg: [command] Added support of CSV and documentation 2020-11-30 14:56:12 +01:00
mokaddem 7b393e58aa fix: [organisations] Make sure to cascade deletion calls 2020-11-30 13:54:36 +01:00
mokaddem fec6f817f6 chg: [command] Generic importer improved and added support of value override 2020-11-30 13:47:48 +01:00
mokaddem 35ba595a82 chg: [command] Generic import tool allow passing path directly 2020-11-27 16:48:14 +01:00
mokaddem 0c14d30ae7 chg: [command] Added support of meta-field in generic importer 2020-11-27 16:22:54 +01:00
mokaddem 355defee99 new: [command] First version of generic importer - WiP 2020-11-27 12:32:38 +01:00
Andras Iklody 396c5bcfc8
Merge pull request #34 from mokaddem/fix-sharing-group
fix: [sharingGroup] Various fixes for sharing groups
2020-11-25 16:54:20 +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 7f067acfa2 chg: [sharingGroupOrgs] Renamed table back to original name 2020-11-25 16:36:59 +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 9e05e667ec
fix: [password validation] don't accept linebreaks
- as reported by cert.sk
2020-11-20 11:16:57 +01:00
iglocska 7e504fbf11
fix: [encryption key] searches 2020-11-20 11:16:43 +01:00
iglocska eb2db00108
fix: [pagination] link highlighting 2020-11-20 11:16:15 +01:00
iglocska cac4408512
Merge branch 'main' of github.com:cerebrate-project/cerebrate into main 2020-11-20 11:10:08 +01:00
iglocska e9417a1920
new: [csn] initial templates 2020-11-20 11:09:51 +01:00
iglocska 6df0ce51d3
new: [meta templates] reworked 2020-11-20 11:09:24 +01:00
Andras Iklody 0641fd5959
Merge pull request #32 from mokaddem/patch-1
chg: [install] Removed duplicated entries & syntax highlighting
2020-11-17 15:01:56 +01:00
mokaddem 9626ab3119 chg: [install] Added syntax highlighting 2020-11-17 14:56:56 +01:00
Sami Mokaddem f7702e4cb4
chg: [install] Removed duplicated entries 2020-11-17 14:47:26 +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 024b012514
fix: [org controller] invalid import statement fixed 2020-11-06 10:26:15 +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 2f7624f71c
fix: [cleanup] of breakpoint 2020-11-06 10:11:24 +01:00
iglocska df02343448
fix: [passwords] several fixes
- complexity requirements added
- validation rules added
- added confirm password rules

- as reported by cert.pl
2020-11-06 10:07:25 +01:00