Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 23 14:51

    albogdano on master

    fixed password length issues (compare)

  • May 23 12:47

    albogdano on snyk-upgrade-0ef1e7527e09e0691e65eb5516ae26f3

    (compare)

  • May 23 12:47
    albogdano closed #12
  • May 23 12:47

    albogdano on master

    updated Mongo driver (compare)

  • May 23 12:46

    albogdano on snyk-upgrade-d5e3ba4e57554b060658b078d7216073

    (compare)

  • May 23 12:46
    albogdano closed #121
  • May 23 12:46

    albogdano on snyk-fix-c2eda529cc2defdddddf486ce44f34b3

    (compare)

  • May 23 12:46
    albogdano closed #122
  • May 22 11:42
    laercioskt starred Erudika/para
  • May 20 17:48
    alexmills802 starred Erudika/para
  • May 19 14:58

    albogdano on master

    fixed max password length shoul… (compare)

  • May 19 14:28

    albogdano on snyk-upgrade-edc2861f6c2480027cd508719546c883

    (compare)

  • May 19 14:28
    albogdano closed #120
  • May 19 14:27

    albogdano on master

    updated Nimbus JOSE lib (compare)

  • May 19 03:30
    albogdano opened #122
  • May 19 03:30

    albogdano on snyk-fix-c2eda529cc2defdddddf486ce44f34b3

    fix: para-server/pom.xml to red… (compare)

  • May 19 03:30

    albogdano on snyk-fix-c2eda529cc2defdddddf486ce44f34b3

    (compare)

  • May 18 13:30

    albogdano on master

    added max length for user passw… (compare)

  • May 18 03:23
    albogdano opened #121
  • May 18 03:23

    albogdano on snyk-upgrade-d5e3ba4e57554b060658b078d7216073

    fix: upgrade org.springframewor… (compare)

Mohanna Shahrad
@mohannashahrad
Hello. I have a question regarding posting answers and comments. If a person is not logged in and attempts to answer an existing question, the app redirects to the sign in page. Is there a way that users can post responses without signing in (authentication)? Thank you!
Alex Bogdanovski
@albogdano
@mohannashahrad yes, Scoold Pro supports anonymous posts
J. R. Schmid
@sixtyfive

@sixtyfive your issue has been fixed in para-cli@1.11.0

thank you!

Selim Gül
@selimgul
Hi guys
Could Para support Oracle database?
Alex Bogdanovski
@albogdano
@selimgul Hi, it could. I haven't tested the SQL DAO plugin with Oracle db yet
it may need a few tweaks to get it working - code is here https://github.com/Erudika/para-dao-sql
Selim Gül
@selimgul
Thanks Alex, I could run with mysql as mentioned github page. But I changed driver and configuration to para.sql.url=oracle:thin:@localhost:1521/XEPDB1 and got following error: Failed to check if table exists for appid 'para' [ORA-00942
Alex Bogdanovski
@albogdano
@selimgul I'll add support for Oracle very soon.
Selim Gül
@selimgul
Thank you Alex, waiting for you.
Alex Bogdanovski
@albogdano
@selimgul I'm happy to inform you that support for Oracle has been implemented! Additionally Para now works with SQLite as well.
Selim Gül
@selimgul
I tested for Oracle and It works now. Thank you Alexander for your great and speedy support.
Alex Bogdanovski
@albogdano
@selimgul you are welcome! :)
If you get any permission errors, check the updated README on GitHub
mason-c-web
@mason-c-web
Hi it me again! Quick question: If we use the Para service, is there an easy way for us to get our data back out? It looks like we probably could with the API? But i'm not sure it will let us get everything.
Alex Bogdanovski
@albogdano
yes, absolutely - the /v1/_export API will export everything
you need to call it for each app you need to get data out of
mason-c-web
@mason-c-web
ah i missed that.Thanks thats perf!
Alex Bogdanovski
@albogdano
@mason-c-web I will also add this functionality to the Para CLI tool when I have the time. That should make it much easier
mason-c-web
@mason-c-web
Maybe silly question: When enrolled in the para service, you can cancel at any time yeah? Would that look like deleting your account/data then?
Alex Bogdanovski
@albogdano
@mason-c-web absolutely. the data can be exported from your app's page. all apps and data will be completely deleted when the account is deleted but not when you cancel the subscription. if you just cancel you can keep the data for 2 weeks but the apps status will be 'inactive'.
mason-c-web
@mason-c-web
Question: How much space should i estimate per item in the DB for Para? My current assumption is 1kb is more than enough if its just text based.
Alex Bogdanovski
@albogdano
@mason-c-web correct - 1-2kb is the average item size. Keep in mind that the same item is replicate in the search index so the total size on disk would be double that.
Ghost
@ghost~611eae376da03739848387d6
Hello I'm new to Para. I am trying out the Para features by writing a simple spring boot app to create users etc. I tried creating using the Java Client API. I used the User object, set the name, appid, email and password. When I did paraclient.createObject() it said identifier has to be set. I am trying to understand what that identifier is. After that I set the identifier to "email". However it has created a sysprop in the name email. I am unable to understand the relation.
Alex Bogdanovski
@albogdano
@rprabhu Hi Prabhu and welcome to the chat!
Ghost
@ghost~611eae376da03739848387d6
Hi @albogdano, thank you!
Alex Bogdanovski
@albogdano
try setting the identifier field to the user's email address
Ghost
@ghost~611eae376da03739848387d6
the documentation is not clear about how the sysprop works and why the identifier field is mandatory.
Alex Bogdanovski
@albogdano
...or you can use the method paraClient.signIn("password", "email:name:password") to create users automatically
user objects are not meant to be created manually, usually they are created by Para for you
Ghost
@ghost~611eae376da03739848387d6
In that case, I have to create groups of users and assign different users to different user groups. how can this be achieved?
Alex Bogdanovski
@albogdano
you can create objects of type group and then assign each user to that group by setting the parentid field of that user to point to the id of the group objects
Ghost
@ghost~611eae376da03739848387d6
Is there any separate documentation or the Javadocs for all these details? I don't see it in the docs or am I looking at the wrong place?
Alex Bogdanovski
@albogdano
yes, the docs and Javadocs are here http://paraio.org/docs/#003-maven
Ghost
@ghost~611eae376da03739848387d6
Thank you @albogdano will take a look and get back to you if there are any questions. Thanks for the quick response!
Alex Bogdanovski
@albogdano
you are welcome!
rakurakupg
@rakurakupg

