bigwad on 121
bigwad on develop
Add blocking debugger notificat… (compare)
bigwad on 121
Add blocking debugger notificat… (compare)
puppet.network.remoteUrl
seems good way to go, but we have not tested it that way, and probably you will need to handle versioning manually
Thanks for the feedback. Maybe I should explain what I am trying to do. (You might have a better suggestion on how to implement this):
We use html5 FileApi to upload large files to the server. Each file is divided into chunks. The client makes a http get request to check if the chunk already exists on the server. I the chunk needs to uploaded the client makes a http post call with the file chunk data. This is repeated until all chunks exists on the server.
We also thinking about wrapping the http://www.resumablejs.com/ into a web component with a starcounter handler backend.
Therefore I need to make a custom xhr call, to be able act on different http status, but I still need to make sure that the Session is intact. Have you done anything similar to this?
Hi! Is there a way to get the current instance of the ServerConfiguration class? From within an application.
The reson is that I need to get the DatabaseDirectory property to perform a backup routine using ShadowSpawn as described in the Guide
Hi @rogrdat, thanks for your question! We have a mechanism called "commit hooks", which is similar to what is known as triggers in relational databases: http://starcounter.io/guides/transactions/commit-hooks/. Your "Who" might be the current user that you can select inside a hook, the "When" is just a timestamp of now, and "What" is a JSON-dump of an object. This data you can buffer and flush to text files on a disk on a scheduled basis, e.g. once per 15 minutes, or use some well-proven logging library for .NET.
To add here, in future releases, 2.4/2.5, we are shipping a new version of the kernel based on logopt storage architecture. Namely, it stores raw log entries with DB operations and enables to flatten them time to time into an optimised log representation. We are exploring use cases for leveraging this architecture, when one wants to retain certain log records from being flattened out and have the full story of changes in the data.