Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sourcecred/sourcecred
a social algorithm for computing cred
https://github.com/sourcecred/sourcecred
This changes the identity name module so that we allow names to
canonically include capitalizat...
This commit adds a new MergeIdentities action to the Ledger, which
allows merging two identitie...
This un-does #2110. See some context in #2120, you'll see that I
realized that changing the ide...
In #2109, I planned to migrate to an identity v2. Having started down
this path, I found it was...
This changes the default Cred flows in Discourse. The major ideas are:
- We revamp how Topics f...
As of #2080, we will allow changing identity types. This means that we
should no longer encode ...
Switch to more performant material-ui over combobox.
Use includes rather than startsWith for a...
This reduces the number of node types in the identity plugin declaration
from 4 to 1. We no lon...
This adds a new version of the Identity type. Key differences:
- All the state which may be fre...
- Removes `ledger/identity.js`
- Creates `identity/index.js` as a convenient point to
re-expor...
This commit pulls the Login and Alias concepts out of the
`ledger/identity.js` file. The ration...
I'm planning to re-organize the Identity module so that we separate the
concept of a "login" (s...
Currently, we only display 40 rows in the Explorer. This means only the
top 40 users by Cred ca...
This is a minor refactor of the Discourse createGraph method so that it
now requests topics (an...
* v0.7.0-beta-8
* v0.7.0-beta-9
cd8355d9ed31267ff560a8b418c4d26f40a9d428 authored over 4 years ago by Dandelion Mané <[email protected]>
This adds "topicHasLikedPost" edges from topics to posts within that
topic which were liked. Th...
This makes a few improvements to the createGraph test code:
- The MockData class has been renam...
This is a slight refactor which builds on #2102. Now, createGraph can
use the `findUser` method...
The Mirror repository had a public method, `findUsername`, which didn't
return the User but jus...
It's a straightforward extension for the module contract (it already
allows getting topic by id...
* First pass transferGrain styles
Remove Autocomplete balance display.
Rely on MUI theme over ...
The explorer currently shows the # of nodes and edges at the top of the
screen. This was includ...
This changes the GrainAccountOverview so it sorts by lifetime paid, not
by current balance. It'...
Serve is a more descriptive name; it so happens the server allows using
the admin dashboard, bu...
This code was unused.
Test plan: `yarn test`.
af79bf419ffa8ab8fb7b35558c95cc13d575d737 authored over 4 years ago by Dandelion Mané <[email protected]>
This slash indicates the file is located at the site's root, as opposed
to the current route's ...
12302d94a98301e55f1fab5f125bbcdfee1cd2e4 authored over 4 years ago by Dandelion Mané <[email protected]>
This commit implements some usability improvements for
SpecialGrainDistribution.
- We ensure...
75fff034c3a20686927e6f7a3200b6920e20f6c3 authored over 4 years ago by Dandelion Mané <[email protected]>* Create AccountDropdown which uses material-ui
update TransferGrain to use new dropdown
T...
74b4df4ab628968a5b88b81b1d18fc19c919dc03 authored over 4 years ago by Sandpiper <[email protected]>
Previously, the ledger did not validate distributions. This meant the
ledger could recieve a ba...
* Use Material UI for GrainAccountOverview
The current styling doesnt look too great with the...
10e8978715a551637e72044dcb4e513bee3d4835 authored over 4 years ago by Hammad Jutt <[email protected]>
Summary:
Previously, JSON logs, and therefore ledgers, were stored on disk as
JSON array value...
Summary:
This ensures compatibility with versions of Git older than v2.14.0;
specifically, tho...
This commit swaps out the implementation of our Grain module so that it
uses the big-integer li...
8ade386780654e69a10b134d67d2b9ac66ac1c79 authored over 4 years ago by Dandelion Mané <[email protected]>
* bugfix: remove resource menu link generator
Currently we are not using react admin resource...
2751b04cb84fd7120a4c01d47f3685f0c21a759b authored over 4 years ago by Kevin Siegler <[email protected]>
This commit modifies the site command so it no longer "hoists" its
index.html, favicon, and so ...
This is a fixup for #2057, which turned out to not remove all the
sources of spam.
Test plan...
6170e67f09c41d49b5d379b0e89e069cab2ea371 authored over 4 years ago by Dandelion Mané <[email protected]>* update selectedItems control memo to use new aliases
Now that the aliases property on ledge...
ef94469e260068cd058fb2570818295696e720a9 authored over 4 years ago by Kevin Siegler <[email protected]>
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](ht...
This fixes two issues:
- It had an unnecessary data dep on the CredView, which meant that
addi...
This commit updates our plugins so that we include the plugin name in
userlike descriptions. Th...
For porting our legacy Grain balances, we're issuing "special" one-time
distributions for past ...
This commit refactors the ledger Identity type so that aliases are
`{address, description}` obj...
* aliasSelector: prep for Alias refactor, and fix
This commit does three things:
1. It fix...
5fb970fdf1df12642519de50e1de4a1cba2ab41d authored over 4 years ago by Dandelion Mané <[email protected]>
Currently the Discord plugin emits a warning every time it finds a
"dangling" reaction or menti...
* [wip]: frontend shares ledger state
Currently, if one frontend component changes the ledger...
ab945c9ff681f288e590e45b73692f6abc8bd6fb authored over 4 years ago by Dandelion Mané <[email protected]>
This commit implements a temporary/hacky fix to close #1807 for the
Initiatives plugin. The bas...
* implement grain transfer interface
this interface allows for grain transfers between user i...
d2db6edbf3c0c562449e197da02b43a8c8d85830 authored over 4 years ago by Kevin Siegler <[email protected]>
Based on discussions with @wchargin, I believe that having uuids on the
ledger events will be q...
Previously: ledger testing often used the real date, or truly random
UUIDs, and only fixed them...
This commit adds a UI for displaying Grain balances. The UI shows, for
each account:
- if thei...
This commit modifies the Discourse plugin so that it sets a weight on
every Like based on the t...
As part of SourceCred's migration off our old ledger, we need a way to
port Grain balances from...
Test Plan: test that addLike ignores existing user
6beb968cd9baf4129d84e4c7c76adab8e1bbbca5 authored over 4 years ago by Sandpiper <[email protected]>* don't render anything for empty aliases
aliases connected to an identity get subsumed and n...
6dd2f927297b5cb95655fdfdb7952a9b7668d0b2 authored over 4 years ago by Kevin Siegler <[email protected]>
This commit re-writes Discourse Graph creation so that it proceeds in
two basic steps: first, a...
This is a sharness failure that was induced by #2037. For some reason,
the failure only appears...
* add trustLevel to likeAction, post, user tables
Test Plan: test behavior for posts and like...
db523bc241405f670a958cfc3a672a795c9b9485 authored over 4 years ago by Sandpiper <[email protected]>
This commit pulls out the createGraph logic for constructing reference
edges, so that it may be...
* Change createGraph to return weightedGraph
Test plan: no new tests, updated existing tests
...
* Add function to fetch discourse user data, snapshots, and tests
Test plan: Added snapshot t...
ae77a529de0f428b649082bb561ce15dcb5f491e authored over 4 years ago by Sandpiper <[email protected]>
This commit reorganizes the Discourse helper methods for creating graph
nodes and edges into a ...
In the discourse `createGraph` module, we have a general pattern where
helper functions are res...
* Use initiatives parser for loading initiative directory
Updates the logic in initiativesDir...
fb4c863f433673487ed19f103a673cfeaf6154ff authored over 4 years ago by Hammad Jutt <[email protected]>* implement fromFloatString
This is most useful for processing form input values before passi...
898c74a0b5877db4db554d7f15d37d03ac2ba27a authored over 4 years ago by Kevin Siegler <[email protected]>
The Discourse node descriptions are quite cluttered, and e.g. we wind up
with silly description...
This commit adds a ledger for the internal test instance. It has a few
identities, some of whic...
This adds a new CLI command, sourcecred grain, which distributes
Grain. This happens based on a ...
test-plan: the admin frontend should be able to read and modify the
ledger.json file using the ...
The published NPM package has a broken symlink error when trying to run the `sourcecred site` co...
bd449fd271a0313df0e9dd36dbbaf6345474177c authored over 4 years ago by Hammad Jutt <[email protected]>
This removes the version field from the ledger actions. Since writing
the Ledger, I've made man...
* WIP: cli admin command
* configure admin command to load ledger admin view
an express se...
b85f5330eef4ff82d347eda49265604fcf1b4537 authored over 4 years ago by Kevin Siegler <[email protected]>
Previously, Grain.format would output ",125,000g" rather than
"125,000g". Turned out to be an o...
This commit adds a small, moderately tested module for actually
computing Grain distributions u...
This replaces our "compressByThreshold" strategy (where we include only
over-time data for node...
This adds a method for converting integer floats into precise Grain
values.
Unit tests added.
1085d6ebf5424c00529aacf30c4d1d4aa67f01c8 authored over 4 years ago by Dandelion Mané <[email protected]>* implement ledger identity editor POC
The ledger identity editor enables users to collect gr...
7431a62208bcc46e681ec39061a24035eb20d597 authored over 4 years ago by Kevin Siegler <[email protected]>
We need this so we can have a grain policy that
creates one distribution per interval for the h...
This commit adds a new intermediate data format which includes a mixture
of account data and cr...
This fixes a flaky test encountered by @topocount in #2015. The issue
was that we constructed t...
* unite frontends behind the react admin menu
The cred explorer and other apps are now access...
842313e1c0652aa9ae7f3331ef64242178357063 authored over 4 years ago by Kevin Siegler <[email protected]>* add temporary routing for disjoint apps
Currently, the Initiatives editor is under heavy de...
fb56d037f5183caa3a10c95f834b23c9cbba48a1 authored over 4 years ago by Kevin Siegler <[email protected]>
The ledger module used to separately track identities and accounts. Now
each account has an ass...
32e410d8e04fc67b7a1f31e12a95e5a2f9fee31e authored over 4 years ago by Sandpiper <[email protected]>
Unfortunately, isomorphic-webcrypto wasn't that isomorphic, and
attempting to depend on it in w...
This commit adds the concept of being "active" to a Grain Account. Only
active accounts are all...
This modifies the jsonLog module so it doesn't directly depend on fs, as
that made it impossibl...
This commit removes the alias plugin (which is being merged into core).
The only piece we keep ...
Re-writes the grain allocation module, around the new assumption that we
only allocate to ids.
...
We'll eventually need a way to unlink an alias from an account, e.g. if
the alias was fraudulen...
This commit changes the contract for the Ledger so that only identities
may have Grain accounts...
Useful method for summing sequences of Grain value; also faster than is
possible using the expo...
Setups up the parser to be used in the Initiatives plugin for the new CLI
TestPlan: Check to ...
2a3eae55cda95087a8c42d1f92e80ebfb66ce4ac authored over 4 years ago by Hammad Jutt <[email protected]>
We have a nice util to handle loading a file with a parser but the plugins
were not using it, t...
* Create parser for Initiative Files
This parser will be used in the Initiatives Plugin for t...
6379a65214dc9d02f65d8cfacd768378eef8eef8 authored over 4 years ago by Hammad Jutt <[email protected]>* Add stress-tested algo for splitting Grain budgets
In #1957, I encountered a serious bug in...
6d3a65c7a90a2759c45c040a252347822a7bb79c authored over 4 years ago by Dandelion Mané <[email protected]>
In #1957, I encountered a serious bug in our Grain distribution logic
that could result in dist...
This commit moves responsibility for computing Grain distributions out
of the Ledger. Instead, ...
Each Distribution contains zero or more Grain Allocations. The type
called `DistributionPolicy`...