Hello! I try to run para-jar with MySQL with following configuration but It looks to run with H2DB.

para.env = "development"
para.sql.driver = "com.mysql.jdbc.Driver"
para.sql.url = "mysql://127.0.0.1:3306/para_qa"
para.sql.user = "test"
para.sql.password = "test"
para.dao = "SqlDAO"

This is mvn command to run para-jar.

./mvnw -Dconfig.file=../application.conf spring-boot:run

And following console log is displayed.

[INFO] Attaching agents: []

    ____  ___ _ ____ ___ _ 
    / __ \/ __` / ___/ __` /
    / /_/ / /_/ / /  / /_/ / 
/ .___/\__,_/_/   \__,_/  v1.40.0
/_/                        

2021-09-05 14:20:45 [INFO ] --- Para.initialize() [production] ---
2021-09-05 14:20:45 [INFO ] Loaded new DAO, Search and Cache implementations - H2DAO, LuceneSearch and CaffeineCache.
2021-09-05 14:20:46 [WARN ] Server is unhealthy - root app not found. Open http://localhost:8080/v1/_setup in the browser to initialize Para.

Is there anything what I have to configure to run para with MySQL ?

Alex Bogdanovski
@albogdano
@rakurakupg try creating a table called para with URL of mysql://127.0.0.1:3306/para
@rakurakupg also in the log it says that SqlDAO is not actually loaded and Para starts with the default H2DAO. Make sure the configuration is loaded by specifying the full path to the application.conf file
rakurakupg
@rakurakupg

@albogdano, Thank you for advice , but it's not work for me.

I wonder why I get log message Para.initialize() [production] even though I set para.env=development in config file.
I try another command like below.

./mvnw -Pbase clean package spring-boot:repackage && java -Dconfig.file=/Users/.../para/application.conf -jar target/para-1.40.0.jar 

Then I got following log.

[INFO] ------------------------------------------------------------------------

    ____  ___ _ ____ ___ _ 
    / __ \/ __` / ___/ __` /
    / /_/ / /_/ / /  / /_/ / 
/ .___/\__,_/_/   \__,_/  v1.40.0
/_/                        

2021-09-05 20:59:56 [INFO ] --- Para.initialize() [development] ---
2021-09-05 20:59:56 [INFO ] Loaded new DAO, Search and Cache implementations - MockDAO, MockSearch and CaffeineCache.
2021-09-05 20:59:57 [WARN ] Server is unhealthy - root app not found. Open http://localhost:8080/v1/_setup in the browser to initialize Para.

It seems para-jar is loading correct application.conf but It looks loading MockDAO instead of MySQL .
I checked mysql schema but I can't find any tables generated by application.

I tested both absolute path and relative path for -Dconfig.file parameter but nothing has changed.
In any case do we get MockDAO in console log ?

Alex Bogdanovski
@albogdano
@rakurakupg the correct command is ./mvnw clean package && java -jar -Dconfig.file=/Users/.../para/application.conf target/para-1.40.0.jar
rakurakupg
@rakurakupg
It can work with command in your last post . Thank you ~
Lemon
@liuguangmao
How can I manage the data
Alex Bogdanovski
@albogdano
Lemon
@liuguangmao
Ok thanks
Alex Bogdanovski
@albogdano
there's also npm i -g para-cli
Lemon
@liuguangmao
OK I'll try
Thank u
Alex Bogdanovski
@albogdano
you're welcome!