Vivek Patel
75b7d78eac
Fix SMTP values in settings on server restart
...
It addresses issue with SMTP_* setting value, which were overwritten by values from env on server restart and also, removed default value of SMTP_HOST and SMTP_PORT, which were also causing the same issue.
2022-08-04 18:06:29 +05:30
Tomaž Jerman
bba02ec9df
Implement base valuestore for env variables
...
* Base facility to store generic values,
* integrate with templates,
* integrate with workflows.
2022-08-02 13:13:28 +02:00
Denis Arh
89eefa5bc2
Use model/attribute terminology in CUE files
2022-08-01 19:01:19 +02:00
Denis Arh
353d6ad37d
Unified CUE file names
2022-08-01 18:22:55 +02:00
Denis Arh
39bf9b75ea
Deprecate ACTIONLOG_COMPOSE_RECORD_ENABLED
2022-08-01 08:55:46 +02:00
Denis Arh
389cf7d997
Misconfigure server start no longer outputs CLI usage help
2022-07-28 19:57:11 +02:00
Tomaž Jerman
9d44fa8679
Fix RDBMS filter construction for applications and flags
...
* Add a new byFlag resource filter feature to support filtering
using flags.
False by default since only system applications use it.
* Add filter definitions to flag pkg resource.
* Add support for using []string inside byValue filters.
2022-07-27 16:53:04 +02:00
Tomaž Jerman
aaa536441b
Prevent boot levels from panicking if default language not set
2022-07-18 18:03:18 +02:00
Vivek Patel
07a8fdbbd5
Fix test notification cli command
...
Also, addresses issue with SMTP_* env vars value, which were ignored on server startup.
2022-07-18 17:12:12 +05:30
Denis Arh
d1d00d7771
Handle new auth options for signature algo & key
2022-07-14 11:09:26 +02:00
Denis Arh
e5a50a7191
Move auth initialization steps to a dedicated initAuth boot fn
2022-07-14 11:09:26 +02:00
Vivek Patel
0d9b63635e
Add env config for webapp sentry DSN
...
Also, updates sentry DSN entry in config.js for webapp
2022-07-11 14:58:18 +05:30
Denis Arh
f7f18af5f4
Update description of AUTH_*_LIFETIME options
2022-07-04 13:03:06 +02:00
Vivek Patel
e7a36e26c5
Add env options to enable/disable Compose record action log
...
It will enable/disable action log entry for compose record create, update or delete.
2022-07-04 12:53:39 +02:00
Denis Arh
013053d8a8
Fix label handling (broken after store refactor)
2022-07-03 13:20:00 +02:00
Denis Arh
bdd9318f93
Refactor and improve DAL implementation and init
...
Changes:
- Boot initialization follows standard impl
- Improved DAL connection management (adding, reloading, removing)
- Cleaner and more detailed logging
- Primary store connection is now reused when added to DAL
2022-07-01 18:13:54 +02:00
Denis Arh
8cbb2026e0
Fix and extend RDBMS upgrade procdures
2022-06-29 15:46:37 +02:00
Tomaž Jerman
d7be55948c
Quick refactor of other services for DAL
...
@todo cleanup, refactor
2022-06-14 12:08:18 +02:00
Tomaž Jerman
1be620d787
Tweak dal connection meta for easier FE work
...
* Default capabilities to empty slice
* Include primary connection connection parameters in REST
responses.
2022-05-31 13:00:21 +02:00
Tomaž Jerman
a70087ace8
Refactor primary DAL connection to be preserved in DB
2022-05-30 15:43:03 +02:00
Tomaž Jerman
35469c4749
Tweak DAL setup to prevent the server freezing
...
Errors are now logged and they don't kill the setup process.
This will be improved.
2022-05-26 18:13:54 +02:00
Tomaž Jerman
a0a6314ea9
Introduce DAL model ident formatter to simplify the interfaces
2022-05-26 17:41:15 +02:00
Tomaž Jerman
94fbe4bd44
Improve DAL sensitivity level
...
* Integrate with pkg/dal package
* Additional validation/constraints
2022-05-26 13:24:16 +02:00
Tomaž Jerman
ac07f133b5
Expand DAL REST API structure and exposed resources
...
* Cleanup DAL connection REST endpoints, remove primary connection
endpoint.
* Make connection search endpoint return federation nodes and
primary connection along user-defined DAL connections
* Expose DAL connection drivers
* Prepare DAL sensitivity level resource
2022-05-25 14:10:52 +02:00
Peter Grlica
fb5b0b59f8
Fixed federation uri node generation
2022-05-25 09:41:29 +02:00
Denis Arh
17406362dd
Rename Connection to DalConnection
2022-05-24 14:29:22 +02:00
Denis Arh
691e3e2900
Fix session & cookie exp. setting logic
...
Ensures that cookies on non-permanent login are set without max-age to
ensure removal when browser/tab is closed.
Sessions stored in the database are now updated and expiration value
slides forward in time with every activity from the user.
2022-05-24 10:46:21 +02:00
Denis Arh
dd3d25a5ae
Deprecate/remove AUTH_JWT_EXPIRY
...
JWT expiration is now controled via AUTH_OAUTH2_ACCESS_TOKEN_LIFETIME
2022-05-24 10:44:54 +02:00
Tomaž Jerman
bda52ed992
Add endpoint for primary DAL connection
2022-05-20 15:37:33 +02:00
Tomaž Jerman
383b07d1d7
Base DAL service integration into Compose services
2022-05-20 15:37:33 +02:00
Tomaž Jerman
e6264c8195
Add support for record page button settings
2022-04-26 03:04:03 +02:00
Denis Arh
fe107a6cfc
Additional error wraps for clarity
2022-04-23 16:34:07 +02:00
Denis Arh
773d64636f
Refactored store codegen, replace squirrel with goqu
2022-04-23 16:34:04 +02:00
Peter Grlica
679af2f556
Added CLI jwt token duration option
2022-04-05 09:01:40 +02:00
Tomaž Jerman
eca14bf438
Add .env option to disable runtime WF stacktrace
2022-03-24 12:02:34 +01:00
Peter Grlica
65fa3d1551
Fixed SMTP options env values
2022-03-21 15:06:28 +01:00
Peter Grlica
d72870a77d
Fixed options parameter, more verbose info output, hit handling on panic
2022-03-21 13:06:50 +01:00
Peter Grlica
f33336b21d
Added global profiler setting, options to apigw handlers
2022-03-21 12:59:01 +01:00
Peter Grlica
476084a3bf
Added profiler to apigw
2022-03-21 12:59:01 +01:00
Denis Arh
7bde98697a
Corteza discovery
...
- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
2022-02-22 17:13:59 +05:30
Denis Arh
a81f35d5a2
Nice api landing & 404 pages
2022-02-21 18:56:09 +01:00
Denis Arh
f66ab4550a
Implement asset serving
2022-02-21 15:46:21 +01:00
Denis Arh
7fa5e43d08
Add HTTP_SERVER_ASSETS_PATH option
...
Fix description for AUTH_ASSETS_PATH
2022-02-21 13:45:11 +01:00
Denis Arh
a709f0f411
Refactor, cleanup logger initialisation
2022-02-17 17:21:01 +01:00
Denis Arh
22c47d6ba7
Add webconsole
2022-02-17 17:21:01 +01:00
Tomaž Jerman
bc1550938f
Prevent compose-system import cycles
2022-02-17 13:11:50 +01:00
Denis Arh
23c7f357fb
Fix "disconnect" on SQLite (data lose)
2022-02-16 20:34:36 +01:00
Denis Arh
d74239c735
Improve HTTP server startup, add wrapping handler
...
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.
When server is fully activated it switches to "active"
router.
Shutdown stage is also handled with catch-all route.
2022-02-13 18:52:59 +01:00
Denis Arh
d103d60a3d
Refactor option definitions
2022-02-08 09:13:56 +01:00
Denis Arh
a035e6106f
Ported options codegen to cue
2022-01-29 12:18:00 +01:00