Bart Enkelaar
234258b41e
Move from deprecated moment#zone to moment#utcOffset ( #12207 )
...
* Issue 10209 - Remove read usages of zone
* Issue 10209 - Add coverage on daysSince and startOfDay cron utility functions
* Issue 10209 - Add unit test for daysUserHasMissed method
* Issue 10209 - Remove usages of deprecated `moment.js#zone` method.
* Issue 10209 - Add helper function to centralise logic
Also simplify timezoneOffsetToUtc function in site.vue
* Issue 10209 - Also add getUtcOffset as method on user
Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com >
2020-07-25 13:22:41 +02:00
Matteo Pagliazzi
3d5630d5a2
chore: update sub-deps and fix lint
2020-07-01 18:20:18 +02:00
Matteo Pagliazzi
90f88c42f6
remove console.log
2020-03-02 10:26:21 +01:00
Matteo Pagliazzi
c5208f0ef6
fix tags
2020-03-01 22:21:53 +01:00
Matteo Pagliazzi
979d0c519d
add final tests for push devices and notifications
2020-03-01 22:10:11 +01:00
Matteo Pagliazzi
3f5ee32684
fix invalid push devices
2020-03-01 21:49:52 +01:00
Matteo Pagliazzi
6deee0ffc8
notifications tests
2020-03-01 21:29:57 +01:00
Matteo Pagliazzi
a11e4d0512
fix lint
2020-03-01 20:53:33 +01:00
Matteo Pagliazzi
118e3580d6
refactor notifications cleanup
2020-03-01 20:06:24 +01:00
Matteo Pagliazzi
8f5a0cfe79
Onboarding guide and initial achievements refactoring ( #11536 )
...
* add achievements to user
* add placeholder strings
* add to achievements to common script
* add onboarding achievements category
* add notifications
* more notifications
* award achievements
* wip notification panel
* add achievements icons and copy
* do not count onboarding tasks for the created task achievement
* add notes
* sprites, fixes and completion status and reward
* add onboarding panel
* add toggle
* fix toggle size
* fix tests
* fix typo
* add notification
* start adding modal
* fix remove button positionin, timeout, progress bar
* modal + fixes
* disable broken social links from level up modal
* change toggle icon color on hover
* add border bottom to onboarding guide panel
* add collapse animation
* expanded onboarding on first open
* onboarding: flip toggle colors
* onboarding: show progress bar all the time
* onboarding: fix panel closing on click
* onboarding modal: add close icon and fix padding
* wip: add migration for existing users
* fix titles in guide
* fix achievements copy
* do not award completed task achievement when direction is down
* start implementing new achievements
* start migrating client
* remove social links from achievements modals
* prevent skipping tutorial + fix achievement notification
* sync fixes
* start redesign achievement modal
* misc fixes to achievements, polish generic achievement modal and hatched pet modal
* add special badge for onboarding
* fix badge condition
* modals fixes
* hatched pet modal: add close icon
* fix badge typo
* fix justin button
* new scrolling behavior for dropdowns
* fix strings capitalization
* add common tests
* add api unit tests
* add date check
* achievements modal polishing
* typos
* add toggle for achievements categories
* typo
* fix test
* fix edit avatar modal cannot be closed
* finish migration and correct launch date
* fix migration
* migration fixes
* fix tests
2019-12-16 17:20:47 +01:00
Matteo Pagliazzi
3e12774e40
Merge branch 'develop' into client-monorepo
2019-10-18 20:26:12 +02:00
Phillip Thelen
360aaa9f0b
Add more achievements to notifications list ( #11332 )
...
* Add more achievements to notifications list
* use addNotification
* Fix logic to not award stable achievements over and over
* Improve achievement display
* Fix setting notifications for party inviter
* Add tests that notifications are added correctly
* Fix tests
2019-10-18 17:04:33 +02:00
Matteo Pagliazzi
85fb5f33aa
fix test lint
2019-10-08 20:45:38 +02:00
Matteo Pagliazzi
1f44444a50
Fix subcriptions remaining time disappearing after cancelling ( #10761 )
...
* add hasCancelled method for group/user, prevent cancelling a subscription twice
* wip
* paypal: do not cancel a subscription twice
* make sure hasCancelled and hasNotCancelled return a boolean result
2018-10-18 12:14:07 +02:00
Matteo Pagliazzi
8be9964483
API v4 (WIP) ( #10453 )
...
API v4
2018-06-18 14:40:25 +02:00