Skip to content

Commit

Permalink
Support variable distribution period length (#1691)
Browse files Browse the repository at this point in the history
* Fix Vue error in groupProposalSettings

* Remove unused paymentTotalFromUserToUser getter

* Add groupSortedPeriodKeys getter in group.js

* Update getters to support variable period length

* Add isIsoString in time.js and use it

* Support variable period length in MonthOverview.vue

* Apply review

* Add periodStampsForDate in time.js

* Add getHistoricalPaymentPeriods in PaymentMixin.js

* Rename getSortedPeriodKeys to getAllSortedPeriodKeys

* Add a few comments

* Export new helpers from time.js

* Improve validation in periodStampsForDate

* Remove occurences of 'undefined'

* Fix missing break statement

* Fix wrong getter name in SupportHistory.vue

* fixup! Improve validation in periodStampsForDate

* Restore logging in Cypress

* Fix reactivity issue in MonthOverview.vue

* Fix data() in PaymentRowReceived/Sent.vue

* Use groupDistributionStarted i/o inWaitingPeriod

* Revert change in updateDistributionDate

* Use humanStart/DueDate in MonthOverview.vue

* Simplify PaymentDetail.vue/initializeDetails

* Use mounted i/o watch in PaymentRowReceived/Sent.vue

* Fix pedantic Flow error

* Pin contracts to 0.1.8

* Move mounted() near the top

* Revert humanDate to plain import in MonthOverview.vue

* Use payment.period to fix Invalid Date errors

* Add .start field in initPaymentPeriod

* Add .end field in in-memory payment periods

* Rename getPeriodPayment to getPaymentPeriod

* Fix issue 1739

* Pin contracts

* Add test for payment in 2nd period
  • Loading branch information
snowteamer authored Oct 3, 2023
1 parent 90b25a7 commit 8d2a87c
Show file tree
Hide file tree
Showing 25 changed files with 44,064 additions and 159 deletions.
961 changes: 961 additions & 0 deletions contracts/0.1.8/chatroom-slim.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions contracts/0.1.8/chatroom.0.1.8.manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"head":{"manifestVersion":"1.0.0"},"body":"{\"version\":\"0.1.8\",\"contract\":{\"hash\":\"21XWnNSbTzDVk7QNPYi5n1C8w34ivhT2Xp91CWz1itVdhNjFqX\",\"file\":\"chatroom.js\"},\"authors\":[{\"cipher\":\"algo\",\"key\":\"<pubkey from deploy-key.json>\"},{\"cipher\":\"algo\",\"key\":\"<pubkey from alex.json>\"}],\"contractSlim\":{\"file\":\"chatroom-slim.js\",\"hash\":\"21XWnNN7LxitcRpsam5GmmsBJtwY7eekM5cBEdLUJNGCwPXnPE\"}}","signature":{"key":"<which of the 'authors' keys was used to sign 'body'>","signature":"<signature>"}}
10,063 changes: 10,063 additions & 0 deletions contracts/0.1.8/chatroom.js

Large diffs are not rendered by default.

Loading

0 comments on commit 8d2a87c

Please sign in to comment.