Commit Graph

1985 Commits

Author SHA1 Message Date
apanizo 6e221dacdf WA-238 Do not redeploy master copies if the instances do not work 2018-05-31 09:19:27 +02:00
apanizo 557a2e17af WA-238 Not allowing user who has confirmed tx do it again 2018-05-30 09:36:28 +02:00
apanizo 649243c0d3 WA-238 Fixing problem increasing threshold in UI Transaction's view 2018-05-30 09:29:22 +02:00
apanizo cfdbc8a761 WA-238 Fixing error of safes 1+ owners and threshold 1 when sending txs 2018-05-29 09:31:48 +02:00
apanizo a7076b9a1a WA-238 Implementing mustBeInteger validator on threshold and num of owners 2018-05-29 09:01:04 +02:00
apanizo 071fee9056 WA-238 Fix withdrawn smart contract function 2018-05-27 14:38:44 +02:00
apanizo f917bb2abd WA-238 sameAddress helper for avoid case sensitive problems with eth addresses 2018-05-27 14:12:29 +02:00
apanizo 194e51d207 WA-238 Fix updating executed txs 2018-05-27 13:56:22 +02:00
apanizo efe2905526 WA-238 Fix automic onClick calls 2018-05-27 12:24:50 +02:00
apanizo 8e908bb5fc WA-238 Added a test for assuring grantedSelector works in a case-insentive mode 2018-05-27 12:16:19 +02:00
apanizo 4caacdb184 WA-238 Implementation and UI adaptation to process ttransactions 2018-05-27 12:07:58 +02:00
apanizo 0c4708b375 WA-238 Fix warning text boolean prop 2018-05-26 13:39:44 +02:00
apanizo 5085a18fa7 WA-238 Adding DOM test simulating execution of tx when safe has only 1 owner 2018-05-26 13:35:17 +02:00
apanizo 44ed495226 WA-238 Adding tests of confirmations and transactions selectors 2018-05-26 12:01:08 +02:00
apanizo 8abc514413 WA-238 Transaction List component 2018-05-26 09:56:17 +02:00
apanizo 48a5804051 WA-238 Hairline layout component 2018-05-26 09:36:59 +02:00
apanizo 3268d76dcb WA-238 Rename transactions form component to AddTRansaction 2018-05-25 10:21:42 +02:00
apanizo cbf29c10e0 WA-238 Including only the txHash in the redux store of confirmations 2018-05-24 17:27:11 +02:00
apanizo 38953cfcb7 WA-238 Adjust createTransaction function to be executed correctly 2018-05-24 17:01:23 +02:00
apanizo ad7157b454 WA-238 include hash in Confirmation record, added tests for safes with 1 owner they do not need confirmation 2018-05-24 16:38:20 +02:00
apanizo f42aa0722f WA-238 rename createTransaction to storeTransaction 2018-05-24 13:58:49 +02:00
apanizo abb949702c WA-238 Adding create multisig tx logic 2018-05-24 13:23:04 +02:00
apanizo f9407397db WA-238 refactor inLimit form validator 2018-05-24 11:31:28 +02:00
apanizo 67552e211f WA-238 Review TX component 2018-05-23 16:33:35 +02:00
apanizo fdfeceef8b WA-238 Fix Withdrawn and Multisig Forms 2018-05-23 16:29:30 +02:00
apanizo 3dcb551268 WA-238 Multisig transaction form 2018-05-23 16:19:16 +02:00
apanizo 0fb1758fc5 WA-238 Added test for enabling add tx button when the safe has funds 2018-05-23 12:29:40 +02:00
apanizo bc9b2be6a1 WA-238 Add TXs row in Safe view 2018-05-23 12:05:50 +02:00
apanizo f4ca495ea0 WA-238 Adding fetchTransactions action 2018-05-22 11:34:56 +02:00
apanizo 89b1b5ffe0 WA-238 adding transactions property to redux store 2018-05-22 11:23:41 +02:00
apanizo 63cb857b7b WA-238 Rename calculateInitialState to safeInitialState 2018-05-22 11:07:38 +02:00
apanizo bb3c5127f6 WA-238 Using NoRights component on safe route layout 2018-05-22 10:48:38 +02:00
apanizo 26c4d8ffda WA-238 added grantedSelector and its test for displaying safe if user is owner 2018-05-22 10:22:57 +02:00
apanizo bd2e6b70a5 WA-238 Allowing set a Daily Limit of 0 when creating a Safe 2018-05-22 09:21:56 +02:00
apanizo 29e92ca622 WA-238 Refactor transaction tests 2018-05-22 08:56:49 +02:00
apanizo 3f77bc1dbd WA-238 Tests checking owners conditions 2018-05-21 16:58:03 +02:00
apanizo 60d7f9056e WA-238 Transaction tests for storing confirmations 2018-05-21 16:11:02 +02:00
apanizo 302fc13613 WA-238 Refactor localStorage class allowing load data by key 2018-05-21 16:10:05 +02:00
apanizo 7efcf44961 WA-238 Adding confirmation and transaction model entities (Immutable Records) 2018-05-21 16:09:01 +02:00
apanizo a16b5ed0f2 WA-238 Add test safesByOnwer selector with casi insensitive comparing addresses 2018-05-17 15:46:31 +02:00
apanizo 4a104830ae WA-238 Fix onClick reset fn hook in Stepper component after tx is finished 2018-05-17 13:44:38 +02:00
apanizo e25ccbeb6d WA-238 Adding tests for safesByOwnerSelector 2018-05-17 10:29:54 +02:00
apanizo e3c4c7661d WA-238 adapt safeContracts> initContracts and code when creating safe to new safe-contracts 2018-05-16 16:06:39 +02:00
apanizo c997bb4473 WA-238 Fixing flow errors 2018-05-16 15:38:45 +02:00
apanizo 608e4c1307 WA-238 Giving more time to mine tx when deploying safes 2018-05-14 16:00:44 +02:00
apanizo 98ce8f1746 WA-238 Adding more time to execute the tx in background 2018-05-14 15:26:48 +02:00
apanizo d61bf58963 WA-238 Fix delay in tests avoiding JEST default error 2018-05-14 13:46:30 +02:00
apanizo d66ef07f98 WA-238 Delaying fetchDailyLimit after withdrawing 2018-05-14 13:38:18 +02:00
apanizo a4a519ad8e WA-238 Modify redirect of withdrawn stepper 2018-05-14 12:41:20 +02:00
apanizo d0860df49b WA-238 Not allowing to wthdrawn if limit is exceeded 2018-05-14 12:27:57 +02:00
apanizo f04eec5f77 WA-238 Storybook showing spentToday and disabling withdrawn buttons is limit has been exceeded 2018-05-14 11:14:09 +02:00
apanizo 706bdba69b WA-238 Adding test updating safe's daily limit redux record after executing withdrawn 2018-05-14 10:43:23 +02:00
apanizo 26815af91c WA-238 Adding test handling exception when exceeding dailyLimit 2018-05-14 10:42:42 +02:00
apanizo 4051852eda WA-238 Returning promise when executing dailyLimit tx 2018-05-14 10:42:08 +02:00
apanizo 725a9f6b13 WA-238 Fix error on reducer not using action's payload property 2018-05-14 09:50:11 +02:00
apanizo cefa6d5567 WA-238 Do not update safes in localStorage when updating DailyLimit 2018-05-14 09:10:28 +02:00
apanizo 4a30051858 WA-238 fetchDailyLimit action definition and its reducer 2018-05-13 13:33:40 +02:00
apanizo 3cba259fc1 WA-238 DailyLimit Record types 2018-05-13 13:31:33 +02:00
apanizo aa93a8301b WA-238 refactor update deployedSafe builder including execture withdrawn helper 2018-05-13 13:30:20 +02:00
apanizo 79ae47570f WA-238 creation of updateDailyLimit action 2018-05-13 13:25:02 +02:00
apanizo 86fad267ca WA-238 get Daily Limit by token from the safe smart contract (useful for spentToday) 2018-05-11 18:07:02 +02:00
apanizo 1e42b3d67e WA-238 Adapting dailyLimit in safes to store the amount spent 2018-05-11 15:25:16 +02:00
apanizo 5f1931c039 WA-238 Cleanning tests 2018-05-10 16:56:45 +02:00
apanizo 3c740c0dbb WA-238 Updating code to new safe-contracts version 2018-05-10 15:06:34 +02:00
apanizo 91f142f510 WA-238 Adding dailyLimit withdrawn DOM test 2018-05-09 14:41:29 +02:00
apanizo 7569002ce0 WA-238 Including DailyLimit when creating the safe 2018-05-09 09:16:01 +02:00
apanizo c2fd9fb1a5 WA-238 Fix async status on getExtensions when withdrawing safe's funds 2018-05-08 16:41:48 +02:00
apanizo f882c557fe WA-238 Fix indentation Withdrawn Review component 2018-05-08 16:06:30 +02:00
apanizo 8f95eee337 WA-238 Improve Withdrawn CSS look and feel 2018-05-08 16:00:05 +02:00
apanizo 48dcf7c040 WA-238 Withdrawn component 2018-05-08 13:47:14 +02:00
apanizo 2d63300e54 WA-238 Withdrawn Form component 2018-05-08 13:45:30 +02:00
apanizo b472142536 WA-238 Withdrawn Review component 2018-05-08 13:45:00 +02:00
apanizo 8d3bfa8d2a WA-238 Adding logic for withdrawing safe's funds 2018-05-08 13:27:22 +02:00
apanizo fe7a936687 WA-238 Include the go title and to properties in Open route component 2018-05-08 13:21:50 +02:00
apanizo 2359ba640a WA-238 Adding TXS address 2018-05-08 13:19:07 +02:00
apanizo 32f88a873c WA-238 Specifying Go address and title in Stepper via props 2018-05-08 13:18:48 +02:00
apanizo 88795cf890 WA-238 Logic for showing Withdrawn form after clicking on Safe's button 2018-05-07 15:50:52 +02:00
apanizo 9f2ea3d4e6 WA-238 Adding gnosis-safe logo on safe details view 2018-05-07 15:21:27 +02:00
apanizo e4c56f8888 WA-238 Added contracts after migrated to Kovan and Rinkeby 2018-05-04 12:50:24 +02:00
apanizo 7f53e43fe9 WA-238 FIX creating master copy if contract has not been deployed 2018-05-02 16:43:16 +02:00
apanizo b5bafe2baa WA-238 Reusing deployed master contracts 2018-05-02 16:21:32 +02:00
apanizo 068b08eb82 WA-238 Creating Safe Master Copy once 2018-05-02 15:31:26 +02:00
apanizo 2cd55379ee WA-238 Adding assSafe action type 2018-05-02 15:24:23 +02:00
apanizo d8dc5201ce WA-238 Removing unused code for fetching balance 2018-05-02 15:24:01 +02:00
apanizo ec9c78b88b WA-238 Deploying contracts with Daily limit and ProxyFactory 2018-04-30 14:10:24 +02:00
apanizo fdca1781cb WA-238 Specify daily limit validation. Should be greater than 0 2018-04-27 16:23:50 +02:00
apanizo 69a486a66f WA-238 Adding Daily Limit when displaying the list of safes 2018-04-27 15:19:55 +02:00
apanizo d3ab3ec658 WA-238 Adding Daily Limit when showing safe route 2018-04-27 15:06:13 +02:00
apanizo 7a05972d7f WA-238 Fixing tests including Daily Limit 2018-04-27 13:29:44 +02:00
apanizo 7dbc14f31e WA-238 Updating review safe creation view with Daily Limit 2018-04-27 13:10:18 +02:00
apanizo 854952f126 WA-238 Including Daily Limit in form 2018-04-27 12:48:03 +02:00
apanizo 4b39ebf987 WA-238 Refactor Safe component leaving space for user interaction 2018-04-26 17:52:39 +02:00
apanizo 82c2522046 WA-238 created GnoListItemText with cut ellipsis prop 2018-04-26 15:51:44 +02:00
apanizo 35788d9baf WA-238 Address ListItem component for Safe 2018-04-26 15:36:05 +02:00
apanizo 0d7f52ace8 WA-238 Confirmations ListItem component for Safe 2018-04-26 15:31:25 +02:00
apanizo ee23a77e08 WA-238 Owners ListItem component of Safe 2018-04-26 15:24:08 +02:00
apanizo 64c0341539 WA-238 Adding WithStyles type in theme/mui.js 2018-04-26 15:17:21 +02:00
apanizo b7d4944b01 WA-238 Create openHoc component using withStateHandlers 2018-04-26 15:11:03 +02:00
apanizo 9820450634 WA-238 Add Balance List component 2018-04-26 15:06:45 +02:00
apanizo 8455485849 WA-230 Introducing interval for checking balance every 1.5 second 2018-04-17 17:12:00 +02:00
apanizo 86d3c7c9c4 WA-230 Adding to UI safe's balance 2018-04-17 12:42:33 +02:00
apanizo c866afcf56 WA-230 Including in tests decimal eth for testing balances 2018-04-17 12:01:29 +02:00
apanizo 01977f91cd WA-230 Adding get balance selector using rr match props. Included tests 2018-04-17 11:37:01 +02:00
apanizo 2fa204a693 WA-230 Adding fetchBalance action. Included tests 2018-04-17 10:05:08 +02:00
apanizo 68c9c86287 WA-230 Renaming safeList test 2018-04-17 09:39:46 +02:00
apanizo 5ddc5f7afe WA-230 Including balances reducer in store 2018-04-17 09:39:27 +02:00
apanizo 42f2e763b9 WA-230 Extracting DOM safe deployment via eth tx into deployedSafe builder helper class 2018-04-17 09:37:04 +02:00
apanizo 4de739ca74 WA-230 Refactoring safe.builder to provide only safe records 2018-04-17 09:35:02 +02:00
apanizo 92b881fc5e WA-230 Adding balances reducer 2018-04-16 14:47:17 +02:00
apanizo c2f00976c6 WA-230 Adding addBalance and fetchBalance actions 2018-04-16 14:45:09 +02:00
apanizo e643fcd033 WA-230 adding getBalanceInEtherOf in wallet/getWeb3 instance 2018-04-16 14:44:40 +02:00
apanizo e33077b752 WA-230 moving ensureOnce util function to singleton.js 2018-04-16 14:44:09 +02:00
Adolfo Panizo 0094abd4ac
WA-280 - Feature not allowing similar owners accounts (#14)
* WA-280 adding unique address form validator

* WA-280 Adding test when two owner addresses are the same form raises an error

* WA-280 Refactor - Create safe button, centering loader and improving response on welcome view
2018-04-13 15:03:40 +02:00
Adolfo Panizo f4284d513a
WA-280 - Feature: improve safe creation flow (#13)
* WA-280 limit the number of owners to 50

* WA-280 Creating a text for assuring error is raised when confirmations > owners

* WA-280 Allowing to finish create safe transaction even if the user leaves the page
2018-04-13 09:37:47 +02:00
Adolfo Panizo 88bfca0a0d
WA-280 - Feature open created safes (#12)
* WA-280 Added redux logic for safe route

* WA-280 Added tests including builders for safe's redux store classes

* WA-280 Improving Flow coverage in actions and reducers

* WA- 280 Mocking LocalStorage and Web3 in JEST

* WA-280 Generating view of Safe route and its logic to store and retrieve info from localstorage

* WA-280 Added run-with-testrpc for simulating a testnet in memory while executing tests
2018-04-11 09:28:54 +02:00
Adolfo Panizo d2b5131c9e
WA-279 - Create safe in a three step process (#11)
* WA-279 Creating Stepper component for simulating a Wizard Form with multiple steps

* WA-279 Introduced a review middle step when creating a new Safe

* WA-279 Added more Layout components (Bold, Span, GnoForm...)

* WA-279 Added validation to final-form's create safe form, including isEthAddress validator to form's owners addresses

* WA-279 Updated storybook Header and Footer
2018-03-29 11:52:58 +02:00
Adolfo Panizo 135cbd1568
[WA-229] Feature - Create safe (#10)
DevOps:
  Webpack config for having CSS mixins
  Added Flow

FrontEnd:
  Added redux
  Added Layout Components (Row, Col...)
  Added Material UI custom theme
  Added final-form library for creating user inputs for creating a form
  
Logic:
  Added actions, selectors, and reducers for controlling Header's connection done using TDD
  Fetching web3 provider logic dynamically
  Creating a basic safe with harcoded data
2018-03-29 11:05:42 +02:00
Adolfo Panizo 5baa66150b
Landing Page (#9)
* Adding storybook

* Fixing lint problems

* Adding general styles and correct fonts to storybook

* Adding static storybook build

* Updating eslintrules to avoid react-router Link warnings

* Adding classnames package for css-in-modules and updating babel-loader

* Removing styles from .storybook config in favor of css-in-modules

* Adding file loader for images in webpack prod and dev config

* Adding footer color mui variable

* Creating landing page view

* Adding babel-jest

* Created Img and PageFrame layout components

* Created Block layout component

* Created Link layout component

* Updated styles veriable with constants

* Refactored Welcome view

* Adding vault icon and safe options(create and open) as buttons

* Using yarn pck manager and update deploy script including storybook

* Moving container to PageFrame and loading general styles in storybook

* Enabling React SPA in surge

* Improving look and feel of automatic github comment with links
2018-03-15 11:14:20 +01:00
Adolfo Panizo 888d6a7614
Travis & Development's CI with surge
Adding Travis CI with custom deploy script for deploying in surge static files.

Major changes in code:
* Adding dynamic-import-node for fixing Travis tests
* Add babel-polyfill
* Adding a comment in PR using GitHub REST API with deployed link
2018-03-12 09:30:03 +01:00
Adolfo Panizo 5b38e71c35 Adding eslint-flowtype plugin, and extending its estlint recommendation 2018-03-09 09:23:15 +01:00
Adolfo Panizo 88c950b288 Flow configuration 2018-03-08 17:19:00 +01:00
Adolfo Panizo 8518021ae2 Adding Code Splitting by routes with react-loadable 2018-03-08 11:54:36 +01:00
Adolfo Panizo 63cbd51599 Adding aliases modules import for working with JEST 2018-03-08 10:04:12 +01:00
Adolfo Panizo 31f74421e4 Adding React Router v4 2018-03-08 09:27:17 +01:00
Adolfo Panizo 55b425eccc Updating to webpack 4 2018-03-06 09:20:10 +01:00
Adolfo Panizo 7df9ec1bc8 Adding SCSS variables config to webpack prod config 2018-03-05 11:02:45 +01:00
Adolfo Panizo 90b1c4fe04 Adding JS -> SCSS variables to webpack 2018-03-05 09:45:42 +01:00
Adolfo Panizo e8cd758ca9 Add JS CSS variables 2018-03-05 09:36:33 +01:00
apanizo 4ec54e6b48 Enabling CSS in modules in development mode 2018-03-04 22:17:21 +01:00
Adolfo Panizo 16b5ffc470 Using Mui Button and TextField, improving mui palette with gnosis colors 2018-03-03 12:18:23 +01:00
Adolfo Panizo fb80efbf80 Adding Material UI, and creating our own theme 2018-03-02 17:53:50 +01:00
Adolfo Panizo 78084403da Adding set funds and get balance options of created safe 2018-03-02 10:05:21 +01:00
Adolfo Panizo d24370b877 Removing old frontend code related to truffle box 2018-03-02 08:40:26 +01:00
Adolfo Panizo b30d2b40e4 Adding a button for creating new safe contracts 2018-03-01 16:50:33 +01:00
Adolfo Panizo b01c1c62db Initial commit with files 2018-03-01 09:05:56 +01:00