-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: add missing association icons in root [request] * chore: lint * fix: use useSession in all pages to ensure checking the session * - update all packages - fix type-check errors * feat: add basePath and logout_url env variables * feat: add zendro favicon * feat: add textSearchOperator model parameter. Can be like or iLike, default iLike * refactor: rename textSearchOperator -> spaSearchOperator * fix: session expiration due to ill timed session polling * chore: remove log * fix: typo * add .env.example * feat: accept all case errors in spaSearchOperator * add comments * refactor: remove unsused BATCH_SIZE env variable
- Loading branch information
Showing
40 changed files
with
371 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
NEXT_PUBLIC_ZENDRO_GRAPHQL_URL="http://localhost:3000/graphql" | ||
NEXT_PUBLIC_ZENDRO_METAQUERY_URL="http://localhost:3000/meta_query" | ||
NEXT_PUBLIC_ZENDRO_ROLES_URL="http://zendro-graphql-server:3000/getRolesForOAuth2Token" | ||
NEXT_PUBLIC_ZENDRO_MAX_UPLOAD_SIZE="500" | ||
NEXT_PUBLIC_ZENDRO_MAX_RECORD_LIMIT="10000" | ||
NEXT_PUBLIC_REDUX_LOGGER="false" | ||
ZENDRO_DATA_MODELS="../data_model_definitions" | ||
RECORD_DELIMITER="" | ||
FIELD_DELIMITER="" | ||
ARRAY_DELIMITER="" | ||
OAUTH2_ISSUER="http://zendro-keycloak:8080/auth/realms/zendro" | ||
OAUTH2_TOKEN_URI="http://zendro-keycloak:8080/auth/realms/zendro/protocol/openid-connect/token" | ||
OAUTH2_LOGOUT_URL="http://localhost:8081/auth/realms/zendro/protocol/openid-connect/logout" | ||
NEXTAUTH_URL="http://localhost:8080/api/auth" | ||
NEXTAUTH_SECRET="secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
const createNextPluginPreval = require('next-plugin-preval/config'); | ||
const withNextPluginPreval = createNextPluginPreval(); | ||
const BASEPATH = String( | ||
process.env.NEXT_PUBLIC_ZENDRO_BASEPATH | ||
? process.env.NEXT_PUBLIC_ZENDRO_BASEPATH.replace( | ||
/\/*([a-zA-Z]+)\/*/g, | ||
'/$1' | ||
) | ||
: '' | ||
); | ||
|
||
/** | ||
* @typedef {import('next/dist/next-server/server/config').NextConfig} NextConfig NextJS configuration | ||
* @type {NextConfig} | ||
*/ | ||
const config = { | ||
webpack5: true, | ||
reactStrictMode: true, | ||
basePath: '/spa', | ||
...(BASEPATH && { basePath: BASEPATH }), | ||
}; | ||
|
||
module.exports = withNextPluginPreval(config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.