Commit Graph

40 Commits

Author SHA1 Message Date
galfert 88be3525b5 Fix highlighting of current user in contributor list
Fixes #72

Introduces a helper to determine if a contributor is the current user.
2019-04-03 01:35:08 +02:00
galfert 487013f301 Run codemods 2019-03-26 23:07:02 +01:00
basti b4a094bc89 Add tests for contributions-by-type chart 2018-07-15 11:57:38 +02:00
basti 7a35f5177c Add charts.js plugin, basic chart component 2018-07-14 16:36:23 +02:00
fsmanuel 38d853a272 Remove spinner route 2018-06-14 19:04:22 +02:00
fsmanuel 1b2b1bd447 Fix contributor deserialize test 2018-04-21 11:34:41 +02:00
bumi 7da4956f1e Fix tests
These tests must be moved into the kredits-contract package. The
serialization is happening there.
They should be ported to mocha/chai probably
2018-04-18 20:19:26 +02:00
basti 8d303ea5af Fix tests, remove obsolete initializers 2018-04-17 01:38:21 +02:00
basti c0b5c36115 Don't inject kredits service in models 2018-04-16 19:23:28 +02:00
basti b09f19f399 Update Ember to 3.1 2018-04-16 18:11:52 +02:00
fsmanuel d425ed6b9e Move contract event handling into service 2018-04-15 20:36:21 +02:00
fsmanuel fcc4045a4e Merge branch 'master' into feature/store-models-in-service
# Conflicts:
#	app/controllers/index.js
#	tests/unit/controllers/index-test.js
2018-04-15 20:23:39 +02:00
bumi 62e195d186 remove fake bignumber from tests
We make everything bignumber-y now so that is no longer needed
2018-04-15 19:56:03 +02:00
fsmanuel 99bbcda709 Move contributors + proposals to service
With this change we have all the contributors + proposals all the time in one place and can update them via events.
2018-04-15 19:02:57 +02:00
bumi c373c901a2 Fix test to work with the bignumber depencency 2018-04-09 20:54:07 +02:00
fsmanuel e527099b00 Fix tests 2018-04-09 02:26:03 +02:00
fsmanuel 28f7466595 Cleanup controller, templates and service 2018-04-08 14:06:16 +02:00
fsmanuel adcc81ba52 Move tests 2018-04-08 02:27:56 +02:00
fsmanuel b21d2ad864 Extract serializer logic into lib
To use the same code in hubot I extracted the serializer logic into lib to later move it into `truffle-kredits` when we are done with all other common logic.
2018-04-07 17:22:33 +00:00
bumi a418ddbe52 fix tests 2018-04-04 12:49:41 +02:00
fsmanuel 6a31b0d579 Rename contributor.kredits to .balance 2018-04-02 19:07:42 +02:00
basti 7b91e64af4 Create contribution IPFS objects, attach to proposals 2017-06-06 21:27:05 +02:00
basti 33e81a7668 Store proper contributor profile in IPFS 2017-06-05 21:58:46 +02:00
basti 4f57ceaee9 Remove debug log statement 2017-05-14 16:27:43 +02:00
basti d7aaadea2b Only show conributors with Kredits in list 2017-05-14 16:16:12 +02:00
galfert 969ef8d1ed Add proposal form
Closes #6

Form can be prefilled using query params on the route. The params are
`recipient`, `amount`, `url` and `ipfsHash`.
2017-05-03 11:52:42 +02:00
basti 26cebc11c6 Add IPFS service (#4)
Add IPFS service

Add the `ipfs-api` JS library and a service using the browserified
version of it. The service has functions for storing and reading file
contests.
2017-02-18 09:48:26 +00:00
basti 7c98de3e6a Comment unused test 2017-02-08 14:34:14 +08:00
basti c676c6ae68 Show open/closed proposals 2017-02-05 15:59:56 +08:00
basti 227c6f5c4b Get proposals 2017-02-05 15:08:27 +08:00
basti bbda6162a1 Fix spinner test 2017-02-05 12:11:19 +08:00
basti 86d5a3238f Fix tests 2017-02-05 12:00:46 +08:00
basti 1d9f510bb4 Add animated loading graphic 2017-02-05 11:43:36 +08:00
basti 2002f2feba Add simple loading indicator 2017-02-04 22:30:58 +08:00
basti 9120d67ad1 Basic add-contrib form 2017-02-04 20:13:09 +08:00
basti 5f108557cc Add Web3 library and service 2017-02-02 17:28:45 +08:00
basti e29ffdc319 Add contributor and kredits count to page 2017-01-31 17:28:33 +08:00
basti 4dbeded613 Add contributor list design and wiring 2017-01-31 13:28:57 +08:00
basti 22e9a2ad97 Basic layout 2017-01-31 11:56:51 +08:00
Tomster 9461b573d8 Initial Commit from Ember CLI v2.10.0
_...,
                                                     ,:^;,...;
              -+===;.         ,,--++====++-,,,     .:  /.....,
            :::::~+++++#:,+#++++++++++++++++++#*..:   /,......
           (,,,,,,::=+++##++++++++++++++++++++++#.   :....../
            ...,,,,,::++++++++++++++++++++++++++++++*..,...:
            *..+...,#@@@@@@@@@++++++++++++++++++++++#*....*
              @#,;##############@@@+*+#@@@@@@@@@@#*++#..<
              *@##@@+,-*^^^*-+@####@@@######@@@#####@@,,,+
                @#@*            @#@@@@#@@+--*^^*--#@@@@@@#
                @#@.    @#      @##+++@#,           .@@#@@
                 #@#    @@     +@@++++#@@     @@     :@@
                 :@#*         @#@++++++@#*    #@     @@+
                :*+@@#;,.__.+@#@+,-^^.++@#          @@++
               ;*  :*@@@##@@@@;++r._j^.+@##@+,.__,,@@++.
              /*    ........+++++++++++++#@@@@@###@@#++++,
            ,:       ...,@@@#++===----==@@@####,,....+++++
           .:       ......@@##@\   ;   :@####@,,...... +++.
           ;       .........@###,   ;  ;xx#@;,,.....   *;+,
           |       ........,*;xxxx--^--=xxx,........   :+#;
           ;         ......,,;xxxxxxxxxxxxx;,.....     *+#
            ;          ......,::xxxx;.     ......       +.   .
             *;            .........  +###  ....       / ,. /:| ,.
               .+:             ...  ;##++##, .      ,#. (..v..;*./
                  **                ##  ###*    .:*&&&+. \.,....<,
                   #&+**==-..,,__  ;##  ###  :,*+&&&&&&&v+#&,,.._/
                  #&&&&*...,::,,.  ##; ,##* .*****;:&&&&&&&&&
                 ,+*+;~*..*** *.* ### ###* *******    *+#&;*
                                  ##,;##    ****    :,  **
         #####    ##   ###  ###,  ########       .#####   ;##  ##
        #######  ;##  #### ,###.  ##########    ########  ### ####
       ###  ###  ### ##########   ####  ####   ,##   ###  #######*
      ### ,###  ##############:   ##     ###  #### ,##   :#### ###  ##;
  ##########    ########### ##   .##    ,###  #######    ##### :######
    ######    .###### ####  ##   ###    ### ######*    :#####   ####
       #############  ####  ################    ######## ###
        #####*  *#*    #:   :###   *###*         *####    #*
2017-01-30 19:42:20 +08:00