Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 07 10:25
    frederik opened #4975
  • Nov 06 15:15
    frederik commented #4843
  • Oct 24 08:54
    scipe synchronize #4960
  • Oct 24 06:32

    MadeByMike on master

    Update Version5.js (compare)

  • Oct 24 01:31

    MadeByMike on master

    Update README.md (compare)

  • Oct 23 23:45

    MadeByMike on master

    fix banner for v5 Merge branch 'master' into upda… Merge pull request #4974 from k… (compare)

  • Oct 23 23:45
    MadeByMike closed #4974
  • Oct 23 23:44
    MadeByMike synchronize #4974
  • Oct 23 23:44

    MadeByMike on update-website-to-v4

    Merge pull request #4972 from k… Merge branch 'master' into upda… (compare)

  • Oct 23 23:44
    MadeByMike opened #4974
  • Oct 23 23:44

    MadeByMike on update-website-to-v4

    fix banner for v5 (compare)

  • Oct 22 07:13
    jelordreygulle commented #1630
  • Oct 21 16:51
    dfinton opened #4973
  • Oct 21 08:41
    gautamsi locked #2265
  • Oct 21 08:41
    gautamsi commented #2265
  • Oct 21 08:33
    NeoTheSecond commented #2265
  • Oct 21 06:19

    MadeByMike on master

    Update website content Merge pull request #4972 from k… (compare)

  • Oct 21 06:19
    MadeByMike closed #4972
  • Oct 21 04:04
    MadeByMike opened #4972
  • Oct 21 04:03

    MadeByMike on update-website-to-v4

    Update website content (compare)

kimberlybammoney
@kimberlybammoney
It kind of just sits there until ^C.
Has anyone had a problem like this before?
Deep Vora
@dv29
Keystone chat has moved to keystonejs.slack.com better ask there
Harry
@harlyon_twitter
i am stuck on how to assign a specific user to manage a specific model in keystoneJs. only the user can be able to create,update,delete
James Allen
@jamlen

Hi all, its been a while since I've done anything with Keystone and am wanting to update an old 0.3 version app to the latest. I'm having some issues with the new File storage adapters... previously in my models I had:

