You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I saw in #1 I try to activate the restrictions in Ehercalc.
I have to added '--key' in launching the Ethercal server and now when I open an existing sheet, her is opened in view mode and when i adds '/edit' to the url i can modify it, great. But there is a problem: the icons in the toolbar are not showing in edit mode, how to fix this?
And I continue the configuration to activate and use authenticated links always in #1, it is indicated to modify the file 'main.coffee', but in my version i not found this file. The only file that contains the line "@ get '/: room / edit': ->" is "src/main.ls" and when I commented these 3 lines nothing is happening. What I forgot?
Thank you very much for your response
The text was updated successfully, but these errors were encountered:
Ok, I answer to myself because I solved my two previous points, the first is fixed by put a rewriting rule in nginx, and the second by modifying the 'main.ls' file instead of 'main.coffee' and by executing the makefile.
But in this case, if the sheets are editable only by '... / Room? Auth = ', on the other side each has its local version and there is more collaboration on the same sheet.
If you are integrating EtherCalc to a CMS, please make sure that that ?auth= parameter is correctly calculated. Sample code below is in Node.js:
varKEY='...';// the --key parameter passed to app.jsvarSHEET='...';// the spreadsheet name being authenticatedvarencoder=require('crypto').createHmac('sha256',KEY);encoder.update(SHEET);varauth=encoder.digest('hex');
This calculation is done by /SHEET/edit automatically, so another way is to make a server-side request against that URL and parse its redirection response.
As I saw in #1 I try to activate the restrictions in Ehercalc.
I have to added '--key' in launching the Ethercal server and now when I open an existing sheet, her is opened in view mode and when i adds '/edit' to the url i can modify it, great. But there is a problem: the icons in the toolbar are not showing in edit mode, how to fix this?
And I continue the configuration to activate and use authenticated links always in #1, it is indicated to modify the file 'main.coffee', but in my version i not found this file. The only file that contains the line "@ get '/: room / edit': ->" is "src/main.ls" and when I commented these 3 lines nothing is happening. What I forgot?
Thank you very much for your response
The text was updated successfully, but these errors were encountered: