Commit graph

9 commits

Author SHA1 Message Date
Akihiko Odaki
6bee19117f Do not override the default push notification settings (#6037) 2018-05-19 14:45:58 +02:00
Yamagishi Kazutoshi
1b33b18f98 Refactor resizeImage method (#7236)
- Use URL.createObjectURL (replace from FileReader)
- Use HTMLCanvasElement.prototype.toBlob
  (replace from HTMLCanvasElement.prototype.toDataURL)
- Use Promise (replace callback interface)
2018-04-23 09:15:51 +02:00
abcang
5384e1e913 Improve web api protect (#6343) 2018-04-17 15:23:46 +02:00
unarist
d88504ec84 Add missing rejection handling for Promises (#7008)
* Add eslint-plugin-promise to detect uncaught rejections

* Move alert generation for errors to actions/alert

* Add missing rejection handling for Promises

* Use catch() instead of onReject on then()

Then it will catches rejection from onFulfilled. This detection can be
disabled by `allowThen` option, though.
2018-04-02 14:51:02 +02:00
abcang
073f4309a5 Fix initial_state me in push_notification_register (#6349) 2018-01-24 14:37:46 +01:00
nightpool
eac9039a63 Refactor /api/web APIs to use the centralized axios instance (#6223)
Also adds the ability to decouple the centralized axios logic from the
state dispatcher
2018-01-08 20:01:33 +01:00
Akihiko Odaki
5d02615063 Rename key to path in actions and reducers for settings (#6105) 2018-01-02 13:50:54 +01:00
MitarashiDango
a52820a7fd bug fix (WebPush does not work) (#6120) 2017-12-28 16:20:34 +01:00
Akihiko Odaki
3f52d12a4c Refactor web_push_subscription (#6047)
* Remove onSave method in mapped properties for column_settings

* Make web_push_subscription.register an action
2017-12-24 04:47:35 +01:00