Commit graph

560 commits

Author SHA1 Message Date
Rodrigo Fernandes
006d82c02b
clean: Improve README with suggestions 2021-04-04 12:29:44 +01:00
Rodrigo Fernandes
8fc491c499
Merge pull request #378 from charguer/update-readme-with-plain-html-example
Update readme with fully worked-out plain html example
2021-04-04 12:00:18 +01:00
charguer
794bdb2e1c Update readme with fully worked-out plain html example 2021-03-31 16:26:34 +02:00
Rodrigo Fernandes
642b000ad4
Merge pull request #374 from rtfpessoa/dependabot/npm_and_yarn/y18n-4.0.1
build(deps): [security] bump y18n from 4.0.0 to 4.0.1
2021-03-30 22:49:11 +01:00
dependabot-preview[bot]
ba257b53dc
build(deps): [security] bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 17:21:08 +00:00
Rodrigo Fernandes
084eb408dd
Merge pull request #369 from huggingface/diff-max-line-length
feature: `diffMaxLineLength` to mark file diff as too big depending on diff line length
2021-03-16 09:26:26 +00:00
Pierric Cistac
bf7b52ad30
regroup handling of diffMaxLineLength and diffMaxChanges in parser 2021-03-11 18:17:33 -05:00
Pierric Cistac
a4e619efa4
feature: new diffMaxLineLength
Mark a file diff as too big if diff line length > threshold
2021-03-11 18:10:14 -05:00
Rodrigo Fernandes
51d19ebc2e
Merge pull request #367 from rtfpessoa/dependabot/npm_and_yarn/elliptic-6.5.4
build(deps): [security] bump elliptic from 6.5.3 to 6.5.4
2021-03-08 20:43:10 +00:00
dependabot-preview[bot]
32b7cfc5d1
build(deps): [security] bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 16:27:03 +00:00
Rodrigo Fernandes
38a9d8f93e
Merge pull request #365 from huggingface/diff-max-lines
feature: bypass parsing/rendering of file diff if specific threshold is crossed
2021-03-04 22:41:02 +00:00
Rodrigo Fernandes
e55d145036
Merge pull request #366 from huggingface/fix-viewed-checkbox
fix: only display "Viewed" checkbox if `fileContentToggle` is set
2021-03-04 22:40:24 +00:00
Pierric Cistac
7668889493
fix: only display "Viewed" checkbox if fileContentToggle is set 2021-03-01 17:17:08 -05:00
Pierric Cistac
a65a3b9562
update tests 2021-03-01 16:05:12 -05:00
Pierric Cistac
08f14e2db1
rm package-lock.json 2021-03-01 14:54:03 -05:00
Pierric Cistac
f220ca11e4
move everything inside parser 2021-03-01 14:48:12 -05:00
Pierric Cistac
b057c6f308
fix: URLParams typing in demo with new diffTooBigMessage option 2021-02-25 15:30:09 -05:00
Pierric Cistac
9aa2ea924e
doc: add diffMaxChanges and diffTooBigMessage in readme 2021-02-25 15:30:09 -05:00
Pierric Cistac
5915ecdaa1
feature: display message instead of diff if isTooBig is true
A default `Diff too big to be displayed` message is rendered for any file diff where `isTooBig` is `true`.

