Commit Graph

853 Commits (7ed87ff0f2c660ea18604f394bac9f6900b8490c)

Author SHA1 Message Date
Luciano Righetti 7ed87ff0f2 chg: refactor ApiTestTrait to reduce code duplication, enforce openapi spec validations 2022-01-19 15:15:49 +01:00
Luciano Righetti 5eca1a9160 add: change password via api test, add helper methods to ApiTestTrait. 2022-01-19 10:45:51 +01:00
Luciano Righetti ee5c723c71 Merge branch 'develop' into add-integration-tests 2022-01-18 18:11:53 +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
Sami Mokaddem 46870a4bcc
fix: [organisation:add] Removed useless description field 2022-01-17 15:45:51 +01:00
Sami Mokaddem 0c9b032536
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2022-01-17 15:30:07 +01:00
Sami Mokaddem 98e8272810
fix: [ACL] Allow anyone to view encryption keys 2022-01-17 15:29:58 +01:00
Sami Mokaddem ef2827e87a
fix: [userSettings] Various permissions issues 2022-01-17 15:24:30 +01:00
Sami Mokaddem 1c81257b75
fix: [helpers:bootstrap] Table's cell generator gets the correct row index 2022-01-17 15:22:52 +01:00
iglocska 4102a5d3ce
Merge branch 'main' into develop 2022-01-17 13:21:34 +01:00
iglocska e8f57dc40f
fix: [inividuals] add shouldn't have the tagging options
- can't tag that which does not exist yet
2022-01-17 13:21:14 +01:00
iglocska 0328bfed46
fix: [inividuals] add shouldn't have the tagging options
- can't tag that which does not exist yet
2022-01-17 13:20:34 +01:00
iglocska 244020802c
Merge branch 'main' into develop 2022-01-17 13:17:51 +01:00
iglocska 453c838dfe
fix: [placeholder removed] WiP functionality for local_tool->local_tool connections within the same brood temporarily removed
- was never fully implemented
2022-01-17 13:15:26 +01:00
iglocska b4534c373b
fix: [organisation] add/edit doesn't save URL 2022-01-17 12:53:14 +01:00
iglocska acf85e6d10
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2022-01-17 12:49:27 +01:00
iglocska f3d735b381
Merge branch 'main' into develop 2022-01-17 12:48:25 +01:00
iglocska 1b4c681a88
new: [Outbox] entity added
- to inherit the appModel functions
2022-01-17 12:47:48 +01:00
Sami Mokaddem f18307b3cb
chg: [localTools:local_tool_connectors] Added support of CodeMirror placeholder 2022-01-17 11:30:26 +01:00
Sami Mokaddem aeaa833f64
new: [CodeMirror] Shows a placeholder whenever the textarea is empty 2022-01-17 11:29:50 +01:00
iglocska 883954c11f
Merge branch 'develop' into main 2022-01-17 09:47:10 +01:00
iglocska 12d7607aae
new: [encryption key] view added
- was missing, despite links to it
2022-01-17 09:45:45 +01:00
iglocska 9e2c29660d
Merge branch 'main' into develop 2022-01-17 09:25:31 +01:00
iglocska 95cb4536e1
fix: [tagging] error when trying to add a tag that doesn't exist yet
- add default colour to circumvent the error
2022-01-17 09:22:06 +01:00
iglocska caf48c9060
fix: [ACL] proper error messages on user edit
- don't just silently redirect to the own user editing if the user isn't authorised to modify another user
2022-01-17 09:19:53 +01:00
Luciano Righetti 25ded7e3bf add: more sharing groups api tests, add broods api tests, extend openapi spec 2022-01-14 17:43:53 +01:00