问题标签 [diaspora]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
120 浏览

diaspora - 无法向散居区添加服务

我已经在 Debian 盒子 diaspora.ivvy.ru 上设置了一个侨民 pod,但似乎无法弄清楚为什么“连接到...”链接没有显示在服务选项卡下。

我注册了一个 twitter 应用程序,将 twitter 消费者密钥/秘密复制粘贴到 application.yml 和 oauth_key.yml。

昨天我从 github 克隆了侨民。

我认为这是 ssl 问题,但日志文件或任何内容都没有失败的迹象,并且我的证书被所有现代浏览器接受。

我的证书是startssl 1 级证书。

我对 ruby​​ 不是很熟悉,所以黑客代码对我来说是一个相当大的问题。

任何帮助,将不胜感激。

0 投票
1 回答
2072 浏览

ubuntu - 如何在服务器启动时允许 Diaspora 启动

要启动 Diaspora 服务器,需要运行以下命令:

cd /家/散居地

./脚本/服务器

我的服务器(Ubuntu 11.10)每天重启。我需要配置服务器(Ubuntu 11.10)以允许散居服务器在我的服务器启动时启动。怎么做?

我试过了:

以运行 diaspora 的用户身份登录,打开 crontab 编辑器(crontab -e),滚动到末尾并输入:

@reboot cd /home/diaspora; ./脚本/服务器

然后保存,但在我的服务器启动后它仍然无法启动。

而且,如果 crontab -e 不能做到这一点,是否可以编写一个初始化脚本来做到这一点?如果初始化脚本能够做到这一点,如何编写脚本来做到这一点?

0 投票
1 回答
382 浏览

ruby-on-rails - 如何在生产模式下测试邮件配置

我已经在 debian 挤压上设置了一个散居 pod,exim4 作为 smtp。如果我想通过用户界面(用户/密码/新)重置我的密码,我不会收到电子邮件。我可以mail email@domain.tld通过外壳。

如何在生产模式下测试我的本地配置?

我的配置如下所示:

0 投票
1 回答
216 浏览

linux - 我如何通过 socialvpn 运行散居区?

我想通过社交 vpn 之类的 p2p vpn 路由我的侨民社交网络流量。socialvpn http://socialvpn.wordpress.com/适合这份工作吗?

0 投票
2 回答
656 浏览

javascript - 从 Blogger 小工具访问帖子标题和 URL

我正在尝试构建一个 Blogger 小工具,用于使用 Diaspora 共享帖子!我从使用HTML 和 JavaScript 的Diaspora Sharing Service开始(你可以看看我正在进行的工作),发现 URL 和 TITLE 是空的

使用 post.url 或 window.location.href 访问 url 都无法获得有效值。

任何帮助将不胜感激。

0 投票
1 回答
1315 浏览

ruby-on-rails - environment.rb 中缺少 Rails 路径名

当我尝试安装 Diaspora* 并在我的 rake db:setup 之后尝试从浏览器打开它时出现以下错误:

第 15 行是评论后的第一行:

我也在使用 Pow。

0 投票
2 回答
469 浏览

ruby - Can Diaspora* be used as the social part of a site?

I'm in a search for social network development in Ruby and Diaspora* cought my attention. Though the idea is have a social network 'hosted' by many and owned by none is great, I don't quite understand if I can use it to make the social part of a custom site. And whether this custom site being unrelated to the network and using it's code only to support the site, or will it be integrated.

Last, can the design be changed? to fit this custom site.

I tried to find information on their FAQ and github docs, but nothing on these terms.

0 投票
2 回答
347 浏览

ubuntu-12.04 - 开始散居时失败

我在我的 Ubuntu 服务器上安装了 diaspora。这是我的堆栈跟踪。我不知道该怎么做才能修复它。甚至无法通过谷歌找到任何答案。

提前致谢!!

0 投票
2 回答
50 浏览

regex - 如何使用正则表达式访问这些数据

这是JS文件中的数据:

我想把它输出到一个二维数组中,比如:

值名称,

16633 fdgdfgdf@joindiaspora.com,

16910 jamesw@wk3.org,

16911 sdasfasf@joindiaspora.com

到目前为止,这是我的代码:

输出:

0 投票
1 回答
134 浏览

ruby-on-rails-3.2 - Can I use diaspora with a pre-existing rails app?

Yes, can I do such a thing? is there a tutorial for that? Also, Can I control the activity content? for example, can I add a HTML5 canvas? or customize the activity model?