Commit Graph
4068 Commits
Author SHA1 Message Date
Jože Fortun 65ea8f0087 Fallback to namespaceID where slug is used 2022-11-22 18:21:35 +01:00
Tomaž Jerman 8f5e71845a Properly set the multivalue flag on frame columns 2022-11-22 11:49:03 +01:00
Tomaž Jerman a7f70cf801 Remove the Meta field from parsed filter objects 2022-11-22 11:40:34 +01:00
Tomaž Jerman b13d19e617 Add nin ref to base QL handlers 2022-11-22 11:40:05 +01:00
skamensky 11f7eb1529 Legacy corteza server 2022.9.x fix missing col type (#505)
* Add support for dropdowns field type in physical tables
2022-11-22 07:54:42 +01:00
Yangruipis 8fc2510c95 fix(rdbms): check number regex
Regex for checking number will miss floats with 2+ precision like 0.01,
and treat str with multi dot as number like 0.1.1.1.
2022-11-18 10:15:16 +01:00
Denis Arh 1a3e8985bb Tweaked .github/workflows/notify.yml, friendlier notifications 2022-11-18 07:46:00 +01:00
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