3
0

3542 Commits

Author SHA1 Message Date
Denis Arh
ebe36a758c Fix hide/show for remember-me button on login screen 2022-05-24 14:24:36 +02:00
Denis Arh
468390a758 Merge branch '2022.9.x-fix-auth-lifetime-issue' into 2022.9.x 2022-05-24 10:46:41 +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
Denis Arh
c457448558 Include web console bundle into server build
Add caching between github build steps to transfer
bundled web console files to steps where server is built.
2022-05-23 21:43:22 +02:00
Denis Arh
e6b48b2d14 Fix infinite loop alert webconsole when offline
Prevent webconsole to flood browser with alert windows when
backend is no longer reachable.
2022-05-23 20:33:17 +02:00
Denis Arh
5d172c9268 Remove suspended_at from connection unique index for handle 2022-05-23 20:33:17 +02:00
Denis Arh
b6adec8a9c Fix Role filter, add mising name attribute 2022-05-23 20:33:17 +02:00
Denis Arh
6355fc42d1 Temporary disable record provisioning due to broken import 2022-05-23 19:03:15 +02:00
Denis Arh
040ad02e75 Refactor and fix DAL tests
DAL tests are now moved to /tests/dal
2022-05-22 19:07:44 +02:00
Denis Arh
53b8c4951d Siletly ignore missing deleted-at state constraint.
A workaround until we can construct filter to dinamicaly
handle deleted-at state constrants (if attribute is present or not).
2022-05-22 17:39:32 +02:00
Tomaž Jerman
85260b6345 Merge branch '2022.9.x-dal' into 2022.9.x 2022-05-20 15:37:47 +02:00
Tomaž Jerman
bda52ed992 Add endpoint for primary DAL connection 2022-05-20 15:37:33 +02:00
Tomaž Jerman
b85f16a368 Add slight structure rename, add supporting services
* Add system connection CRUD & service
* Simplify compose type definitions
2022-05-20 15:37:33 +02:00
Tomaž Jerman
cda3c80c74 Connect the remaining record svc CRUD operations to DAL 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
81dda274eb DAL service refactor & RDBMS interface tweak
* Remove Compose service related bits out of the DAL service
* Minor DB connectivity tweaks and include capabilities
* Add values column to the compose_record table
* Compose types tweaks
2022-05-20 15:37:33 +02:00
Tomaž Jerman
cb37b7beb7 Add values JSON column to compose_record table def 2022-05-20 15:37:33 +02:00
Tomaž Jerman
d255d77e54 Add missing rel_module to module field filter proc 2022-05-20 15:37:33 +02:00
Denis Arh
671a51f9f7 Refactor and renamed CRS implementation to DAL 2022-05-20 15:37:33 +02:00
Denis Arh
876e254f5f Refactor filters, add filtrable flag on data.Attribute 2022-05-20 15:37:33 +02:00
Denis Arh
c1796529eb Refactor types, add support for sortable 2022-05-20 15:37:33 +02:00
Denis Arh
31f21dace0 CRS Sorting, pagination & cleanup 2022-05-20 15:37:33 +02:00
Tomaž Jerman
1d2e928fae Connect external and internal CRS commponents 2022-05-20 15:37:33 +02:00
Denis Arh
91fc2101e1 Replace pkg/ql with pkg/qlng 2022-05-20 15:37:33 +02:00
Denis Arh
a109335c08 Searching & filtering support in CRS 2022-05-20 15:37:33 +02:00
Denis Arh
aa02002b30 Use goqu fork (github.com/cortezaproject/goqu) 2022-05-20 15:37:33 +02:00
Denis Arh
2d06cf1cf9 Initial CRS implementation for RDBMS 2022-05-20 15:37:33 +02:00
Tomaž Jerman
cda884dff7 Base compose type def. upgrades 2022-05-20 15:37:33 +02:00
Tomaž Jerman
faa2bd3e14 Base CRS definition 2022-05-20 15:37:33 +02:00
Tomaž Jerman
0f4628debf Base capability definitions 2022-05-20 15:37:33 +02:00
Tomaž Jerman
5add1dcb50 Define a common pkg/data for model definitions 2022-05-20 15:37:33 +02:00
Denis Arh
77f00ddf87 Lock cue version to v0.4.2 2022-05-19 16:43:51 +02:00
Peter Grlica
919532b820 Fixed queue and route search in admin 2022-05-19 11:19:18 +02:00
Denis Arh
73266da547 Remove pkg/minions and IsNil
Replaced with IsNil fn from modern-go/reflect2
2022-05-18 12:36:30 +02:00
Peter Grlica
aedab82a47 Moved gin-bin to build 2022-05-10 08:40:43 +02:00
Denis Arh
cda604b614 Fix loading of scenarios in auth dev-mode 2022-05-09 19:58:20 +02:00
Denis Arh
8535141c22 Fix warning on http file server tests 2022-05-09 17:28:11 +02:00
Denis Arh
0a2175f384 Make settings decoding more robust (numbers & strings) 2022-05-09 17:28:11 +02:00
Peter Grlica
866b89a8e5 Updated snapshot action for GH 2022-05-04 08:16:07 +02:00
Bojan Svirkov
a138c40777 Update Auth background for 2022.9 2022-04-26 14:15:54 +02:00
Tomaž Jerman
d04a08c82a Add missing module field name validation 2022-04-26 03:04:03 +02:00
Tomaž Jerman
e6264c8195 Add support for record page button settings 2022-04-26 03:04:03 +02:00
Tomaž Jerman
ef803a8198 Add resource translations for record page buttons 2022-04-26 03:04:03 +02:00
Denis Arh
47cdee0125 Refactor store migration/upgrade proc 2022-04-26 03:03:47 +02:00
Tomaž Jerman
63df67c13f Update to go 1.18 2022-04-24 15:23:10 +02:00
Denis Arh
7bfb7ee7fa Rename make task 'outdated' to 'vendors.check' 2022-04-24 09:57:08 +02:00
Denis Arh
2d55f4e1f4 Upgrade all patched dependencies 2022-04-24 09:56:32 +02:00
Denis Arh
1c319b7891 Cleanup RDBMS code, fix metrics queries 2022-04-24 09:51:15 +02:00
Denis Arh
3e3c4560fb Pass *Store to custom RDBMS filters for more flexibility 2022-04-24 09:18:35 +02:00