3
0
Commit Graph

55 Commits

Author SHA1 Message Date
Tomaž Jerman
13d0cd514f Change ns clone/import to not require slugs 2024-03-11 09:17:25 +01:00
Mumbi Francis
16edc28809 Fix permissions trace issue on hasWildcard resources 2024-02-08 16:50:11 +03:00
Tomaž Jerman
2637334460 Fix post opt. tests 2024-02-06 13:39:22 +01:00
Tomaž Jerman
41e86f2c16 Fix unit tests 2024-02-06 13:39:22 +01:00
kinyaelgrande
c11165e19d Fix reference to single-digit record ids 2024-01-09 14:38:31 +03:00
Peter Grlica
cbdad33e1c Remove enabled setting on record deduplication 2023-12-22 12:13:23 +01:00
Peter Grlica
52ea952116 Module deduplication validation and provisioning of old rules 2023-12-21 10:08:53 +01:00
Tomaž Jerman
4520742ad8 Cover re-type alterations by creating additional columns 2023-12-13 10:17:12 +01:00
Tomaž Jerman
33821ddd9f Fix dal schema alterations not presenting/reloading revision models 2023-12-12 15:27:48 +01:00
Tomaž Jerman
5e3810302f Fix tests 2023-10-27 16:33:47 +02:00
Tomaž Jerman
7c6fb592bc Fix lapsus in module->model attribute type mapping 2023-10-26 17:09:59 +02:00
Tomaž Jerman
6795e5e0f2 Post testing tweaks and fixes 2023-10-26 17:09:58 +02:00
Tomaž Jerman
1eb360f43e Hook svc level alteration management to DAL 2023-10-26 17:09:57 +02:00
Tomaž Jerman
399f9a7cc4 Plug new envoy to record import endpoints 2023-10-09 14:45:01 +02:00
Mumbi Francis
89f621c035 Add ability to select and perform bulk operations on all records
This change affects the recordlist and the bulk operations are edit,delete and undelete
2023-06-14 18:37:44 +03:00
Tomaž Jerman
88804b460e Change filter slices to be []string vs []uint64
This is to allow front-end to properly handle ID values.
This change was done to keep consistent with what we were doing
before. Alternative version would be to have a sepparate struct
on the rest package.
2023-05-24 12:26:01 +02:00
Tomaž Jerman
462619f2b9 Change logs to encode uint64 values as strings
This is due to us introducing the web console and the uints needing
to be string encoded (because of JavaScript).
2023-05-24 12:26:01 +02:00
Vivek Patel
ffd49d3783 Fix preview for icon attachment
It will fall back to original image and return preview accordingly.
2023-04-13 18:53:53 +05:30
Tomaž Jerman
16a30425ab Add missing meta.style update check to page layouts 2023-04-07 12:39:27 +02:00
Tomaž Jerman
c82592f6de Fix invalid unique handle check for page layouts 2023-04-07 12:39:27 +02:00
Tomaž Jerman
02d0c4dcdb Add resource translation UI for page layouts 2023-04-07 12:39:27 +02:00
Tomaž Jerman
fce2ae90e3 Remove the primary flag from page layouts 2023-04-07 12:39:27 +02:00
Tomaž Jerman
27a32a2607 Make page & layout meta non pointer for ease of use 2023-04-07 12:39:27 +02:00
Tomaž Jerman
0b98c786dd Fix rebase lapsus omitting page.Config field 2023-04-07 12:39:27 +02:00
Tomaž Jerman
9d37d8c949 Change page layout name to title, codegen config tweaks 2023-04-07 12:39:27 +02:00
Tomaž Jerman
8437728af1 Don't require pageID when fetching all NS layouts 2023-04-07 12:39:27 +02:00
Tomaž Jerman
209e48bcf7 Add base page layout integration tests 2023-04-07 12:39:26 +02:00
Tomaž Jerman
b9e102313d Add access control and support for personal layouts 2023-04-07 12:39:26 +02:00
Tomaž Jerman
3a329511a4 Add resource translations for page layouts 2023-04-07 12:39:26 +02:00
Tomaž Jerman
0a2a11d9fd Add page layout weight & reordering 2023-04-07 12:39:26 +02:00
Tomaž Jerman
19133a4cb3 Add support for expr & action persistence on layouts 2023-04-07 12:39:26 +02:00
Jože Fortun
23177e956a Make pageID in page-layout listNamespace not required 2023-04-07 12:39:26 +02:00
Tomaž Jerman
175a597de2 Rename default to primary because typescript 2023-04-07 12:39:26 +02:00
Tomaž Jerman
bd59d58e98 Add base CRUD for page layout support 2023-04-07 12:39:26 +02:00
Vivek Patel
cba972ac31 Removed pkg/discovery
It moves discovery types to discovery/ on root.
2023-04-06 11:53:18 +05:30
Tomaž Jerman
d868391798 Update NS clone & import to utilize transactions 2023-03-27 17:57:15 +02:00
Vivek Patel
c9740a6527 Add support for icons
- Add icon endpoint for list and upload
- Add endpoint to update icon to specific page
- Add compose icon settings for max size and mimetype limitation
2023-03-23 08:50:29 +01:00
Tomaž Jerman
6f5bb2ebd5 Port namespace import/export svc to Envoy v2 2023-03-20 11:42:49 +01:00
Tomaž Jerman
a8b60c6525 POC exporting record datasources 2023-03-17 10:58:46 +01:00
Tomaž Jerman
7b46f10493 Assure multi value fields are properly & completely updated 2023-03-08 17:51:22 +01:00
Tomaž Jerman
2d174620fa Add endpoint for bulk record patch 2023-03-08 17:51:22 +01:00
Vivek Patel
ef37121872 Fix record tests
Issue with returning invalid, empty errors
2023-01-26 12:17:04 +01:00
Vivek Patel
83f95ed5da Refactor data-privacy endpoints
Moved DataPrivacyRequest and DataPrivacyRequestComment under DataPrivacy route
2023-01-25 22:25:48 +05:30
Vivek Patel
e7fa07cfae Extends DeDup capabilities
Support modifier for value search and allow ability to select matching criteria for multi value field

