Commit Graph

743 Commits

Author SHA1 Message Date
Râu Cao abc19c715b Fix double builds in CI 2023-01-15 14:20:48 +08:00
Râu Cao b6434ac8d2 Remove Travis config 2023-01-15 14:17:30 +08:00
Râu Cao 4788b8c51c Add GitHub Actions CI config 2023-01-15 14:17:09 +08:00
Râu Cao 6a72a5b418 2.0.0-beta.3 v2.0.0-beta.3 2023-01-15 13:18:42 +08:00
Râu Cao d90ddd464a Hide confirmed-in content when confirmed 2023-01-15 13:16:38 +08:00
Râu Cao 2626543f3e Fix linter errors 2023-01-15 13:09:39 +08:00
Râu Cao 088db24534 Merge pull request #207 from 67P/feature/optional_full_sync
Make full data sync optional, start via button
2023-01-15 12:36:59 +08:00
Râu Cao f7b7daa024 Merge pull request #210 from 67P/feature/confirmation-eta
Add confirmed-in component, show ETA for proposed reimbursements
2023-01-15 12:36:43 +08:00
Râu Cao bb11e2267b Merge pull request #211 from 67P/feature/expense-list
Expense list UI improvements
2023-01-15 12:35:17 +08:00
Râu Cao 7cd023a21b Update app/components/add-reimbursement/template.hbs
Co-authored-by: Manuel Wiedenmann <manuel@funkensturm.de>
2023-01-15 12:34:40 +08:00
Râu Cao 1095bf0218 Add more button colors, icon style for small buttons
Plus tag icon for the tag buttons
2023-01-13 15:58:39 +08:00
Râu Cao 138cec0389 Localize date in expense list 2023-01-13 15:58:39 +08:00
Râu Cao a93be41e08 Add expense-list component, DRY up code, add tags 2023-01-13 15:58:39 +08:00
Râu Cao 89f6fa0b5c Use component argument in tests 2023-01-13 15:57:50 +08:00
Râu Cao e2a80eafd1 Remove dev logs 2023-01-13 14:14:24 +08:00
Râu Cao 662e76979b Show confirmation ETA for proposed reimbursements 2023-01-11 14:19:03 +08:00
Râu Cao 6c7de97e38 Get duration in human time 2023-01-11 14:10:35 +08:00
Râu Cao fe27b010da Add confirmed-in component 2023-01-11 13:59:41 +08:00
Râu Cao ff716c68ea Update current block when new one is mined 2023-01-11 13:26:58 +08:00
Râu Cao 84dded2f10 Do not automatically push new release versions 2023-01-11 12:44:56 +08:00
Râu Cao ee664c06c1 2.0.0-beta.2 v2.0.0-beta.2 2023-01-11 12:44:32 +08:00
Râu Cao 62b618b657 Add type to button element 2023-01-11 12:42:15 +08:00
Râu Cao 348dc03429 Merge pull request #209 from 67P/feature/veto_reimbursements
Finish Reimbursement UI (MVP)
2023-01-09 11:34:37 +08:00
Râu Cao d159fca816 Add todo note to async action 2023-01-09 11:31:31 +08:00
Râu Cao a582f41fde Cache reimbursement data on incoming events 2022-12-31 15:07:02 +07:00
Râu Cao 2082b51c5b Add expenses from file
Allow to upload a JSON file containing a list of expense items
2022-12-31 15:05:36 +07:00
Râu Cao e543708b42 Add IPFS inspect button to reimbursements 2022-12-31 12:20:59 +07:00
Râu Cao 0b0dea095f Reject empty tag strings 2022-12-31 12:20:27 +07:00
Râu Cao c7eb81450c Allow to veto reimbursements 2022-12-30 22:26:32 +07:00
Râu Cao ca1ccf6d93 Formatting 2022-12-30 22:25:50 +07:00
Râu Cao 0b79d48be9 Merge pull request #208 from 67P/bugfix/204-reimbursement_form
Fix timezone issue in expense item form
2022-12-30 22:24:43 +07:00
Râu Cao f8cc453d7e Fix timezone issue in expense item form
Dates being added with 00:00 time still carry the timezone set for the
OS/browser, and thus get changed to the previous day when in a positive
offset zone. This change removes the timezone offset entirely when
adding the line item, so that the chosen date is always assumed to be in
UTC time.

fixes #204
2022-12-30 22:20:16 +07:00
Râu Cao f86190030f Make full data sync optional, start via button 2022-11-14 22:58:15 +01:00
Râu Cao 08bedda288 2.0.0-beta.1 v2.0.0-beta.1 2022-11-14 15:56:57 +01:00
Râu Cao 7c8ca45b27 Merge pull request #205 from 67P/feature/improve_caching
Improve caching, fix Firefox private mode usage
2022-11-14 15:48:33 +01:00
Râu Cao ff3fe49dd0 Wording 2022-11-11 21:11:17 +01:00
Râu Cao 92056517a6 Cache contribution vetos
Fixes potentially not marking contributions as vetoed if there's no
incoming event after loading the app. Also improves performance either
way.
2022-11-11 21:11:17 +01:00
Râu Cao 11f19c8344 Refactor adding new contributions from events
Fixes contributions not being added when not already in memory (from
creation). Simplifies the entire function.
2022-11-11 21:11:13 +01:00
Râu Cao 0f8d7d84ca Don't cache contribution details in browser storage 2022-11-11 17:02:45 +01:00
Râu Cao e1780109aa Merge pull request #203 from 67P/feature/rsk-testnet
Migrate/switch to RSK testnet
2022-11-11 17:01:36 +01:00
Râu Cao 8c2f6aa38b Update Travis CI config 2022-11-11 16:57:51 +01:00
Râu Cao afbce03a4a Adapt test for rsk storage namespace 2022-11-11 16:38:39 +01:00
Râu Cao 1f2dd9d198 Use new @kredits/contracts 2022-11-03 16:57:55 +01:00
Râu Cao e4814923f9 Update contracts module branch 2022-10-31 12:48:49 +01:00
Râu Cao ad015f1cee Use required chain ID and network name
Use the chain ID when loading the web3 wallet/provider, and use the
network name for the localstorage namespace.
2022-10-24 16:45:02 +02:00
Râu Cao 0c5aebf7b4 WIP Migrate to RSK testnet 2022-10-24 16:30:38 +02:00
Râu Cao 52f7e86fc9 Merge pull request #202 from 67P/chore/fix_js_linting
Fix ESLint setup
2022-10-06 16:29:52 +02:00
Râu Cao fb66bd4f0d Fix some linter errors and warnings 2022-10-06 12:29:57 +02:00
Râu Cao 19553b9777 Fix eslint setup
babel-eslint isn't working with node 16 anymore

In addition to the new packages, also turn the remaining Ember errors
into warnings, so we can fix them without `npm test` failing in the
meantime.
2022-10-06 12:29:03 +02:00
Râu Cao 441dc21894 Merge pull request #201 from 67P/update-for-new-amounts
Fix for new Contribution#totalKreditsEarned type
2022-10-06 12:26:09 +02:00