group payments & accounts checkin

7 views
Skip to first unread message

HeresTomWithTheWeather

unread,
May 15, 2009, 4:08:03 PM5/15/09
to opensourcecurrency
i've created a group_option branch on github which has been deployed
to http://demo.opensourcecurrency.org

this is very simple stuff. it lets any person create a group where
members of the group can make payments among each other using the
group currency (hardcoded to hours).

when a person joins a group, a new account is created for her which is
associated with a group.

when you click on the "transfer hours" link on a person's profile,
there is now a drop down menu which is populated with that person's
group memberships. you can select which group currency you want to
make the payment in. if you are not a member of the group, it will
give you an error telling you that you are not in the group and you
can go join the group and then make payment.

when a payment is made with a group selected, the default first
accounts are not changed but the accounts for the chosen group.

the groups option for oscurrency is disabled by default. the admin
must go to preferences and click the checkbox to enable it.

see caveats at the end...

i merged an older version (9/15/08) of groups code from:

http://github.com/yuki/insoshi/tree/group_option

if you want to try this branch on your own system on a pre-existing
database, you will need to run the following migration to pick up the
groups migration from way back:

rake db:migrate:up VERSION=20080903122119

then do the rake db:migrate like normal.

caveats:
1. haven't yet messed with the activity streams to denote which group
the payment was made for
2. haven't yet exposed the group account balances on the web site
3. haven't yet updated the API
4. haven't yet allowed the admin of a group to be a member of the the
group
5. haven't yet allowed the admin to approve group membership joins.
they're all approved by default.

i'm going to fix the API first....when i get the remainder of the
caveats fixed, i'll do another screencast.



HeresTomWithTheWeather

unread,
May 17, 2009, 3:49:03 PM5/17/09
to opensourcecurrency
caveats #1-#3 have been fixed and deployed to http://demo.opensourcecurrency.org.
also, group currencies are no longer hardcoded to hours. the group
admin can choose the name of the currency.

the main improvement is that a person's profile toolbox now has a list
of account balances instead of just one account balance. if you click
on the link for an account, it presents a page for that account.

also, the API supports group payments and when you fetch info for a
person, it returns an array of groups the person belongs to and the
array of accounts now includes a group_id for each account which
matches the id of the group returned in the groups array.

cheers,
tom

On May 15, 3:08 pm, HeresTomWithTheWeather
<herestomwiththeweat...@gmail.com> wrote:
> i've created a group_option branch on github which has been deployed
> tohttp://demo.opensourcecurrency.org

HeresTomWithTheWeather

unread,
May 21, 2009, 4:32:28 PM5/21/09
to opensourcecurrency
caveat #4 is fixed. now by default, an admin becomes a member of a
group she creates. like other members, she can leave or rejoin the
group.

On May 17, 2:49 pm, HeresTomWithTheWeather
<herestomwiththeweat...@gmail.com> wrote:
> caveats #1-#3 have been fixed and deployed tohttp://demo.opensourcecurrency.org.

HeresTomWithTheWeather

unread,
May 26, 2009, 5:37:17 PM5/26/09
to opensourcecurrency
caveat #5 is fixed. when a group is created, by default, it is
"public" but the group creator can create "private". in this case,
when someone joins the group, an email is sent to the group creator to
approve the group membership request. when the group creator approves
the request, an email is sent to the newly approved member.

this feature is currently available in the group_option branch and has
http://github.com/austintimeexchange/oscurrency/commits/group_option

for the record, since this feature was cherry-picked from yuki's code
on github, there is currently also a "hidden" group option a group
creator may choose. however, although a hidden group can be created,
yuki's code depended on the notion of contacts that the hidden group
creator can invite to the hidden group. since there are no contacts
in insoshi, this invitation mechanism is ineffectual. therefore,
either the hidden option needs to be removed or the invitation
mechanism needs to allow invitations to people in general.

cheers,
tom

On May 21, 3:32 pm, HeresTomWithTheWeather

HeresTomWithTheWeather

unread,
May 26, 2009, 5:39:17 PM5/26/09
to opensourcecurrency
oops !

s/since there are no contacts in insoshi/since there are no contacts
in oscurrency/

cheers,
tom

On May 21, 3:32 pm, HeresTomWithTheWeather
<herestomwiththeweat...@gmail.com> wrote:

Benjamin Bradley

unread,
Jun 3, 2009, 4:16:56 PM6/3/09
to opensourc...@googlegroups.com
I'm playing with the demo...
nice work Tom!

It's not readily apparent that assigning a transfer to a specific group uses the currency of that group.

is there any desire to start using gittub's issue DB for the project?

BB

HeresTomWithTheWeather

unread,
Jun 3, 2009, 6:12:43 PM6/3/09
to opensourcecurrency
thanks for the feedback. the group's units should be displayed there
to make it clearer.

yes, please add issues. we've only created a few so far:

http://github.com/austintimeexchange/oscurrency/issues

cheers,
tom
Reply all
Reply to author
Forward
0 new messages