Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 741
» Latest member: alexanderlewis
» Forum threads: 1,176
» Forum posts: 2,010

Full Statistics

Online Users
There are currently 220 online users.
» 0 Member(s) | 218 Guest(s)
Baidu, Facebook

Latest Threads
Step Up to the Plate: How...
Forum: Getting Started
Last Post: Innocent Sozonov
11-27-2026, 05:33 PM
» Replies: 0
» Views: 90
Understanding the Physics...
Forum: General
Last Post: rodeoneerer
11-27-2026, 03:02 AM
» Replies: 0
» Views: 108
Escaping Granny's Grasp: ...
Forum: General
Last Post: Anfisa Seleznyova
11-23-2026, 02:02 AM
» Replies: 0
» Views: 144
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:32 PM
» Replies: 0
» Views: 155
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:31 PM
» Replies: 0
» Views: 133
Olive Young Promo Code [G...
Forum: General
Last Post: yanarip357
11-19-2026, 05:29 PM
» Replies: 0
» Views: 136
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:28 PM
» Replies: 0
» Views: 149
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:26 PM
» Replies: 0
» Views: 134
【Working Code】Olive Y...
Forum: General
Last Post: yanarip357
11-19-2026, 05:25 PM
» Replies: 0
» Views: 129
Olive Young Discount Code...
Forum: General
Last Post: yanarip357
11-19-2026, 05:24 PM
» Replies: 0
» Views: 125

 
  lib and project
Posted by: philippecoenen - 09-12-2021, 03:17 PM - Forum: General - Replies (2)

Hello Mark,

I have tried to simply copy the lib from one project to another.
But it seems it was not working.
Finally, I create a stack with an empty sample and that was good. I can now log in properly.

Is it in the config file that the project is identified? So if I copy the config things will work?
And what is the format of the config (it looks like an encoded array I didn't check though)
I suspect that it's mandatory to create a new stack using an empty sample (or one of the samples) to export a project config?
But what if I want to change the project keeping the same stack? How does it work?

It's not 100% useful for me to know that but I feel a little uncomfortable not knowing what is what.
How do the libraries (or my stack) understand which project to connect to?

In a couple of days, I will start some more serious development and I would prefer to know where I put my feet  Cool

I thank you already,  Smile

-Phil


  custom record ID
Posted by: philippecoenen - 09-10-2021, 02:14 PM - Forum: General - Replies (9)

Is there a way for me to modify the record Id
I already have a database and they have their records Id already. It's a UUID similar to the ones you are using but slightly different.
If I create new records that are not a problem (as these ids are alpha so it does not matter as long as they are unique).
But if I want to use existing records it's another problem.

I can definitively ignore your ids but I think it's a bit of waste.

However, if I can change an id or provide the id when I create a new record it will be OK.

Please let me know...

Best,


  array as value
Posted by: philippecoenen - 08-26-2021, 06:34 PM - Forum: General - Replies (2)

Can I store an array in a value?
I have a design format that represents a graph with links and different display attributes.
I store this data in an array.
I want to store all the information at once. the key would be "board" and the value, the array.
Will it work without to encode the array?


  Emailing
Posted by: philippecoenen - 08-24-2021, 08:26 AM - Forum: General - Replies (2)

Hi,

I saw that it's easy to send mails.
But how many emails can I send?
If I have 10.000 users or 100.000 users can I mail all of them?


  LiveCloud standalone issues...
Posted by: stamatis - 07-26-2021, 12:17 PM - Forum: General - Replies (10)

Hi Mark and team
Some quick questions on a liveCloud-enabled standalone:

I had only included mergJSON with initial builds (as per the website). This seemed to fail, and resolved when i included the standard JSON library as well. Are both required or is this a coincidence?

To ensure connectivity with liveCloud include the ‘canelaDB’ folder as an in the standalone settings ‘copy files’ section (ie should be available in specialFolderPath("resources"). On first run, this folder is copied to the user’s Documents folder (writeable location), along with he mainstack that is launched form the splash stack.
However when building a mac app, the locked libraries are causing the standalone build to fail with the error ‘cannot open output files’ or some such. I can work around this by removing the the CanelaDB folder from the ‘Copy Files’ section of the standalone settings, build the app and then manually copy this to <show app package contents>/Contents/Resources/_MacOS/
Is there a better way to do this?

On running a the same standalone on Mac and Windows, it works fine on Mac, but on Windows it crashes - after some head scratching it seems that the checksum library checks on Mac work fine but throw an error on Windows. I’ve worked around this by commenting out the checksum library checks - the app works beutifully and will be used in a very trusted environment so that’s fine, but it’s obviously not desirable otherwise.
Can multiple checksums be correct (ie should i have checksum that works for both mac and win, unlike the one i have now that only works for mac)? Or do i need to derive a Windows checksum and include a platform check in the library checks?

Many thanks as always
Stam


  Cdb_blob migration tool
Posted by: Jason Lam - 07-23-2021, 11:44 PM - Forum: Announcements - Replies (1)

Hi everyone,

We are making some major changes to our blob architecture. As a result, we will need to build a migration tool for our users to convert current blob objects to the new format. We will also be adding additional keys to the cdb_blob table. We would like to have a better understanding of how you are currently using our blob feature so that we can build a migration tool that make sense for all of you. Currently, we are leaning toward two possible solutions:

1. Having the migration tool built into LCM for manual migration.
2. Automatically migrate the current blob object to the new format on any relevant blob cloud calls. 

We would appreciate any inputs that you might have. 

Jason Lam


  Version 2.7.5.3 Released
Posted by: mark_talluto - 07-07-2021, 08:55 PM - Forum: Announcements - No Replies

Please find an updated version of LCM libraries in release 2.7.5.3.

The update is useful if you use cdb_updateUserAccount to update your users log in passwords.

After a successful password update, the CanelaDB will automatically update the auth system. In previous versions you would have to force your users to log in again to get the same result.

Per Stam's post, I can see that our documentation for this command needs more information. We will get to work on that today.

-Mark Talluto


  Allow users to change their password?
Posted by: stamatis - 07-03-2021, 05:32 PM - Forum: General - Replies (8)

Hi Mark and liveCloud team 

Please accept my apologies if I missed this in the documentation - is there method for changing a user's password?

Thanks to a nice forum post from Mark, i saw there was an internal method (not mentioned in the documentation) to allow users to reset their account with a random string, but my users will want to change this to one they will remember after logging in...

I can't see a way to hash the new password provided by a user to update the cdbUsers record with the hashed version. Although i'm not sure, i don't imagine cdb_updateUserAccount would do this automatically.

As far as i can see, the only way to do this would be to get the existing cdbUser's data, delete the entry and and create a new user with the update password, which seems a faff, not to mention time-consuming function...

Is there a better way of doing this? (or will cdb_updateUserAccount do this automatically?)

Many thanks in advance,
Stam


  Create Project: 'cp' is not recognized as internal...
Posted by: JereMiami - 06-25-2021, 12:53 PM - Forum: Getting Started - Replies (4)

I get this response in attempting to create a new project: 

'cp' is not recognized as internal or external command, operable program, or batch file. 

I have not run into this before nor have I had any trouble creating projects before. I reinstalled the manager. Still give me the same error. It installs the canela folder, and creates its parent folder with the name of the project, but there is nothing in the canela folder nor is there the traditional login stack.


  Question re: tInternalA["delaySend"]
Posted by: stamatis - 06-24-2021, 06:05 PM - Forum: General - Replies (4)

Hi LiveCloud team and all,

Quick question - several methods that update the cloud database have an option to defer the update until a cdb_flushCache is sent. Great and very useful for batching multiple updates to the cloud.

However just wanted to check - if i do an update or batchMerge and defer the cloud update by putting true into tInternalA["delaySend"], does this update the local database?

Or do I have to update the local database separately?  (needless to say i'd prefer the former!)

Many thanks
Stam