425 Commits

Author SHA1 Message Date
Saqib Ansari
7adc904b08
chore: bump to v1.6.3 v1.6.3 2022-04-27 16:09:50 +05:30
Rohan
d19f03ac99
fix: ignore local timezones when creating a heatmap (#377)
* [Heatmap] Adjusting grid calculation for consistent grid layout

Date math is hard!

This addresses a problem in how the heatmap lays calculates days to layout the grid. The calculations were being thrown off in some scenarios by a combination of factors including timezone offsets, time of day, and daylight savings time.

This patch should correct all this by forcing each day to be midnight UTC when laying out the grid.

Co-authored-by: Michael Bester <michael@kimili.com>
Co-authored-by: t47io <t47@alumni.stanford.edu>
Co-authored-by: Saqib Ansari <nextchamp.saqib@gmail.com>
2022-02-23 10:18:19 +05:30
Gabriel
f6e49097a0
chore: update README.md (#370) 2022-02-21 15:20:57 +05:30
David Schnurr
10de973608
fix intervals (#352) 2021-10-04 19:40:13 +05:30
小华
5a4857d6a8
chore: update readme usage code (#346) 2021-06-29 11:10:23 +05:30
Shivam Mishra
3e63b1a2b4 chore: bump to 1.6.2 2021-06-16 11:00:59 +00:00
T3cH_W1z4rD
67030024d4
Fixed XSS (#339)
* Fixed XSS

* Removed html file and Loop
2021-05-03 19:15:46 +05:30
Shivam Mishra
17aec6de95 chore: bump to 1.6.1 v1.6.1 2021-04-18 10:42:15 +00:00
Shivam Mishra
12533f3b37 feat: add resize observer 2021-04-18 10:26:00 +00:00
Shivam Mishra
10b1010d06 chore: ignore docs assets 2021-04-11 10:42:01 +00:00
Shivam Mishra
2f459bc345 chore: update readme links 2021-04-11 10:40:05 +00:00
Shivam Mishra
d89bdb7571 chore: update readme 2021-04-11 10:38:30 +00:00
Shivam Mishra
0832c02184 chore: bump to 1.6.0 v1.6.0 2021-04-11 10:28:50 +00:00
Shivam Mishra
c3ee7f306c chore: remove dist from git 2021-04-11 10:28:18 +00:00
Shivam Mishra
51a07a12c6 feat: ignore dist 2021-04-11 10:27:41 +00:00
Dave Lunny
8e1bd6859a
feat: use UMD instead of IIFE for browser target (#336) 2021-04-11 15:53:19 +05:30
dependabot[bot]
d075c76ee2
chore(deps): bump lodash from 4.17.11 to 4.17.21 (#335)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 00:26:46 +05:30
dependabot[bot]
3431257129
chore(deps): bump yargs-parser from 5.0.0 to 5.0.1 (#333)
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/v5.0.1/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 00:26:18 +05:30
dependabot[bot]
9fae7c62ad
chore(deps): bump dot-prop from 4.2.0 to 4.2.1 (#332)
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 00:25:55 +05:30
Shivam Mishra
40ed23b102 chore: update action 2021-03-11 12:07:19 +00:00
Shivam Mishra
ce477800db
feat: add npm publish action v1.5.8 2021-03-11 17:31:48 +05:30
Shivam Mishra
75038eeefb chore: bump to 1.5.8 2021-03-11 11:58:27 +00:00
Raí Toffoletto
dadecb296e
Fix ReactJS TypeError, Issue #323 (#325)
* Fix ReactJS TypeError, Issue #323

* style: space after `if`

* style: space after `if`

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2021-03-10 13:14:49 +05:30
Shivam Mishra
8bd53191b0
Merge pull request #331 from frappe/dependabot/npm_and_yarn/handlebars-4.7.7
chore(deps): bump handlebars from 4.1.2 to 4.7.7
2021-03-10 13:12:45 +05:30
dependabot[bot]
d073e14467
chore(deps): bump handlebars from 4.1.2 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-10 07:42:12 +00:00
Shivam Mishra
85d7e609c8
Merge pull request #330 from helge79/master
Render legend after update, fixes #329
2021-03-10 13:11:56 +05:30
Frank Felgner
7f26c18ce7 render legend after updating data 2021-03-08 14:08:14 +01:00
Frank Felgner
4a9048f59f fix missing semicolon 2021-03-08 14:07:54 +01:00
Shivam Mishra
684ecdedc2 chore: bump to 1.5.8 2021-02-22 03:25:14 +00:00
Shivam Mishra
d357370b6a feat: clone options before building 2021-02-18 10:52:02 +00:00
Shivam Mishra
d034192373 chore: bump to 1.5.6 v1.5.6 2020-12-22 12:22:21 +05:30
Shivam Mishra
a22db61492 fix: name.replace exception 2020-12-22 12:21:40 +05:30
Shivam Mishra
ecfc069cbd chore: bump to 1.5.5 v1.5.5 2020-12-14 15:18:36 +05:30
Shivam Mishra
d5706a501b
Merge pull request #315 from 418sec/1-npm-frappe-charts 2020-12-14 14:18:10 +05:30
Shivam Mishra
6fce4d6665 chore: bump to 1.5.4 1.5.4 2020-11-30 12:34:47 +05:30
Shivam Mishra
e04b8f7013
Merge pull request #311 from ading-be/#310
- Adjust getColor to support RGB (TODO: HSL colors)
2020-11-26 19:43:57 +05:30
Bart Van Houtte
1547a85a79
Merge branch 'master' into #310 2020-11-26 14:50:45 +01:00
Jamie Slome
2fb0609a02
Merge pull request #1 from arjunshibu/master
Security fix for Cross-Site Scripting Vulnerability in frappe-charts
2020-11-16 16:14:44 +00:00
Arjun Shibu
d07157354d
added XSS protection for datasets.name field 2020-11-11 11:36:59 +05:30
Shivam Mishra
92a3df9690 chore: bump to 1.5.3 and update build 1.5.3 2020-11-05 11:13:20 +05:30
Shivam Mishra
25122f974f chore: update yarn lock 2020-11-05 11:10:43 +05:30
Shivam Mishra
d1123786cb fix: rounding precision errors in aggregation chart legend 2020-11-05 11:10:30 +05:30
Bart Van Houtte
c5de1fd06c - Fix tests 2020-10-23 16:58:29 +02:00
Bart Van Houtte
cf7ffa0d2d - Fix build on backwards compatibility tooltipOptions 2020-10-13 16:03:44 +02:00
Bart Van Houtte
b552cde7de - Build 2020-10-13 15:52:39 +02:00
Bart Van Houtte
869c747be1 - Adjust getColor to support RGB (TODO: HSL colors)
- Add Test to verify changes
2020-10-13 15:45:08 +02:00
Shivam Mishra
f644e19a5b
Merge pull request #309 from SaiFi0102/AggregateChart-Formatter
fix(AggregationChart): Formatter not being applied
2020-10-09 17:13:57 +05:30
Saif Ur Rehman
cec719dbe8 fix(AggregationChart): Formatter not being applied
(ex PercentageChart in AR/AP erpnext)
2020-10-07 22:04:45 +05:00
ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎
f59de5f11e
chore: update readme 2020-09-16 12:47:46 +05:30
Shivam Mishra
6e687cd1cd
Merge pull request #306 from silvestrevivo/master
reverse array when maxValue < absMinValue
2020-09-16 12:45:26 +05:30