3
0
Commit Graph

3871 Commits

Author SHA1 Message Date
Denis Arh
bc2186fa2f Refactor module/field dal enc strategy config 2022-09-16 12:58:36 +02:00
Denis Arh
0ba9e06c85 Improve module update robustness 2022-09-16 12:58:09 +02:00
Denis Arh
3050cda023 Add RDBMS DAL model validation
This will prevent misconfigured models with atributes that read from the
same columns. This constraint could/should be removed in the
future.
2022-09-16 12:57:42 +02:00
Denis Arh
8162da2a0e Prevent module update abort in case of DAL issues 2022-09-16 12:55:05 +02:00
Tomaž Jerman
077788d9b8 Remove operations from models and connections
For now, operations will be defined on a DB driver.
2022-09-15 13:55:21 +02:00
Denis Arh
98c1d52673 Fix information schema interface for MySQL (null string column) 2022-09-15 13:31:18 +02:00
Denis Arh
414336073e Removing ignore-case feature from name attribute on settings 2022-09-15 13:26:06 +02:00
Denis Arh
8803490f42 Improve store templates/codegen, fix settings model def 2022-09-15 13:19:32 +02:00
Denis Arh
6c31e84628 Improve system field encoding configuration 2022-09-15 13:19:32 +02:00
Denis Arh
336315aee6 Fix model-creation error handling 2022-09-15 13:19:32 +02:00
Tomaž Jerman
bd68b76137 Fix ID and Ref type casting for MySQL databases
The CAST function takes in UNSIGNED instead of BIGINT.
2022-09-15 12:07:33 +02:00
Tomaž Jerman
da24de8b09 Add attribute ident normalization to support legacy names
Older versions allowed more variations for the same system ident.
New one does not; normalization is a temporary solution for it.
2022-09-15 12:06:49 +02:00
Tomaž Jerman
9fdb86c4cf Add date_format to supported QL functions 2022-09-15 12:06:49 +02:00
Denis Arh
65e6976855 Merge branch '2022.9.x-ddl' into 2022.9.x 2022-09-15 08:13:40 +02:00
Denis Arh
4a420b9d99 Fix table provision lookup+create logic 2022-09-15 08:13:19 +02:00
Denis Arh
198830e9de Fix unique constraint on compose charts table 2022-09-14 12:18:43 +02:00
Denis Arh
eebf971fd2 Re-enable RDBMS table/column alter/drop operations 2022-09-14 12:18:43 +02:00
Denis Arh
8ff4015192 Re-enable primary-store healtcheck 2022-09-14 12:18:43 +02:00
Denis Arh
9e6241a610 Rework DSN masking for RDBMS connection 2022-09-14 12:18:43 +02:00
Denis Arh
f3690b8636 Series of small fixes, prefixing index idents 2022-09-14 12:18:43 +02:00
Denis Arh
06a9c61e5c Store codegen fixes (primary-key & DAL changes) 2022-09-14 12:18:43 +02:00
Denis Arh
d1dd4d1a0c Support SQLite table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh
1f85b1be2b Support MySQL table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh
58d26c91a2 Resource definitions (CUE) modifications (MySQL)
A series of small modifications on resource defintions
to simplify MySQL handling. Text fields included into indexes have
length and existing lengths are lowered to fit into ~3k char limitation.

Most of the changed attributes are can function within the new
limitations anyway.
2022-09-14 12:18:43 +02:00
Denis Arh
30065d4a4c RDBMS DAL implementation cleanup 2022-09-14 12:18:43 +02:00
Denis Arh
44ba447678 Add support for meta data on attribute types (rdbms:type=integer) 2022-09-14 12:18:43 +02:00
Denis Arh
6939d9e226 Model definition fixes (dal, index) 2022-09-14 12:18:43 +02:00
Denis Arh
4e96804d46 Add support for RDBMS index creation 2022-09-14 12:18:43 +02:00
Denis Arh
5992471337 Add support for default values for RDBMS columns 2022-09-14 12:18:43 +02:00
Denis Arh
a6c0d8ecee Base support for creating RDBMS tables from models 2022-09-14 12:18:43 +02:00
Tomaž Jerman
c0631666d1 Add content-type to record revision endpoint
Correct, and fixes cases where mime sniffing is disabled.
2022-09-14 10:17:22 +02:00
Tomaž Jerman
7d18058f58 Rework the cmpose report endpoint to the DAL pipeline 2022-09-14 10:17:22 +02:00
dependabot[bot]
f4176fd1a2 Bump vite from 2.8.1 to 2.9.13 in /webconsole
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.8.1 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 17:24:48 +02:00
Peter Grlica
7f0fe201db Deprecated Corteza plugin support
The current plugin support was not stable enough in go >= 1.18, so the
current implementation was dropped for a future alternate solution.
2022-09-13 10:57:42 +02:00
Tomaž Jerman
d65bd241b7 Fix role unarchiving caused by updatng wrong vars 2022-09-13 10:09:18 +02:00
Vivek Patel
70d9bbb512 Enable the make test.all command 2022-09-09 11:41:30 +05:30
Vivek Patel
f0bf220666 Temporarily disable make test.all command for dev.2 release 2022.9.0-dev.2 2022-09-07 17:24:15 +05:30
Jože Fortun
61b5fd58be Update corteza-locale dep 2022-09-07 13:05:23 +02:00
Vivek Patel
efc8a324b4 Fix system data-privacy connection endpoint
- There was nil pointer due to dalConnection was not initialised in data-privacy struct.
- Update PrivacyDataConnection struct as per DalConnection struct, and responses accordingly
2022-09-07 16:28:04 +05:30
Katrin Yordanova
0bf47a2fc4 Add cypress ids to auth/templates 2022-09-05 14:41:16 +03:00
Denis Arh
f30c2de43b Fix authorized-clients filter 2022-09-02 13:48:51 +02:00
Denis Arh
2e222d1bfa Fix template searching, add query (by handle, type) 2022-09-02 08:49:40 +02:00
Tomaž Jerman
e7690e42dd Merge branch '2022.9.x-feature-reporter' into 2022.9.x 2022-09-01 16:55:41 +02:00
Tomaž Jerman
9bfe742fb7 Add basic tests for system/reporter pkg 2022-09-01 16:55:21 +02:00
Tomaž Jerman
8ac3b50077 WIP/POC pkg for common gval handlers 2022-09-01 16:55:21 +02:00
Tomaž Jerman
319a29fdc6 Cleanup system/reporter - DAL/pipeline migration 2022-09-01 16:55:21 +02:00
Tomaž Jerman
21fe776cc6 Cover nil panic when the filter doesn't define any constraints
The RDBMS/dal SQL builder merged model-defined constraints and
filter defined constraints.

Now that model-defined constraints are no longer guaranteed,
it was panicing.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
0e7f40ca2e Define proper types for system module fields 2022-09-01 16:55:20 +02:00
Tomaž Jerman
4b65286df1 Add refs to DAL models constructed from compose modules 2022-09-01 16:55:20 +02:00
Tomaž Jerman
ccc1064fac Expand test suite, cleanup/refactor based on results 2022-09-01 16:55:20 +02:00