Commit Graph

782 Commits

Author SHA1 Message Date
Teemu Patja 1c26d17ad9
Run pending DB migrations at startup
Run pending DB migrations at startup to make deployement
simpler (eliminates need to clone repo and run "lein migratus migrate"
on the server)
2017-01-21 19:14:12 +02:00
Teemu Patja d39ccd1531
Update test+prod config.edn files 2017-01-21 19:09:45 +02:00
Teemu Patja 8cb5995d5a
Use SQL timestamp instead of time
* Use SQL data type timestamp for users.created and
  repositories.updated since we want to store datetimes, not time of
  day
* Fix :migration-dir in project file

Fixes: #15
2017-01-21 18:06:37 +02:00
Teemu Patja bc14283cc0
Merge branch 'develop' 2017-01-21 12:21:36 +02:00
Teemu Patja 0be96b26cd
Update dependencies and clean up project file 2017-01-21 11:31:47 +02:00
Teemu Patja 5d704b626e
Fix QR image update issue
Previously the QR image did not get updated when the contract balance
changed and we generated a new one. This happened because Github
caches external images and our image's URL did not change after
updating. Now we generate the QR image hash based on also the balance,
so the URL changes when balance is updated.

Fixes: #13
2017-01-20 23:34:50 +02:00
Teemu Patja b3909f4e60
Fix saving of users' email
Previously the user's email did not get saved to the db unless it was
defined as public in the profile. This commit adds an additional oauth
scope for accessing the user's emails, and the user's primary email
address is saved to the db.
2017-01-20 23:34:40 +02:00
Teemu Patja 480d85f6b5
Fix bugs in ethereum module
* Fix geth json-rpc errors caused by non-hex encoded integer
  parameters and nil :to parameter
* use personal_getTransaction instead of
  personal_signAndSendTransaction used by geth < 1.5
2017-01-20 20:36:24 +02:00
Teemu Patja afce955ff3
Fix first-time sign in issue
* db/create-user! now returns a map with the created data instead of a
number, as expected by the client side.
* fixed broken test

Fixes: #4
2017-01-20 20:36:24 +02:00
Teemu Patja 60cc76919e
Add support for using org repos
Now repositories are shown with their full name ('<org/user>/repo'
instead of 'repo') and it is possible to add bounties for both
user repositories and organization repositories. Using org repos
requires the user to have admin rights to the repo.
2017-01-20 20:36:18 +02:00
Teemu Patja e036778932
Fix first-time sign in issue
db/create-user! now returns a map with the created data instead of a
number, as expected by the client side.

Fixes: #4
2017-01-15 22:26:33 +02:00
kagel e68891a936 `send` button now reflects tx status + display some errors 2016-10-04 03:13:43 +03:00
kagel feccbcce72 Refresh data every minute, please 2016-10-02 18:06:12 +03:00
kagel 401f8dcf8c Fix multisig wallet payout flow 2016-10-01 15:29:18 +03:00
kagel 1110f5817d Fix tentacles edit-comment method 2016-09-30 20:10:33 +03:00
kagel 369d45ef51 Fix multisig wallet `execute` method 2016-09-30 20:02:28 +03:00
kagel 4a009a09e8 Strange Mist behaviour workaround 2016-09-30 01:52:40 +03:00
kagel 2f6a835bba Display only open bounties on the main page 2016-09-30 00:44:51 +03:00
kagel e8375418d7 Wildfly workaround: reuse named scheduler thread between deployments 2016-09-29 17:27:20 +03:00
kagel e65fabf60e Pagination 2016-09-28 04:12:33 +03:00
kagel 161b5b8052 Remove assignee and comments count 2016-09-26 01:56:00 +03:00
kagel c064c04b46 Remove table header 2016-09-26 01:50:02 +03:00
kagel 833953edc6 Update multisig wallet contract code 2016-09-25 14:49:18 +03:00
kagel 49dcdc0515 Confirm multisig transaction using web3 2016-09-22 03:45:06 +03:00
kagel 6d8ad78bfd Display balance in ETH + stop scheduler threads on exit 2016-09-22 03:45:06 +03:00
kagel 561d852a38 update-contract-address bugfix 2016-09-22 03:45:06 +03:00
kagel 0affe53a45 React warnings 2016-09-22 03:45:06 +03:00
Jarrad 44d47b1950 Create LICENSE.md 2016-09-21 10:00:26 +08:00
kagel c414b503ed Add primer-css (temporarily) 2016-09-19 23:27:24 +03:00
kagel 4079bd398d New look 2016-09-19 23:26:57 +03:00
kagel bce7ef436a Various bugfixes:
* extra newline in contract data
* insufficient gas
* wrong headless image generation
* stop scheduler threads on exit
etc.
2016-09-18 23:43:38 +03:00
G14 c0e4f51069 add html and scss files 2016-09-18 21:55:02 +05:00
kagel 4618662203 Another bugfix 2016-09-15 17:56:29 +03:00
kagel 7ffc9741de Bugfix in handle-issue-closed 2016-09-15 17:39:50 +03:00
kagel 88ed27d100 More logs please 2016-09-15 00:35:50 +03:00
kagel 59a60aa261 replace println with log 2016-09-14 15:55:52 +03:00
kagel 781f4b4a49 Externalize configuration 2016-09-14 14:40:44 +03:00
kagel 51b8fa87ff Automatically add the "bounty" label to a repository
fixes #2
2016-09-14 02:29:39 +03:00
kagel 7fb0f9ddae Update github comment only when balance changes 2016-09-13 19:50:04 +03:00
kagel c673bb1ded Change server-address 2016-09-13 16:14:35 +03:00
Dmitriy Khvatov f0e61164ef Merge pull request #1 from status-im/server
change db to vps
2016-09-13 14:27:34 +03:00
kagel a87b8bb56e Fix hugsql comment 2016-09-12 19:50:32 +03:00
kagel 8fb363218a Edit github comment on balance update 2016-09-12 19:44:29 +03:00
kagel 397b3259b1 Embed balance and issue number into QR image 2016-09-12 02:15:59 +03:00
Adrian Tiberius 0765a2dc5d change db to vps 2016-09-12 01:48:25 +03:00
kagel e8c9d618aa Prevent QR code cheating 2016-09-10 09:50:13 +03:00
kagel c1af7788eb Sign transaction 2016-09-10 02:06:56 +03:00
kagel fcbf26e775 Add multisig wallet owners 2016-09-09 03:35:28 +03:00
kagel 21a9682c5c Fix period 2016-09-07 04:22:55 +03:00
kagel 8d7a78e593 Use `mount/defstate`, please 2016-09-07 04:18:33 +03:00