Commit Graph

12 Commits

Author SHA1 Message Date
emizzle 1192577a69 Update to removed code in contract and tests 2018-07-18 23:42:36 +02:00
emizzle 072ce05f4c Updated instructions and readme, fixed error with tests
# Conflicts:
#	README.MD
#	contracts/DTwitter.sol
#	instructions/5 Coding: tests.md
#	instructions/6 Coding: dApp.md
#	test/dtwitter_spec.js
2018-07-18 23:40:57 +02:00
emizzle d7146b2bc3 removing code for starting point 2018-07-18 15:31:06 +02:00
emizzle 47d609e423 Code removal for test run 2018-07-18 12:33:09 +02:00
emizzle cd65f6a2b4 first stab at showing multiple accounts dropdown
better error handling for error page (more description)

add config support for embark to autmoatically generate and fund accounts

updated test to use default account
2018-07-14 07:50:15 +02:00
emizzle 1b04f703b1 Updated DTwitter contract and tests, UI updates
Tweet event now returns times as well

Tweet method no longer requires a usernamehash parameter and instead assumes the msg.sender as the user who is tweeting

UI update to reflect contract chnages

UI update to add tweet time (WIP - needs Date.js for prettier formatting)

UI update to show member join date (WIP - needs Date.js for prettier formatting)

UI update to disallow spaces and @ from being entered as part of the username. Also check for @ and space in form validation.

DTwitter contracts fully documented

DTwitter tests update to reflect changes in contract
2018-07-11 22:43:23 +10:00
emizzle 24af9eb6c7 Fixed missing description on the update profile page
Added tweet unit tests for contract events (which works!!)

Added HD wallet accounts to contracts config

Updated to web3 1.0.0-beta.34 explicitly
2018-07-10 00:39:22 +10:00
emizzle 5f20667a0f modified contract so that interactions with an existing account require a hash of the username.
updated tests to include most contract functions. Still need to include tweet tests.
2018-07-08 15:33:36 +10:00
emizzle 1a1500ca4d more test updates (WIP) 2018-07-06 21:11:00 +10:00
emizzle 3ecacd7449 Tests updates (still WIP) 2018-07-06 19:21:45 +10:00
emizzle 8840cd97b1 Fixed huge app.js issue.
Added JSDoc and helpful comments throughout.

Allowed new lines in tweets.

Tweet box focussed on render.

After user creation, user taken to update profile page.

Handle form submit and enter pressed on all forms

Now handles changing user/route by re-searching for different user.

Begin adding contract tests (WIP)
2018-07-06 19:21:45 +10:00
emizzle 48df488d3f Initial commit of DTwitter app. 2018-06-25 13:09:10 +10:00