Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Settings encryption #25

Merged
merged 16 commits into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,23 @@ data.json
# Exclude macOS Finder (System Explorer) View States
.DS_Store
/cp-js2cortex.bat
ncryption
data_bkp_231023.json
*.html
*.xml
coverage/lcov.info
coverage/lcov-report/badges.ts.html
coverage/lcov-report/constants.ts.html
coverage/lcov-report/creatmodchartcalculation.ts.html
coverage/lcov-report/index.html
coverage/lcov-report/levels.ts.html
coverage/lcov-report/main.ts.html
coverage/lcov-report/majuritycalculation.ts.html
coverage/lcov-report/randomNotificationText.ts.html
coverage/lcov-report/utils.ts.html
coverage/clover.xml
coverage/coverage-final.json
coverage/lcov-report/encryption.ts.html
coverage/lcov-report/ModalBooster.ts.html
coverage/lcov-report/ModalInformationbox.ts.html
coverage/lcov-report/MultiSelectModal.ts.html
coverage/lcov-report/MultiSelectModal.ts.html
1,296 changes: 854 additions & 442 deletions coverage/clover.xml

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion coverage/lcov-report/badges.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ <h1><a href="index.html">All files</a> badges.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-24T20:06:49.021Z
at 2023-10-28T21:04:35.415Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
256 changes: 248 additions & 8 deletions coverage/lcov-report/constants.ts.html

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions coverage/lcov-report/creatmodchartcalculation.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ <h1><a href="index.html">All files</a> creatmodchartcalculation.ts</h1>
<a name='L110'></a><a href='#L110'>110</a>
<a name='L111'></a><a href='#L111'>111</a>
<a name='L112'></a><a href='#L112'>112</a>
<a name='L113'></a><a href='#L113'>113</a>
<a name='L114'></a><a href='#L114'>114</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<a name='L113'></a><a href='#L113'>113</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-no">&nbsp;</span>
Expand Down Expand Up @@ -253,7 +252,6 @@ <h1><a href="index.html">All files</a> creatmodchartcalculation.ts</h1>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -366,7 +364,6 @@ <h1><a href="index.html">All files</a> creatmodchartcalculation.ts</h1>
monatsbegrenzung = countsStringMod.split(',').length - chartReduzierungMonate
}

//const monatsbegrenzung = lengthcountsStringCreate - this.settings.chartReduzierungMonate
return "```chart\ntype: bar\nlabels: [" + y_axis + "]\nseries:\n - title: modified\n data: [" + countsStringMod + "]\ntension: 0.2\nwidth: 80 %\nlabelColors: false\nfill: false\nbeginAtZero: false\nbestFit: false\nbestFitTitle: undefined\nbestFitNumber: 0\nstacked: true\nyTitle: \"Number of Notes\"\nxTitle: \"Months\"\nxMin: " + monatsbegrenzung + "\n```";
}
&nbsp;
Expand Down Expand Up @@ -409,7 +406,7 @@ <h1><a href="index.html">All files</a> creatmodchartcalculation.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-24T20:06:49.021Z
at 2023-10-28T21:04:35.415Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
105 changes: 75 additions & 30 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">6.53% </span>
<span class="strong">4.7% </span>
<span class="quiet">Statements</span>
<span class='fraction'>68/1040</span>
<span class='fraction'>68/1445</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">3.65% </span>
<span class="strong">2.55% </span>
<span class="quiet">Branches</span>
<span class='fraction'>13/356</span>
<span class='fraction'>13/508</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">6.92% </span>
<span class="strong">4.89% </span>
<span class="quiet">Functions</span>
<span class='fraction'>9/130</span>
<span class='fraction'>9/184</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">6.38% </span>
<span class="strong">4.57% </span>
<span class="quiet">Lines</span>
<span class='fraction'>65/1018</span>
<span class='fraction'>65/1421</span>
</div>


Expand Down Expand Up @@ -79,6 +79,51 @@ <h1>All files</h1>
</tr>
</thead>
<tbody><tr>
<td class="file low" data-value="ModalBooster.ts"><a href="ModalBooster.ts.html">ModalBooster.ts</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="25" class="abs low">0/25</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="5" class="abs low">0/5</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="25" class="abs low">0/25</td>
</tr>

<tr>
<td class="file low" data-value="ModalInformationbox.ts"><a href="ModalInformationbox.ts.html">ModalInformationbox.ts</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="8" class="abs low">0/8</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="3" class="abs low">0/3</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="8" class="abs low">0/8</td>
</tr>

<tr>
<td class="file low" data-value="MultiSelectModal.ts"><a href="MultiSelectModal.ts.html">MultiSelectModal.ts</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="236" class="abs low">0/236</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="70" class="abs low">0/70</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="45" class="abs low">0/45</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="235" class="abs low">0/235</td>
</tr>

<tr>
<td class="file high" data-value="badges.ts"><a href="badges.ts.html">badges.ts</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
Expand All @@ -99,13 +144,13 @@ <h1>All files</h1>
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="5" class="abs low">0/5</td>
<td data-value="18" class="abs low">0/18</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="5" class="abs low">0/5</td>
<td data-value="18" class="abs low">0/18</td>
</tr>

<tr>
Expand All @@ -123,6 +168,21 @@ <h1>All files</h1>
<td data-value="62" class="abs low">17/62</td>
</tr>

<tr>
<td class="file low" data-value="encryption.ts"><a href="encryption.ts.html">encryption.ts</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="18" class="abs low">0/18</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="7" class="abs low">0/7</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="18" class="abs low">0/18</td>
</tr>

<tr>
<td class="file medium" data-value="levels.ts"><a href="levels.ts.html">levels.ts</a></td>
<td data-value="57.14" class="pic medium">
Expand All @@ -144,13 +204,13 @@ <h1>All files</h1>
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="591" class="abs low">0/591</td>
<td data-value="745" class="abs low">0/745</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="171" class="abs low">0/171</td>
<td data-value="253" class="abs low">0/253</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="59" class="abs low">0/59</td>
<td data-value="75" class="abs low">0/75</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="579" class="abs low">0/579</td>
<td data-value="732" class="abs low">0/732</td>
</tr>

<tr>
Expand Down Expand Up @@ -183,21 +243,6 @@ <h1>All files</h1>
<td data-value="15" class="abs high">15/15</td>
</tr>

<tr>
<td class="file low" data-value="settings.ts"><a href="settings.ts.html">settings.ts</a></td>
<td data-value="0" class="pic low">
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="49" class="abs low">0/49</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="0" class="abs high">0/0</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="22" class="abs low">0/22</td>
<td data-value="0" class="pct low">0%</td>
<td data-value="49" class="abs low">0/49</td>
</tr>

<tr>
<td class="file low" data-value="utils.ts"><a href="utils.ts.html">utils.ts</a></td>
<td data-value="0" class="pic low">
Expand All @@ -221,7 +266,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-24T20:06:49.021Z
at 2023-10-28T21:04:35.415Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/levels.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ <h1><a href="index.html">All files</a> levels.ts</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-09-24T20:06:49.021Z
at 2023-10-28T21:04:35.415Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
Loading