我们如何防止公共访问etherpad lite pad.有什么方法可以防止未经授权访问etherpads.只有拥有用户名和密码的用户才能访问打击垫.
我在windows上使用etherpad lite.谢谢.
我正在尝试在CMS Plone中集成etherpad-lite,遵循官方文档http://etherpad.org/doc/v1.2.7/的示例1
Portal places the cookie "sessionID" with the given value on the client and creates an iframe including the pad.
Run Code Online (Sandbox Code Playgroud)
除了饼干之外,每件事都很顺利.阅读文档最好的实践似乎使etherpad-lite在特定路径下的同一域中.这就是我使用/ pad/path所做的.
Plone方面如果没有创建会话,我创建了,我添加了一个cookie然后我正在重定向到同一页面,以确保cookie在浏览器中.
结果,我的cookie被添加到主页面的请求中,但不是if iframe请求.
以下是主页面和iframe的Google Chrome控制台网络标签:
http://toutpt.makina-corpus.org/en/images/cookie-in-iframe/
对应于setCookie的代码位于https://github.com/toutpt/collective.etherpad/blob/master/collective/etherpad/archetypes.py#L100
我有一群世界各地的作家都试图在一个故事上工作.我希望他们能够像在谷歌文档上一样彼此合作,但是从我们的应用程序中.具体来说,能够看到其他人正在处理文档以及他们实时更改的内容.像嵌入式以太网垫一样的东西.
野外有什么好的解决方案吗?我确信构建这样的东西将是一个重要的项目.
如何在Etherpad中模拟闪烁的插入符号?(请参阅ietherpad.com上的实时版本)我这样做的方法是创建一个div并将其放置在插入符号的绝对位置.然后,定期显示并删除它.然而,他们似乎做了不同的事情.
一行的文字在
<div id="magicdomid2" class="">...</div>
Run Code Online (Sandbox Code Playgroud)
我看不到有关div的任何变化.怎么做?
这个问题出现在etherpad-open-source-discuss的邮件列表中,我认为在这里提供它会很有用.
我发现了这个:https://github.com/ether/etherpad-lite/wiki/How-to-list-all-pads
但我真的无法想象如何使用它.我是否必须修改我的templates/index.html并添加该段代码?哪里?谢谢!
我设法使用此 Etherpad 安装说明启动并运行 Etherpad 。
它在我的服务器上运行http://localhost:9000/
,并通过反向代理和 SSL 在 Apache 上交付到https://www.example.com/
.
这一切都运行良好,但由于 Etherpad 不是我唯一的应用程序,我希望通过https://www.example.com/etherpad/
. 我该如何处理这个问题?
我尝试将ProxyPass
命令更改为
ProxyPass /etherpad/ http://localhost:9000/
ProxyPassReverse /etherpad/ http://localhost:9000/
Run Code Online (Sandbox Code Playgroud)
这使得它可以在目录中使用,但其中的所有资源仍然从(根目录)/etherpad/
传递。/
在/etc/etherpad/etherpad.local.properties
配置文件中我没有找到任何相关设置。
我如何告诉 Etherpad 位于子目录中?我无法使用另一个子域,因为那里没有 SSL。
我想为我的Etherpad编写一个ueberDB Redis-Handler.
我绝对不明白我的问题,因为使用PHP我可以设置并获取键/值没有任何问题.它只适用于NodeJS.
这是一个示例代码:
var redis = require("redis");
client = redis.createClient();
client.on("error", function (err) {
console.log("Error " + err);
});
client.set("test", "string val", redis.print);
console.log(client.get("test"));
Run Code Online (Sandbox Code Playgroud)
我错了什么?也许有人给我一个提示.
我可以为etherpad或etherpad lite中使用的具体ot算法提供提示或来源吗?它是基于学术论文吗?此外,还欢迎提供转换部分的源代码部分的提示或链接.
根据MDN,正确的方法是发送标题:
Link: </images/big.jpeg>; rel=prefetch
Run Code Online (Sandbox Code Playgroud)
所以我明确的语法是:
res.header('Link', '</images/big.jpeg>; rel=prefetch');
Run Code Online (Sandbox Code Playgroud)
我看到它在我的浏览器中登陆:
Link:</images/big.jpeg>; rel=prefetch
Run Code Online (Sandbox Code Playgroud)
但Chrome从不试图下载图像..元和链接方法工作正常..
我设置标头错误或浏览器无法处理标头值?
UDPATE:好的,看起来我做得对,但Linux/Ubuntu上的Chrome 43和Chromium 43还没有支持.这在Firefox 38中运行良好..
可能是Chromium没有在网络标签中显示预取吗?
更新2:所以看起来Chrome/Chromium正在隐藏"网络"标签中的文件传输.如果有人能证实这一点,我会很感激..
我正在尝试使用命令行界面在Bluemix上部署Etherpad版本1.5.7(https://github.com/cloudfoundry/cli/releases),按照此处的指南 - https://www.ng.bluemix.net/文档/起动/ install_cli.html
执行命令时出现此错误 - cf push appname https://github.com/cloundfoundry/node.js-buildpack.git
有关如何解决此错误的任何帮助都会有所帮助.TIA.