Luciano Righetti
4c60fa0017
chg: tighten tests assertions
2022-01-26 11:00:48 +01:00
Luciano Righetti
d18471ba95
fix: failing when request is empty json object
2022-01-25 18:02:41 +01:00
Luciano Righetti
5da61f15dd
add: initial version of cerebrate->cerebrate misp interconnection
2022-01-25 18:01:51 +01:00
Luciano Righetti
6479fd6183
chg: clean test
2022-01-24 11:43:40 +01:00
Andras Iklody
e9e9c7f43e
Merge pull request #85 from righel/add-test-workflow-gh-action
...
add: github action test workflow
2022-01-20 16:36:09 +01:00
Luciano Righetti
8d4eabf255
chg: minor improv
2022-01-20 16:33:28 +01:00
Luciano Righetti
b2ffc822e9
fix: run wiremock in background
2022-01-20 16:29:31 +01:00
Luciano Righetti
6e4dc3a6cd
add: github action test workflow
2022-01-20 16:23:48 +01:00
Andras Iklody
80cd93da40
Merge pull request #80 from righel/add-integration-tests
...
Add integration tests
2022-01-19 16:25:19 +01:00
Luciano Righetti
25b7d167f1
chg: remove the /api/v1 prefix for api endpoints
2022-01-19 16:22:44 +01:00
Luciano Righetti
01b4bc9bac
chg: remove todo section
2022-01-19 16:13:37 +01:00
Luciano Righetti
b1f63f190c
chg: move openapi validator initialization to tests/bootstrap.php so its only parsed once.
2022-01-19 16:08:50 +01:00
Luciano Righetti
862ea58e49
fix: assertions are already executed
2022-01-19 15:18:29 +01:00
Luciano Righetti
7ed87ff0f2
chg: refactor ApiTestTrait to reduce code duplication, enforce openapi spec validations
2022-01-19 15:15:49 +01:00
iglocska
475a13847e
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop
2022-01-19 14:59:48 +01:00
iglocska
87619a7f35
Merge branch 'main' into develop
2022-01-19 14:59:34 +01:00
iglocska
d488f01051
fix: [authkey] add fixed
...
- incorrectly potentially filter out valid options when adding a key by a regular user
2022-01-19 14:39:03 +01:00
Sami Mokaddem
c7ccff5e1e
fix: [doc] Typo in text
2022-01-19 14:19:55 +01:00
Sami Mokaddem
5a06a97c32
new: [doc] Added prerequisites document
2022-01-19 14:04:13 +01:00
Luciano Righetti
5eca1a9160
add: change password via api test, add helper methods to ApiTestTrait.
2022-01-19 10:45:51 +01:00
Sami Mokaddem
1d7fc00a65
chg: [layout:header-profile] Improved spacing
2022-01-19 09:33:57 +01:00
Sami Mokaddem
b42941dc8e
Merge remote-tracking branch 'origin/develop' into develop
2022-01-19 09:04:20 +01:00
Sami Mokaddem
20cc6017d0
fix: [localTool:CommonConnector] Ensure one logger per connector
2022-01-19 09:04:10 +01:00
Luciano Righetti
ee5c723c71
Merge branch 'develop' into add-integration-tests
2022-01-18 18:11:53 +01:00
iglocska
8c404d8427
Merge branch 'develop' into main
2022-01-18 17:53:35 +01:00
iglocska
f75d0829d1
fix: [user edit] fixed for non admins
2022-01-18 17:52:59 +01:00
Luciano Righetti
850eb0fb2d
add: cover authkeys api endpoints, extend openapi spec
2022-01-18 17:39:41 +01:00
iglocska
8e51426567
Merge branch 'main' into develop
2022-01-18 16:58:59 +01:00
iglocska
dbaa2ba7b3
fix: [encryption keys] several fixes
...
- fix the user view to correctly point to the list of related encryption keys
- fix the lookup on the index to be based on owner_model + owner_id combo
- fix the filtering of the dropdown in the encryption key add form to only valid options
2022-01-18 16:56:38 +01:00
Luciano Righetti
afcfe57767
Merge branch 'develop' into add-integration-tests
2022-01-18 16:26:06 +01:00
iglocska
362045f798
Merge branch 'main' into develop
2022-01-18 16:25:01 +01:00
iglocska
eae8e62e5e
fix: [CRUD] delete post message fix
...
- correct order of execution for the beforesave command
2022-01-18 16:24:24 +01:00
Luciano Righetti
9551f0b5b8
fix: copy&paste
2022-01-18 16:15:45 +01:00
Luciano Righetti
6e31005d79
Merge branch 'develop' into add-integration-tests
2022-01-18 16:11:23 +01:00
Luciano Righetti
e6daa63064
add: more encription keys api endpoints covered
2022-01-18 16:11:00 +01:00
iglocska
0e427e97c9
Merge branch 'develop' into main
2022-01-18 15:37:52 +01:00
iglocska
f55365a03b
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop
2022-01-18 15:37:20 +01:00
iglocska
8cb24baf5f
fix: [ACL] tightening for delete functions
...
- implemented beforeSave() function in the CRUD::delete() functionality
- added correct handling for the organisation level encryption keys in the beforeSave constructor
2022-01-18 15:35:55 +01:00
iglocska
c35d67ebca
fix: [encryption keys] functionality to filter orgs/individuals fixed
...
- actually execute the query rather than just build it
2022-01-18 14:59:41 +01:00
Luciano Righetti
f48c1a5a17
Merge branch 'develop' into add-integration-tests
2022-01-18 14:29:54 +01:00
Luciano Righetti
b1ad454db8
add: api tests for /encryptionkeys, extend openapi spec
2022-01-18 14:29:27 +01:00
Sami Mokaddem
5eeda6b682
new: [localtool:commonConnectorTools] Added new logger for each local tools
2022-01-18 11:51:54 +01:00
iglocska
0dbdeee962
Merge branch 'develop' into main
2022-01-18 08:17:44 +01:00
iglocska
a29a4ea024
Merge branch 'main' into develop
2022-01-18 00:23:19 +01:00
iglocska
ec994b05ed
chg: [user] edit restricted to password only for self
2022-01-18 00:20:53 +01:00
iglocska
b80d778e1a
fix: [encryption keys] tightened ACL across all CRUD functions
2022-01-18 00:17:47 +01:00
iglocska
8c97c3b3a0
Merge branch 'main' into develop
2022-01-17 17:17:31 +01:00
iglocska
6d13d4aba0
fix: [authkeys] tighten requirements to add authkeys for other org admins
...
- site admin: can add to all
- org admin: can add to all in org, except site admin
- everyone else: can add to self only
2022-01-17 17:16:03 +01:00
Luciano Righetti
299cb126dc
add: wiremock tests and boilerplate, update test readme, extend openapi spec
2022-01-17 16:02:15 +01:00
Sami Mokaddem
49a3dd1623
chg: [instance] Added support of API response for 2 endpoints
2022-01-17 15:55:55 +01:00