Commit Graph

277 Commits (16a4a1cde5e41a45378055fd0b4191c703d65cc6)

Author SHA1 Message Date
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 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
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
Sami Mokaddem b53f2681b4
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into feature-metafield-dropdown 2022-11-14 14:53:02 +01:00
iglocska ab5cee58ad
fix: [crud] speculative fix for notice error on metatemplates being accessed that aren't loaded 2022-11-11 15:30:55 +01:00
iglocska c2bff49185
fix: [beforesave] hook removed on get requests 2022-11-11 15:08:23 +01:00
iglocska b1f09dc97e
new: [permission limitations] subsystem added
- add limitations for users with given meta fields
  - x number / org and y number / globally
- add comments to the limitations
- enforced on user creation/modification
2022-11-09 14:09:27 +01:00
iglocska 10ce8beb30
chg: [CRUD] component - only try to unlink MetaFields if it's actually loaded 2022-11-09 13:58:02 +01:00
iglocska 540fd63423
fix: [API] cleaned up the individual API 2022-11-04 09:33:39 +01:00
iglocska 7504bfab10
fix: [API] rearrange component - handle collections correctly
- return a new collection with the individual values transferred to it after changes
- avoids some weird quirks with unsetting related Objects not taking effect
2022-11-04 09:31:46 +01:00
iglocska 11510ea28f
new: [individual] editing enabled for org admins
- requires that a user exist for the given individual
2022-10-31 14:42:58 +01:00
Sami Mokaddem 03bd4aba30
new: [genericElement:group_table_action] Added support of `show # element` in the table 2022-10-28 09:13:15 +02:00
Sami Mokaddem aeda393bba
chg: [component:CRUD] Improved filtering to support form type based on database column type 2022-10-27 15:56:39 +02:00
Sami Mokaddem c8ff7bb4b2
new: [adminNotificationBehavior] Added first version of new behavior and associated inboxProcessor
This behavior allows to specify on which fields modification site-admins should be notified by receiving a message in their inbox
2022-10-26 17:10:04 +02:00
Sami Mokaddem eb6dec8b64
fix: [component:CRUD] Default custom contextual filters do not override search parameters anymore 2022-10-25 14:50:11 +02:00
Sami Mokaddem 8d7e2b0df2
chg: [inboxes:UI] Renamed `request` into `message` 2022-10-25 10:26:03 +02:00
Sami Mokaddem 745340adff
fix: [component:CRUD] Only show metafields filters wjen the model has the behavior 2022-10-25 10:23:11 +02:00
Sami Mokaddem fc0920c7c3
chg: [component:APIRearrange] Rearrange for all iterators 2022-10-21 15:56:53 +02:00
Sami Mokaddem ddfc83af6f
chg: [navigation:socialProvider] Improved UI for SSO profile management 2022-10-21 14:14:38 +02:00
Sami Mokaddem 455daba4d4
fix: [navigation:meta-template] Correctly show badge for new templates 2022-10-21 14:06:46 +02:00