- Oct 24, 2019
-
-
Ramakrishnan Muthukrishnan authored
Vouchers table contain all paid vouchers, so to find if a given voucher is unpaid, all we need to do is check membership in the `vouchers' table.
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
- Oct 23, 2019
-
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
Type class instances for `redeemVoucher` function has a lot of code duplication. This change refactors them to reuse the main logic of the code and abstract out parts that differ between instances.
-
Ramakrishnan Muthukrishnan authored
A few cosmetic changes.
-
- Oct 21, 2019
-
-
Ramakrishnan Muthukrishnan authored
-
- Oct 20, 2019
-
-
Ramakrishnan Muthukrishnan authored
Rename the `Memory' constructor that constructs MemoryVoucherDatabase into `MemoryDB' to avoid conflict.
-
Ramakrishnan Muthukrishnan authored
Also expose all functions for now, for testing via "stack ghci".
-
- Oct 18, 2019
-
-
Ramakrishnan Muthukrishnan authored
-
- Oct 17, 2019
-
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
Use this function to check if the given voucher is unpaid. Perhaps this can be done in Sql itself without resorting to set operations.
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
Ramakrishnan Muthukrishnan authored
-
- Oct 16, 2019
-
-
Jean-Paul Calderone authored
Use the git revision and sha256 for the latest version of privacypass
-
Ramakrishnan Muthukrishnan authored
-
- Sep 27, 2019
-
-
Jean-Paul Calderone authored
Ristretto-flavored PrivacyPass
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
This avoids needless build churn and potentially destabilizing changes from upstream (though the latter does not seem likely since upstream changes should not affect packages in our resolver, only newer resolvers).
-
- Sep 24, 2019
-
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
-
- Sep 23, 2019
-
-
Jean-Paul Calderone authored
-
- Sep 19, 2019
-
-
Jean-Paul Calderone authored
Also change a Maybe to an Either so we can stop printing an error inside the ristretto code and just propagate it up to the caller.
-
Jean-Paul Calderone authored
None of the FFI values escape from `ristretto` so all of the FFI IO should be safe to do with `unsafePerformIO`.
-
- Sep 16, 2019
-
-
Jean-Paul Calderone authored
-
Jean-Paul Calderone authored
Construct a better Nix store cache key for CircleCI
-
Jean-Paul Calderone authored
-