pcmli.umbrella.backend
v9.13.0
Published
The NodeJS backend code for all umbrella project
Downloads
1,621
Readme
umbrella.backend
This is NodeJS project for server or backend implementation for all umbrella domain
####Change Logs #####v. 9.13.0
- feat: Add 'body' and 'publishedDate' to announcement module
#####v. 9.12.4
- feat: Add duplicate phone validation on user registration
- feat: Update the uni-core to version 13.5.2
#####v. 9.12.3
- feat: Added user preSaveHook
- feat: Update the uni-core to version 13.5.1
#####v. 9.12.2
- feat: Moved the Google Recaptcha class
#####v. 9.12.1
- feat: Added the recaptcha on authentication middleware
#####v. 9.11.0
- (feat) trim (start & end) for empty string for username during registration and login for basic strategy
#####v. 9.10.1
- (feat) Should be able to pass extra args on restoring db utils
#####v. 9.10.0
- (feat) Added the async restoreDb
#####v. 9.9.0
- (feat) The dataloader will not use the caching, it will always get the latest values in 1 to 1 manner
#####v. 9.8.0
- (feat) The __user context is automatically inserted on docs for update, insert and delete operation, this is the person that mutates this object.
#####v. 9.7.1
- (bump) Added the graphql in dependencies
#####v. 9.6.0
- (feat) Add the option to do loginCallback after login on basic
#####v. 9.5.0
- (feat) able to inject the tenantId if the operation is whitelisted to resolve the issue about multitenant entity, the tenantId info should came from the params
#####v. 9.4.1
- (feat) added the function to build the graphql config
#####v. 9.3.5
- (fix) Fixed the implementation for stored report to handle jsReport error state
#####v. 9.3.4
- (fix) updated the graphql to include the _id for address and gps
#####v. 9.3.0
- (fix) Added the _id for the Contact graphql
#####v. 9.3.0
- (feat) Added the route for recaptcha validation
#####v. 9.2.1
- (feat) update the JSReport client to "jsreport-client": "^1.0.2"
- (feat) moved the commonly used operations for reporting, like setupReport routes, reportFactory and StoredReport
#####v. 9.1.1
- (fix) clear the expired token on login
#####v. 9.1.0
- (feat) Create history when there are changes on roles
#####v. 9.0.3
- (fix) Return as 401 when there is an authentication error from the server. It should also return as JSON for the message
#####v. 9.0.2
- (fix) Fixed the defaultlogin callback for facebook
#####v. 9.0.1
- (break) Added the passport for google auth 2 (passport-google-oauth)
#####v. 8.33.2
- (fix) Add url field in announcement schema
- (fix) Update the zendesk announcement to have draft in graphql
#####v. 8.33.0
- (feat) added the feature to reset the password
- (feat) updated the implementation for BaseController.createSimpleHistory, to forcefully create history without checking for noHistory flag. It creates a simple history
#####v. 8.32.0
- (feat) add zendeskId in announcement schema
#####v. 8.32.0
- (fix) fixed the Logger to use the metaKey
- (feat) able to pass new config for setting up the logger
- (bump) - bump the winston and winston-mongodb package to the latest version
#####v. 8.31.0
- (bump) remove the node-zendesk package nad use rest api instead
#####v. 8.30.0
- (bump) winston-mongodb was set to exact match of 4.0.3
#####v. 8.29.0
- (feat) Added the support for managing mailgun template for mailer
#####v. 8.28.1
- (fix) Fixed the history to return also the enity name
#####v. 8.28.0
- (feat) Added the new fileUpload feature that upload files to S3 compatible servers
#####v. 8.27.4
- (fix) The tenantId should be considered as _id from uniqueness index
- (feat) Added the setting for the initial value
- (fix) set the collection name as all lower case _autonumber, this is a breaking changes, but no one is using this in majority
#####v. 8.27.2
- (feat) Added the tenantId when getting the autonumber
#####v. 8.26.0
- (feat) Added the CronJob helper
#####v. 8.25.1
- (feat) Make a callback for registerSuccess, so we can hook event when the login in successful
#####v. 8.25.0
- (feat) Added the feature for auto-register when logging in as Google or Facebook
#####v. 8.24.0
- (feat) Added the search feature for graphql and backend
#####v. 8.23.0
- (feat) Added a feature on Mailer to set sending in test mode by adding the testMode on the MailerSetting
#####v. 8.22.4
- (feat) Added factory for user and tenant setup for graphql
#####v. 8.22.2
- (feat) Always re-use the active connection even during the development #####v. 8.22.1
- (feat) Added the timezone for user schema with default as America/Chicago
#####v. 8.21.0
- (feat) Add another method to send via template on mailgun mailer using the template that is stored on mailgun api
- (feat) added the _id to the Image graphql type
#####v. 8.20.0
- (feat) Added the contacts and remarks on tenant
#####v. 8.19.1
- (feat) the default number for auto number is always zero
#####v. 8.19.0
- (feat) added the mongodbUtils for getting the new auto number
#####v. 8.18.8
- (fix) delete the photo after uploading to cloudinary
#####v. 8.18.7
- (fix) update the image schema
- (fix) expose the setup image for express
#####v. 8.18.5
- (fix) revert back the checks on route if skip or not
#####v. 8.18.3
- (fix) added the integrationContext of AppolloServer on context of graphql
#####v. 8.18.2
- (fix) the facebook authentication to request for email
#####v. 8.18.1
- (feat) added the MigrationUtils
#####v. 8.17.0
- (fix) the setup for zendesk and timeezone on graphql should be optional
- (feat) added more info on image type
- (fix) the user login to exclude auth information
- (fix) remove the default stripe express route endpoint
#####v. 8.16.9
- (fix) the basic register callback should not return the services and profile
#####v. 8.16.8
- (fix) the expandDotNotation should not affect the passed object
- (fix) include the new fields on the history
#####v. 8.16.7
- (fix) move the history schema
- (fix) able to get difference for dotNotation fields for history
- (fix) bump uni-core
#####v. 8.16.3
- (fix) ability to use the connection
#####v. 8.16.2
- (fix) ability to send attachment and other type of mailgun
#####v. 8.16.0
- (feat) added the contact field on tenant
#####v. 8.15.1
- (fix) update the resolveByRef to use lodash toLower instead of toLowerCase
#####v. 8.15.0
- (feat) update the resolveByRef to filter and set options correctly
#####v. 8.14.0
- (feat) Can add custom filter to forgot password request body.
#####v. 8.13.6
- (fix) The login should not return sensitive information from user, like the serives
- (feat) Added the accessToken after the authMiddleware on Route
#####v. 8.13.2
- (fix) Fix the validator for call permission validator
#####v. 8.13.1
- (fix) Fix the migrator to include the migration name
#####v. 8.13.0
- (feat) Added the getValue on AppSettingController to directly get the actual value of the setting
#####v. 8.12.0
- (feat) Added the getOne on BaseController
#####v. 8.11.2
- (fix) Added the timeZoneOffset for user schema so we can use that when querying data
#####v. 8.11.1
- (fix) Export the pubsub factory so the external can use it
#####v. 8.11.0
- (feat) Update the BaseValidator to include the custom permission name
#####v. 8.10.1
- (fix) Fix the run standing to use bulkwrite for faster operation
- (fix) Added the console.info to be excluded on removing console
#####v. 8.10.0
- (feat) added the ControllerUtil so we can re-use it with other modules
#####v. 8.9.3
- (fix) added the logger on BaseReport
#####v. 8.9.2
- (fix) fixed the filter condition for subscription
#####v. 8.9.0
- (feat) added the subscription to graphql and BaseController
#####v. 8.8.0
- (feat) update to ApolloServer 2.0
#####v. 8.7.5
- (fix) added the filter with scope on getMeta for controller so it will get the correct count
#####v. 8.7.4 --(cc) update the message of appsetting
- (fix) the expiration of cache values too
#####v. 8.7.3
- (fix) login via basic auth should be case insensitive for checking the username, and store it as lowercase on DB
- (fix) the unit test should use the
before
andbeforeEach
hook correctly
#####v. 8.7.2
- (bump) set the fix value for mongoose version because a difference will always make about array.push
#####v. 8.7.1
- (fix) Update the babel setting to exclude the removal of error and warn on console.log
#####v. 8.7.0
- (feat) Added the TestUtils for database restoration, getting collections, and other testdouble wrapppers
#####v. 8.6.0
- (feat) Added the history for BaseSubController
#####v. 8.5.3
- (cc) added the transform-remove-console to remove all those unnecessary console.logs on production
#####v. 8.5.2
- (feat) Added the deleteMany and updateMany graphql endpoint
#####v. 8.4.1
- (feat) Added extra parameter for getSetting and setSetting for simplicity fo getting settings
#####v. 8.3.2
- (feat) Added the announcement module
- (feat) Updated the BaseController to accept the hasScope to determine how to create and getAll items. The Delete,GetById,Update operation retains as-is how the user wants to update