Commit Graph

9635 Commits

Author SHA1 Message Date
Nitwel
4e70be6da7 fix sortField selection (#16379) 2022-11-09 07:29:00 -08:00
Pascal Jufer
20a06a6c0e Clean-up lint / format set-up (#16380)
* Format json & all yaml files and update ignore files

* Fix resulting formatting issues
2022-11-09 07:26:54 -08:00
ian
6e730956af Update last value when triggering nested flows with array values (#16180)
* Update last payload when triggering array values

* Reuse keyedData when triggering other flows

* Expose flows data chain variables in run script operation

* Fix unit test

* Separate context for child flows

* Remove global variables from run script operation

* Simplify by using omit
2022-11-08 17:37:12 -08:00
ian
adff255d91 Skip checking of virtual alias fields (#16320)
* Default virtual fields as alias type

* Make the condition more verbose instead of defaulting

* Remove unnecessary optional chaining

* Add tests

* Revert to alias defaulting in #d06d62

* Shift condition up
2022-11-08 15:49:49 -08:00
Pascal Jufer
8d998f662a Update the Makefile for testing the Docker image build process (#16360) 2022-11-08 15:39:04 -08:00
ian
7899f6a267 Remove dev dependencies when running blackbox tests (#16271)
* Remove dev dependencies when running blackbox tests

* Install dev dependencies in workspace root to run tests

* Shift dependency to see if tests fail

* Revert dependency shifting test

* Remove specifying of shell
2022-11-03 09:15:48 -04:00
Azri Kahar
3e96584bad Test locale translations (#16267)
* fix es-CL locale import

* add test for locale files

* re-enable html warn and minor tweaks

* test whether import is successful
2022-11-03 09:14:55 -04:00
ian
13d8dde534 v9.20.4 v9.20.4 2022-11-03 11:01:46 +00:00
ian
64bffa60e9 Skip serialization for empty or string bigint values in GraphQL (#16297) 2022-11-03 18:37:56 +08:00
Rijk van Zanten
d78ccf5898 New Crowdin updates (#16272)
* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (German)
2022-11-03 18:37:24 +08:00
rijkvanzanten
c70211c48d v9.20.3 v9.20.3 2022-11-02 12:12:52 -04:00
José Varela
0dce20c0b8 Fix check for alias fields (#16282)
They do not exist on fields definition
2022-11-03 00:10:28 +08:00
Brainslug
8242159b4b minified the role fetch used for navigation (#16274) v9.20.2 2022-11-02 08:57:04 -04:00
rijkvanzanten
d09d087fc9 v9.20.2 2022-11-02 08:56:09 -04:00
ian
ca2c761bde Skip alias type change check when type is not updated (#16270) 2022-11-02 08:54:35 -04:00
rijkvanzanten
b5d7db2ea0 v9.20.1 v9.20.1 2022-11-01 21:36:16 -04:00
Pascal Jufer
f5c564ddfd Fix "Create release" job (#16261) 2022-11-01 21:11:51 -04:00
Roger Stringer
6ba97ea422 move @authenio/samlify-node-xmllint from dev to prod dependencies (#16260) 2022-11-01 19:59:54 -04:00
rijkvanzanten
15613d5853 v9.20.0 v9.20.0 2022-11-01 19:08:33 -04:00
Rijk van Zanten
3de66fbeea New Crowdin updates (#16122)
* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Bengali, India)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (French, Canada)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Spanish, Mexico)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Bosnian)

* New translations en-US.yaml (Sorani (Kurdish))

* New translations en-US.yaml (Spanish, Latin America)
2022-11-01 19:07:09 -04:00
rijkvanzanten
7582998f2a Update docs 2022-11-01 19:06:31 -04:00
Roger Stringer
53a3194d5c Add support for SAML Part 2 (#16145)
* new saml branch

* put saml info back in

* put saml info back in

* clean up code

* validate saml config

* validate schema

* Add saml auth flow tests

* use RelayState for redirects

* Update tests for RelayState

* Fix linting

* remove validateMeta as samlify does it already

* Fix linting

* change catch on login

* Update api/src/auth/drivers/saml.ts

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

* remove login since not needed here

* clear cookie if set on logout

* empty login method

* invalidate logout in db

* if relayState and login failed, redirect back with a reason

* Cleanup linter warnings

* Remove range from packages

* Opinions opinions opinions opinions

Just a couple personal opinion cleanup pieces

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-11-01 22:09:31 +00:00
Azri Kahar
ece48e9885 Insights panels translation tweaks (#16173)
* Update translations for panel extensions

* piechart translation tweaks

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-11-01 17:28:09 -04:00
Azri Kahar
995f92f7c2 fix back button on item pages after login (#16218) 2022-11-01 16:56:00 -04:00
rijkvanzanten
8c5cda446a Use urlencoded thru express instead 2022-11-01 16:52:06 -04:00
Aiden Foxx
05c045e9ff Handle "form_post" OAuth and OpenID responses (#16231)
* Allow both POST and GET responses in OAuth flow

* Be more explicit about which method we fetch OAuth data from

* Removed unnecessary error handling in OAuth router

* Fixed method check in OAuth router

* Simplified method check

* Added POST support to OpenID flow

* Prefer redirect on OpenID POST to retain LAX cookie policy

* Prefer redirect on OAuth2 POST to retain LAX cookie policy

* Update api/src/auth/drivers/oauth2.ts

* Update api/src/auth/drivers/openid.ts
2022-11-01 16:44:17 -04:00
Azri Kahar
2c0ad892b6 Fix literal interpolation for curly brackets for Translation Strings (#16235)
* Allow curly brackets usage in Translation Strings

* update test
2022-11-01 16:04:01 -04:00
Azri Kahar
5780bb174f Fix custom hook mocked path in api cli test (#15271)
* fix custom hook mocked path in api cli test

* update @types/jest

* update to latest

* update and pin dependencies

* correct pnpm lock

* remove unrelated changes
2022-11-01 12:12:31 -04:00
Azri Kahar
17c0ef9182 Remove Content-Type header check in Files POST requests (#16176)
* remove request header check in files POST

* basic test

* it's filename_download instead of file_download

* unused vars begone

* make type required when creating file via JSON

* fix blackbox test

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-11-01 12:06:09 -04:00
Rijk van Zanten
0b7630504a Improve contributing guidelines (#16246)
* Improve contributing guidelines

* Revert sections

* Fix typo

* Fix coc prob

* Fix typo, add repro info

* Clarify labeled

* Clarify label type for PR

* Add notice

* Resolve docs notes
2022-11-01 11:52:49 -04:00
Aiden Foxx
2adbb3bfd2 Convert some trace logs to warnings in OAuth flows (#16213)
* Less trace, more warn in OpenID provider

* Less trace, more warn in OAuth provider
2022-10-29 15:59:50 -04:00
ian
1de75acdc0 Revert mapbox-gl to latest v1 (#16204) 2022-10-29 15:57:42 -04:00
eikaramba
27383226b9 fix validating of date only values (fixes calendar end display) (#16200) 2022-10-28 16:16:15 +08:00
ian
72b5e5cbbb Remove authorization header from token refresh request (#16199) 2022-10-27 22:11:57 +08:00
Brainslug
9106fc78d6 strip function from fieldnames for validation (#16179) 2022-10-27 15:17:09 +08:00
ian
c996accb00 Fix recursive fields on existing columns (#15621)
* Prevent changing to or from alias type

* Prevent infinite delete loop

* Display error when saving

* More validation for M2M and M2A

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-10-26 11:51:01 -04:00
Azri Kahar
107c6d297b Add name to routes with empty path (#16174)
* add name to routes with empty path

* use same naming convention for redirects
2022-10-26 13:53:26 +08:00
ian
e7a57827f5 Add GraphQLBigInt type (#16157) 2022-10-25 17:04:45 -04:00
Azri Kahar
10082ccbaf Fix field/collection translated name not resetting after being removed (#16131)
* reset existing field translations

* remove unused and malformed settings translations

* reset existing collection translations

* safer handling in case translations isn't an array

* inverse locales to reset logic for correctness

* add tests

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-25 15:08:09 -04:00
ian
12a425a90b Set readonly value during initialisation of raw editor (#16163) 2022-10-25 22:02:29 +08:00
Jan Arends
51bb1f6464 Fix broken preset (#12469) (#16119) 2022-10-24 14:42:54 -04:00
Azri Kahar
efe7dce5bc Fix Paste Raw Value not staging field edit (#16132)
* fix Paste Raw Value not staging field edit

* use emitValue instead
2022-10-25 00:55:33 +08:00
Azri Kahar
8850aec88f Fix input-code height in form-field-raw-editor (#16135)
* Fix input-code height in form-field-raw-editor

* update test snapshot due to scoped css

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-24 16:32:59 +00:00
Pascal Jufer
92466dd2a9 Replace depreacted "create-release" action (#16144)
* Replace depreacted "create-release" action

* Fix indentation

* Target is not required as the tag will already exist

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-24 12:26:47 -04:00
rijkvanzanten
7a5560cf97 v9.19.2 v9.19.2 2022-10-24 09:56:51 -04:00
Pascal Jufer
5507ca3f41 Fix path for packages in package.json used for Docker image (#16141)
* Use basename to get relative path for packages

* Revert "Revert "Small `Release` workflow clean-up (#16083)" (#16120)"

This reverts commit c2ee8c24ef.
2022-10-24 09:47:03 -04:00
rijkvanzanten
228a5ca15f v9.19.1 v9.19.1 2022-10-22 13:10:18 -04:00
Rijk van Zanten
c2ee8c24ef Revert "Small Release workflow clean-up (#16083)" (#16120)
This reverts commit dbfedb56fe.
2022-10-22 13:05:22 -04:00
ian
97b7357a16 Update extensions-sdk in api and app (#16116)
* Update extensions-sdk in api and app

* Use workspace reference

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
v9.19.0
2022-10-22 12:34:16 -04:00
rijkvanzanten
bf173e1b09 v9.19.0 2022-10-21 15:41:57 -04:00