A new `diffTooBigMessage` option in render config allows to fully customize the message and receives the file index in the diff as an argument. It can be used to render a link to the raw file diff for example.
2021-02-25 14:08:18 -05:00
Pierric Cistac
ea9c1fee48
feature: new diffMaxChanges in parser config
If `diffMaxChanges` is set in parser config, and its value is exceeded for a given file diff, then parsing for this file is stopped, and `isTooBig` is set to `true` in the `DiffFile`
2021-02-25 14:02:43 -05:00
Rodrigo Fernandes
f046d183df
Merge pull request #360 from xlith/fix/space-in-side-by-side-display
fix: remove unnesesary height property in d2h-files-diff class
2021-02-20 11:48:43 +00:00
Civan Yavuzsen
9e831469a5 fix: remove unnesesary height property in d2h-files-diff class 2021-02-07 03:27:57 +03:00
Rodrigo Fernandes
c3d7df3bc5
Merge pull request #358 from mrfyda/feature/collapse-viewed
feature: Hide viewed files
2021-01-24 00:57:32 +00:00
Rafael Cortês
242fc5ae7b
feature: Add selected state style 2021-01-23 22:32:50 +00:00
Rafael Cortês
49bf898e0e
clean: Refactor font style 2021-01-23 22:18:03 +00:00
Rafael Cortês
8ee76bf44b
clean: Refactor function to toggle file contents 2021-01-23 22:16:25 +00:00
Rafael Cortês
316803df77
feature: Hide viewed files 2021-01-23 15:07:14 +00:00
Rodrigo Fernandes
c178c2e91e
Merge pull request #353 from rtfpessoa/dependabot/npm_and_yarn/node-notifier-8.0.1
build(deps): [security] bump node-notifier from 8.0.0 to 8.0.1
2020-12-22 09:06:25 +00:00
dependabot-preview[bot]
cc9d262086
build(deps): [security] bump node-notifier from 8.0.0 to 8.0.1
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 16:56:56 +00:00
Rodrigo Fernandes
e56b2b0980
Merge pull request #352 from rtfpessoa/dependabot/npm_and_yarn/ini-1.3.7
build(deps): [security] bump ini from 1.3.5 to 1.3.7
2020-12-10 17:40:44 +00:00
dependabot-preview[bot]
73c87c1972
build(deps): [security] bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 17:34:12 +00:00
Rodrigo Fernandes
640935927e
Merge pull request #351 from rtfpessoa/dependabot/npm_and_yarn/highlight.js-10.4.1
build(deps): [security] bump highlight.js from 10.2.1 to 10.4.1
2020-12-08 17:52:29 +00:00
dependabot-preview[bot]
59474646cb
build(deps): [security] bump highlight.js from 10.2.1 to 10.4.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.2.1 to 10.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.2.1...10.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-04 16:56:29 +00:00
Rodrigo Fernandes
1f261e6bbf
Merge pull request #348 from rtfpessoa/only-allow-selection-line-content
fix: Only allow selection line content instead of parent element
2020-10-29 09:46:20 +00:00
Rodrigo Fernandes
33076dc13e
fix: Add review suggestions 2020-10-29 09:01:09 +00:00
Rodrigo Fernandes
2d4c293a27
fix: Only allow selection line content instead of parent element 2020-10-27 20:06:45 +00:00
Rodrigo Fernandes
e48259d990
Merge pull request #341 from rtfpessoa/bump-dependencies
Bump dependencies
2020-10-16 22:31:46 +01:00
Rodrigo Fernandes
98db156d30
bump: Update dependencies 2020-10-16 22:24:06 +01:00
Rodrigo Fernandes
908272a00f
fix: Remove cors proxy 2020-10-16 22:07:04 +01:00
Rodrigo Fernandes
275d09972f
Merge pull request #337 from rtfpessoa/bump-dependencies
bump: Update dependencies
2020-09-05 17:46:02 +01:00
Rodrigo Fernandes
27bfd3c987
bump: Update dependencies 2020-09-04 19:21:39 +01:00
Rodrigo Fernandes
739751a021
Merge pull request #334 from rtfpessoa/bump-dependencies
bump: Update dependencies
2020-08-15 15:20:58 +01:00
Rodrigo Fernandes
426d9ed2a5
bump: Update dependencies 2020-08-15 15:09:15 +01:00
Rodrigo Fernandes
ed506ef091
Merge pull request #332 from rtfpessoa/dependabot/npm_and_yarn/elliptic-6.5.3
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3
2020-07-30 13:06:58 +01:00
dependabot-preview[bot]
235dbb153f
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 21:10:02 +00:00
Rodrigo Fernandes
4162188f80
Merge pull request #329 from rtfpessoa/fix-escaping-long-lines
fix: Enforce escape for lines that are not highlighted
2020-07-26 14:01:11 +01:00
Rodrigo Fernandes
a61c7cfd43
fix: Enforce escape for lines that are not highlighted 2020-07-26 13:56:26 +01:00
Rodrigo Fernandes
c7c56bca03
Merge pull request #326 from rtfpessoa/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): bump lodash from 4.17.15 to 4.17.19
2020-07-24 12:21:52 +01:00
dependabot[bot]
d410c1ac22
build(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 23:50:54 +00:00
Rodrigo Fernandes
8462e52b30
Merge pull request #325 from campersau/escape_header
escape diff headers for html
2020-06-30 18:57:29 +01:00