- Removed name from rule for now
- Value modifier to search with are ignore-case, case-sensitive, fuzzy-search, sounds-like
- Multi value matching criteria are one-of, equal
- Migrate RecordDeDup config for module, by adding upgrade fix for module.config.recordDeDup to migrate as per to the latest DeDupRule struct.
2023-01-25 21:54:36 +05:30
kinyaelgrande
ad46c275f9 Add support for viewing and undeleting soft-deleted records 2023-01-19 17:55:47 +03:00
Tomaž Jerman
0c040cce8a Add order by over dimensions for compose record reports 2022-12-12 15:22:09 +01:00
Denis Arh
207f01daf5 Refresh code templates and regenerate go files
Mostly minor changes related to go 1.19 comment formatting.
2022-11-27 10:57:03 +01:00
Denis Arh
e5d67c6e16 Error package related codebase improvements
Remove/replace "github.com/pkg/errors" and "errors"
with "fmt" or "corteza/server/pkg/errors"

Closes #528
2022-11-27 10:29:36 +01:00
skamensky
9ac63876be Add support for RDBMS schema management
With `DB_ALLOW_DESTRUCTIVE_CHANGES=true` Corteza can change DB tables and columns when Compose Module configuration changes.
2022-11-26 13:10:39 +01:00
Vivek Patel
1699e3f94b Remove handle requirement from resource API
We removed handle requirement for all resource like namespace(slug), module, user, page, chart.

Due to that namespace import/export was broken as we were using handle as reference, hence fixed it by replacing handle usage with ID of resource.

It also fixes index of template table for handle column.
2022-11-24 10:28:22 +02:00