Trivial stylish-haskell reformat.
[?]
Oct 29, 2016, 8:34 PM
NAS4BFL43SIUAAC663R6VFBHQ2DKI45K6Y6ZKVQI7S5547HBAN7QCDependencies
- [2]
7VGYLTMUClean up schema version handling. - [3]
75N3UJ4JMore progression toward lenses. - [4]
4U7F3CPITHE GREAT RENAMING OF THINGS! - [5]
NEDDHXUKReformat via stylish-haskell - [6]
O5FVTOM6Undo JSON silliness, enable a couple more routes. - [7]
NLZ3JXLOFix formatting with stylish-haskell. - [8]
HBULCDN6Add tests for auction winner determination algorithm. - [9]
EZQG2APBUpdate task list. - [10]
NVOCQVASInitial failing tests. - [11]
QMRKFEPGRefactor QDB to use a free monad algebra instead. - [12]
Z7KS5XHHVery WIP. Wow. - [13]
3QVT6MA6Add database support for event amend operations. - [14]
SCXG6TJWMake log reduction safer in presence of overlapping events. - [15]
W35DDBFYFactor common JSON conversions up into client lib module. - [16]
5OI44E4EAdd authentication to auction search. - [17]
O722AOKEAdd route to allow crediting of events to users/projects. - [18]
I2KHGVD4Require project permissions for access to most data. - [19]
FXJQACESEnsure that auction is not ended at the time of bid - [20]
POX3UAMTEnabling logging of time to contributor/project accounts - [21]
GCVQD44VCreate amends endpoint, switch to UUID primary keys - [22]
PBD7LZYQPostgres & auth are beginning to function. - [23]
BROSTG5KBeginning of modularization of server. - [24]
7KZP4RHZSwitch from Data.Time to Data.Thyme - [25]
LHJ2HFXVAdd property test for auction algorithm. - [26]
UILI6PILThe route-based logStart/logStop is nicer. - [27]
HALRDT2FAdded initial auction create route. - [28]
A6HKMINBAttempting to improve JSON handling. - [29]
RN7EI6INUpdate database layer to use CreditTo - [30]
LAROLAYUWIP - [31]
ZP62WC47Begin conversion to build with stack. - [32]
IZEVQF62Work in progress replacing sqlite with postgres. - [33]
RPAJLHMTChange to use UUIDs instead of ints for primary keys. - [34]
EKI57EJRAdd alternative implementation of auction winner determination. - [35]
EMVTF2IWWIP moving back to snap. - [36]
Z3MK2PJ5Add GET handler for retrieving auction data. - [37]
WO2MINIFAuctions now compile! - [38]
TLQ72DSJLenses, sqlite-simple - [39]
ASF3UPJLAdd auction creation and bid handlers - [40]
2G3GNDDUEvent logging is now functioning in postgres. - [41]
BWN72T44Don't accept work timestamp from an external source. - [42]
KEP5WUFJConvert project to stack-based build. - [*]
64C6AWH6Rename Ananke -> Quixotic, project reboot. - [*]
ADMKQQGCInitial empty Snap project.
Change contents
- replacement in lib/Aftok/Auction.hs at line 9
import Data.Thyme.Clock as Cimport Data.Thyme.Format ()import Data.Thyme.Clock as Cimport Data.Thyme.Format () - replacement in lib/Aftok/Auction.hs at line 13
import Aftok (UserId)import Aftok.Project (ProjectId)import Aftok.Types (Satoshi(..))import Aftok (UserId)import Aftok.Project (ProjectId)import Aftok.Types (Satoshi (..)) - replacement in lib/Aftok/Auction.hs at line 21
{ _projectId :: ProjectId, _initiator :: UserId{ _projectId :: ProjectId, _initiator :: UserId - replacement in lib/Aftok/Auction.hs at line 24
, _raiseAmount :: Satoshi, _raiseAmount :: Satoshi - replacement in lib/Aftok/Auction.hs at line 26
, _auctionEnd :: C.UTCTime, _auctionEnd :: C.UTCTime - replacement in lib/Aftok/Auction.hs at line 42
{ _baseBid :: Bid{ _baseBid :: Bid - replacement in lib/Aftok/Auction.hs at line 44
, _commitmentAmount :: Satoshi, _commitmentAmount :: Satoshi - replacement in lib/Aftok/Auction.hs at line 99
put (x + bid ^. bidAmount) >>put (x + bid ^. bidAmount) >> - replacement in lib/Aftok/Auction.hs at line 110
-- otherwise,-- otherwise, - replacement in lib/Aftok/Database/PostgreSQL.hs at line 22
import Aftok.Auction as Aimport Aftok.Auction as A - replacement in lib/Aftok/Database/PostgreSQL.hs at line 25
import Aftok.Project as Pimport Aftok.Project as P - replacement in lib/Aftok/Database/PostgreSQL.hs at line 88
parser tname = pure $ case tname ofparser tname = pure $ case tname of - replacement in lib/Aftok/Database/PostgreSQL.hs at line 96
_ -> conversionError $Incompatible_ -> conversionError $Incompatible - replacement in lib/Aftok/Database/PostgreSQL.hs at line 104
- replacement in lib/Aftok/Database/PostgreSQL.hs at line 186
case c ofCreditToAddress addr ->case c ofCreditToAddress addr -> - replacement in lib/Aftok/Database/PostgreSQL.hs at line 258
CreditToUser uid ->CreditToUser uid -> - replacement in lib/Aftok/Database.hs at line 13
import Aftok.Project as Pimport Aftok.Auction as Aimport Aftok.Auction as A - edit in lib/Aftok/Database.hs at line 15
import Aftok.Project as P - replacement in lib/Aftok/Database.hs at line 171
findAuction aid uid =findAuction aid uid = - replacement in lib/Aftok/Database.hs at line 179
findAuction' aid uid =findAuction' aid uid = - replacement in lib/Aftok/Database.hs at line 187
createBid aid uid bid =createBid aid uid bid = - replacement in lib/Aftok/Database.hs at line 191
fc $ if view bidTime bid > view auctionEnd aucfc $ if view bidTime bid > view auctionEnd auc - edit in lib/Aftok/Json.hs at line 2
{-# LANGUAGE ExplicitForAll #-} - edit in lib/Aftok/Json.hs at line 15
import Data.HashMap.Strict as O - edit in lib/Aftok/Json.hs at line 18
import Data.HashMap.Strict as O - replacement in lib/Aftok/Json.hs at line 156
logEntryJSON (LogEntry c ev m) = v2 $logEntryJSON (LogEntry c ev m) = v2 $ - replacement in lib/Aftok/Json.hs at line 171
parseCreditTo = unversion "CreditTo" $ p whereparseCreditTo = unversion "CreditTo" $ p where - replacement in lib/Aftok/Json.hs at line 176
parseCreditToV1 :: Object -> Parser CreditToparseCreditToV1 :: Object -> Parser CreditTo - replacement in lib/Aftok/Json.hs at line 180
parseCreditToV2 o =let parseCreditToAddr o' =parseCreditToV2 o =let parseCreditToAddr o' = - replacement in lib/Aftok/Json.hs at line 184
parseCreditToUser o' =parseCreditToUser o' = - replacement in lib/Aftok/Json.hs at line 187
parseCreditToProject o' =parseCreditToProject o' = - replacement in lib/Aftok/Json.hs at line 199
p (Version 2 0) v =p (Version 2 0) v = - replacement in lib/Aftok/Json.hs at line 217
in o .: "amendment" >>= parseAin o .: "amendment" >>= parseA - replacement in lib/Aftok/Json.hs at line 226
in o .: "amendment" >>= parseAin o .: "amendment" >>= parseA - replacement in lib/Aftok/Json.hs at line 239
parseLogEntry f = unversion "LogEntry" p whereparseLogEntry f = unversion "LogEntry" p where - replacement in lib/Aftok/Project.hs at line 1
{-# LANGUAGE TemplateHaskell #-}{-# LANGUAGE TemplateHaskell #-} - replacement in lib/Aftok/TimeLog.hs at line 36
import Aftok.Project (ProjectId)import Aftok.Project (ProjectId) - replacement in lib/Aftok/TimeLog.hs at line 58
data CreditTodata CreditTo - replacement in lib/Aftok/TimeLog.hs at line 60
= CreditToAddress BtcAddr= CreditToAddress BtcAddr - replacement in lib/Aftok/TimeLog.hs at line 63
-- payouts are distributed to this project's contributors-- payouts are distributed to this project's contributors - replacement in lib/Aftok/Types.hs at line 2
{-# LANGUAGE TemplateHaskell #-}{-# LANGUAGE TemplateHaskell #-} - replacement in lib/Aftok.hs at line 9
import Control.Lens (makeLenses, makePrisms)import Control.Lens (makeLenses, makePrisms) - replacement in server/Aftok/Snaplet/Auctions.hs at line 13
import Data.Hourglass.Types (Seconds(..))import Data.Thyme.Clock as Cimport Data.Hourglass.Types (Seconds (..))import Data.Thyme.Clock as C - replacement in server/Aftok/Snaplet/Auctions.hs at line 16
import Aftok (UserId)import Aftok.Auction (AuctionId, Auction(..), BidId, Bid(..))import Aftok.Database (createAuction, findAuction, createBid)import Aftok (UserId)import Aftok.Auction (Auction (..), AuctionId, Bid (..), BidId)import Aftok.Database (createAuction, createBid, findAuction) - replacement in server/Aftok/Snaplet/Auth.hs at line 10
import Aftok.Auction (AuctionId(..))import Aftok.Auction (AuctionId (..)) - edit in server/Aftok/Snaplet/Auth.hs at line 12
import Aftok.Snaplet - edit in server/Aftok/Snaplet/Auth.hs at line 13
import Aftok.Snaplet - replacement in server/Aftok/Snaplet/Projects.hs at line 4
module Aftok.Snaplet.Projectsmodule Aftok.Snaplet.Projects - replacement in server/Aftok/Snaplet/WorkLog.hs at line 11
import Aftok (parseBtcAddr)import Aftok (parseBtcAddr) - edit in server/Main.hs at line 13
import Aftok.Snaplet.Auth - edit in server/Main.hs at line 14
import Aftok.Snaplet.Auth