greg [iero]
greg [iero]
TTwenty
Created by orangecode on 11/21/2024 in #❓︱help
Lock fields/items in the object
so you have one user in one server to write (ie twenty) and another server with another user (twentyone) with only read access
15 replies
TTwenty
Created by orangecode on 11/21/2024 in #❓︱help
Lock fields/items in the object
I was thinking about a POSTGRES user. Ie remove writing rights to PG_DATABASE_USER=twenty
15 replies
TTwenty
Created by greg [iero] on 11/22/2024 in #❓︱help
Change Object Icon
no access mean I would like to use the icons you uses for other objects like the target/arrow in Opportunities or the building icon you uses for Companies. We have access to other icons (see my screenshot but not the one you uses)
9 replies
TTwenty
Created by orangecode on 11/21/2024 in #❓︱help
Lock fields/items in the object
Not a priority for me, I would prefer to get the many-to-many relationship 😉
15 replies
TTwenty
Created by orangecode on 11/21/2024 in #❓︱help
Lock fields/items in the object
Me neither 😄
15 replies
TTwenty
Created by orangecode on 11/21/2024 in #❓︱help
Lock fields/items in the object
Would love to get roles as well with readers and writers. You can use API to get data, compare with previous version and restore if changed. But it means some dev to do @bob I though you can setup an user with read only roles into DB?
15 replies
TTwenty
Created by greg [iero] on 10/23/2024 in #❓︱help
Store pitch line for company
I started with a "Pitch" text field. Maybe a parameter to get a multi-line text area in the front client could be interesting
4 replies
TTwenty
Created by watacoolname on 10/23/2024 in #❓︱help
Sort by Name won't fully shows all the records
Next entries will display when you scroll to bottom. Maybe the scroll doesn't work in your case?
3 replies
TTwenty
Created by Krzysztof Cieśllik on 8/30/2024 in #❓︱help
Is it possible to host it using synology?
Did you tried to put the synology IP in SERVER_URL (.env file) ?
12 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
They are working on a fix
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
For @Raph : in your .env:
ACCESS_TOKEN_EXPIRES_IN=7d
ACCESS_TOKEN_EXPIRES_IN=7d
(note the 'S' at expireS) and in docker-compose file:
server:
environment:
ACCESS_TOKEN_EXPIRES_IN: ${ACCESS_TOKEN_EXPIRES_IN}
server:
environment:
ACCESS_TOKEN_EXPIRES_IN: ${ACCESS_TOKEN_EXPIRES_IN}
and it works now
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
-> PM
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
Hi @charles No change with ACCESS_TOKEN_EXPIRE_IN=7d, I have the empty page this morning again I'm available for a call if you need to test something for the fix!
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
thanks, @charles
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
I enforced those parameters:
ACCESS_TOKEN_EXPIRE_IN=30m
REFRESH_TOKEN_EXPIRES_IN=7d
ACCESS_TOKEN_EXPIRE_IN=30m
REFRESH_TOKEN_EXPIRES_IN=7d
But no change.
16 replies
TTwenty
Created by greg [iero] on 8/27/2024 in #❓︱help
White empty page (Token expired)
Tested on Safari and Firefox, same behaviour
16 replies
TTwenty
Created by Nathan on 7/26/2024 in #❓︱help
Data Migration to another host.
For the record, my backup script :
#!/bin/bash

export DEST="/home/iero/twenty/backup"
export PGPASSWORD="blablabla"

now=`date +"%Y-%m-%d"`

pg_dump postgres://twenty:${PGPASSWORD}@localhost:5432/default | gzip > ${DEST}/db_${now}.sql.gz
#!/bin/bash

export DEST="/home/iero/twenty/backup"
export PGPASSWORD="blablabla"

now=`date +"%Y-%m-%d"`

pg_dump postgres://twenty:${PGPASSWORD}@localhost:5432/default | gzip > ${DEST}/db_${now}.sql.gz
(And yes after I have other scripts that move the files on other locations)
58 replies
TTwenty
Created by Nathan on 7/26/2024 in #❓︱help
Data Migration to another host.
Hi @Nathan What I do (and I use the same logic to backup my prod server): On old server :
pg_dump postgres://twenty:twenty@localhost:5432/default > db_today.sql
pg_dump postgres://twenty:twenty@localhost:5432/default > db_today.sql
On new server :
dropdb -U twenty -h localhost -p 5432 default
createdb -U twenty -h localhost -p 5432 default

psql postgres://twenty:twenty@localhost:5432/default < db_today.sql
dropdb -U twenty -h localhost -p 5432 default
createdb -U twenty -h localhost -p 5432 default

psql postgres://twenty:twenty@localhost:5432/default < db_today.sql
58 replies