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
btoa doesn't work in node, base64Encode is the fully RFC 4648 compliant implementation that will...
7ec0b3435aadf5ca314ff12339ba49c1e06b0c6b authored over 4 years ago by Hammad Jutt <[email protected]>
This adds a script for generating an initial ledger for legacy
SourceCred projects.
Usage: `yar...
02a2e41bffda301d8c2b5840ae92a994a94fad88 authored over 4 years ago by Hammad Jutt <[email protected]>
This commit:
- Adds an Identity plugin declaration in ledger/identity
(it's not really a plugi...
This commit gives identities a subtype, which is one of: "USER", "BOT",
"ORGANIZATION", or "PRO...
This commit refactors how identity addressing works. Instead of there
being a function, `identi...
* Setup React Admin frontend
This configures ReactAdmin to render as the frontend with a simp...
8140738da3e0cca3e708f3423a16c5f8b7e6a3af authored over 4 years ago by Hammad Jutt <[email protected]>
This moves responsibility for constructing identity objects out of the
ledger and into the iden...
As part of #1941, I am going to refactor the user abstraction so that we
can have multiple type...
The LedgerEvent wrapper contains a single action, a version string, and
a ledgerTimestamp. This...
This implements some changes suggested during a review of the ledger
module with @wchargin. We:...
Slipped through review of #1949.
Test plan: I no longer see `console.log` appearing when I ru...
49c92f5af9414a36c0a7d10036bcd7766bb63dc2 authored over 4 years ago by Dandelion Mané <[email protected]>
This commit refactors the Ledger to use a JsonLog for its underlying
action log, provides a `se...
* Add .idea to gitignore
This is for all my webstorm homies out there
Test Plan: make sure...
4ba7199da52630751b3fc0014747f83d941bde44 authored over 4 years ago by Hammad Jutt <[email protected]>
This commit implements a great [review suggestion] by @topocount. We
change the `addAlias` metho...
We will want a TaskReporter which doesn't have any side-effects,
so we can use it as a default ...
This module contains some convenience helpers for interacting with files
on disk, creating dire...
This commit moves many concepts (e.g. a Plugin, default bundled plugins,
InstanceConfig) out of...
This commit adds a PluginId type, which is an opaque subtype of string
with an `owner/name` str...
The GrainAllocation module was pretty messy, in part because we weren't
sure about the scope wh...
This Interface wasn't being used for the test
purpose it was originally intended for.
Test p...
5ea5728cb66b5eaebdf27a3c74fd6c6a36e12e82 authored over 4 years ago by Brian Litwin <[email protected]>
This change updates the snapshot fetcher to fetch/save
data in the nested fashion in which we f...
This adds an option to refetch a given number of a
channel's messages when fetching from the Di...
Use of parsers is becoming widespread in the codebase, and it's annoying
to not have a default ...
This commit modifies the ledger so that it enforces that actions are
always in timestamp order....
Just a code reorg. Will make it easier to add more testing that depends
on constructing a Ledge...
This adds Grain transfer support to the Ledger.
Simple semantics, and well tested.
Test plan...
b4fb6cbde80d0526755642789ca26273d4c8ed8f authored over 4 years ago by Dandelion Mané <[email protected]>
This commit adds `ledger.distributeGrain`, which uses a GrainPolicy and
a CredHistory to distri...
This commit updates the Ledger so that we now support tracking and
updating users' Grain balanc...
When processing Grain allocations, we'll need to add support for mapping
node addresses onto th...
This updates the Ledger so that it properly throws an error if it
discovers that one of its act...
This modifies the Grain allocation module so that it uses
`$ReadOnlyMap`s. As a necessary and h...
* Begin work on the ledger
This starts work on the Ledger module, which will accumulate insta...
161ed4c0682fd0299af2e4805e76bb977e56e083 authored over 4 years ago by Dandelion Mané <[email protected]>
The grain and grainAllocation modules should be included as part of the
ledger, rather than liv...
Latest ledger design in #1916 takes over responsibility for generating
the UserId explicitly, s...
This commit modifies the grain module so that we store Grain values as
strings at rest (the ful...
* add JsonLog for serializing logs of JSON objects
This commit adds the JsonLog module, which...
81c1306640a95056fe05d8184bd017ee06dc2617 authored over 4 years ago by Dandelion Mané <[email protected]>
This commit modifies the GitHub createGraph method so that it now
returns a WeightedGraph, and ...
e54b0a3f5bf502a029b09ad8357b833881d0d7b3 authored over 4 years ago by Dandelion Mané <[email protected]>
By default, let's only mint Cred for pull requests and reviews.
I'll follow on with a change ...
3ac90c3a98f76bb5a22677107dba8e1f3f40455a authored over 4 years ago by Dandelion Mané <[email protected]>
This updates our build so that we include a shebang at the top of
`bin/sourcecred.js`, mark it ...
The `go` command performs a full load, running the following commands in
sequence:
- load
- g...
Previously, if any individual plugin failed to load, the load command
would print an error, but...
Given the removed recheckTopicsInCategories feature, this removes SQL
queries that are unused.
Previously this recheck had a usecase: give priority to categories
that are used as Initiative ...
This commit incorporates post-merge review feedback from @wchargin,
as found in [this review].
...
This is a leftover from #1904.
Test plan: `./scripts/update_snapshots.sh` now works.
9125676b4ee8a13b8e2d437f582f26bc7ef7efdc authored over 4 years ago by Dandelion Mané <[email protected]>
This adds a user type to the ledger. Each user is tracked by a UUID, and
has a human-specified ...
It was a part of the removed TimelineCred frontend.
Test plan: CI will suffice.
43d378ca93cc3338cdc72f04022e90645c58d2fd authored over 4 years ago by Dandelion Mané <[email protected]>As a precursor for the eventual next release.
387000dae8eac280ea7187beea67b5a3bbeb92bc authored over 4 years ago by Dandelion Mané <[email protected]>
This changes the Discord plugin so that, by default, it adds every
Reaction to the graph, so th...
This is the dual to #1858; it allows the cli/graph command to choose to
load only specific plug...
Summary:
A new utility module defines an opaque UUID type. Clients can generate
random UUIDs a...
Now, if a `weights.json` file is present in the `config/` folder, its
weights will be loaded an...
If the instance wants to specify custom TimelineCredParams, e.g. a
custom alpha value, they may...
Prior to this commit, `yarn start` would fail if a development instance
path is not provided. H...
This commit adds a major piece of missing functionality to the new UI:
the ability to view weig...
Test plan: Just a move/rename, `yarn test` passes.
d865681fafa055f958b3f10e0bc056cf56beb8c1 authored over 4 years ago by Dandelion Mané <[email protected]>
This will be needed for letting the UI recompute Cred scores with new
weights / params (which i...
This changes the instance system structure so that all the
plugin-specific configs are organize...
Summary:
The `sourcecred site` command now sets up a static site for a cred
instance, which ma...
Summary:
Follow-up to #1903. In particular, this should fix the Docker build.
Test Plan:
Ru...
Summary:
Previously, we used `backend` to build the backend and `build` to build
the frontend,...
Summary:
We want this to run the frontend and backend builds in parallel.
wchargin-branch: d...
652190eb2d3a6868b82a467253419ef35dd784d5 authored over 4 years ago by William Chargin <[email protected]>
This commit removes the `core/project.js` type. It was a sort of
"kitchen sink" config file whe...
This adds a simple sharness snapshot test for the new instance system,
in the model of the old ...
This commit removes old logic related to loading projects in the context
of "data directories"....
This commit removes (both) legacy explorer UIs, since they have been
replaced as of #1894.
T...
f6dbbc951fa8b309892585f41aa1184ccdc0b4bb authored over 4 years ago by Dandelion Mané <[email protected]>
This will allow us to integrate with the `scores` module in a way that
has runtime validation o...
This commit integrates a new version of the cred explorer, which is
compatible with the new ins...
This is a convenience for frontend development.
Not tested because this module is rotten.
Te...
26cf0af7f7117266d17f59301ab3a44dd42ed3c1 authored over 4 years ago by Dandelion Mané <[email protected]>
It's a simple yet helpful method. It's not tested because this module is
rotten.
Test plan: ...
1fc0a39cefdf19e33f0b324e5639c49fd503804f authored over 4 years ago by Dandelion Mané <[email protected]>This adds `inflows` and `outflows` methods to the CredView.
The CredView module is known-temp...
b170ff6cc2bcdfea685c1f9f2f6521ab5543e8b1 authored over 4 years ago by Dandelion Mané <[email protected]>
Summary:
By making the `Compatible<T>` type definition transparent, it becomes
valid to pass a...
Summary:
This is more general: a mutable type is a subtype of its corresponding
read-only type...
We need the `--version` flag, both for general goodness, and because our
Docker publish pipelin...
This moves all of the `cli2` command files into the `cli` directory,
since we are making the in...
This commit removes the old CLI, which is being replaced by the new
instance-system based appro...
Summary:
One weird hack needs to be slightly amended; everything else still works
given recent...
Summary:
The latest versions of Flow restrict suppression comments to the fixed
names `$FlowEx...
Summary:
This removes a SourceCred-specific hack because the upstream issue has
been fixed. Re...
Now that we're making the new UI the canonical one, we can remove
references to calling it `bui...
This commit removes the old homepage entirely. This is a prelude
to removing the react-router d...
This adds a proper parse for core.Weights, and modifies the `fromJSON`
method to use that parse...
Our README.md has a hodge-podge of information about using SourceCred.
Much of it is about to g...
See #1875 for details.
cbfa6ed64856e1b5a1edea8edfce649cb9c0283e authored over 4 years ago by Dandelion Mané <[email protected]>
Creates a class to handle the implementation
of fetching data from the Discord server and
savi...
This adds a fromRaw method to the Address module so that we may properly
parse serialized addre...
Summary:
An optional second parameter to `C.dict` can now be used to refine keys
to a subtype ...
This adds two methods to cli2/common.js:
- loadJson, which loads a JSON file from disk and then...
This adds Combo parsing support to the compatible module. Now, rather
than writing `fromJSON` m...
Per discussion with @hammadj, @topocount, and @wchargin, we are planning
to have the frontend2 s...
Now you pass `--instance PATH` rather than `--instance=PATH` which is
agreed to be much much bet...
Just a more sensible name since it's not a homepage of any sort.
Test plan: Flow passes, `yarn ...
67b74d7cfe9e6f2f9195ede035804fbb1c97ade2 authored over 4 years ago by Dandelion Mané <[email protected]>Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0....
d90521e7da488e626304a49ba1287a771846a2c1 authored over 4 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This modifies the frontend2 so that we can load real data from cli2
instances, including:
- th...
The frontend build system has a bunch of logic for loading in the list
of projectIds and includ...
This drastically streamlines the new frontend entry directory.
All the logos, the nav bar, the ...
The cli2 ("instance") system has a foundationally different assumption
about how the frontend w...
As discussed [in Discord]:
At present, cli2 is organized around the following commands:
- ...
53d3bd6766c227710acce4577135ebe1df20232f authored over 4 years ago by Dandelion Mané <[email protected]>
This modifies cli2/load so that you can now provide a list of fully
scoped plugin names (e.g. s...