- Change mongoDB S3 backup to read the database dump in chunks and upload it to the S3 bucket using a MultiPart upload setup.
- Allow s3 backups to be disabled from the cronjobs, but instead be run through a different entrypoint (backup.js) to allow kubernetes cronjobs to be used.
- Add input, textarea and multiple-choice question types to the choices guide
- Anonymize site users
- Save idea as concept
- Bugfix: no-sentiment in arguments-block
- Bugfix: edit idea after first like or argument
- Add env MYSQL_CA_CERT for MySQL SSL connection
- Update/cleanup access rights for moderators and editors
- Bugfix: add constraint to users table, to prevent double users
- Remove all remaining code related to sessions; the API is stateless
- Remove old image code
- Bugfix: users in vote export
- Bugfix: site.config.ideas.automaticallyUpdateStatus
- Upgrade to node 16
- Add virtual end date to idea
Update version number
- Remove sessions and cookies - the API is stateless
- Update Action cron to once every minute
- Add linter/prettier
- Unknown fixed-auth-token is no longer an error but is now a not-logged-in
- Better handling of database connections
- New template distribution system
- Do not wait for cms when updating site config
- Move docker builds from travis to github actions
- Fix responding to not existing routes with to much information
- Make submissions listable & viewable, and allow them to be filtered by formId
- Add choices guide stats endpoint
- Removed enddate and duration from articles and ideas. Removed meetings.
- Updated the use of charset and collation in the database connector
- Add siteIds as filter to User.anonymizeAll
- Remove userId from votes endpoint when user does not have moderator rights
- Check if extraData of oauth user is null to prevent error while merging api and oauth extraData.
- Fix site middleware unit tests
- Remove endDate and duration from Articles and Ideas. Remove Meetings.
- Add option to anonymize only selected users at /api/site/:SITE_ID/user/:USER_ID/do-anonymizeall
- Add automatic update of idea status after a given number of days
- Add 'Project has ended' to site configuration
- Add endpoints /api/site/:id/(do|will)-anonymize-all-users
- Add endpoint /user/:id/activity
- Add endpoints /user/:id/(do|will)-anonymize(all?)
- Areas only create, edit, delete by admin
- User email no longer editable by owner
- Fix extraData returning for Article by adding includeSite to the scope
- Fix users can create/update/delete users with a higher role
- Statuscode for error 'Already voted' was 500 and is now 403
- Give anonymous user the default correct role
- Add create/update date to choices-guide results
- Allow moderators to update role of users to member (but not to moderator or admin role)
- Add stats overview route for displaying statistics, currently used in react admin on CMS and Admin panel
- Add isActive check on choices-guide
- ChoicesGuide: add list results endpoint
- Bugfix on nested argument attributes
- Add login required to choices-guide results
- Include areas with polygons when fetching all site, fixes not showing of polygons. But makes site call substantially bigger, in future might have to move to a different call somewhere.
- Add user create logic to the User route, syncs tih the OAuth API
- Remove auth express session and refactor user middleware (auth is now stateless)
- Fix fallback authClientId
- Use correct env variable for default client_id and client_secret values
- Release user listableByRole
- Open /stats/site/:SITE_ID/vote/total for everybody
- Add sanitizeIfNotNull decorator to the sanitize util to prevent transforming of null into the string 'null'
- Rename users.viewableByRole to listableByRole and fix the corresponding scope
- Add users.detailsViewableByRole, i.e. authorisation on fields defined per instance
- Add idea votes to user me call
- Update NPM modules for security
- Fix site reset config
- Remove unused global vimeo fields
- Added possibility to query GET overview routes with NOT (!=) and substring (like%%) operator
- Add option to list user data publically or per role
- Allow viewablebyRole to be edited by the user
- Add id & extraData to properties included in idea GET call with param includeUser=1
- On update user of for all sites add check if site exists, otherwise update breaks
- If extraData.images is set then the new value ovreplaces the old value instead of being merged (it waas impossible to delete images)
- Add min/max number of to budgeting voting
- Make sure postcode validation doesn't fail on an empty string
- Add Delete route for vote
- Feature: Add option count-per-theme to voting in participatory budgeting
- Votes were viewable when they should not be
- Correct lat & lng parsing when uploading a polygon with geoJSON, it's lng, lat instead of more common used lat, lng
- Define per user fields which role is allowed to see it
- Fix turned around clientId for admin site creation
- Integrate migration changes for generating proper database
- Fix ideaTags constraint error on creating databases with node reset.js with certain mysql settings (k8s issue)
- Start of using version numbers in changelog