Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 23 13:07
    MrEspiritu edited #4996
  • Oct 23 13:07
    MrEspiritu opened #4996
  • Oct 20 11:59
    internetErik commented #4651
  • Oct 01 10:52
    PJ-123-Prime opened #4995
  • Sep 15 14:06
    arthurtalkgoal opened #4994
  • Aug 20 01:30

    MadeByMike on master

    Update banner (#4993) (compare)

  • Aug 20 01:30
    MadeByMike closed #4993
  • Aug 20 01:26
    MadeByMike opened #4993
  • Aug 20 01:26

    MadeByMike on update-banner

    Update banner (compare)

  • Jul 30 19:07
    mjmostachetti closed #4948
  • Jul 10 12:38
    rucolasalat opened #4992
  • Jun 26 08:18
    fabianbru closed #3696
  • Jun 11 08:25
    ankeris commented #4957
  • Jun 11 08:25
    ankeris commented #4957
  • Jun 09 07:11
    epubreader opened #4991
  • Jun 04 10:43
    ProjectINT edited #4990
  • Jun 04 10:42
    ProjectINT commented #4990
  • Jun 04 09:47
    ProjectINT opened #4990
  • May 19 12:56
    pantgurra opened #4989
  • May 11 00:08
    autoboxer closed #4919
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
hari-zeptoh
@hari-zeptoh
@gerhr If i install ejs using npm after that i need to change all the pug files a ejs
hari-zeptoh
@hari-zeptoh
tq @gerhr its working
Chris Steenekamp
@chrisformula
Hey Guys does anyone know how I can view only a specific gallery created?
Christopher Schaub
@chrisschaub
what is the way to delete the admin ui cache ?
John
@0xNOP_gitlab
Hello guys, how can I access or send to backend the currently logged in user, or send null, if guest?
I was thinking in accessing it using something like the session, but I'm really new to the KeystoneJS API and actually was looking into the official docs, but couldn't find anything related... best shot next was going on ExpressJs doc maybe?
What I'm trying to do is that whenever a user sends a message it takes the user (hence why I'm trying to send the current user) and assigns it into a collection as the author of the message (author is a relationship inside Messages model, which should be, of course, the author of the message, or who sent it.)
John
@0xNOP_gitlab
got it working, it was exactly what I was thinking :D, I debugged the req.session object and it spew out a json object that contained a userId field, this is exacly what I needed :D !
hari-zeptoh
@hari-zeptoh
Hi...how can i connect keystone with AWS S3. I need a upload function which uploads the images to my S3.
Mitul Patel
@mitul69
Hi @hari-zeptoh you need to use https://github.com/keystonejs/keystone-storage-adapter-s3 package for upload image on S3
hari-zeptoh
@hari-zeptoh
tq @mitul69 its working
how can i update my currect version of the keystone am in beta version i need to switch to stable one?
my current version is 4.0.0-beta.5
Christopher Schaub
@chrisschaub
Is there any way to show a related "subfield" for Relationship field? Not just the mapped "name". Say you had invoices with relations to payments, could you show a field from "payments" related records in the main invoices list view, in the admin UI? The only way I can figure to do it is create a field that gets updated when the record saves, but this seems very inneficient.
Christopher Schaub
@chrisschaub
Not sure if the maintainers are here, but this pull request addresses a blocking bug of core functionality for Keysonte 4.x, it makes it that anybody that uses a Boolean field can't upgrade past RC1 of 4.x without bad things happening. Could this please get pulled in? I really want to get to Node 8 and the latest releases, but just can't until this gets merged. I know the focus is on 5, but this has been broken for a long while. Sorry to make my case here, but it needs attention. keystonejs/keystone#4927
hari-zeptoh
@hari-zeptoh
Can we hide the search bar in the Admin section?
Arye Shalev
@pantchox
Hi guys, who ever has a blog or post on Medium stuff that are related to programming, I am working on a new publishing platform, its my side project and i worked reallllly hard on it - I would love for your feedback! if you love publishing and curating content - PLEASE PM ME :)
if my message is not following chat room rules i will delete it! thanks.
Pat Beecher
@layonthebeech
stumbled upon this github issue anyone know anything baout this? keystonejs/keystone#1985
Darío Miñones
@dminones
hey, I'm new with keystone and I'm trying to deploy to aws, there is a service that is mongodb compatible called documentdb
There are lot of supported commands and some others are not. https://docs.aws.amazon.com/documentdb/latest/developerguide/mongo-apis.html
Anyone has used this with keystonejs?
Simone
@simonerom
Hello!
Anyone knows of any guide on upgrading from v4 to v5?
Mitul Patel
@mitul69

