houby-studio / small-business-fridge Goto Github PK
View Code? Open in Web Editor NEWExpress.js with handlebars project offering small system to keep track of refreshments in office.
License: MIT License
Express.js with handlebars project offering small system to keep track of refreshments in office.
License: MIT License
Describe the bug
We have tried many ways to trigger alert when trying to manipulate invoices we do not own, yet no e-mail arrived.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect to receive e-mail
We need the new sounds and UI ASAP. People are struggling rn. No cap.
Website is too small on smaller devices, because default layout is missing some basic tags. Fix by adding at least those:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
need to execute as part of build:
chown -R node:node /usr/src/app/public/images
chown -R node:node /usr/src/app/database-backup
Change req.user.email to user.email
Tracking issue for:
In parts of code where we check for exaploe for authorization, we currently respond with
res.status(403).send()
return
This can be simplified to
res.status(403).end()
The only problem may be, that end() does not set headers for different response types, it is always text.
User story:
Kdyby šel ke každé položce přidat nějaký tag kvůli alergenům a pak na to filtrovat, bylo by to boží. Reálně využití pro zdravého člověka 0, pro potravinového invalidu "must have"
Is your feature request related to a problem? Please describe.
You know, everyone should do backups, in case any problem happens.
Describe the solution you'd like
/path/.pm2/logs/www-error.log last 15 lines:
0|www | at model.Model.save (/path/lednice/node_modules/mongoose/lib/model.js:439:20)
0|www | at /path/lednice/routes/invoice.js:210:28
0|www | at result (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/utils.js:410:17)
0|www | at session.endSession (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/utils.js:398:11)
0|www | at ClientSession.endSession (/path/lednice/node_modules/mongodb-core/lib/sessions.js:134:41)
0|www | at executeCallback (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/utils.js:395:17)
0|www | at handleCallback (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/utils.js:128:55)
0|www | at executeCommands (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/bulk/common.js:477:12)
0|www | at resultHandler (/path/lednice/node_modules/mongoose/node_modules/mongodb/lib/bulk/common.js:504:5)
0|www | at handler (/path/lednice/node_modules/mongodb-core/lib/topologies/replset.js:1155:22)
0|www | at /path/lednice/node_modules/mongodb-core/lib/connection/pool.js:397:18
0|www | at _combinedTickCallback (internal/process/next_tick.js:131:7)
0|www | at process._tickCallback (internal/process/next_tick.js:180:9)
0|www | message: 'Can't save() the same doc multiple times in parallel. Document: 5db80f1e4755b453e250ff8f',
0|www | name: 'ParallelSaveError' }
Order by as number, not string!!
Describe the solution you'd like
Usually people want to see their latest data, not the oldest one, unneccesarry "sort" clicking every day.
Describe the bug
ReferenceError: Product is not defined when clicking on "Stav skladu"
To Reproduce
Steps to reproduce the behavior:
Product is not defined
ReferenceError: Product is not defined
at file:///usr/src/app/routes/stock.js:13:3
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:144:13)
at ensureAuthenticated (file:///usr/src/app/functions/ensureAuthenticated.js:5:12)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at /usr/src/app/node_modules/express/lib/router/index.js:284:15
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
Desktop (please complete the following information):
Change logout url redireect to:
https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=$SERVERROOTURL
Need to create mongoose aggregation query to filter results from Products to contain only specified stock matching order.stockId
Describe the bug
Azure account without e-mail address cannot login, because upon registration e-mail attribute is required in mongoose User model.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Kindly tell user to use account with e-mail address.
Desktop (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.