Denis Arh
b1ba01b474
Fix import paths in templates & generated go files
2022-11-17 17:29:51 +01:00
Katrin Yordanova
d4ed9ff539
Change colour of confirm button when approving a request in privacy
2022-11-16 18:06:37 +02:00
Denis Arh
0f8e03742f
Fix import paths (corteza-server => corteza/server)
2022-11-16 15:52:24 +01:00
Jože Fortun
a68e5db151
Fix search placeholder translation in namespace list
2022-11-16 12:25:15 +01:00
Denis Arh
ec75432d0c
Fix workflow function for RBAC manipulation
...
Cause: mixed params for resource and operation.
Closes #503
2022-11-15 15:04:20 +01:00
Peter Grlica
16257e9d4b
Fixed deleted apigw status on save
...
Fixed bug that was overwriting deletedAt status in effect un-deleting
the route.
2022-11-14 15:23:08 +01:00
Corteza Monorepo Migrator
aaafcc6cf6
Add missing locale/en
2022-11-14 12:28:51 +01:00
Corteza Monorepo Migrator
28cbbf513c
Add branch migration script
2022-11-14 09:26:47 +01:00
Corteza Monorepo Migrator
8daaf9488e
Updated root Dockerfile and client/web Docker image files
2022-11-14 09:26:47 +01:00
Corteza Monorepo Migrator
fb04b735a6
Add .github configs for monorepo
2022-11-14 09:26:47 +01:00
Corteza Monorepo Migrator
c1b11272be
Add files from locale with locale prefix
2022-11-14 09:26:47 +01:00
Corteza Monorepo Migrator
baab53ef89
Add files from protobuf with def/protobuf prefix
2022-11-14 09:26:46 +01:00
Corteza Monorepo Migrator
85ae013df0
Add files from webapp-one with client/web/one prefix
2022-11-14 09:26:46 +01:00
Corteza Monorepo Migrator
f28e34b57b
Add files from webapp-discovery with client/web/discovery prefix
2022-11-14 09:26:45 +01:00
Corteza Monorepo Migrator
6564abcf36
Add files from webapp-workflow with client/web/workflow prefix
2022-11-14 09:26:45 +01:00
Corteza Monorepo Migrator
8cbd9274ad
Add files from webapp-privacy with client/web/privacy prefix
2022-11-14 09:26:44 +01:00
Corteza Monorepo Migrator
c40b042770
Add files from webapp-compose with client/web/compose prefix
2022-11-14 09:26:44 +01:00
Corteza Monorepo Migrator
91424382fc
Add files from webapp-reporter with client/web/reporter prefix
2022-11-14 09:26:43 +01:00
Corteza Monorepo Migrator
5804fd7890
Add files from webapp-admin with client/web/admin prefix
2022-11-14 09:26:43 +01:00
Corteza Monorepo Migrator
c865b34840
Add files from vue with lib/vue prefix
2022-11-14 09:26:42 +01:00
Corteza Monorepo Migrator
7f6a912f59
Add files from js with lib/js prefix
2022-11-14 09:26:42 +01:00
Corteza Monorepo Migrator
c9c0758fb8
Add files from server-discovery with aux/server-discovery prefix
2022-11-14 09:26:41 +01:00
Corteza Monorepo Migrator
6fcc565cc5
Add README, DCO, CONTRIBUTING and .github files
2022-11-14 09:26:41 +01:00
Corteza Monorepo Migrator
683c7c56e2
Moving server files to ./server
2022-11-14 09:26:39 +01:00
Denis Arh
204738f7c9
Allow use of custom machine ID for sonyflake ID
...
Use SONYFLAKE_MACHINE_ID with uint16 to specifiy custom
machine ID to be used by Sonyflake. This is usefuly
when your infrastructure network configuration does not follow
IANA rules for private IPs.
Ref: #15
2022-11-14 08:54:04 +01:00
Denis Arh
88bafc2f15
Fix report request crash when using dup. attr idents
...
When request to /report endpoint with multiple attributes using the same
ident was used, request crashed with an error that Scan expects N+M
destinations but got N.
This was due to the way scan destination slice was constructed, using
column ident as unique key. Only problem for aggregations.
Example:
/report?metrics=SUM(Amount)+AS+sum_amount,SUM(Amount)+AS+sum_amount
Error:
sql: expected 4 destination arguments in Scan, not 3"
This is now done only for attributs with store type SimpleJsonDocColumn.
Ref: #465
2022-11-14 07:52:09 +01:00
Denis Arh
97fd780edf
Refactor rdbms-dal code and unify store-ident logic
2022-11-14 07:51:35 +01:00
Denis Arh
5187b63771
Harden record value processing
...
This commit adds extra checks and for null/object/array types. NULL
values are gracefuly ignored whn found on root or under an attribute.
2022-11-13 12:05:17 +01:00
Vivek Patel
b469df74ac
Fix generatePageNavigation for total count of records
2022-11-11 22:04:05 +05:30
Denis Arh
13ddb6025e
Remove required flag from workflow handle rest endpoints
2022-11-09 16:58:09 +01:00
Denis Arh
adf7b17465
Prevent server crash when accessing field w/o initialized options
2022-11-09 16:20:57 +01:00
Peter Grlica
e551b735be
Fixed apigw route search
...
Apigw route filtering works with partial endpoint values now instead of
literal search
2022-11-09 14:20:04 +01:00
Tomaž Jerman
79658c0194
Add query support for report list
2022-11-09 12:33:08 +01:00
Denis Arh
084ac727bd
Update corteza-locale dep
2022.9.2
2022-11-08 14:07:39 +01:00
Vivek Patel
74876a709b
Fix cursor tests
2022-11-08 17:17:36 +05:30
Denis Arh
6297304033
Remove old 'Deep JSON' leftover code
2022-11-08 12:43:27 +01:00
Yangruipis
7f64966b91
fix: use copy instead of reference
2022-11-08 09:37:05 +01:00
Yangruipis
344be08625
fix: export record error && dal.models is not initialized
2022-11-08 09:37:05 +01:00
Denis Arh
f6e3035b42
Merge branch '2022.9.x-fix-dal-multi-value-field' into 2022.9.x
2022-11-07 19:02:13 +01:00
Denis Arh
0cb49051d2
Disabled broken integration tests under tests/dal
2022-11-07 19:01:48 +01:00
Denis Arh
e70aecb2b8
Add support for "<ref/val> IN <ref>" query for RDBMS
...
Implementation for SQLite, Postgres and MySQL.
2022-11-07 18:54:41 +01:00
Denis Arh
3bf030685b
Extend RDBMS DAL tests and fix issues with bool & numeric types
2022-11-07 18:54:40 +01:00
Denis Arh
65fa23425e
Add driver.Nuances to handle subtle differeces between RDBMS drivers in common code
2022-11-07 18:53:56 +01:00
Denis Arh
cdacfe0648
Refactor RDBMS drivers, add json-array-contains
...
A few changes to dialect interface, functions now return exp.Expression
instead of more specific interfaces.
Implement JSON array-contains functionality. This allows us to
re-implement old behaviour where "'value' = multiValField" query
inspected all values inside multi value field.
2022-11-07 18:53:53 +01:00
Denis Arh
bfb06b0339
Refactor RDBMS driver tests
...
RDBMS tests now run on single DB only (one provided in the DB_DSN).
2022-11-07 18:24:14 +01:00
Vivek Patel
c759280fb9
Fix dal paging and nav
...
Along with there were couple other broken impl was fixed accordingly
- Migration of old store test for pagination and sorting
- Fixes store drivers' accordingly for dateTime, number, boolean types and other types
- Refactor drain iterator a bit for pag nav and sorting
- Separation of the paging calculation and record set impl
2022-11-07 22:50:56 +05:30
Tomaž Jerman
6d58bf4e3b
Fix improper resource translation management for automation buttons
2022-11-07 15:00:49 +01:00
Tomaž Jerman
f5297d33c7
Prevent cases without connection params from crashing the server
2022-11-04 08:20:07 +01:00
Denis Arh
cd0b462ca6
Allow configurabe workload when migrating record store
...
By setting UPGRADE_MIGRATE_OLD_COMPOSE_RECORD_VALUES_BATCH_SIZE
users can configure number of records read from the DB
2022-11-02 17:12:29 +01:00
Vivek Patel
90b54146dc
Fix deleted queue issue on update
...
On update queue deletedAt was being ignored so fixed it by reserving it on update
2022-11-01 15:00:28 +05:30