Can we hide the search bar in the Admin section?

Yes we can

dastan-akhmetov-btsdigitalkz
@dastan-akhmetov-btsdigitalkz
Hello Everyone
Has anyone faced this problem?
at require (internal/module.js:11:18)
    at Object.<anonymous> (/app/src/keystone.js:4:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
2019-12-24T13:48:47: PM2 log: App name:some-app id:0 disconnected
2019-12-24T13:48:47: PM2 log: App [some-app:0] exited with code [0] via signal [SIGINT]
2019-12-24T13:48:47: PM2 log: App [some-app:0] starting in -cluster mode-
2019-12-24T13:48:47: PM2 log: App [some-app:0] online
SyntaxError: Error parsing /app/node_modules/keystone/package.json: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at readPackage (module.js:126:52)
    at tryPackage (module.js:136:13)
    at Function.Module._findPath (module.js:218:20)
    at Function.Module._resolveFilename (module.js:546:25)
    at Module.Hook._require.Module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:51:29)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/app/src/keystone.js:4:18)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
2019-12-24T13:48:47: PM2 log: App name:some-app id:0 disconnected
2019-12-24T13:48:47: PM2 log: App [some-app:0] exited with code [0] via signal [SIGINT]
2019-12-24T13:48:47: PM2 log: Script /app/src/keystone.js had too many unstable restarts (16). Stopped. “errored”
2019-12-24T13:48:50: PM2 log: 0 application online, retry = 3
2019-12-24T13:48:52: PM2 log: 0 application online, retry = 2
2019-12-24T13:48:54: PM2 log: 0 application online, retry = 1
2019-12-24T13:48:56: PM2 log: 0 application online, retry = 0
2019-12-24T13:48:56: PM2 log: [Watch] Stop watching some-app
2019-12-24T13:48:56: PM2 log: Stopping app:some-app id:0
2019-12-24T13:48:56: PM2 error: app=some-app id=0 does not have a pid
2019-12-24T13:48:56: PM2 log: PM2 successfully stopped
Jack Spektor
@JackTheHack
Hi guys, is it possible to customize the admin UI except adding custom fields?
Can I make custom filters and admin pages?
Arrrrny
@arrrrny
I want to have custom view on the admin, 2 product lists side by side. How can I add lists to a custom view?
Rod
@gtagle
Hello Keystone experts :) I am trying to figure out if KeystoneJS has any particular way of dealing with publishing/approval workflows. (For example, adding an item to a list what is set to a particular status of "Draft" until it is finished and then set to "For approval") is this something that KeystoneJS treats in a particular way or would I have to create this List of statuses and have create a relationship between the statuses and the List. Thanks beforehand.
Alex Wang
@j3ang
Hi all, how do you integrate SSL with keystone? I'm trying to use the greenlockv4 (letsencript), but I can't figure out how.
Phuong Nguyen
@neunygph
hi there, does anyone know a way to warm up a Node server before any actual request is made ? thanks in advance
Mutaz Salahat
@msalahat
Hello
Any one knows how to run keystone 5 in pm2 cluster mode?
jpbcoder1979
@jpbcoder1979

Hi I am using KeyStone 5. I want to debug my index.js file that loads keystone in AWS Cloud9 ide. I have tried everything:

cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev --inspect

and
cross-env NODE_ENV=development DISABLE_LOGGING=true keystone dev --debug--brk

and neither seem to work. I want to step into my own code to debug it

Álvaro
@alvaaz
Hello, anyone with experience in AWS and PM2 with KeystoneJs
Captura de Pantalla 2020-03-03 a la(s) 17.05.50.png
Álvaro
@alvaaz
Hi, How can I create relationships between models? When I create a member with a departments, these departments have no relationship with the member.
Raúl R Pearson
@raulrpearson
@alvaaz , did you implement the relationship as a back reference? https://www.keystonejs.com/guides/schema#relationship-back-references
Álvaro
@alvaaz
@raulrpearson I solved it, I needed to specify the field relation in the twice model
Now
members: {
   type: Relationship,
   ref: "Member.department",
   many: true
}
department: {
   type: Relationship,
   ref: "Department.members"
}
Before
members: {
   type: Relationship,
   ref: "Member",
   many: true
}
department: {
   type: Relationship,
   ref: "Department"
}
Raúl R Pearson
@raulrpearson
Good!