Commit Graph

294 Commits (2274fff424475a4e503480d6d357eed34c79ef6d)

Author SHA1 Message Date
Sami Mokaddem 2274fff424
fix: [component:CRUD] Make sure not to override table aliases when paginating 2023-12-12 09:51:38 +01:00
Sami Mokaddem 46bafa045f
chg: [crud:index] Include all meta-fields regardless of user's preference when in REST context 2023-11-16 09:02:40 +01:00
Sami Mokaddem 63593cfd56
new: [CRUD:index] Allow exporting data into csv
- Added CSVConverter tool and CSV server request detector
2023-11-02 08:08:06 +01:00
Sami Mokaddem 1a7320e363
fix: [orggroups:ui] Aligned UI with what users can actually do 2023-10-30 10:45:38 +01:00
iglocska 49d4c959aa
new: [topology improvements] added acl, menu access, downloader 2023-10-05 12:37:12 +02:00
Sami Mokaddem 845ba2bfc9
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2023-09-27 10:46:12 +02:00
Sami Mokaddem 0d5dee3524
fix: [component:CRUD] Do not limit results if the limit query parameter is not provided 2023-09-27 10:44:43 +02:00
Luciano Righetti eb95c44528
Merge pull request #151 from righel/fix-test-action
fix: fix test workflow action
2023-09-14 16:16:55 +02:00
Sami Mokaddem 672847b214
chg: [users:acl] Improved waterfall model for CRUD operation and updated UI to reflect them 2023-09-13 09:15:16 +02:00
Sami Mokaddem e64f4c341f
fix: [acl:canEditUser] Typo in table name 2023-09-12 15:01:22 +02:00
Sami Mokaddem b2df8192f7
fix: [OrgGroups:checkIfGroupAdmin] Consider site_admins as group admin 2023-09-12 14:31:03 +02:00
Sami Mokaddem d2cb072ce6
chg: [ui] Improved reflection of ACL logic in the UI for OrgGroups, Organisations and individuals. 2023-09-12 14:11:15 +02:00
iglocska e3f8c38dcd
fix: [org admins] should be able to edit the org 2023-09-12 10:54:06 +02:00
iglocska 69b653dd59
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2023-09-12 09:27:57 +02:00
iglocska 16a4a1cde5
new: [org Groups] added
- 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
2023-09-12 09:26:07 +02:00
Sami Mokaddem 8b4b47775c
chg: [alignments:acl] Reflected ACL logic from individuals to alignments 2023-09-08 09:11:52 +02:00
Sami Mokaddem 5aefc37837
chg: [users:edit] Allow users to self edit 2023-09-07 16:11:47 +02:00
Sami Mokaddem 01356824a2
chg: [navigation:tags] Updated UI to reflect users' permissions 2023-09-06 10:42:08 +02:00
Sami Mokaddem bde01882d9
fix: [navigation:CRUDAction-auditlogs] Make ordering by created field unambigous and hide audit button to non-admin users 2023-09-06 10:17:06 +02:00
Sami Mokaddem 7377e77204
chg: [navigation:individuals] Only show edit and deletion buttons if users are allowed to do it 2023-09-06 09:48:16 +02:00
Sami Mokaddem e7e5c0aebd
chg: [ACL:tags] Relaxed ACL on tags for index and view pages.
FIXME: Adapt changes in the UI to hide add/edit buttons and add link to the sidebar
2023-09-05 10:56:48 +02:00
Sami Mokaddem 9e18f4f0bb
chg: [ACL:individual/add] Allow `org-admin`s to create new individuals 2023-09-05 10:49:23 +02:00
iglocska 3e5ae5271e
chg: [misisng] change 2023-09-04 15:23:21 +02:00
Sami Mokaddem 1ea7c796ac
chg: [component:CRUD] Include meta-fields in REST queries and clever pagination support for REST queries 2023-08-29 14:57:48 +02:00
iglocska 52e8a5c6a6
new: [enumerations] added enumerations system
- 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
2023-05-26 16:13:52 +02:00
iglocska 7a8eb6ba50
chg: [CRUD] allow for sorting on related model fields
- some hacks to resolve issues with sorting on related fields
2023-05-25 16:11:21 +02:00
Luciano Righetti 9b7c693bb9 fix: fix some deprecation notices in 8.2 2023-04-06 17:59:22 +02:00
Sami Mokaddem c2e9fd3b75
chg: [meta-template:index] Added link to metaTemplateNameDirectory 2023-03-13 11:38:32 +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 aead79a4c3
chg: [component:CRUD] Added `afterFind` support in add 2023-02-24 15:20:29 +01:00
Sami Mokaddem fda8aa5866
chg: [component:CRUD] Include meta-template before calling `afterFind` 2023-02-24 14:57:40 +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 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
Sami Mokaddem 0b2f7c31b2
Merge branch 'develop-unstable' into develop 2023-02-21 13:54:13 +01:00
Sami Mokaddem e375e24a6d
chg: [component:CRUD] Added validation of order fields 2023-02-20 10:17:20 +01:00
Sami Mokaddem e4c132374e
fix: [crud:renderInVariable] Fixed deprecation notice 2023-02-16 15:13:52 +01:00
Sami Mokaddem 62b2a1b264
new: [crud:auditlog] Added auditlogs for entity being viewed 2023-02-16 14:52:05 +01:00
Sami Mokaddem 20eebd097d
new: [meta-template] Improvement of the update system
- 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
2023-02-14 14:42:35 +01:00
Sami Mokaddem b9292473de
fix: [crud:index] Only include requested metafields for non-API queries 2023-02-13 15:38:12 +01:00
Sami Mokaddem fce564f798
chg: [crud:index] Added better support of pagination for API 2023-02-13 15:36:21 +01:00
Sami Mokaddem d7a530924f
fix: [navigation:metaTemplates] Allow toggling template enabled state 2023-02-13 15:32:00 +01:00
Sami Mokaddem 79a97efa70
Merge branch 'chg-sync-improvements' into develop-unstable 2023-01-18 15:40:54 +01:00
Sami Mokaddem 715ba1d75b
chg: [ui:generic_index] Only show enabled meta-templates in table options 2023-01-17 09:17:49 +01:00
Sami Mokaddem a3fd138b4d
fix: [crud:edit] Always specify the table alias when fetching by id 2022-12-09 11:56:03 +01:00
Sami Mokaddem 53f669e25c
new: [sync+meta_fields] Initial work on meta_field synchronisation and meta_template_directory - WiP
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
2022-12-07 14:54:28 +01:00
Sami Mokaddem e5080e6fda
fix: [brood:preview] Restored searching capability on browsing 2022-11-29 11:51:03 +01:00
Sami Mokaddem 0b26bd629f
fix: [crud:index] requestedEntryAmount doesn't reset the query anymore 2022-11-14 15:55:07 +01:00