-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangelog.txt
4800 lines (2487 loc) · 154 KB
/
Changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Changelog
## v1.26 (2024-11-28)
### New
* [security] added functionality to tighten bookmark creation rules. [iglocska]
- site admins can now limit the baseurls of the provided bookmark URLs to a list of values via the server settings
### Changes
* Update VERSION.json. [Andras Iklody]
Urgency
* [version] bump. [iglocska]
* [internal] authkey adding, more elegant solution. [iglocska]
### Fix
* Migrations not working on install due to debug mode not being boolean. [Jeroen Pinoy]
* Correctly set perm_community_admin value. fix #179. [Jeroen Pinoy]
* Use numeric values within range for debug level setting. [Jeroen Pinoy]
* Fix typo in individuals description. [Jeroen Pinoy]
* Correct description on add brood view. [Jeroen Pinoy]
* [authkeys] better permission / listing handling. [iglocska]
- allow group admins to manage api keys of their group
- when adding an authkey from the user view, don't list every user in the dropdown, focus on the selected user
* [authkeys] don't barf if no valid roles exist. [iglocska]
* [diagnostics] allow for certain settings to be empty, fixes #176. [iglocska]
- via the empty => true key
* [error handling] better error handling for bookmarks, fixes #188. [iglocska]
- show why something failed
- actually fail if a field is missing for bookmarks
* [error] when deleting a role that had users attached to it was cryptic, fixes #180. [iglocska]
* [security] Group admin ACL. [iglocska]
- group admin can inject user into organisation not managed by themselves
- as reported by Jeroen Pinoy (@wachizungu)
* [typo] in the authkeyscontroller. [iglocska]
- lead to users not being able to generate authkeys
* Default admin role doesn't have group admin and meta field editor permissions. [Jeroen Pinoy]
* [cleanup] ACL component. [iglocska]
- duplicate check removed
* Set proxy settings diagonistics severity level to info. fix #176. [Jeroen Pinoy]
* Typo in read security allowed bookmark domains config. [Jeroen Pinoy]
* Users settings view throws internal server error when accessed without user id. [Jeroen Pinoy]
* [security] Tightening of the role assignment permissions. [iglocska]
- If a decoupled perm_admin role was configured on the system, this could be assigned by low privilege administrators, leading to privilege escalation
- This fix moves the responsibility of the check to the ACL component rather than the controller
- As reported by Jeroen Pinoy (@wachizungu)
* [crud] fixed the broken non ajax messages just introduced in the previous commit. [iglocska]
- can't have my cake and eat it too
* [message handling] of error messages. [iglocska]
- correctly handle beforeSave / afterSave failures in ajax contexts
- until now it was just silently failing giving cryptic messages to the user
* [pgp] key status check fixed for certain edge cases. [iglocska]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate. [iglocska]
* Merge pull request #191 from Wachizungu/revert-debug-setting-value-type. [Andras Iklody]
fix: migrations not working on install due to debug mode not being bo…
* Merge pull request #182 from Wachizungu/fix-community-admin-role-add. [Andras Iklody]
fix: correctly set perm_community_admin value. fix #179
* Merge pull request #183 from Wachizungu/fix-debug-setting-warnings. [Andras Iklody]
fix: use numeric values within range for debug level setting
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge pull request #178 from Wachizungu/fix-typo. [Andras Iklody]
fix: fix typo in individuals description
* Merge pull request #177 from Wachizungu/fix-brood-add-description. [Andras Iklody]
fix: Correct description on add brood view
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
* Merge pull request #190 from Wachizungu/add-new-roles-to-default-admin-role. [Andras Iklody]
fix: default admin role doesn't have group admin and meta field edito…
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
* Merge pull request #184 from Wachizungu/fix-proxy-diagnostics-severity-level. [Andras Iklody]
fix: Set proxy settings diagonistics severity level to info. fix #176
* Merge pull request #187 from Wachizungu/fix-security-allowed-bookmark-domains-read-config. [Andras Iklody]
fix: typo in read security allowed bookmark domains config
* Merge pull request #189 from Wachizungu/chg-load-current-user-settings-view-in-case-id-unset. [Andras Iklody]
fix: users settings view throws internal server error when accessed w…
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
## v1.25 (2024-09-25)
### New
* [ui] Added country flag in some places. [Sami Mokaddem]
- Currently in:
- /organisations/[index/view]
- /users/[index/view]
### Changes
* [docker:readme] Updated PHP version. [Sami Mokaddem]
* [users:add] Update the permission limitation for org permission on /users/add. [Sami Mokaddem]
* [bookmarks] Make the rendering more lenient to malformed content. [iglocska]
- fail gracefully rather than throwing 500s
### Fix
* [permissionLimitiation:getListOfLimitations] Correctly show the correct amount of limitation. [Sami Mokaddem]
- Correctly get the number of org permission if the user is an org_group_manager
- and one of the org he/she manages doesn't have a user
* [users:index_filtering] Added ACL entries for filtering modal. [Sami Mokaddem]
* [ui:search_all] Fixed dropdown width to avoid screen overflow for large results. [Sami Mokaddem]
- This will put an end to @gallypette and @adulau's pestering
* [users:edit] DatabaseException in group-admin for condition with empty list of values. [Sami Mokaddem]
* [permissionLimitation:getListOfLimitations] Fixed DatabaseException for condition with empty list of values. [Sami Mokaddem]
* [bookmarks] added more error handling for malformed bookmarks. [iglocska]
### Other
* Merge branch 'develop' [Sami Mokaddem]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate. [iglocska]
* Update README.md. [Andras Iklody]
## v1.24 (2024-08-29)
### New
* [version] show the cerebrate version and link to the release notes. [iglocska]
* [meta_field] API improved. [iglocska]
- simple way to add metafields added
- simply pass a list of meta_fields to the object about to be saved
- the only fields required are: template_uuid, template_version, field, value
Example for an individual:
```
{
"first_name": "Andras",
"last_name": "Iklody",
"email": "[email protected]",
"alignments": {
"organisation": [
{
"uuid": "9d4d7913-2602-4333-8440-c78b7f92eca3",
"name": "Iglocska.eu"
}
]
},
"meta_fields": [
{
"field": "perm_mattermost",
"value": true,
"template_uuid": "447ded8b-314b-41c7-a913-4ce32535b28d",
"template_version": 2
}
]
}
```
* [individuals] add individual auto-saves an alignment. [iglocska]
- if a non community admin enrolls an individual, set the alignment by default
- this will prevent them from becoming uneditable
### Fix
* [VERSION] bump. [iglocska]
* [error messages] improved for empty/malformed request bodies. [iglocska]
- instead of failing on a validation level for empty data, fail immediately on CRUD component level
- send a clear message to the user that the request was malformed / the proper media type headers were not set
* [crud] various minor fixes. [iglocska]
* [users] add load individual correctly and show it to the user. [iglocska]
* [CRUD] run afterfind even if no metatemplates set. [iglocska]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' into develop. [iglocska]
## v1.23 (2024-08-27)
### New
* [metafield editor permission] added. [iglocska]
- users/org admins/group admins/community admins can now only modify metafield data on any object if the permission is set for their role
- Since some communities use this for ACL to secondary tools, this will allow them to restrict who can modify them
### Changes
* [version] bump. [iglocska]
## v1.22 (2024-08-24)
### New
* [administration] allow group/org admins to edit individuals aligned to their managed orgs. [iglocska]
- based on alignment
* [permissions] split of admin and community admin. [iglocska]
### Changes
* [migration] minor fix for rerunability. [iglocska]
* [version] bump. [iglocska]
* [cleanup] removed older revision of upgrade script. [iglocska]
### Fix
* [metafield limitation] fixes. [iglocska]
- correctly show error messages on user creation when limits are hit
- fixed a bug that cause users from being uncreatable even due to a hit limitation, even if the current user wouldn't influence said limitation
* [community admin] fixes. [iglocska]
* [ACL component] fixes. [iglocska]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'perm_community_admin' into develop. [iglocska]
## v1.21 (2024-07-02)
### New
* [extended logger] added. [iglocska]
- Added more information about the request to the stack traces
- logs user name / ID
- logs request x-forwarded-for
### Changes
* [tag] bumped. [iglocska]
* [permission limitations] free limitation count when user disabled. [iglocska]
- Thanks to Elisabeth from BSI for reporting it
* [permission limitations] free limitation count when user disabled. [iglocska]
### Fix
* [user add] fixed bug with metafields on new users causing an exception. [iglocska]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
## v1.20 (2024-06-07)
### New
* [metafield restrictions] not enforced on a user edit that doesn't change the state of the offending value. [iglocska]
- if a user is already over the limit of a restriction, they should still be editable
### Changes
* [version] bump. [iglocska]
* [encryption keys] listed for orgs / individuals on their respective views, fixes #167. [iglocska]
* [dashboard redirects] to individual models now sort by modified by default. [iglocska]
- the dashboard shows new entries, it only makes sense to sort the list based on changes
- also a small fix to not sanitise the index URLs as this will lead to multiple query parameters not working
### Fix
* [alignments] rules relaxed, fixes #164. [iglocska]
- site admins can add alignments to anyone
- org admins can add alignments for their own org members
- group admins can add alignments for any of their managed orgs' members
* [authkeys] allow for authkeys with no expiration set, fixes #169. [iglocska]
* [authkey:add] Make sure to default to expiration=0 if not provided. [Sami Mokaddem]
* [encryption keys] allow for large keys. [iglocska]
- @adulau has a massive... key.
* [setting:cerebrate] Enforce debug setting to be true or false. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'main' into develop. [iglocska]
## v1.19 (2024-05-15)
### New
* [settings] added the session settings to the UI. [iglocska]
* [encryption key index] added search by org name / individual email. [iglocska]
### Changes
* [version] bump. [iglocska]
* [inbox] changed user field's column name to "to" [iglocska]
- it was confusing what was meant
* [users:filtering] Added dropdown for users filtering. [Sami Mokaddem]
* [individuals:filtering] Added dropdown for organisation filtering. [Sami Mokaddem]
* [users:index] Added confirmation modal before changing disabled state for users. [Sami Mokaddem]
* [component:CRUD] Mirrored changes done in MISP3's CRUD component. [Sami Mokaddem]
### Fix
* [autkey expiration] has to be in the future. [iglocska]
* [settings] invalid bootstrap loading of config.json. [iglocska]
- it was dependent on the app_local.php file existing
* [settings] make sure they are always loaded. [iglocska]
* [settings] numeric fields in settings didn't show current value. [iglocska]
* [index pagination] caps the index at 100 elements. [iglocska]
* [Group admins] can now edit org metainformation for the managed orgs. [iglocska]
* [group admin] be able to add users for the administered orgs. [iglocska]
* [component:CRUD] Make sure to append model alias when ordering results. [Sami Mokaddem]
* [genericTemplates:filters] Fixed encoding typo. [Sami Mokaddem]
* [encryptionKeys:add] Make sure to compare owner_id with individual_id. [Sami Mokaddem]
* [encryptionKeys:ui] Aligned UI with what users can actually do. [Sami Mokaddem]
* [app] Fixed some deprecation notices. [Sami Mokaddem]
* [keycloak] user enrollment now syncs permissions correctly. [iglocska]
* [app:bootstrap] Automatically cast `debug` setting in bootstrap.php to migrate config. [Sami Mokaddem]
* [keycloak] sync metafields on user creation. [iglocska]
* [keycloak] increase fetch users limit to 99999. [iglocska]
* [setting:cerebrate] Enforce debug setting to be true or false. [Sami Mokaddem]
* [tool] fix unitialized var when no SG exist. [Christophe Vandeplas]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'refacto/CRUDComponent' into develop. [Sami Mokaddem]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate into main. [Sami Mokaddem]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate. [iglocska]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate into main. [Sami Mokaddem]
* Merge pull request #163 from cvandeplas/fix/SG. [Andras Iklody]
fix: [tool] fix uninitialised var when no SG exist
## v1.18 (2023-12-20)
### New
* [settings:inbox.data_change_notify_for_all] Added setting to be more verbose for data changes. [Sami Mokaddem]
* [CRUD:Filtering] Added support of options in index filtering modal. [Sami Mokaddem]
### Changes
* [version] bump. [iglocska]
* [inboxes:filtering] Populate username with eligible users in filtering modal. [Sami Mokaddem]
* [crud:index] Include all meta-fields regardless of user's preference when in REST context. [Sami Mokaddem]
* [MISP connector] added bulk org pull. [iglocska]
### Fix
* [inboxes:index] Fixed pagination target key. [Sami Mokaddem]
* [component:CRUD] Make sure not to override table aliases when paginating. [Sami Mokaddem]
* [individual:validation] Enforce email format to be a valid email address. [Sami Mokaddem]
* [behavior:notifyAdmins] Fixed typo in date serialization. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
## v1.17 (2023-11-03)
### New
* [CRUD:index] Allow exporting data into csv. [Sami Mokaddem]
- Added CSVConverter tool and CSV server request detector
* [MISP connector] sync updated to properly support sharing group exchanges. [iglocska]
* [topology improvements] added acl, menu access, downloader. [iglocska]
* [topology UI] added. [iglocska]
* [UI] mermaid.js added. [iglocska]
### Changes
* [version] bump. [iglocska]
* [users:index] Added support of table filtering. [Sami Mokaddem]
* [wip] sharing group rework / MISP connector improvements. [iglocska]
* [indexes] Added `select all` option for some tables. [Sami Mokaddem]
* [temp] run actions in this branch. [Luciano Righetti]
### Fix
* [orggroups:ui] Aligned UI with what users can actually do. [Sami Mokaddem]
* [users:settings] Take into consideration perm-org-group-admin when editing users settings. [Sami Mokaddem]
* [users:edit] Correctly take into consideration perm-org-group-admin. [Sami Mokaddem]
* [genericElements:alignmentField] Use correct URL for individual entries. [Sami Mokaddem]
* [topology] various fixes. [iglocska]
* [brood preview] indeces fixed. [iglocska]
* [topology] added missing view. [iglocska]
* Fix tests. [Luciano Righetti]
* Failing test, due to different user. [Luciano Righetti]
* Fix tests, move e2e tests to a separate suite. [Luciano Righetti]
* Check for required plugins online, the number makes the test fragile as debug plugins may or not be present when running the tests. [Luciano Righetti]
* Fix most of the tests. [Luciano Righetti]
* Fix some deprecation notices in 8.2. [Luciano Righetti]
* Nodejs deprecation notice. [Luciano Righetti]
* Update target php version. [Luciano Righetti]
* [component:CRUD] Do not limit results if the limit query parameter is not provided. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge pull request #151 from righel/fix-test-action. [Luciano Righetti]
fix: fix test workflow action
## v1.16 (2023-09-13)
### New
* [org Groups] added. [iglocska]
- Org Groups allow user co-management of sub communities
- Create an org group with a set of organisations
- assign administrators to an org group
- org group admins can modify users of the group
### Changes
* [users:acl] Improved waterfall model for CRUD operation and updated UI to reflect them. [Sami Mokaddem]
* [ui] Improved reflection of ACL logic in the UI for OrgGroups, Organisations and individuals. [Sami Mokaddem]
* [VERSION] bump. [iglocska]
* [alignments:acl] Reflected ACL logic from individuals to alignments. [Sami Mokaddem]
* [users:edit] Allow users to self edit. [Sami Mokaddem]
* [user-settings:edit] Prevent assigning a setting to another user. [Sami Mokaddem]
* [command:summary] Added data about the modified entity. [Sami Mokaddem]
* [navigation:tags] Updated UI to reflect users' permissions. [Sami Mokaddem]
* [navigation:individuals] Only show edit and deletion buttons if users are allowed to do it. [Sami Mokaddem]
* [genericElements:numberOfElement] Added parameter to show or not the `show all` option. [Sami Mokaddem]
* [ACL:tags] Relaxed ACL on tags for index and view pages. [Sami Mokaddem]
* [ACL:individual/add] Allow `org-admin`s to create new individuals. [Sami Mokaddem]
### Fix
* [ACL] group admins can view users in their group. [iglocska]
* [internal] fixed the function checking if a user belongs to the current User's managed org group. [iglocska]
* [acl:canEditUser] Typo in table name. [Sami Mokaddem]
* [OrgGroups:checkIfGroupAdmin] Consider site_admins as group admin. [Sami Mokaddem]
* [strict typing] Made Sami's frankenstein setup happy. [iglocska]
* [temp] ACL function built up. [iglocska]
* [ACL] fixes. [iglocska]
* [org admins] should be able to edit the org. [iglocska]
* [individual:edit] Select individuals based on their id and not their user_id. [Sami Mokaddem]
* [navigation:CRUDAction-auditlogs] Make ordering by created field unambigous and hide audit button to non-admin users. [Sami Mokaddem]
* [userSettings:add] Aded check to avoid duplicated setting for the same user. [Sami Mokaddem]
* [mailinglist:ACL] Fixed bug in ACL check for access. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [iglocska]
## v1.15 (2023-09-04)
### Changes
* [version] bump. [iglocska]
* [misisng] change. [iglocska]
* [internal] fetch first role if no default is set. [iglocska]
* [command:summary] Consider perm meta-fields addition/deletion as uesr edit. [Sami Mokaddem]
* [config] Force usage of secure cookie for session and csrf protection. [Sami Mokaddem]
* [component:CRUD] Include meta-fields in REST queries and clever pagination support for REST queries. [Sami Mokaddem]
* [command:summary] Added support of user MetaFields. [Sami Mokaddem]
Allow to show addition and deletion of user metafields such as the ones used for permissions
### Fix
* [security] user settings editable by arbitrary user fixed. [iglocska]
- as reported by Infigo on behalf of ENISA
* [internal] user add fix attempt #2. [iglocska]
* [userSettings:edit] Correctly pre-select user to be edited. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Update INSTALL.md. [Andras Iklody]
* Update INSTALL.md. [Andras Iklody]
some minor fixes
## v1.14 (2023-05-31)
### New
* [enumerations] added enumerations system. [iglocska]
- 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
* [enumerations] schema update added. [iglocska]
### Changes
* [version] bump. [iglocska]
* [CRUD] allow for sorting on related model fields. [iglocska]
- some hacks to resolve issues with sorting on related fields
* [command:importer] Make sure to use the latest known version of the template. [Sami Mokaddem]
* [command:importer] Make sure to use the latest known version of the template. [Sami Mokaddem]
* [UI:saas] Clean-up css files and improved sidebar behavior and rendering for all themes. [Sami Mokaddem]
### Fix
* [users] added the country information to the index / view. [iglocska]
* [genericElements:formInfo] Removed unused portion of code. [Sami Mokaddem]
* [security] blind SQL injection in searchAll. [Sami Mokaddem]
- As reported by Zigrin Security
* [meta-template-name-directory] Do not access property from null object. [Sami Mokaddem]
* [meta-template-direcotry:index] Pass baseurl to the anonymous function. [Sami Mokaddem]
* [metaTemplateDirectory:index] No static call anymore. [Sami Mokaddem]
* [template:registration] Correct usage of modal parameters. [Sami Mokaddem]
* [template:update_all] Correct usage of modal parameters. [Sami Mokaddem]
* [helper:formFieldMassage] Correctly check for key to avoid debug output. [Sami Mokaddem]
* [app:js] Removed log forgotten console log output. [Sami Mokaddem]
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'main' into develop. [iglocska]
* Merge branch 'main' into develop. [Sami Mokaddem]
* Merge branch 'develop' into main. [Sami Mokaddem]
## v1.13 (2023-03-13)
### New
* [metaTemplateNameDirectory] Added index to see the known template and their associated saved meta-templates. [Sami Mokaddem]
* [user:permissionLimitation] Added current permission status while in `add` or `edit` context. [Sami Mokaddem]
Also moved the notification key from meta-fields to meta-template-fields
* [element:tagsField] Added support of editable based on passed configuration. [Sami Mokaddem]
* [ui:formInfo] Rafactored formInfo and added support of field description. [Sami Mokaddem]
Can be done by using the `tooltip` key on the field configuration
* [crud:filter] Added support of IN searches using dropdown. [Sami Mokaddem]
* [component:CRUD] Added support of IN condition when filtering index. [Sami Mokaddem]
### Changes
* [version] bump. [iglocska]
* [meta-template:index] Added link to metaTemplateNameDirectory. [Sami Mokaddem]
* [metaTemplate:update] Gracefully handle case when template on disk is not readable. [Sami Mokaddem]
* [ui:select2] Added CSS file relying on BS variables instead of default theme hardcoded values. [Sami Mokaddem]
* [helper:bootstrap] Make sure to output the value even if it's a `0` [Sami Mokaddem]
* [settings:cerebrate] Improved check before saving debug level. [Sami Mokaddem]
* [component:CRUD] Added `afterFind` support in add. [Sami Mokaddem]
* [user:permissionRestriction] Move check from beforeSave to ApplicationRule. [Sami Mokaddem]
* [component:CRUD] Include meta-template before calling `afterFind` [Sami Mokaddem]
* [tags:org/individual] Relaxed ACL on tagging. [Sami Mokaddem]
- 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
* [encryptionKeys:beforeSave] Updated ACL to disable management of keys for regular orgs. [Sami Mokaddem]
* [encryptionKey] Made key searchable with substring strategy. [Sami Mokaddem]
* [organisations:add] Added notice about UUID reuse. [Sami Mokaddem]
* [helper:bootstrap] Added support of ID option. [Sami Mokaddem]
* [organisations] nationality field renamed to country. [iglocska]
- 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
* [roles:index] Only show `add role` button for users having ACL access. [Sami Mokaddem]
* [authkeys:add] Select logged-in user by default. [Sami Mokaddem]
* [audit:filter] Made request_action a multiple search. [Sami Mokaddem]
### Fix
* [meta-template:update] Typo in variable name. [Sami Mokaddem]
* [elements:dropdownField] Always attach select2 to the body. [Sami Mokaddem]
* [individuals:delete] Gracefully catches deletion of individuals associated to a user. [Sami Mokaddem]
* [acl:metaTemplate] Added missing entry. [Sami Mokaddem]
* [individuals:canEdit] Changed function from public to private. [Sami Mokaddem]
* [elements:bootstrapTabs] Removed unused options. [Sami Mokaddem]
* [elements:metaTemplateForm] Restored error container in the form. [Sami Mokaddem]
* [element:metafields_panel] Correct usage of notices for bootstrap/listTable. [Sami Mokaddem]
* [individual:getValidToEdit] Restricted ACL to prevent one org_admin to edit another from the same org. [Sami Mokaddem]
* [authkey:add] Forced `expiration` field to use datetime UI component. [Sami Mokaddem]
Fix #145
### Other
* Merge branch 'develop' [iglocska]
* Merge branch 'develop' into main. [Sami Mokaddem]
* Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop. [Sami Mokaddem]
* Merge branch 'main' into develop. [iglocska]
* Security: [authkey:add] Restrict creation of API keys for users in the same org and for other org_admins. [Sami Mokaddem]
## v1.12 (2023-02-21)
### New
* [crud:auditlog] Added auditlogs for entity being viewed. [Sami Mokaddem]
* [metaTemplate:metaFieldMigration] Added support of force migrate. [Sami Mokaddem]
Remove conflicting meta-fields and migrate non-conflicting ones
* [js-bootstrap:quickConfirm] Added quickConfirm UI element to create a confirmation popover to confirm actions. [Sami Mokaddem]
* [js-bootstrap:popover] Added support of popover in bootstrap-helper. [Sami Mokaddem]
* [meta-template] Improvement of the update system. [Sami Mokaddem]
- 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
* [element:index_table] Added possibility to download current table based on filters. [Sami Mokaddem]
* [sync+meta_fields] Initial work on meta_field synchronisation and meta_template_directory - WiP. [Sami Mokaddem]
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
* [utility:utils] Added utils file and support of arary_diff_recursive. [Sami Mokaddem]
* [bootstrap-helper:badge] Added support of ID and icon. [Sami Mokaddem]
* [css:bootstrap-additional] Added table-xs class. [Sami Mokaddem]
### Changes
* [users:index] Added setting to allow the deletion of users. [Sami Mokaddem]
Fix #119
* [metaTemplate:updateStrategyDelete] Restored strategy to update a template and delete conflicting metafields. [Sami Mokaddem]
* [js-bootstrap] Added new quick function to display a modal from an URL. [Sami Mokaddem]
* [js-utils:sanitize] Added sanitization function. [Sami Mokaddem]
* [metaTemplate:migrateMetaField] Ignore metafield with empty value. [Sami Mokaddem]
* [inboxProcessor:dataChange] Further improved UI and readability. [Sami Mokaddem]
* [bootstrap:collapse] Allow disabling card formating. [Sami Mokaddem]
* [inboxProcessor:NotificationDatachange] Improved readability. [Sami Mokaddem]
* [brood:queryIndex] Added support of pagination and filtering. [Sami Mokaddem]
* [crud:index] Added better support of pagination for API. [Sami Mokaddem]
* [users:index] Includes metafields by default when API query. [Sami Mokaddem]
* [genericTemplates:toggle] Added support of confirm modal. [Sami Mokaddem]
* [boostrapElement:dropdownMenu] Added support of `attrs` parameter for menu entry. [Sami Mokaddem]
* [organisations:index] Always include metafields for API requests. [Sami Mokaddem]
* [broods:testConnection] Prematurely close session to allow concurrent requests. [Sami Mokaddem]
* [BootstrapHelper:dropdownMenu] Added support of class for menu entries. [Sami Mokaddem]
* [BootstrapHelper:modal] Added support of scrolling in modal body. [Sami Mokaddem]
- For the pleasure of @iglocska
* [organisations:index] Added support of `full` option to include metafields. [Sami Mokaddem]
* [genericTemplate:confirm] Usage of BootstrapHelper\Modal. [Sami Mokaddem]
* [js:bootstrap-helper] Improved table building mechanism. [Sami Mokaddem]
* [js:bootstrap-helper] Added support of modal size. [Sami Mokaddem]
* [install:nginx] Cerebrate now expect php8+ [Sami Mokaddem]
* [element:metafield_panel] Metafield now relying on their index type when being displayed on singleViews. [Sami Mokaddem]
* [elements:settings-notice] Improved UI. [Sami Mokaddem]
* [helper:bootstrap] Added more documentation and typing. [Sami Mokaddem]
* [helper:bootstrap] Added documentation. [Sami Mokaddem]
* [helper:bootstrapModal] Improved doc. [Sami Mokaddem]
* [layout:user_profile] Improved UI. [Sami Mokaddem]
* [herlper:bootstrap] Major refactor of the BootstrapHelper to make it more modular + added documentation. [Sami Mokaddem]
* [version] bump. [iglocska]