3
0

63 Commits

Author SHA1 Message Date
Tomaž Jerman
7c857ab183 Add (temporary) solution to MSSQL true/false representation problem
Passing dialect options lower so the supporting functions can prepare
proper expressions.
Might be better off defining a new nuance for this, or researching
more if I can trick goqu to do it correctly.
2022-12-14 15:47:39 +01:00
Tomaž Jerman
41234648a9 Base MSSQL database support implementation 2022-12-14 15:47:39 +01:00
Tomaž Jerman
a026aeb790 Change state checks to use literal expressions
MSSQL doesn't like expressions in the lines of "column" IS @p1
which is how goqu generated the column.IsNull() part.
2022-12-14 15:47:39 +01:00
Tomaž Jerman
878e5edddb Add support for two step DB upsert 2022-12-14 15:47:39 +01:00
Tomaž Jerman
5d73098854 Fix broken tests due to fmt.Errf compile errors 2022-12-13 17:25:04 +01:00
Denis Arh
d1cac76ab1 Remove github.com/cortezaproject/corteza-locale from vendors 2022-12-12 15:43:33 +01:00
Vivek Patel
50b653fdc9 Fix reporting tests and page cursor 2022-12-12 20:03:24 +05:30
Vivek Patel
d7d8d9e7a9 Fix parsing og sort string
By trimming extra inverted quotes from the sort string
2022-12-12 20:03:11 +05:30
Tomaž Jerman
3e00b38e2f Fix improper role resolution in workflow RBAC grant functions 2022-12-12 15:30:05 +01:00
Vivek Patel
82d8a304b8 Fix paging cursor for report
By updating cursor only if it exists while building report filter
2022-12-12 15:22:09 +01:00
Tomaž Jerman
0c040cce8a Add order by over dimensions for compose record reports 2022-12-12 15:22:09 +01:00
Vivek Patel
ba09184834 Fix codegen locale.cue 2022-12-12 15:22:09 +01:00
Denis Arh
b2f799f8d8 Adapt locale setup for monorepo, fix webconsole 2022-12-12 15:22:09 +01:00
Vivek Patel
39905c1788 Add WEEK ref to GVal expr reference
It helps to define the outputType of week ql reference
2022-12-12 15:22:09 +01:00
Tomaž Jerman
f89d3d77e1 Add tests for join/link multi value filtering 2022-12-12 15:22:09 +01:00
Tomaž Jerman
863ee99515 Fix broken expr test due to function export 2022-12-12 15:22:09 +01:00
Tomaž Jerman
107d7a70ce Add support for in and nin ref handlers in reporter joins 2022-12-12 15:22:09 +01:00
Tomaž Jerman
8f3c3c3ea7 Add default report frame multi value separator 2022-12-12 15:22:09 +01:00
Tomaž Jerman
734bd2c21f Properly set the multivalue flag on frame columns 2022-12-12 15:22:09 +01:00
Tomaž Jerman
99f6503226 Remove the Meta field from parsed filter objects 2022-12-12 15:22:09 +01:00
Tomaž Jerman
048e51ac00 Add nin ref to base QL handlers 2022-12-12 15:22:09 +01:00
skamensky
b838e96b3d Legacy corteza server 2022.9.x fix missing col type (#505)
* Add support for dropdowns field type in physical tables
2022-12-12 15:22:09 +01:00
Tomaž Jerman
30bdc8b325 Improve external auth provider BC by defaulting empty usage 2022-12-12 14:14:55 +01:00
Tomaž Jerman
947469c1e6 Fix broken SAML auth after external flow rework 2022-12-12 14:14:50 +01:00
Tomaž Jerman
3bb299ce72 Fix part of the broken tests 2022-12-09 11:18:18 +01:00
Vivek Patel
2f854e9b81 Fix sort tests for one simple column
By adding expected values in equal expression.
2022-12-07 10:43:56 +01:00
Vivek Patel
b181c061a4 Fix app setting test for Nylas 2022-12-07 10:43:50 +01:00
Vivek Patel
b1465d1907 Fix reporting tests and page cursor 2022-12-07 10:43:39 +01:00
Tomaž Jerman
ce2c487f5f Fix broken external auth test 2022-12-07 09:26:01 +01:00
Tomaž Jerman
d8d7661bfa Expose some external auth settings to make providers available 2022-12-06 17:07:45 +01:00
Tomaž Jerman
f14a5464fe Change external credential logic to use consistent error reporting 2022-12-06 17:07:45 +01:00
Tomaž Jerman
59a7929721 Change auth handler receivers to pointers for easier setting propagation 2022-12-06 17:07:45 +01:00
Tomaž Jerman
d53fa26044 Add support for Nylas (and other) integration authentication 2022-12-06 17:07:45 +01:00
kinyaelgrande
1f1f0d2ce3 Add support for SMTP Configurations test 2022-12-05 13:52:35 +03:00
Vivek Patel
79dc5b9a70 Supports coalesce sorting
Updated parse sorting method to support coalesce sorting with multiple columns, by extending the current sortExpr with modifier and multiple columns, IE. `coalesce` as modifier and given arguments will be multiple columns for the sortExpr.

Also, updated cursor to support modifier and multiple column support along with rdbms.go.tpl for the same.
2022-12-01 10:45:26 +01:00
kinyaelgrande
29262afadf Add support for personalized auth screen 2022-11-29 12:20:36 +03:00
kinyaelgrande
fda4730a46 Add restart warning message on settings CLI 2022-11-28 13:43:35 +03: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
a1a3137a6b Fix LDFLAG for version 2022-11-27 10:40:43 +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
Denis Arh
150879200e Move API GW route init to activation level
Closes #495
2022-11-27 09:55:33 +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
Denis Arh
19191a4312 Update go dependency on 1.19
Ref: #516
2022-11-26 12:19:01 +01:00
Vivek Patel
279b1b0517 Add WEEK ref to base QL handlers
Also, added to PSQL, and SQLite ref handler
2022-11-25 15:00:02 +01:00
Katrin Yordanova
fb03712755 Address compose chart issues 2022-11-24 16:10:10 +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
Jože Fortun
d493077b7d Revert auth screen and topbar title padding 2022-11-23 15:21:08 +01:00
Denis Arh
4ab9ca16c8 Reverted and reimplemented route deleted flag handling 2022-11-23 12:31:01 +01:00
Jože Fortun
b2b65b5a08 Fix auth server templates on mobile views 2022-11-23 11:28:28 +01:00
Vivek Patel
8571b3c568 Fix options codegen
Just ran `make codegen`, to regenerate generated files
2022-11-21 14:59:35 +05:30