Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
## Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-XXXX

## Description

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ To know more about form.io, go to <https://form.io>.
|`MULTI_TENANCY_ENABLED`|To enable multit tenancy |true / false|`false`
|`FORMIO_DEFAULT_PROJECT_URL`:triangular_flag_on_post:|forms-flow-forms default url||`http://{your-ip-address}:3001`
|`FORMIO_JWT_SECRET`|forms-flow-forms jwt secret| |`--- change me now ---`|
|`FORMIO_JWT_EXPIRE`|forms-flow-forms jwt expire time| |`240`|

**Additionally, you may want to change these**

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v7.1.0-alpha
v7.1.0
8 changes: 7 additions & 1 deletion formsflow-forms-ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
- `Untested Features`: Newly introduced features or components that are yet to be thoroughly tested.
- `Upcoming Features`: Planned features or enhancements that will be available in future releases.
- `Known Issues`: Existing issues or problems that are acknowledged and will be addressed in subsequent updates.


# Version 7.1.0
### Added
- Added FORMIO_JWT_EXPIRE env for handling token expire time
- Added tenant_key in logger
- Added New /submissions POST API Allows listing submissions by passing submissionIds in the request body. Ensures access control by verifying form access before returning submissions.

# Version 7.0.0
### Added
- Added the formIds query parameter in the /form endpoint to retrieve form components, accessible only to admin users.
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = function(config) {
router.formio.config.schema = require('./package.json').schema;

router.formio.log = (event, req, ...info) => {
const tenantKey = req.token?.tenantKey;
const tenantKey = req.token && req.token.tenantKey;
const result = router.formio.hook.alter('log', event, req, ...info);
logger.info(event,{tenantKey: tenantKey, info: info});
if (result) {
Expand Down