Sermon.add({
...
  audio: { type: Types.S3File, collapse: true, allowedTypes:['application/mp4', 'application/mp3'] }

which I have moved over to the File adapter, but it is the pre hook I can't seem to find, nor reference to them being deprecated

Sermon.fields.audio.pre('upload', function(item, file, next) {

now gives me:

TypeError: Sermon.fields.audio.pre is not a function
Dmitry Grigorov
@DmitryGrigorov
Hi guys! How do you usually contribute keystone ? I mean how do you start project in dev mode ?
kaaljabr
@kaaljabr
I just installed keystonejs using Docker-compose on Ubuntu 16. I have apache2 with letsencrypt. I have enabled the ssl. And now when I start the app it shows that my HTTP app is on 3000 and HTTPS is on 3001. But when I go to the domain from browser it shows (!) not properly secured
I tried pointing the ssl.conf files to 3001 ... using
ProxyPass / http://localhost:3001/
ProxyPassReverse / http://localhost:3001/
ProxyPreserveHost On
But it did not work
Here is my keystone.js SSL part:
'ssl': true
'port': 3000,
    'admin path': 'admin',
    'ssl cert': '/etc/letsencrypt/live/domain.com/fullchain.pem',
    'ssl key': '/etc/letsencrypt/live/domain.com/privkey.pem',
    'letsencrypt': (process.env.NODE_ENV === 'production') && {
        email: 'user@gmail.com',
        domains: ['www.domain.com', 'domain.com'],
        register: true,
        tos: true,
    },
Erlend
@Wiklem
Hi. Is there any example on how to use GridFS or simular instead of CloudinaryImage for saving images?
Yashaswi Maharshi
@mahayash
hi
Yashaswi Maharshi
@mahayash
Create an rest api for inserting data from the frondend, the api get hit, but insert the blank field in the db
let data = req.method === 'POST' ? req.body : req.query;
let newEmailSubscriber = new EmailSubscriberList.model();
EmailSubscriberList.updateItem(newEmailSubscriber, req.body, function (err) {
if (err) return res.status(500).json({ error: err });
res.status(200).json({
message: 'Successful',
});
});
can someone help me out, what is the issue in it
Yashaswi Maharshi
@mahayash
Thanks I got the solution
Joseph
@youbihi
Hi everyone
Can someone gelp
Help
I just installed keystone-react
Launched mongod
But keystone do not init
It was suppose to be this issue:
But still not working
Joseph
@youbihi
Any idea ?
Dan Black
@dyspop
hi there! new to keystone, i'm a little confused about user login. everything in demo seems to be about the admin login... how do i get the user login / account creation stuff up? any good parts of the docs I'm missing? sorry if it's obvious. thanks!
if user li: a(href='/keystone') Admin UI li: a(href='/keystone/signout') Sign Out else li: a(href='/keystone/signin') Sign In
is that how we want users to log in? i am missing something!
Dan Black
@dyspop
i guess so
TIL
bai
Michael O'Keeffe
@mjwok
Is there a workflow in place for repairing dependency vulnerabilities?
found 10 vulnerabilities (5 low, 5 moderate) in 6529 scanned packages
10 vulnerabilities require manual review. See the full report for details.
Simone
@simonerom
Hi @dyspop, just learning KS (and Javascript!) as well, I think the SydJS website is a great place to start to learn more advanced features, as it's available on GitHub. You find it along with other examples (not opensource though) on the KS examples page: https://v3.keystonejs.com/examples
Ecanic
@Canice-James
Hey Guys, I'm not finding any docs, guide or resource on how to use custom view engines on Keystone. The one for handlebars seems like it's been abandoned for over 2 years so I'm trying to use an alternate hbs library
Yashaswi Maharshi
@mahayash
Hey guys, I am doing signin / signout of the user using APIs, does any knows what is the default session timeout and how can we change it
Shakti Singh
@gurjarshakti
Hi Below Code is working fine in local server but it is not working in live server
$params = (array) json_decode(file_get_contents('php://output'), TRUE);
what can be the issued
vladislav-vasilyev
@vladislav-vasilyev
Hi everybody. I'm new to keystone. I have a question. How can I download uploaded files from keystone admin UI? I see only file name with extension in the list item field but I couldn't download it
HACKVTT
@HACKVTT_twitter
    `var q = keystone
        .list('Service')
        .paginate({
            page: req.query.page || 1,
            perPage: 2,
            maxPages: 5,
        })
        .where('state', 'published')
        .sort('-publishedDate')
        .populate('author cateservice');

    if (locals.data.categories !== null && locals.data.categories._id) {
        q.where('cateservice').in([locals.data.categories._id]);
    }`
I try to paging but look, Keystone query all post without condition from model
hari-zeptoh
@hari-zeptoh
Hi, Am new to Keystone. Can anyone help me in integrating keystone with Already Existing Express App.
Mitul Patel
@mitul69
Why you want to integrate it in Express App ?
Can you please explain your usage of @hari-zeptoh
hari-zeptoh
@hari-zeptoh
@mitul69 we need a cms module for our app
Mitul Patel
@mitul69
Ok then why need express
App is for the mobile or web app.
hari-zeptoh
@hari-zeptoh
Its not a app just a community page. We have buit it already in Express now we need a CMS for that
hari-zeptoh
@hari-zeptoh
How can i use ejs insted of pug?
Herman
@gerhr
Just install it with npm and pass it’s name to keystone initial config as string, as I remember
Mitul Patel
@mitul69
When you create new app then it will ask for the template engine please select ejs .
hari-zeptoh
@hari-zeptoh
I have selected ejs but in ketstone.js file shows pug only