Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 04 13:24
    pull[bot] synchronize #288
  • Nov 28 10:00
    scipe commented #4960
  • Nov 28 06:23
    jelordreygulle opened #4977
  • Nov 25 20:06
    ontanj edited #4976
  • Nov 22 17:01
    ontanj opened #4976
  • Nov 20 12:48

    JedWatson on update-website-to-v4

    (compare)

  • 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
Max Ma
@max8hine
you need to convert the error data and make it ready to consume by flash-messages.pug
Philip Cox
@_philipjc_twitter
Hello Keystone community. I hope it's okay to throw a question out here, I've just started using KS and I am having trouble getting a custom JS file to run. I am have a file in a dir called pages, inside /public/js/. This is a class that I would like to use JS in and manipulate the DOM. I have placed a src tag inside the JS block as defined in default.html, but I am getting such errors as document is not defined etc. Now I know this is because the document is not yet ready and KS is processing on the server. But is there a way to add custom JS to my pages, please? Thanks so much.
Stephen Steneker
@stennie
Hello KeystoneJS community! Great to see there are more than 750 interested folks in this channel :). As a Keystone user I'm very keen to help Keystone 4 finally lose the beta label and see some healthy engagement between community & contributors. There's some active discussion starting up on the KeystoneJS Slack, and I'd like to invite anyone interested to join via https://launchpass.com/keystonejs.
One of the current community challenges is too many channels (and not enough answers). For example, there is currently GitHub, Canny (née ProductPains), Gitter, Slack, KeystoneJS Google Group, and probably more. Without getting into extended debate on which tool is best for discussion in the longer term, I'd like to suggest focusing on Slack as a starting point to get the project moving. Join the KeystoneJS Slack and introduce yourself!
Max Ma
@max8hine
Hi All, I am confusing about map option in keystone List, I did not quite understand the offical explanation. 🤕
const Post = new keystone.List('Post', {
    map: { name: 'title' }, // <- what this map use for?
    autokey: { path: 'slug', from: 'title', unique: true },
})
Mihajlo Ilijić
@Pritilender

Hi. Got a quick question: Does Keystone support Mongoose getters and setters? I’m trying to have whitespace trimmed for one of my fields and I can’t get it to work:

I’m trying something like this :point_down:

  trimmedField: {
    type: String,
    set: v => v.trim(),
  }
})
Chris Steenekamp
@chrisformula
Can we change the admin UI with ease yet?
kimberlybammoney
@kimberlybammoney
Hi all, I'm having a problem where node keystone doesn't throw any weird errors but also doesn't start running anything on port 3000.
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 ?