trello

Using the ruby-trello gem, how can I determine whether an organization is public or not?

此生再无相见时 提交于 2019-12-25 02:27:08
问题 This question was prompted by this one: Using the ruby-trello gem, how can I determine whether a board is public or not? In the Trello API, I see both boards and organizations offer a prefs object with a permissionLevel values. However, it appears the gem only returns these prefs values for the board: > board = Trello::Member.find('me').boards.first > board.prefs['permissionLevel'] => "org" > org = Trello::Member.find('me').organizations.first > org.prefs['permissionLevel'] Traceback (most

Trello API: Get all Cards assigned to a user, on a specific board

此生再无相见时 提交于 2019-12-24 16:00:38
问题 I'm trying to get all cards in a board assigned to a specific user, but the below returns all the cards in a board. I did not find this solution anywhere; this is what I tried, and it returns cards assigned to all users: https://api.trello.com/1/boards/${boardid}/cards?fields=name,shortLink&key=${applicationkey}&token=${userkey} ${boardid} = id of the board I want cards from ${applicationkey} = Trello Developer API Key ${userkey} = Trello User Token Looks like a lot of people were able to do

How does Trello store data in MongoDB? (Collection per board?)

风流意气都作罢 提交于 2019-12-18 11:27:28
问题 How does Trello store their data (cards) in MongoDB? I read ( How does Trello show history so quickly? ) that their Actions collection is the largest one. Thus I assume that they do not store all cards in one gigantic collection. The only other logical solution seems a collection per board or per user. But they have a lot of users and I read ( http://www.mongodb.org/display/DOCS/Using+a+Large+Number+of+Collections ) that there is a limit on the number of collections and some people advise

使用GitHub进行团队合作

懵懂的女人 提交于 2019-12-17 09:28:06
原文: Team Collaboration With GitHub GitHub 已经成为的一切开放源码软件的基石。开发人员喜欢它,基于它进行协作,并不断通过它开发令人惊叹的项目。除了​​代码托管, GitHub 的主要吸引力是使用它作为一个协作开发工具。在本教程中,让我们来看看一些最有用的GitHub的功能,特别是使团队工作更有效率,更高生产力,非常重要的,好玩的那些功能! GitHub和软件合作 有一件事我觉得非常有用的是,可以将GitHub的维基集成到项目的源代码主线上。 本教程假定您已经熟悉 Git – 开放源码的分布式版本控制系统,由Linux的创世人 Linus Torvalds 在2005年创造的。如果您需要修改或查找有关 Git ,请访问我们以前的 截屏教程 ,和一些 文章 。此外,你应该已经有一个 Github 上的帐户,并做了一些基本的功能,如创建一个存储库,并推送到 GitHub 上。如果没有,可以参照更多以前的 教程 。 在这个世界上的软件项目,不可避免的是,我们必须和一个团队一起工作来交付软件。在本教程中,我们将探索一些软件开发团队最常用的工具。这些工具包括: 添加团队成员 – 组织和合作者 Pull请求 – 发送代码变更和合并 问题跟踪 – Github上的错误记录 分析 – 图形与网络 项目管理 – Trello 与 Pivotal Tracker

Getting “App not found” from Trello Authentication

雨燕双飞 提交于 2019-12-13 15:23:44
问题 I'm trying to call the Authentication part of the Trello API in order to get a user token. I'm using this URL: https://trello.com/1/authorize?callback_method=postMessage&return_url=http%3A%2F%2Flocalhost%2Ftrello%2Findex.php&expiration=never&name=SB-Trello&response_type=token&key=[my api key] But the response I'm getting is always "App not found" Is there restrictions in what you can send in the "name" parameter or why am I getting this response? What does it mean? 回答1: Closing this. As usual

Using the ruby-trello gem, how can I determine whether a board is public or not?

大憨熊 提交于 2019-12-13 08:35:39
问题 I'm using the ruby-trello gem to access the Trello API. I tried this: > board = Trello::Member.find('me').boards.first > board.prefs['permissionLevel'] => "org" > board.organization.prefs Traceback (most recent call last): 1: from (irb):20 NoMethodError (undefined method `prefs' for #<Trello::Organization:0x0000562900d7bb88>) Am I going about this the right way? 回答1: Building off this answer, here's a workaround: def org_public?(org) # If org comes from a board, it may be nil. We'll skip the

Trello C# api, .Boards.WithId() and .Members.Me() are always null

对着背影说爱祢 提交于 2019-12-12 21:12:44
问题 I'm getting started with C# Trello API. I'we created simple console application, and ran it first to get access token: static void GetToken() { ITrello trello = new Trello("application key"); var url = trello.GetAuthorizationUrl("Test api", Scope.ReadWrite, Expiration.Never); Process.Start(url.ToString()); } Process.Start opened my default browser instance, I allowed access for the application and on the next page got my token. Then I hardcoded the token and tried to implement this example:

How can I get all boards from Trello using Trello.NET?

我的梦境 提交于 2019-12-12 11:26:14
问题 Here is my code: ITrello trello = new Trello("MyAppToken"); trello.Authorize("MyUserToken"); Member me = trello.Members.Me(); var cards = trello.Cards.ForMe(); var allboards = trello.Boards.ForMe(); So I got all my cards without any problems. But how can I get all my boards? It's always null and I don't understand what is the problem. My user and application tokens are valid. My me object is not null and I have information about my account. What did I miss? Thank you! UPD: I can't even get

Can't get almost all information from event from service Hook

时光毁灭记忆、已成空白 提交于 2019-12-12 04:57:37
问题 I am trying to use the Trello service hook with Team Foundation Server. I have followed this tutorial and the connection worked without problems but, I can't get the informations I need from the Event JSON: The Description I Tried This is the Event JSON: { "id": "03c164c2-8912-4d5e-8009-3707d5f83734", "eventType": "git.push", "publisherId": "tfs", "scope": 0, "message": { "text": "Jamal Hartnett pushed updates to Fabrikam-Fiber-Git:master.", "html": "Jamal Hartnett pushed updates to Fabrikam

Invite members to board with Trello.NET

老子叫甜甜 提交于 2019-12-12 03:44:56
问题 Is there a way to invite members to a board or even just assign them as admins/users via the API? I'm trying to automate our project request system so that when a new project is approved a new Trello board is created and my team is assigned as admins to the board. 回答1: It's not implemented in Trello.NET. I added an issue on GitHub for this. Edit : Implemented by @theyshookhands and on NuGet (version 0.5.8) 回答2: You can pretty simply with Manatee.Trello... 来源: https://stackoverflow.com