Compare commits
199 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aec09a6890 | ||
![]() |
8e557c608e | ||
![]() |
991a678788 | ||
![]() |
b88d6131c5 | ||
![]() |
c25ae2ad0f | ||
![]() |
2abab27d5c | ||
![]() |
a91f8b6c5c | ||
![]() |
83d37d943f | ||
![]() |
81ca11a955 | ||
![]() |
931f79ac16 | ||
![]() |
2ab84ef4af | ||
![]() |
056d1af9d0 | ||
![]() |
34f5f2f6c8 | ||
![]() |
6d32161312 | ||
![]() |
df6914d1e0 | ||
![]() |
6f277e7b33 | ||
![]() |
7ffcf1c82b | ||
![]() |
c6e27c35c8 | ||
![]() |
a6f82b4541 | ||
![]() |
d533abada5 | ||
![]() |
4393aada3e | ||
![]() |
559fbe65c3 | ||
![]() |
803dab0fb5 | ||
![]() |
ca377a6684 | ||
![]() |
188233cc81 | ||
![]() |
408b4eed90 | ||
![]() |
b456e56789 | ||
![]() |
9225732c1a | ||
![]() |
e9601e8d13 | ||
![]() |
b1ded11fa5 | ||
![]() |
978929ba48 | ||
![]() |
7e337c4a40 | ||
![]() |
62c9719a77 | ||
![]() |
2b48b64f2f | ||
![]() |
799b896bfe | ||
![]() |
8a5db88225 | ||
![]() |
cc65c56042 | ||
![]() |
0a4df01354 | ||
![]() |
25945b8b3b | ||
![]() |
9921a4db52 | ||
![]() |
2c6530f3b0 | ||
![]() |
f158191e52 | ||
![]() |
a7f2ae91a7 | ||
![]() |
49e1b709f7 | ||
![]() |
59c903b635 | ||
![]() |
c9d599216d | ||
![]() |
8fa3a75a63 | ||
![]() |
e31d1edb99 | ||
![]() |
915cad8c85 | ||
![]() |
7bd6c0dd09 | ||
![]() |
0aa8e886ce | ||
![]() |
1334b266b9 | ||
![]() |
9566c9a719 | ||
![]() |
0643701c4a | ||
![]() |
4d86c25411 | ||
![]() |
ad02740d8a | ||
![]() |
0b95669db0 | ||
![]() |
4aefbcb8b9 | ||
![]() |
56129253d9 | ||
![]() |
7613629d87 | ||
![]() |
fb0eab00c2 | ||
![]() |
5b8c3b9b11 | ||
![]() |
700f76679a | ||
![]() |
e7d731bb04 | ||
![]() |
49637fcc3b | ||
![]() |
fc25d7ea93 | ||
![]() |
cca6579274 | ||
![]() |
7dbf93fe7b | ||
![]() |
b46ab8db51 | ||
![]() |
a19519fa73 | ||
![]() |
4a3f36d38b | ||
![]() |
4ae02fc07b | ||
![]() |
047fca32bf | ||
![]() |
abbff449c0 | ||
![]() |
fba668860b | ||
![]() |
acb196d9c2 | ||
![]() |
dfa3a21e6b | ||
![]() |
7ff6bccbc4 | ||
![]() |
88e5b80778 | ||
![]() |
d127431396 | ||
![]() |
588703ecd6 | ||
![]() |
223c9b641a | ||
![]() |
7db34d6517 | ||
![]() |
13901d17ab | ||
![]() |
19bc9005e9 | ||
![]() |
7c86a325d9 | ||
![]() |
d203b521c1 | ||
![]() |
0afa59fb66 | ||
![]() |
470a08f4bc | ||
![]() |
50c5940a0a | ||
![]() |
35f64eec1b | ||
![]() |
e25f9f4aae | ||
![]() |
a86dbf9dac | ||
![]() |
026bfcba78 | ||
![]() |
3b66824c58 | ||
![]() |
898a9a0935 | ||
![]() |
7aa342cf9c | ||
![]() |
f173283a66 | ||
![]() |
4f69b5cdcc | ||
![]() |
744858df81 | ||
![]() |
f172e31250 | ||
![]() |
7530cf8006 | ||
![]() |
33223934e3 | ||
![]() |
f2731c49dd | ||
![]() |
227bc30dde | ||
![]() |
7b39fe79c8 | ||
![]() |
fcbda1e33d | ||
![]() |
42ac04b02c | ||
![]() |
7cd05cb1d8 | ||
![]() |
1b2d25e171 | ||
![]() |
675a718107 | ||
![]() |
a8f5897364 | ||
![]() |
5120c8177b | ||
![]() |
f2d97b4e7e | ||
![]() |
197e061bc5 | ||
![]() |
d1a6b418d5 | ||
![]() |
e9c79b192b | ||
![]() |
52c56757ca | ||
![]() |
559af0ddd8 | ||
![]() |
cd1b3ce1ed | ||
![]() |
5273a25385 | ||
![]() |
3089609c19 | ||
![]() |
e1f62342d9 | ||
![]() |
9313ac1abf | ||
7a632c8f80 | |||
7f9a0e5b1e | |||
![]() |
b0a3f796cb | ||
![]() |
97521f174a | ||
432d5e49d5 | |||
b2c8f2e0f4 | |||
23011568b7 | |||
078f9535cf | |||
![]() |
ea481187d5 | ||
![]() |
810caaf8e2 | ||
![]() |
d290d9b4e3 | ||
![]() |
abb12accc7 | ||
2779e5b7c7 | |||
3970d485f6 | |||
![]() |
7b888cc4a2 | ||
![]() |
117513d6bf | ||
97511ab290 | |||
3131eca8a1 | |||
91a5507217 | |||
7d904b7120 | |||
![]() |
be72fc4f7e | ||
![]() |
ecba11a9a9 | ||
![]() |
65f2e529f4 | ||
![]() |
29e7b22953 | ||
![]() |
a61d4573a6 | ||
![]() |
ce127f55c8 | ||
![]() |
c982a177f7 | ||
![]() |
401630da1e | ||
a8f8715648 | |||
![]() |
a8a3cd5437 | ||
75e18c859c | |||
c33120ec18 | |||
ec0372accd | |||
aa0b21dd31 | |||
ed766848be | |||
c73ce18368 | |||
d996209888 | |||
00278b8710 | |||
10a4941b26 | |||
c3b8c97eea | |||
8e690747e2 | |||
![]() |
53a54252e3 | ||
278b2759d5 | |||
e495a1c2e7 | |||
536bddf442 | |||
a0d1c82afa | |||
473a3700a7 | |||
![]() |
82ef424365 | ||
7e642e3b73 | |||
d32f312d60 | |||
699452667c | |||
![]() |
fa3d38db18 | ||
dd1e128e17 | |||
d247aa8334 | |||
5f995a10c1 | |||
![]() |
b89998c053 | ||
d10f617910 | |||
1b439a4960 | |||
![]() |
5cf4ff3012 | ||
46c8429cde | |||
8cd3801897 | |||
b47d7fb69b | |||
52e08d8c98 | |||
ad0d8d6c97 | |||
5b31d3ff72 | |||
2bbd931b1a | |||
8c09d266e8 | |||
a11d209280 | |||
![]() |
e95e62f184 | ||
![]() |
84e7afc819 | ||
![]() |
c82d6d001d | ||
d5b7845242 | |||
9de9ae54da | |||
6548d1d9c1 | |||
54ad395d13 |
2
.gitignore
vendored
@@ -37,3 +37,5 @@ Translation/TrlUtil.vshost.exe.manifest
|
|||||||
packages/
|
packages/
|
||||||
project.lock.json
|
project.lock.json
|
||||||
AppPackages/
|
AppPackages/
|
||||||
|
BundleArtifacts/
|
||||||
|
*.DotSettings
|
674
LICENSE
Normal file
@@ -0,0 +1,674 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
{project} Copyright (C) {year} {fullname}
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
52
ModernKeePass.Shared/ModernKeePass.Shared.csproj
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{A3354969-5AAC-4075-8CBF-EA4805B59EFA}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>ModernKeePass.Shared</RootNamespace>
|
||||||
|
<AssemblyName>ModernKeePass.Shared</AssemblyName>
|
||||||
|
<DefaultLanguage>en-US</DefaultLanguage>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
|
<TargetFrameworkProfile>
|
||||||
|
</TargetFrameworkProfile>
|
||||||
|
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- A reference to the entire .NET Framework is automatically included -->
|
||||||
|
<None Include="project.json" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
30
ModernKeePass.Shared/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
using System.Resources;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("ModernKeePass.Shared")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("ModernKeePass.Shared")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
[assembly: NeutralResourcesLanguage("en")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
10
ModernKeePass.Shared/project.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"supports": {},
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
|
||||||
|
"NETStandard.Library": "1.6.0"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"netstandard1.2": {}
|
||||||
|
}
|
||||||
|
}
|
@@ -3,14 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio 14
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 14.0.25420.1
|
VisualStudioVersion = 14.0.25420.1
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePass", "ModernKeePass\ModernKeePass.csproj", "{A0CFC681-769B-405A-8482-0CDEE595A91F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePass.App", "ModernKeePass\ModernKeePass.App.csproj", "{A0CFC681-769B-405A-8482-0CDEE595A91F}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePassLib", "ModernKeePassLib\ModernKeePassLib.csproj", "{2E710089-9559-4967-846C-E763DD1F3ACB}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePass.Lib", "ModernKeePassLib\ModernKeePass.Lib.csproj", "{2E710089-9559-4967-846C-E763DD1F3ACB}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePassLib.Test", "ModernKeePassLib.Test\ModernKeePassLib.Test.csproj", "{067456C0-086C-46A8-B37F-1405717B7BFC}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePass.LibTest", "ModernKeePassLib.Test\ModernKeePass.LibTest.csproj", "{0A4279CF-2A67-4868-9906-052E50C25F3B}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
EndProject
|
||||||
{2E710089-9559-4967-846C-E763DD1F3ACB} = {2E710089-9559-4967-846C-E763DD1F3ACB}
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePass.AppTest", "ModernKeePassApp.Test\ModernKeePass.AppTest.csproj", "{7E80F5E7-724A-4668-9333-B10F5D75C6D0}"
|
||||||
EndProjectSection
|
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -64,22 +63,54 @@ Global
|
|||||||
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x64.Build.0 = Release|Any CPU
|
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x86.ActiveCfg = Release|Any CPU
|
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x86.Build.0 = Release|Any CPU
|
{2E710089-9559-4967-846C-E763DD1F3ACB}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|ARM.Build.0 = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|ARM.Build.0 = Debug|ARM
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|x64.Build.0 = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Debug|x86.Build.0 = Debug|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x64.Build.0 = Debug|x64
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x64.Deploy.0 = Debug|x64
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|Any CPU.Build.0 = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|ARM.ActiveCfg = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x86.Build.0 = Debug|x86
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|ARM.Build.0 = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Debug|x86.Deploy.0 = Debug|x86
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|x64.ActiveCfg = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|x64.Build.0 = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|x86.ActiveCfg = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||||
{067456C0-086C-46A8-B37F-1405717B7BFC}.Release|x86.Build.0 = Release|Any CPU
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|ARM.ActiveCfg = Release|ARM
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|ARM.Build.0 = Release|ARM
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|ARM.Deploy.0 = Release|ARM
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x64.Deploy.0 = Release|x64
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x86.Build.0 = Release|x86
|
||||||
|
{0A4279CF-2A67-4868-9906-052E50C25F3B}.Release|x86.Deploy.0 = Release|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|ARM.Build.0 = Debug|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x64.Deploy.0 = Debug|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Debug|x86.Deploy.0 = Debug|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|ARM.ActiveCfg = Release|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|ARM.Build.0 = Release|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|ARM.Deploy.0 = Release|ARM
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x64.Deploy.0 = Release|x64
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x86.Build.0 = Release|x86
|
||||||
|
{7E80F5E7-724A-4668-9333-B10F5D75C6D0}.Release|x86.Deploy.0 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
1
ModernKeePass/.gitignore
vendored
@@ -34,3 +34,4 @@ Translation/TrlUtil.vshost.exe.manifest
|
|||||||
*.nupkg
|
*.nupkg
|
||||||
.vs/
|
.vs/
|
||||||
/UpgradeLog.htm
|
/UpgradeLog.htm
|
||||||
|
ModernKeePass_StoreKey.pfx
|
1
ModernKeePass/.sonarqube/conf/0/ProjectOutFolderPath.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\out\0
|
171
ModernKeePass/.sonarqube/conf/SonarQubeAnalysisConfig.xml
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<AnalysisConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sonarsource.com/msbuild/integration/2015/1">
|
||||||
|
<SonarConfigDir>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\conf</SonarConfigDir>
|
||||||
|
<SonarOutputDir>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\out</SonarOutputDir>
|
||||||
|
<SonarBinDir>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\bin</SonarBinDir>
|
||||||
|
<SonarScannerWorkingDirectory>C:\Sources\Other\ModernKeePass\ModernKeePass</SonarScannerWorkingDirectory>
|
||||||
|
<HasBeginStepCommandLineCredentials>true</HasBeginStepCommandLineCredentials>
|
||||||
|
<SonarQubeHostUrl>https://sonarcloud.io</SonarQubeHostUrl>
|
||||||
|
<SonarQubeVersion>7.2.0.12953</SonarQubeVersion>
|
||||||
|
<SonarProjectKey>ModernKeePass</SonarProjectKey>
|
||||||
|
<AdditionalConfig>
|
||||||
|
<ConfigSetting Id="BuildUri" />
|
||||||
|
<ConfigSetting Id="TfsUri" />
|
||||||
|
<ConfigSetting Id="settings.file.path" Value="c:\sonar\SonarQube.Analysis.xml" />
|
||||||
|
</AdditionalConfig>
|
||||||
|
<ServerSettings>
|
||||||
|
<Property Name="sonaranalyzer-cs.nuget.packageVersion">7.1.0.5212</Property>
|
||||||
|
<Property Name="sonar.editions.jsonUrl">https://update.sonarsource.org/editions.json</Property>
|
||||||
|
<Property Name="sonar.cs.ignoreHeaderComments">true</Property>
|
||||||
|
<Property Name="sonar.cfamily.useSema">true</Property>
|
||||||
|
<Property Name="sonar.c.file.suffixes">.c,.h</Property>
|
||||||
|
<Property Name="sonar.typescript.file.suffixes">.ts,.tsx</Property>
|
||||||
|
<Property Name="email.fromName">SonarQube</Property>
|
||||||
|
<Property Name="sonar.python.xunit.skipDetails">false</Property>
|
||||||
|
<Property Name="sonar.auth.bitbucket.loginStrategy">Unique</Property>
|
||||||
|
<Property Name="sonar.plsql.jdbc.driver.class">oracle.jdbc.OracleDriver</Property>
|
||||||
|
<Property Name="sonar.go.exclusions">**/vendor/**</Property>
|
||||||
|
<Property Name="sonar.forceAuthentication">false</Property>
|
||||||
|
<Property Name="sonar.notifications.delay">60</Property>
|
||||||
|
<Property Name="sonar.cpp.file.suffixes">.cc,.cpp,.cxx,.c++,.hh,.hpp,.hxx,.h++,.ipp</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.ruleNamespace">SonarAnalyzer.CSharp</Property>
|
||||||
|
<Property Name="sonar.web.file.suffixes">.html,.xhtml,.rhtml,.shtml</Property>
|
||||||
|
<Property Name="sonar.builtInQualityProfiles.disableNotificationOnUpdate">false</Property>
|
||||||
|
<Property Name="sonar.java.failOnException">false</Property>
|
||||||
|
<Property Name="sonar.organizations.createPersonalOrg">true</Property>
|
||||||
|
<Property Name="sonar.cpd.abap.minimumTokens">100</Property>
|
||||||
|
<Property Name="sonar.jacoco.reportPaths">target/jacoco.exec, target/jacoco-it.exec</Property>
|
||||||
|
<Property Name="sonar.cpd.cross_project">false</Property>
|
||||||
|
<Property Name="sonar.vbnet.ignoreHeaderComments">true</Property>
|
||||||
|
<Property Name="sonar.leak.period">30</Property>
|
||||||
|
<Property Name="sonar.auth.github.groupsSync">false</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.daysBeforeDeletingInactiveShortLivingBranches">30</Property>
|
||||||
|
<Property Name="sonar.auth.github.loginStrategy">Unique</Property>
|
||||||
|
<Property Name="sonar.auth.microsoft.enabled">true</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.ruleNamespace">SonarAnalyzer.VisualBasic</Property>
|
||||||
|
<Property Name="sonar.auth.microsoft.allowsUsersToSignUp">true</Property>
|
||||||
|
<Property Name="sonar.javascript.ignoreHeaderComments">true</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.daysBeforeDeletingClosedIssues">730</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth">4</Property>
|
||||||
|
<Property Name="sonar.lf.gravatarServerUrl">https://secure.gravatar.com/avatar/{EMAIL_MD5}.jpg?s={SIZE}&d=identicon</Property>
|
||||||
|
<Property Name="sonar.notifications.runningDelayBeforeReportingStatus">600</Property>
|
||||||
|
<Property Name="sonar.javascript.environments">amd, applescript, atomtest, browser, commonjs, couch, embertest, flow, greasemonkey, jasmine, jest, jquery, meteor, mocha, mongo, nashorn, node, phantomjs, prototypejs, protractor, qunit, rhino, serviceworker, shared-node-browser, shelljs, webextensions, worker, wsh, yui</Property>
|
||||||
|
<Property Name="sonar.scm.disabled">false</Property>
|
||||||
|
<Property Name="sonar.typescript.exclusions">**/node_modules/**,**/bower_components/**</Property>
|
||||||
|
<Property Name="sonar.vbnet.file.suffixes">.vb</Property>
|
||||||
|
<Property Name="sonar.abap.file.suffixes">.abap,.ab4,.flow,.asprog</Property>
|
||||||
|
<Property Name="sonar.cfamily.ignoreHeaderComments">true</Property>
|
||||||
|
<Property Name="sonar.technicalDebt.developmentCost">30</Property>
|
||||||
|
<Property Name="sonar.python.file.suffixes">py</Property>
|
||||||
|
<Property Name="sonar.cs.file.suffixes">.cs</Property>
|
||||||
|
<Property Name="sonar.plsql.file.suffixes">sql,tab,pkb</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.staticResourceName">SonarAnalyzer-7.1.0.5212.zip</Property>
|
||||||
|
<Property Name="sonar.java.file.suffixes">.java,.jav</Property>
|
||||||
|
<Property Name="sonar.php.file.suffixes">php,php3,php4,php5,phtml,inc</Property>
|
||||||
|
<Property Name="sonar.xml.file.suffixes">.xml,.xsd,.xsl</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.weeksBeforeDeletingAllSnapshots">480</Property>
|
||||||
|
<Property Name="sonar.auth.bitbucket.allowUsersToSignUp">true</Property>
|
||||||
|
<Property Name="sonar.auth.github.enabled">true</Property>
|
||||||
|
<Property Name="sonar.javascript.jQueryObjectAliases">$, jQuery</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.nuget.packageVersion">7.1.0.5212</Property>
|
||||||
|
<Property Name="sonar.go.file.suffixes">.go</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.weeksBeforeKeepingOnlyAnalysesWithVersion">104</Property>
|
||||||
|
<Property Name="sonar.swift.file.suffixes">.swift</Property>
|
||||||
|
<Property Name="sonar.github.endpoint">https://api.github.com</Property>
|
||||||
|
<Property Name="sonar.plsql.ignoreHeaderComments">false</Property>
|
||||||
|
<Property Name="sonar.flex.file.suffixes">as</Property>
|
||||||
|
<Property Name="sonar.auth.github.apiUrl">https://api.github.com/</Property>
|
||||||
|
<Property Name="sonar.auth.github.allowUsersToSignUp">true</Property>
|
||||||
|
<Property Name="sonar.python.xunit.reportPath">xunit-reports/xunit-result-*.xml</Property>
|
||||||
|
<Property Name="sonar.javascript.globals">angular,goog,google,OpenLayers,d3,dojo,dojox,dijit,Backbone,moment,casper</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay">24</Property>
|
||||||
|
<Property Name="sonar.auth.bitbucket.enabled">true</Property>
|
||||||
|
<Property Name="sonar.javascript.exclusions">**/node_modules/**,**/bower_components/**</Property>
|
||||||
|
<Property Name="sonar.auth.github.webUrl">https://github.com/</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.cleanDirectory">true</Property>
|
||||||
|
<Property Name="sonar.onboardingTutorial.showToNewUsers">false</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.nuget.packageId">SonarAnalyzer.VisualBasic</Property>
|
||||||
|
<Property Name="email.from">noreply@sonarcloud.io</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.pluginVersion">7.1.0.5212</Property>
|
||||||
|
<Property Name="sonar.typescript.node">node</Property>
|
||||||
|
<Property Name="sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek">1</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.analyzerId">SonarAnalyzer.VisualBasic</Property>
|
||||||
|
<Property Name="email.prefix">[SonarCloud]</Property>
|
||||||
|
<Property Name="sonar.c.std">c11</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.pluginKey">csharp</Property>
|
||||||
|
<Property Name="sonar.cfamily.useCache">true</Property>
|
||||||
|
<Property Name="sonar.branch.longLivedBranches.regex">(branch|release)-.*</Property>
|
||||||
|
<Property Name="sonar.objc.file.suffixes">.m</Property>
|
||||||
|
<Property Name="sonar.go.coverage.reportPaths">coverage.out</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.staticResourceName">SonarAnalyzer-7.1.0.5212.zip</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.nuget.packageId">SonarAnalyzer.CSharp</Property>
|
||||||
|
<Property Name="sonar.auth.bitbucket.apiUrl">https://api.bitbucket.org/</Property>
|
||||||
|
<Property Name="sonar.authenticator.downcase">false</Property>
|
||||||
|
<Property Name="sonar.github.disableInlineComments">false</Property>
|
||||||
|
<Property Name="sonar.python.coverage.reportPath">coverage-reports/*coverage-*.xml</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.analyzerId">SonarAnalyzer.CSharp</Property>
|
||||||
|
<Property Name="sonar.organizations.anyoneCanCreate">true</Property>
|
||||||
|
<Property Name="sonar.technicalDebt.ratingGrid">0.05,0.1,0.2,0.5</Property>
|
||||||
|
<Property Name="sonar.lf.enableGravatar">true</Property>
|
||||||
|
<Property Name="sonar.preview.excludePlugins">devcockpit,pdfreport,governance,ldap,authaad,authgithub,authbitbucket,googleanalytics</Property>
|
||||||
|
<Property Name="sonaranalyzer-cs.pluginVersion">7.1.0.5212</Property>
|
||||||
|
<Property Name="sonar.javascript.file.suffixes">.js,.jsx,.vue</Property>
|
||||||
|
<Property Name="sonar.cpd.abap.minimumLines">20</Property>
|
||||||
|
<Property Name="sonaranalyzer-vbnet.pluginKey">vbnet</Property>
|
||||||
|
<Property Name="sonar.java.collectAnalysisErrors">true</Property>
|
||||||
|
<Property Name="sonar.updatecenter.url">https://update.sonarsource.org/update-center.properties</Property>
|
||||||
|
<Property Name="sonar.tsql.file.suffixes">.tsql</Property>
|
||||||
|
<Property Name="sonar.cpp.std">c++11</Property>
|
||||||
|
<Property Name="sonar.core.serverBaseURL">https://sonarcloud.io</Property>
|
||||||
|
<Property Name="sonar.lf.logoUrl">https://about.sonarcloud.io/images/SonarCloud-white-210px.png</Property>
|
||||||
|
<Property Name="sonar.lf.logoWidthPx">105</Property>
|
||||||
|
<Property Name="sonar.lf.aboutText"><div class="boxed-group" style="border: none; border-radius: 3px;">
|
||||||
|
<div class="boxed-group-inner clearfix" style="padding: 30px; border-radius: 3px; border: #e6e6e6 1px solid; background: #f3f3f3;">
|
||||||
|
<div style="overflow: hidden; line-height: 1.5; font-size: 16px;">
|
||||||
|
<p>
|
||||||
|
Analyze your open source and private projects on SonarCloud.
|
||||||
|
Select your <a href="https://about.sonarcloud.io">plan</a> and start improving.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div></Property>
|
||||||
|
<Property Name="sonar.core.id">AWHW8ct9-T_TB3XqouNu</Property>
|
||||||
|
<Property Name="sonar.core.startTime">07/06/2018 12:32:21</Property>
|
||||||
|
</ServerSettings>
|
||||||
|
<LocalSettings>
|
||||||
|
<Property Name="sonar.organization">geogeob</Property>
|
||||||
|
<Property Name="sonar.host.url">https://sonarcloud.io</Property>
|
||||||
|
</LocalSettings>
|
||||||
|
<AnalyzersSettings>
|
||||||
|
<AnalyzerSettings>
|
||||||
|
<Language>cs</Language>
|
||||||
|
<RuleSetFilePath>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\conf\SonarQubeRoslyn-cs.ruleset</RuleSetFilePath>
|
||||||
|
<AnalyzerAssemblyPaths>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\0\Google.Protobuf.dll</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\0\SonarAnalyzer.CSharp.dll</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\0\SonarAnalyzer.dll</Path>
|
||||||
|
</AnalyzerAssemblyPaths>
|
||||||
|
<AdditionalFilePaths>
|
||||||
|
<Path>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\conf\cs\SonarLint.xml</Path>
|
||||||
|
</AdditionalFilePaths>
|
||||||
|
</AnalyzerSettings>
|
||||||
|
<AnalyzerSettings>
|
||||||
|
<Language>vbnet</Language>
|
||||||
|
<RuleSetFilePath>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\conf\SonarQubeRoslyn-vbnet.ruleset</RuleSetFilePath>
|
||||||
|
<AnalyzerAssemblyPaths>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\SonarAnalyzer.VisualBasic.nuspec</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\[Content_Types].xml</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\analyzers\Google.Protobuf.dll</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\analyzers\SonarAnalyzer.dll</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\analyzers\SonarAnalyzer.VisualBasic.dll</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\package\services\metadata\core-properties\f124441cdae948bb922ac980ea59570c.psmdcp</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\tools\install.ps1</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\tools\uninstall.ps1</Path>
|
||||||
|
<Path>C:\Users\GBE\AppData\Local\Temp\.sonarqube\resources\1\_rels\.rels</Path>
|
||||||
|
</AnalyzerAssemblyPaths>
|
||||||
|
<AdditionalFilePaths>
|
||||||
|
<Path>C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\conf\vbnet\SonarLint.xml</Path>
|
||||||
|
</AdditionalFilePaths>
|
||||||
|
</AnalyzerSettings>
|
||||||
|
</AnalyzersSettings>
|
||||||
|
</AnalysisConfig>
|
348
ModernKeePass/.sonarqube/conf/SonarQubeRoslyn-cs.ruleset
Normal file
@@ -0,0 +1,348 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RuleSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="Rules for SonarQube" Description="This rule set was automatically generated from SonarQube" ToolsVersion="14.0">
|
||||||
|
<Rules AnalyzerId="SonarAnalyzer.CSharp" RuleNamespace="SonarAnalyzer.CSharp">
|
||||||
|
<Rule Id="S2589" Action="Warning" />
|
||||||
|
<Rule Id="S3433" Action="Warning" />
|
||||||
|
<Rule Id="S4061" Action="Warning" />
|
||||||
|
<Rule Id="S1121" Action="Warning" />
|
||||||
|
<Rule Id="S1854" Action="Warning" />
|
||||||
|
<Rule Id="S4457" Action="Warning" />
|
||||||
|
<Rule Id="S4456" Action="Warning" />
|
||||||
|
<Rule Id="S2278" Action="Warning" />
|
||||||
|
<Rule Id="S4211" Action="Warning" />
|
||||||
|
<Rule Id="S3923" Action="Warning" />
|
||||||
|
<Rule Id="S4426" Action="Warning" />
|
||||||
|
<Rule Id="S2486" Action="Warning" />
|
||||||
|
<Rule Id="S4433" Action="Warning" />
|
||||||
|
<Rule Id="S2758" Action="Warning" />
|
||||||
|
<Rule Id="S1751" Action="Warning" />
|
||||||
|
<Rule Id="S1871" Action="Warning" />
|
||||||
|
<Rule Id="S4586" Action="Warning" />
|
||||||
|
<Rule Id="S4581" Action="Warning" />
|
||||||
|
<Rule Id="S2737" Action="Warning" />
|
||||||
|
<Rule Id="S3400" Action="Warning" />
|
||||||
|
<Rule Id="S3649" Action="Warning" />
|
||||||
|
<Rule Id="S1144" Action="Warning" />
|
||||||
|
<Rule Id="S1264" Action="Warning" />
|
||||||
|
<Rule Id="S2201" Action="Warning" />
|
||||||
|
<Rule Id="S1118" Action="Warning" />
|
||||||
|
<Rule Id="S1006" Action="Warning" />
|
||||||
|
<Rule Id="S4214" Action="Warning" />
|
||||||
|
<Rule Id="S4210" Action="Warning" />
|
||||||
|
<Rule Id="S3241" Action="Warning" />
|
||||||
|
<Rule Id="S4428" Action="Warning" />
|
||||||
|
<Rule Id="S1048" Action="Warning" />
|
||||||
|
<Rule Id="S2183" Action="Warning" />
|
||||||
|
<Rule Id="S3168" Action="Warning" />
|
||||||
|
<Rule Id="S4220" Action="Warning" />
|
||||||
|
<Rule Id="S3261" Action="Warning" />
|
||||||
|
<Rule Id="S4260" Action="Warning" />
|
||||||
|
<Rule Id="S4159" Action="Warning" />
|
||||||
|
<Rule Id="S4277" Action="Warning" />
|
||||||
|
<Rule Id="S2583" Action="Warning" />
|
||||||
|
<Rule Id="S3440" Action="Warning" />
|
||||||
|
<Rule Id="S3776" Action="Warning" />
|
||||||
|
<Rule Id="S2326" Action="Warning" />
|
||||||
|
<Rule Id="S1116" Action="Warning" />
|
||||||
|
<Rule Id="S3358" Action="Warning" />
|
||||||
|
<Rule Id="S4200" Action="Warning" />
|
||||||
|
<Rule Id="S1172" Action="Warning" />
|
||||||
|
<Rule Id="S1862" Action="Warning" />
|
||||||
|
<Rule Id="S2275" Action="Warning" />
|
||||||
|
<Rule Id="S3457" Action="Warning" />
|
||||||
|
<Rule Id="S3459" Action="Warning" />
|
||||||
|
<Rule Id="S3464" Action="Warning" />
|
||||||
|
<Rule Id="S3343" Action="Warning" />
|
||||||
|
<Rule Id="S818" Action="Warning" />
|
||||||
|
<Rule Id="S1656" Action="Warning" />
|
||||||
|
<Rule Id="S2184" Action="Warning" />
|
||||||
|
<Rule Id="S1764" Action="Warning" />
|
||||||
|
<Rule Id="S2971" Action="Warning" />
|
||||||
|
<Rule Id="S3060" Action="Warning" />
|
||||||
|
<Rule Id="S101" Action="Warning" />
|
||||||
|
<Rule Id="S1066" Action="Warning" />
|
||||||
|
<Rule Id="S107" Action="Warning" />
|
||||||
|
<Rule Id="S1075" Action="Warning" />
|
||||||
|
<Rule Id="S108" Action="Warning" />
|
||||||
|
<Rule Id="S110" Action="Warning" />
|
||||||
|
<Rule Id="S1104" Action="Warning" />
|
||||||
|
<Rule Id="S1110" Action="Warning" />
|
||||||
|
<Rule Id="S1117" Action="Warning" />
|
||||||
|
<Rule Id="S112" Action="Warning" />
|
||||||
|
<Rule Id="S1123" Action="Warning" />
|
||||||
|
<Rule Id="S1125" Action="Warning" />
|
||||||
|
<Rule Id="S1134" Action="Warning" />
|
||||||
|
<Rule Id="S1135" Action="Warning" />
|
||||||
|
<Rule Id="S1155" Action="Warning" />
|
||||||
|
<Rule Id="S1163" Action="Warning" />
|
||||||
|
<Rule Id="S1168" Action="Warning" />
|
||||||
|
<Rule Id="S1185" Action="Warning" />
|
||||||
|
<Rule Id="S1186" Action="Warning" />
|
||||||
|
<Rule Id="S1206" Action="Warning" />
|
||||||
|
<Rule Id="S1210" Action="Warning" />
|
||||||
|
<Rule Id="S1215" Action="Warning" />
|
||||||
|
<Rule Id="S125" Action="Warning" />
|
||||||
|
<Rule Id="S1450" Action="Warning" />
|
||||||
|
<Rule Id="S1479" Action="Warning" />
|
||||||
|
<Rule Id="S1481" Action="Warning" />
|
||||||
|
<Rule Id="S1607" Action="Warning" />
|
||||||
|
<Rule Id="S1643" Action="Warning" />
|
||||||
|
<Rule Id="S1699" Action="Warning" />
|
||||||
|
<Rule Id="S1848" Action="Warning" />
|
||||||
|
<Rule Id="S1905" Action="Warning" />
|
||||||
|
<Rule Id="S1939" Action="Warning" />
|
||||||
|
<Rule Id="S1940" Action="Warning" />
|
||||||
|
<Rule Id="S1944" Action="Warning" />
|
||||||
|
<Rule Id="S2068" Action="Warning" />
|
||||||
|
<Rule Id="S2114" Action="Warning" />
|
||||||
|
<Rule Id="S2123" Action="Warning" />
|
||||||
|
<Rule Id="S2178" Action="Warning" />
|
||||||
|
<Rule Id="S2187" Action="Warning" />
|
||||||
|
<Rule Id="S2190" Action="Warning" />
|
||||||
|
<Rule Id="S2219" Action="Warning" />
|
||||||
|
<Rule Id="S2223" Action="Warning" />
|
||||||
|
<Rule Id="S2225" Action="Warning" />
|
||||||
|
<Rule Id="S2234" Action="Warning" />
|
||||||
|
<Rule Id="S2259" Action="Warning" />
|
||||||
|
<Rule Id="S2290" Action="Warning" />
|
||||||
|
<Rule Id="S2291" Action="Warning" />
|
||||||
|
<Rule Id="S2292" Action="Warning" />
|
||||||
|
<Rule Id="S2306" Action="Warning" />
|
||||||
|
<Rule Id="S2328" Action="Warning" />
|
||||||
|
<Rule Id="S2342" Action="Warning" />
|
||||||
|
<Rule Id="S2344" Action="Warning" />
|
||||||
|
<Rule Id="S2345" Action="Warning" />
|
||||||
|
<Rule Id="S2346" Action="Warning" />
|
||||||
|
<Rule Id="S2365" Action="Warning" />
|
||||||
|
<Rule Id="S2368" Action="Warning" />
|
||||||
|
<Rule Id="S2372" Action="Warning" />
|
||||||
|
<Rule Id="S2376" Action="Warning" />
|
||||||
|
<Rule Id="S2386" Action="Warning" />
|
||||||
|
<Rule Id="S2436" Action="Warning" />
|
||||||
|
<Rule Id="S2437" Action="Warning" />
|
||||||
|
<Rule Id="S2681" Action="Warning" />
|
||||||
|
<Rule Id="S2688" Action="Warning" />
|
||||||
|
<Rule Id="S2692" Action="Warning" />
|
||||||
|
<Rule Id="S2696" Action="Warning" />
|
||||||
|
<Rule Id="S2743" Action="Warning" />
|
||||||
|
<Rule Id="S2757" Action="Warning" />
|
||||||
|
<Rule Id="S2761" Action="Warning" />
|
||||||
|
<Rule Id="S2930" Action="Warning" />
|
||||||
|
<Rule Id="S2933" Action="Warning" />
|
||||||
|
<Rule Id="S2934" Action="Warning" />
|
||||||
|
<Rule Id="S2953" Action="Warning" />
|
||||||
|
<Rule Id="S2995" Action="Warning" />
|
||||||
|
<Rule Id="S2996" Action="Warning" />
|
||||||
|
<Rule Id="S2997" Action="Warning" />
|
||||||
|
<Rule Id="S3005" Action="Warning" />
|
||||||
|
<Rule Id="S3010" Action="Warning" />
|
||||||
|
<Rule Id="S3169" Action="Warning" />
|
||||||
|
<Rule Id="S3172" Action="Warning" />
|
||||||
|
<Rule Id="S3217" Action="Warning" />
|
||||||
|
<Rule Id="S3218" Action="Warning" />
|
||||||
|
<Rule Id="S3220" Action="Warning" />
|
||||||
|
<Rule Id="S3236" Action="Warning" />
|
||||||
|
<Rule Id="S3237" Action="Warning" />
|
||||||
|
<Rule Id="S3244" Action="Warning" />
|
||||||
|
<Rule Id="S3246" Action="Warning" />
|
||||||
|
<Rule Id="S3247" Action="Warning" />
|
||||||
|
<Rule Id="S3249" Action="Warning" />
|
||||||
|
<Rule Id="S3251" Action="Warning" />
|
||||||
|
<Rule Id="S3256" Action="Warning" />
|
||||||
|
<Rule Id="S3262" Action="Warning" />
|
||||||
|
<Rule Id="S3263" Action="Warning" />
|
||||||
|
<Rule Id="S3264" Action="Warning" />
|
||||||
|
<Rule Id="S3265" Action="Warning" />
|
||||||
|
<Rule Id="S3346" Action="Warning" />
|
||||||
|
<Rule Id="S3376" Action="Warning" />
|
||||||
|
<Rule Id="S3397" Action="Warning" />
|
||||||
|
<Rule Id="S3415" Action="Warning" />
|
||||||
|
<Rule Id="S3427" Action="Warning" />
|
||||||
|
<Rule Id="S3442" Action="Warning" />
|
||||||
|
<Rule Id="S3443" Action="Warning" />
|
||||||
|
<Rule Id="S3444" Action="Warning" />
|
||||||
|
<Rule Id="S3445" Action="Warning" />
|
||||||
|
<Rule Id="S3447" Action="Warning" />
|
||||||
|
<Rule Id="S3449" Action="Warning" />
|
||||||
|
<Rule Id="S3450" Action="Warning" />
|
||||||
|
<Rule Id="S3451" Action="Warning" />
|
||||||
|
<Rule Id="S3453" Action="Warning" />
|
||||||
|
<Rule Id="S3456" Action="Warning" />
|
||||||
|
<Rule Id="S3458" Action="Warning" />
|
||||||
|
<Rule Id="S3466" Action="Warning" />
|
||||||
|
<Rule Id="S3597" Action="Warning" />
|
||||||
|
<Rule Id="S3598" Action="Warning" />
|
||||||
|
<Rule Id="S3600" Action="Warning" />
|
||||||
|
<Rule Id="S3603" Action="Warning" />
|
||||||
|
<Rule Id="S3604" Action="Warning" />
|
||||||
|
<Rule Id="S3610" Action="Warning" />
|
||||||
|
<Rule Id="S3626" Action="Warning" />
|
||||||
|
<Rule Id="S3655" Action="Warning" />
|
||||||
|
<Rule Id="S3693" Action="Warning" />
|
||||||
|
<Rule Id="S3869" Action="Warning" />
|
||||||
|
<Rule Id="S3871" Action="Warning" />
|
||||||
|
<Rule Id="S3875" Action="Warning" />
|
||||||
|
<Rule Id="S3877" Action="Warning" />
|
||||||
|
<Rule Id="S3881" Action="Warning" />
|
||||||
|
<Rule Id="S3884" Action="Warning" />
|
||||||
|
<Rule Id="S3885" Action="Warning" />
|
||||||
|
<Rule Id="S3887" Action="Warning" />
|
||||||
|
<Rule Id="S3889" Action="Warning" />
|
||||||
|
<Rule Id="S3897" Action="Warning" />
|
||||||
|
<Rule Id="S3903" Action="Warning" />
|
||||||
|
<Rule Id="S3904" Action="Warning" />
|
||||||
|
<Rule Id="S3925" Action="Warning" />
|
||||||
|
<Rule Id="S3926" Action="Warning" />
|
||||||
|
<Rule Id="S3927" Action="Warning" />
|
||||||
|
<Rule Id="S3928" Action="Warning" />
|
||||||
|
<Rule Id="S3966" Action="Warning" />
|
||||||
|
<Rule Id="S3971" Action="Warning" />
|
||||||
|
<Rule Id="S3972" Action="Warning" />
|
||||||
|
<Rule Id="S3981" Action="Warning" />
|
||||||
|
<Rule Id="S3984" Action="Warning" />
|
||||||
|
<Rule Id="S3998" Action="Warning" />
|
||||||
|
<Rule Id="S4015" Action="Warning" />
|
||||||
|
<Rule Id="S4016" Action="Warning" />
|
||||||
|
<Rule Id="S4019" Action="Warning" />
|
||||||
|
<Rule Id="S4035" Action="Warning" />
|
||||||
|
<Rule Id="S4144" Action="Warning" />
|
||||||
|
<Rule Id="S4158" Action="Warning" />
|
||||||
|
<Rule Id="S907" Action="Warning" />
|
||||||
|
<Rule Id="S927" Action="Warning" />
|
||||||
|
<Rule Id="S4524" Action="None" />
|
||||||
|
<Rule Id="S2228" Action="None" />
|
||||||
|
<Rule Id="S881" Action="None" />
|
||||||
|
<Rule Id="S4564" Action="None" />
|
||||||
|
<Rule Id="S4212" Action="None" />
|
||||||
|
<Rule Id="S2245" Action="None" />
|
||||||
|
<Rule Id="S131" Action="None" />
|
||||||
|
<Rule Id="S3330" Action="None" />
|
||||||
|
<Rule Id="S2255" Action="None" />
|
||||||
|
<Rule Id="S4432" Action="None" />
|
||||||
|
<Rule Id="S109" Action="None" />
|
||||||
|
<Rule Id="S2070" Action="None" />
|
||||||
|
<Rule Id="S4462" Action="None" />
|
||||||
|
<Rule Id="S1192" Action="None" />
|
||||||
|
<Rule Id="S2302" Action="None" />
|
||||||
|
<Rule Id="S1694" Action="None" />
|
||||||
|
<Rule Id="S4040" Action="None" />
|
||||||
|
<Rule Id="S4142" Action="None" />
|
||||||
|
<Rule Id="S2092" Action="None" />
|
||||||
|
<Rule Id="S3900" Action="None" />
|
||||||
|
<Rule Id="S1821" Action="None" />
|
||||||
|
<Rule Id="S3235" Action="None" />
|
||||||
|
<Rule Id="S3366" Action="None" />
|
||||||
|
<Rule Id="S1151" Action="None" />
|
||||||
|
<Rule Id="S4041" Action="None" />
|
||||||
|
<Rule Id="S4261" Action="None" />
|
||||||
|
<Rule Id="S1147" Action="None" />
|
||||||
|
<Rule Id="S3532" Action="None" />
|
||||||
|
<Rule Id="S3353" Action="None" />
|
||||||
|
<Rule Id="S126" Action="None" />
|
||||||
|
<Rule Id="S138" Action="None" />
|
||||||
|
<Rule Id="S1659" Action="None" />
|
||||||
|
<Rule Id="S2197" Action="None" />
|
||||||
|
<Rule Id="S100" Action="None" />
|
||||||
|
<Rule Id="S103" Action="None" />
|
||||||
|
<Rule Id="S104" Action="None" />
|
||||||
|
<Rule Id="S105" Action="None" />
|
||||||
|
<Rule Id="S1067" Action="None" />
|
||||||
|
<Rule Id="S1109" Action="None" />
|
||||||
|
<Rule Id="S113" Action="None" />
|
||||||
|
<Rule Id="S1145" Action="None" />
|
||||||
|
<Rule Id="S1200" Action="None" />
|
||||||
|
<Rule Id="S121" Action="None" />
|
||||||
|
<Rule Id="S122" Action="None" />
|
||||||
|
<Rule Id="S1226" Action="None" />
|
||||||
|
<Rule Id="S1227" Action="None" />
|
||||||
|
<Rule Id="S1244" Action="None" />
|
||||||
|
<Rule Id="S127" Action="None" />
|
||||||
|
<Rule Id="S1301" Action="None" />
|
||||||
|
<Rule Id="S1309" Action="None" />
|
||||||
|
<Rule Id="S1313" Action="None" />
|
||||||
|
<Rule Id="S134" Action="None" />
|
||||||
|
<Rule Id="S1449" Action="None" />
|
||||||
|
<Rule Id="S1451" Action="None" />
|
||||||
|
<Rule Id="S1541" Action="None" />
|
||||||
|
<Rule Id="S1696" Action="None" />
|
||||||
|
<Rule Id="S1697" Action="None" />
|
||||||
|
<Rule Id="S1698" Action="None" />
|
||||||
|
<Rule Id="S1858" Action="None" />
|
||||||
|
<Rule Id="S1994" Action="None" />
|
||||||
|
<Rule Id="S2156" Action="None" />
|
||||||
|
<Rule Id="S2221" Action="None" />
|
||||||
|
<Rule Id="S2325" Action="None" />
|
||||||
|
<Rule Id="S2330" Action="None" />
|
||||||
|
<Rule Id="S2333" Action="None" />
|
||||||
|
<Rule Id="S2339" Action="None" />
|
||||||
|
<Rule Id="S2357" Action="None" />
|
||||||
|
<Rule Id="S2360" Action="None" />
|
||||||
|
<Rule Id="S2387" Action="None" />
|
||||||
|
<Rule Id="S2551" Action="None" />
|
||||||
|
<Rule Id="S2674" Action="None" />
|
||||||
|
<Rule Id="S2699" Action="None" />
|
||||||
|
<Rule Id="S2701" Action="None" />
|
||||||
|
<Rule Id="S2760" Action="None" />
|
||||||
|
<Rule Id="S2931" Action="None" />
|
||||||
|
<Rule Id="S2952" Action="None" />
|
||||||
|
<Rule Id="S2955" Action="None" />
|
||||||
|
<Rule Id="S3052" Action="None" />
|
||||||
|
<Rule Id="S3215" Action="None" />
|
||||||
|
<Rule Id="S3216" Action="None" />
|
||||||
|
<Rule Id="S3234" Action="None" />
|
||||||
|
<Rule Id="S3240" Action="None" />
|
||||||
|
<Rule Id="S3242" Action="None" />
|
||||||
|
<Rule Id="S3253" Action="None" />
|
||||||
|
<Rule Id="S3254" Action="None" />
|
||||||
|
<Rule Id="S3257" Action="None" />
|
||||||
|
<Rule Id="S3431" Action="None" />
|
||||||
|
<Rule Id="S3441" Action="None" />
|
||||||
|
<Rule Id="S3717" Action="None" />
|
||||||
|
<Rule Id="S3872" Action="None" />
|
||||||
|
<Rule Id="S3874" Action="None" />
|
||||||
|
<Rule Id="S3876" Action="None" />
|
||||||
|
<Rule Id="S3880" Action="None" />
|
||||||
|
<Rule Id="S3898" Action="None" />
|
||||||
|
<Rule Id="S3902" Action="None" />
|
||||||
|
<Rule Id="S3906" Action="None" />
|
||||||
|
<Rule Id="S3908" Action="None" />
|
||||||
|
<Rule Id="S3909" Action="None" />
|
||||||
|
<Rule Id="S3956" Action="None" />
|
||||||
|
<Rule Id="S3962" Action="None" />
|
||||||
|
<Rule Id="S3963" Action="None" />
|
||||||
|
<Rule Id="S3967" Action="None" />
|
||||||
|
<Rule Id="S3990" Action="None" />
|
||||||
|
<Rule Id="S3992" Action="None" />
|
||||||
|
<Rule Id="S3993" Action="None" />
|
||||||
|
<Rule Id="S3994" Action="None" />
|
||||||
|
<Rule Id="S3995" Action="None" />
|
||||||
|
<Rule Id="S3996" Action="None" />
|
||||||
|
<Rule Id="S3997" Action="None" />
|
||||||
|
<Rule Id="S4000" Action="None" />
|
||||||
|
<Rule Id="S4002" Action="None" />
|
||||||
|
<Rule Id="S4004" Action="None" />
|
||||||
|
<Rule Id="S4005" Action="None" />
|
||||||
|
<Rule Id="S4017" Action="None" />
|
||||||
|
<Rule Id="S4018" Action="None" />
|
||||||
|
<Rule Id="S4022" Action="None" />
|
||||||
|
<Rule Id="S4023" Action="None" />
|
||||||
|
<Rule Id="S4025" Action="None" />
|
||||||
|
<Rule Id="S4026" Action="None" />
|
||||||
|
<Rule Id="S4027" Action="None" />
|
||||||
|
<Rule Id="S4039" Action="None" />
|
||||||
|
<Rule Id="S4047" Action="None" />
|
||||||
|
<Rule Id="S4049" Action="None" />
|
||||||
|
<Rule Id="S4050" Action="None" />
|
||||||
|
<Rule Id="S4052" Action="None" />
|
||||||
|
<Rule Id="S4055" Action="None" />
|
||||||
|
<Rule Id="S4056" Action="None" />
|
||||||
|
<Rule Id="S4057" Action="None" />
|
||||||
|
<Rule Id="S4058" Action="None" />
|
||||||
|
<Rule Id="S4059" Action="None" />
|
||||||
|
<Rule Id="S4060" Action="None" />
|
||||||
|
<Rule Id="S4069" Action="None" />
|
||||||
|
<Rule Id="S4070" Action="None" />
|
||||||
|
<Rule Id="S4225" Action="None" />
|
||||||
|
<Rule Id="S4226" Action="None" />
|
||||||
|
</Rules>
|
||||||
|
</RuleSet>
|
74
ModernKeePass/.sonarqube/conf/SonarQubeRoslyn-vbnet.ruleset
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RuleSet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="Rules for SonarQube" Description="This rule set was automatically generated from SonarQube" ToolsVersion="14.0">
|
||||||
|
<Rules AnalyzerId="SonarAnalyzer.VisualBasic" RuleNamespace="SonarAnalyzer.VisualBasic">
|
||||||
|
<Rule Id="S1751" Action="Warning" />
|
||||||
|
<Rule Id="S1871" Action="Warning" />
|
||||||
|
<Rule Id="S1656" Action="Warning" />
|
||||||
|
<Rule Id="S1862" Action="Warning" />
|
||||||
|
<Rule Id="S1764" Action="Warning" />
|
||||||
|
<Rule Id="S2178" Action="Warning" />
|
||||||
|
<Rule Id="S101" Action="Warning" />
|
||||||
|
<Rule Id="S1075" Action="Warning" />
|
||||||
|
<Rule Id="S112" Action="Warning" />
|
||||||
|
<Rule Id="S114" Action="Warning" />
|
||||||
|
<Rule Id="S117" Action="Warning" />
|
||||||
|
<Rule Id="S1197" Action="Warning" />
|
||||||
|
<Rule Id="S1542" Action="Warning" />
|
||||||
|
<Rule Id="S1643" Action="Warning" />
|
||||||
|
<Rule Id="S1645" Action="Warning" />
|
||||||
|
<Rule Id="S1654" Action="Warning" />
|
||||||
|
<Rule Id="S2304" Action="Warning" />
|
||||||
|
<Rule Id="S2340" Action="Warning" />
|
||||||
|
<Rule Id="S2342" Action="Warning" />
|
||||||
|
<Rule Id="S2344" Action="Warning" />
|
||||||
|
<Rule Id="S2345" Action="Warning" />
|
||||||
|
<Rule Id="S2346" Action="Warning" />
|
||||||
|
<Rule Id="S2347" Action="Warning" />
|
||||||
|
<Rule Id="S2349" Action="Warning" />
|
||||||
|
<Rule Id="S2352" Action="Warning" />
|
||||||
|
<Rule Id="S2355" Action="Warning" />
|
||||||
|
<Rule Id="S2358" Action="Warning" />
|
||||||
|
<Rule Id="S2359" Action="Warning" />
|
||||||
|
<Rule Id="S2365" Action="Warning" />
|
||||||
|
<Rule Id="S2368" Action="Warning" />
|
||||||
|
<Rule Id="S2372" Action="Warning" />
|
||||||
|
<Rule Id="S2375" Action="Warning" />
|
||||||
|
<Rule Id="S2376" Action="Warning" />
|
||||||
|
<Rule Id="S2951" Action="Warning" />
|
||||||
|
<Rule Id="S3385" Action="Warning" />
|
||||||
|
<Rule Id="S3981" Action="Warning" />
|
||||||
|
<Rule Id="S4144" Action="Warning" />
|
||||||
|
<Rule Id="S4142" Action="None" />
|
||||||
|
<Rule Id="S1659" Action="None" />
|
||||||
|
<Rule Id="S131" Action="None" />
|
||||||
|
<Rule Id="S103" Action="None" />
|
||||||
|
<Rule Id="S104" Action="None" />
|
||||||
|
<Rule Id="S105" Action="None" />
|
||||||
|
<Rule Id="S1067" Action="None" />
|
||||||
|
<Rule Id="S1147" Action="None" />
|
||||||
|
<Rule Id="S122" Action="None" />
|
||||||
|
<Rule Id="S1226" Action="None" />
|
||||||
|
<Rule Id="S134" Action="None" />
|
||||||
|
<Rule Id="S139" Action="None" />
|
||||||
|
<Rule Id="S1541" Action="None" />
|
||||||
|
<Rule Id="S2339" Action="None" />
|
||||||
|
<Rule Id="S2343" Action="None" />
|
||||||
|
<Rule Id="S2348" Action="None" />
|
||||||
|
<Rule Id="S2353" Action="None" />
|
||||||
|
<Rule Id="S2354" Action="None" />
|
||||||
|
<Rule Id="S2357" Action="None" />
|
||||||
|
<Rule Id="S2360" Action="None" />
|
||||||
|
<Rule Id="S2362" Action="None" />
|
||||||
|
<Rule Id="S2363" Action="None" />
|
||||||
|
<Rule Id="S2364" Action="None" />
|
||||||
|
<Rule Id="S2366" Action="None" />
|
||||||
|
<Rule Id="S2367" Action="None" />
|
||||||
|
<Rule Id="S2369" Action="None" />
|
||||||
|
<Rule Id="S2370" Action="None" />
|
||||||
|
<Rule Id="S2373" Action="None" />
|
||||||
|
<Rule Id="S2374" Action="None" />
|
||||||
|
<Rule Id="S2429" Action="None" />
|
||||||
|
<Rule Id="S3860" Action="None" />
|
||||||
|
<Rule Id="S3866" Action="None" />
|
||||||
|
</Rules>
|
||||||
|
</RuleSet>
|
695
ModernKeePass/.sonarqube/conf/cs/SonarLint.xml
Normal file
@@ -0,0 +1,695 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<AnalysisInput>
|
||||||
|
<Settings>
|
||||||
|
<Setting>
|
||||||
|
<Key>sonar.cs.ignoreHeaderComments</Key>
|
||||||
|
<Value>true</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting>
|
||||||
|
<Key>sonar.cs.file.suffixes</Key>
|
||||||
|
<Value>.cs</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
<Rules>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2589</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3433</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4061</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1121</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1854</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4457</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4456</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2278</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4211</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3923</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4426</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2486</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4433</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2758</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1751</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1871</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4586</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4581</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2737</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3400</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3649</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1144</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1264</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2201</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1118</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1006</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4214</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4210</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3241</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4428</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1048</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2183</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3168</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4220</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3261</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4260</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4159</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4277</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2583</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3440</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3776</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>threshold</Key>
|
||||||
|
<Value>15</Value>
|
||||||
|
</Parameter>
|
||||||
|
<Parameter>
|
||||||
|
<Key>propertyThreshold</Key>
|
||||||
|
<Value>3</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2326</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1116</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3358</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4200</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1172</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1862</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2275</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3457</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3459</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3464</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3343</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S818</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1656</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2184</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1764</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2971</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3060</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S101</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1066</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S107</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>max</Key>
|
||||||
|
<Value>7</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1075</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S108</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S110</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>max</Key>
|
||||||
|
<Value>5</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1104</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1110</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1117</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S112</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1123</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1125</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1134</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1135</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1155</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1163</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1168</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1185</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1186</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1206</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1210</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1215</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S125</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1450</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1479</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>maximum</Key>
|
||||||
|
<Value>30</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1481</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1607</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1643</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1699</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1848</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1905</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1939</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1940</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1944</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2068</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>credentialWords</Key>
|
||||||
|
<Value>password, passwd, pwd</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2114</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2123</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2178</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2187</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2190</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2219</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2223</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2225</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2234</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2259</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2290</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2291</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2292</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2306</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2328</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2342</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
<Parameter>
|
||||||
|
<Key>flagsAttributeFormat</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2344</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2345</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2346</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2365</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2368</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2372</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2376</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2386</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2436</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>max</Key>
|
||||||
|
<Value>2</Value>
|
||||||
|
</Parameter>
|
||||||
|
<Parameter>
|
||||||
|
<Key>maxMethod</Key>
|
||||||
|
<Value>3</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2437</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2681</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2688</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2692</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2696</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2743</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2757</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2761</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2930</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2933</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2934</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2953</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2995</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2996</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2997</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3005</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3010</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3169</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3172</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3217</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3218</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3220</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3236</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3237</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3244</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3246</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3247</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3249</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3251</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3256</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3262</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3263</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3264</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3265</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3346</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3376</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3397</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3415</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3427</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3442</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3443</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3444</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3445</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3447</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3449</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3450</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3451</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3453</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3456</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3458</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3466</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3597</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3598</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3600</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3603</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3604</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3610</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3626</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3655</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3693</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3869</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3871</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3875</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3877</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3881</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3884</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3885</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3887</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3889</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3897</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3903</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3904</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3925</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3926</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3927</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3928</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3966</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3971</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3972</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3981</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3984</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3998</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4015</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4016</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4019</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4035</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4144</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4158</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S907</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S927</Key>
|
||||||
|
</Rule>
|
||||||
|
</Rules>
|
||||||
|
<Files>
|
||||||
|
</Files>
|
||||||
|
</AnalysisInput>
|
186
ModernKeePass/.sonarqube/conf/vbnet/SonarLint.xml
Normal file
@@ -0,0 +1,186 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<AnalysisInput>
|
||||||
|
<Settings>
|
||||||
|
<Setting>
|
||||||
|
<Key>sonar.vbnet.ignoreHeaderComments</Key>
|
||||||
|
<Value>true</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting>
|
||||||
|
<Key>sonar.vbnet.file.suffixes</Key>
|
||||||
|
<Value>.vb</Value>
|
||||||
|
</Setting>
|
||||||
|
</Settings>
|
||||||
|
<Rules>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1751</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1871</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1656</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1862</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1764</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2178</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S101</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1075</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S112</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S114</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^I([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S117</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1197</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1542</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1643</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1645</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S1654</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^[a-z][a-z0-9]*([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2304</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?(\.([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?)*$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2340</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2342</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
<Parameter>
|
||||||
|
<Key>flagsAttributeFormat</Key>
|
||||||
|
<Value>^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2344</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2345</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2346</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2347</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>format</Key>
|
||||||
|
<Value>^(([a-z][a-z0-9]*)?([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?_)?([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2349</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2352</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2355</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2358</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2359</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2365</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2368</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2372</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2375</Key>
|
||||||
|
<Parameters>
|
||||||
|
<Parameter>
|
||||||
|
<Key>minimumSeriesLength</Key>
|
||||||
|
<Value>6</Value>
|
||||||
|
</Parameter>
|
||||||
|
</Parameters>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2376</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S2951</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3385</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S3981</Key>
|
||||||
|
</Rule>
|
||||||
|
<Rule>
|
||||||
|
<Key>S4144</Key>
|
||||||
|
</Rule>
|
||||||
|
</Rules>
|
||||||
|
<Files>
|
||||||
|
</Files>
|
||||||
|
</AnalysisInput>
|
0
ModernKeePass/.sonarqube/out/.sonar/.sonar_lock
Normal file
7
ModernKeePass/.sonarqube/out/.sonar/report-task.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
organization=geogeob
|
||||||
|
projectKey=ModernKeePass
|
||||||
|
serverUrl=https://sonarcloud.io
|
||||||
|
serverVersion=7.2.0.12953
|
||||||
|
dashboardUrl=https://sonarcloud.io/dashboard/index/ModernKeePass
|
||||||
|
ceTaskId=AWQER9hfTzX59Iu7A6N0
|
||||||
|
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AWQER9hfTzX59Iu7A6N0
|
BIN
ModernKeePass/.sonarqube/out/0/FilesToAnalyze.txt
Normal file
18
ModernKeePass/.sonarqube/out/0/ProjectInfo.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ProjectInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/integration/2015/1">
|
||||||
|
<ProjectName>ModernKeePass.App</ProjectName>
|
||||||
|
<ProjectLanguage>C#</ProjectLanguage>
|
||||||
|
<ProjectType>Product</ProjectType>
|
||||||
|
<ProjectGuid>a0cfc681-769b-405a-8482-0cdee595a91f</ProjectGuid>
|
||||||
|
<FullPath>C:\Sources\Other\ModernKeePass\ModernKeePass\ModernKeePass.App.csproj</FullPath>
|
||||||
|
<IsExcluded>false</IsExcluded>
|
||||||
|
<AnalysisResults>
|
||||||
|
<AnalysisResult Id="FilesToAnalyze" Location="C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\out\0\FilesToAnalyze.txt" />
|
||||||
|
</AnalysisResults>
|
||||||
|
<AnalysisSettings>
|
||||||
|
<Property Name="sonar.cs.roslyn.reportFilePath">C:\Sources\Other\ModernKeePass\ModernKeePass\bin\Debug\ModernKeePass.exe.RoslynCA.json</Property>
|
||||||
|
<Property Name="sonar.cs.analyzer.projectOutPath">C:\Sources\Other\ModernKeePass\ModernKeePass\.sonarqube\out\0</Property>
|
||||||
|
</AnalysisSettings>
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>AnyCPU</Platform>
|
||||||
|
</ProjectInfo>
|
85
ModernKeePass/.sonarqube/out/0/output-cs/encoding.pb
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
P
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\ClipboardAction.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\NavigateToUrlAction.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\SetupFocusAction.csutf-8A
|
||||||
|
8C:\Sources\Other\ModernKeePass\ModernKeePass\App.xaml.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\IntToSymbolConverter.csutf-8[
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\DatabaseOpenedException.csutf-8S
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ILicenseService.csutf-8[
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IProxyInvocationHandler.csutf-8R
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentService.csutf-8O
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentItem.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IResourceService.csutf-8V
|
||||||
|
MC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SingletonServiceBase.csutf-8i
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\SelectableDataTemplateSelector.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsSaveVm.csutf-8]
|
||||||
|
TC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\DonatePage.xaml.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\DatabaseService.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISettingsService.csutf-8S
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Common\MessageDialogHelper.csutf-8P
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NavigationHelper.csutf-8Y
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NotifyPropertyChangedBase.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ObservableDictionary.csutf-8L
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\Common\RelayCommand.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Common\SuspensionManager.csutf-8P
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Services\LicenseService.csutf-8O
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Services\RecentService.csutf-8R
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Services\ResourcesService.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SettingsService.csutf-8W
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ToastNotificationHelper.csutf-8i
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DiscreteIntToSolidColorBrushConverter.csutf-8d
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\EmptyStringToVisibilityConverter.csutf-8Z
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\NullToBooleanConverter.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\SaveException.csutf-8\
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Extensions\DispatcherTaskExtensions.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IDatabaseService.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IHasSelectableObject.csutf-8T
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISelectableModel.csutf-8\
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Views\BasePages\LayoutAwarePageBase.csutf-8k
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsDatabasePage.xaml.csutf-8n
|
||||||
|
eC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsNewDatabasePage.xaml.csutf-8g
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSavePage.xaml.csutf-8k
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSecurityPage.xaml.csutf-8j
|
||||||
|
aC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsWelcomePage.xaml.csutf-8h
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\FirstItemDataTemplateSelector.csutf-8U
|
||||||
|
LC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\ListViewWithDisable.csutf-8f
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\BreadCrumbUserControl.xaml.csutf-8h
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\CompositeKeyUserControl.xaml.csutf-8S
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\TextBoxWithButton.csutf-8`
|
||||||
|
WC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\BooleanToVisibilityConverter.csutf-8Y
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ColorToBrushConverter.csutf-8d
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DoubleToSolidColorBrushConverter.csutf-8g
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\InverseBooleanToVisibilityConverter.csutf-8Z
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\PluralizationConverter.csutf-8c
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ProgressBarLegalValuesConverter.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\TextToWidthConverter.csutf-8Q
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Events\PasswordEventArgs.csutf-8N
|
||||||
|
EC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IIsEnabled.csutf-8M
|
||||||
|
DC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IPwEntity.csutf-8L
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPage.xaml.csutf-8\
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\AboutPage.xaml.csutf-8b
|
||||||
|
YC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\NewDatabasePage.xaml.csutf-8P
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPage.xaml.csutf-8^
|
||||||
|
UC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\WelcomePage.xaml.csutf-8K
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\AboutVm.csutf-8R
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\CompositeKeyVm.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\ListMenuItemVm.csutf-8X
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\MainMenuItemVm.csutf-8V
|
||||||
|
MC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\RecentItemVm.csutf-8S
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Views\EntryDetailPage.xaml.csutf-8S
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Views\GroupDetailPage.xaml.csutf-8c
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\OpenDatabasePage.xaml.csutf-8f
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\RecentDatabasesPage.xaml.csutf-8c
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\SaveDatabasePage.xaml.csutf-8P
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Properties\AssemblyInfo.csutf-8K
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\EntryVm.csutf-8K
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\GroupVm.csutf-8W
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsNewVm.csutf-8N
|
||||||
|
EC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\SettingsVm.csutf-8J
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\MainVm.csutf-8I
|
||||||
|
@C:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\NewVm.csutf-8J
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\OpenVm.csutf-8L
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\RecentVm.csutf-8J
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\SaveVm.csutf-8\
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsDatabaseVm.csutf-8i
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\HamburgerMenuUserControl.xaml.csutf-8
|
139
ModernKeePass/.sonarqube/out/0/output-cs/file-metadata.pb
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
I
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\ClipboardAction.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\NavigateToUrlAction.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\SetupFocusAction.cs:
|
||||||
|
8C:\Sources\Other\ModernKeePass\ModernKeePass\App.xaml.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\IntToSymbolConverter.csT
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\DatabaseOpenedException.csL
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ILicenseService.csT
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IProxyInvocationHandler.csK
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentService.csH
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentItem.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IResourceService.csO
|
||||||
|
MC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SingletonServiceBase.csb
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\SelectableDataTemplateSelector.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsSaveVm.csV
|
||||||
|
TC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\DonatePage.xaml.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\DatabaseService.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISettingsService.csL
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Common\MessageDialogHelper.csI
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NavigationHelper.csR
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NotifyPropertyChangedBase.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ObservableDictionary.csE
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\Common\RelayCommand.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Common\SuspensionManager.csI
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Services\LicenseService.csH
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Services\RecentService.csK
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Services\ResourcesService.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SettingsService.csP
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ToastNotificationHelper.csb
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DiscreteIntToSolidColorBrushConverter.cs]
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\EmptyStringToVisibilityConverter.csS
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\NullToBooleanConverter.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\SaveException.csU
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Extensions\DispatcherTaskExtensions.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IDatabaseService.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IHasSelectableObject.csM
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISelectableModel.csU
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Views\BasePages\LayoutAwarePageBase.csd
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsDatabasePage.xaml.csg
|
||||||
|
eC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsNewDatabasePage.xaml.cs`
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSavePage.xaml.csd
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSecurityPage.xaml.csc
|
||||||
|
aC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsWelcomePage.xaml.csa
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\FirstItemDataTemplateSelector.csN
|
||||||
|
LC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\ListViewWithDisable.cs_
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\BreadCrumbUserControl.xaml.csa
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\CompositeKeyUserControl.xaml.csL
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\TextBoxWithButton.csY
|
||||||
|
WC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\BooleanToVisibilityConverter.csR
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ColorToBrushConverter.cs]
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DoubleToSolidColorBrushConverter.cs`
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\InverseBooleanToVisibilityConverter.csS
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\PluralizationConverter.cs\
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ProgressBarLegalValuesConverter.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\TextToWidthConverter.csJ
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Events\PasswordEventArgs.csG
|
||||||
|
EC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IIsEnabled.csF
|
||||||
|
DC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IPwEntity.csE
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPage.xaml.csU
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\AboutPage.xaml.cs[
|
||||||
|
YC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\NewDatabasePage.xaml.csI
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPage.xaml.csW
|
||||||
|
UC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\WelcomePage.xaml.csD
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\AboutVm.csK
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\CompositeKeyVm.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\ListMenuItemVm.csQ
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\MainMenuItemVm.csO
|
||||||
|
MC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\RecentItemVm.csL
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Views\EntryDetailPage.xaml.csL
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Views\GroupDetailPage.xaml.cs\
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\OpenDatabasePage.xaml.cs_
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\RecentDatabasesPage.xaml.cs\
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\SaveDatabasePage.xaml.csI
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Properties\AssemblyInfo.csD
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\EntryVm.csD
|
||||||
|
BC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\GroupVm.csP
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsNewVm.csG
|
||||||
|
EC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\SettingsVm.csC
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\MainVm.csB
|
||||||
|
@C:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\NewVm.csC
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\OpenVm.csE
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\RecentVm.csC
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\SaveVm.csU
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsDatabaseVm.csb
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\HamburgerMenuUserControl.xaml.csE
|
||||||
|
AC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\App.g.i.csC
|
||||||
|
?C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\App.g.csO
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\Colors.g.i.csM
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\Colors.g.csk
|
||||||
|
gC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsSavePage.g.i.csi
|
||||||
|
eC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsSavePage.g.csj
|
||||||
|
fC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\BreadCrumbUserControl.g.i.csh
|
||||||
|
dC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\BreadCrumbUserControl.g.csl
|
||||||
|
hC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\CompositeKeyUserControl.g.i.csj
|
||||||
|
fC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\CompositeKeyUserControl.g.csP
|
||||||
|
LC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPage.g.i.csN
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPage.g.cs`
|
||||||
|
\C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\AboutPage.g.i.cs^
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\AboutPage.g.csW
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\EntryDetailPage.g.i.csU
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\EntryDetailPage.g.csW
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\GroupDetailPage.g.i.csU
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\GroupDetailPage.g.csa
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\DonatePage.g.i.cs_
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\DonatePage.g.csf
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\NewDatabasePage.g.i.csd
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\NewDatabasePage.g.csg
|
||||||
|
cC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\OpenDatabasePage.g.i.cse
|
||||||
|
aC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\OpenDatabasePage.g.csj
|
||||||
|
fC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\RecentDatabasesPage.g.i.csh
|
||||||
|
dC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\RecentDatabasesPage.g.csg
|
||||||
|
cC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\SaveDatabasePage.g.i.cse
|
||||||
|
aC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\SaveDatabasePage.g.csT
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPage.g.i.csR
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPage.g.csb
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\WelcomePage.g.i.cs`
|
||||||
|
\C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\MainPageFrames\WelcomePage.g.cso
|
||||||
|
kC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsDatabasePage.g.i.csm
|
||||||
|
iC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsDatabasePage.g.csr
|
||||||
|
nC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsNewDatabasePage.g.i.csp
|
||||||
|
lC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsNewDatabasePage.g.cso
|
||||||
|
kC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsSecurityPage.g.i.csm
|
||||||
|
iC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsSecurityPage.g.csn
|
||||||
|
jC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsWelcomePage.g.i.csl
|
||||||
|
hC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\SettingsPageFrames\SettingsWelcomePage.g.cs]
|
||||||
|
YC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\HamburgerButtonStyle.g.i.cs[
|
||||||
|
WC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\HamburgerButtonStyle.g.csc
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\ListViewLeftIndicatorStyle.g.i.csa
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\ListViewLeftIndicatorStyle.g.cs\
|
||||||
|
XC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\NoBorderButtonStyle.g.i.csZ
|
||||||
|
VC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\NoBorderButtonStyle.g.csO
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\Styles.g.i.csM
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\Styles.g.cs_
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\TextBoxWithButtonStyle.g.i.cs]
|
||||||
|
YC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Styles\TextBoxWithButtonStyle.g.csm
|
||||||
|
iC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\HamburgerMenuUserControl.g.i.csk
|
||||||
|
gC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\Views\UserControls\HamburgerMenuUserControl.g.csL
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\obj\Debug\XamlTypeInfo.g.csQ
|
||||||
|
MC:\Users\GBE\AppData\Local\Temp\.NETCore,Version=v4.5.1.AssemblyAttributes.cs
|
180
ModernKeePass/.sonarqube/out/0/output-cs/metrics.pb
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
<EFBFBD>
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\ClipboardAction.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=3;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<1A><17>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\NavigateToUrlAction.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=3;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
!x<01>
|
||||||
|
<1D>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Actions\SetupFocusAction.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<1B>
|
||||||
|
<18>
|
||||||
|
8C:\Sources\Other\ModernKeePass\ModernKeePass\App.xaml.cs7 8@HR 0=0;5=0;10=0;20=1;30=0;60=0;90=0Z1=5;2=1;4=2;6=1;8=0;10=0;12=0jH*>?@ABFTZ[^`fluvwz|}<7D><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>r<>
|
||||||
|
|
||||||
|
!"#()+,-./023456789:;<CDEFGIJKLNORSUX\]_bdehjmnpqrstxy<79><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>x<10>I !"+-./24579:EFKRX\_bdhmpsx<73><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\IntToSymbolConverter.cs7 (08;@;H;R 0=0;5=0;10=0;20=0;30=1;60=0;90=0Z1=0;2=1;4=0;6=0;8=0;10=0;12=1j<31>+,08<@JKLMZ[\]^_`abcdefgjklmnopqrstuvwxyz{|}~<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03>r[
|
||||||
|
|
||||||
|
!"#$%&'()*-./12345679:;=>?ABCDEFGHINOPQRSUVWXYhi<68><03><03><03><03><03>x<02>?
|
||||||
|
!"#$%&'()*-./12345679:;=>?ABCDEFGHINOPQXhi<68><03>
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\DatabaseOpenedException.cs(0R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r <09>
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ILicenseService.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
<0C>
|
||||||
|
RC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IProxyInvocationHandler.cs(0R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r <09>
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentService.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<0F>
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IRecentItem.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<0B>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IResourceService.cs(0R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r<07>
|
||||||
|
MC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SingletonServiceBase.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<0C>
|
||||||
|
<EFBFBD>
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\SelectableDataTemplateSelector.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=4;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<02><0F>
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\ViewModels\Items\SettingsSaveVm.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=4;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<18>
|
||||||
|
<15>
|
||||||
|
TC:\Sources\Other\ModernKeePass\ModernKeePass\Views\MainPageFrames\DonatePage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\DatabaseService.csQ (082@2H2R 0=0;5=0;10=0;20=0;30=1;60=0;90=0Z1=25;2=5;4=0;6=2;8=0;10=0;12=0j$cdefghky<6B><01><01><01><01><01><01><01><01><01><01><01><01><01>r<>
|
||||||
|
|
||||||
|
!"#$%')*+,-/0123456789:<=>?@BCDEFHIJKLNOPQRTUVWYZ[]^_`ijlmnopqstuvwz{|}~<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02>x<16><01>"#'+,1468>?DEJKPQTUY_npstuwz{|<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISettingsService.cs(0R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r<08>
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Common\MessageDialogHelper.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=4;2=2;4=0;6=0;8=0;10=0;12=0j9<DJMPSr?
|
||||||
|
|
||||||
|
!"$%&')*+,-./01234678:=>@ABEFHIKNQTVWXYx<03> "$%+-.028:=BENQTV<54>
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NavigationHelper.csD (8>@>H>R 0=0;5=0;10=0;20=0;30=0;60=1;90=0Z1=12;2=8;4=1;6=1;8=0;10=0;12=1j<31> !"#&(*,-./02579:ABCDEFKLMSW`stuvxyz<79><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03>r<>
|
||||||
|
|
||||||
|
;<=>?GHINOTUVXYZ[\^abfghiklpq{|}~<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03><03>x*<2A><01>?INTUXZ[afhi<69><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><02><03><03><03>
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Common\NotifyPropertyChangedBase.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=2;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
x<01>
|
||||||
|
<19>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ObservableDictionary.cs( (08!@&H!R 0=0;5=0;10=0;20=0;30=1;60=0;90=0Z1=18;2=5;4=1;6=0;8=0;10=0;12=0j
|
||||||
|
r<>
|
||||||
|
!"#$&'()*,-./12345679:;<=>?@ACDEFGHIJKLMOPQRSTUVWXYZ\]^_`abcdfghiklmnpqrsuvwxz{|}<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>x <09>. "().35;=>@FGIJLSWX^_`bhmrw|<7C><01><01><01><01><01><01><01><01>
|
||||||
|
CC:\Sources\Other\ModernKeePass\ModernKeePass\Common\RelayCommand.cs (8@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=2;2=3;4=0;6=0;8=0;10=0;12=0j%
|
||||||
|
|
||||||
|
$%&'(1234567=>?@ABHIJKLr* !")*+,-./89:;CDEFMNOPQRSTUVx<03>+,-.:EPR<50>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Common\SuspensionManager.cs8 (08@HR 0=0;5=0;10=0;20=1;30=0;60=0;90=0Z1=5;2=3;4=3;6=0;8=0;10=0;12=0j~ !"#)*+,-3456789>HIN\]^_`abcdefmqv<71><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>r<>
|
||||||
|
$%&'./01:;<=?@ABCDEFJKLOPQRSTUVWXYZghiklnoprstwxyz{|}~<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><02><02><02><02><02><02><02><02><02><02><02>x<15>S&0?BDLOPRSXinoswz|}<7D><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>
|
||||||
|
GC:\Sources\Other\ModernKeePass\ModernKeePass\Services\LicenseService.cs (08@HR 0=0;5=0;10=1;20=0;30=0;60=0;90=0Z1=5;2=0;4=0;6=1;8=0;10=0;12=0j*+r?
|
||||||
|
|
||||||
|
!"#$%&'(),-./012345678:;<=>@ABCEFGHIJx<03>#$&'(),.012346<=BG<42>
|
||||||
|
FC:\Sources\Other\ModernKeePass\ModernKeePass\Services\RecentService.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=4;2=1;4=0;6=0;8=0;10=0;12=0r,
|
||||||
|
|
||||||
|
!#$%&()*+-./012x<06>
|
||||||
|
|
||||||
|
%*/<2F>
|
||||||
|
IC:\Sources\Other\ModernKeePass\ModernKeePass\Services\ResourcesService.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
<11>
|
||||||
|
<0E>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Services\SettingsService.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<03>
|
||||||
|
<1C>
|
||||||
|
NC:\Sources\Other\ModernKeePass\ModernKeePass\Common\ToastNotificationHelper.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=2;2=1;4=0;6=0;8=0;10=0;12=0r0
|
||||||
|
|
||||||
|
!#$%&'(*+,-./123456x<01> %&'(,.3<EFBFBD>
|
||||||
|
`C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DiscreteIntToSolidColorBrushConverter.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=1;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<01>
|
||||||
|
<18>
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\EmptyStringToVisibilityConverter.cs 8@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<02><11>
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\NullToBooleanConverter.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<12>
|
||||||
|
<0F>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Exceptions\SaveException.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<0E><0B>
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Extensions\DispatcherTaskExtensions.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
x<03>
|
||||||
|
|
||||||
|
<1E>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IDatabaseService.cs(08@R 0=0;5=0;10=0;20=1;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
!"#<23>
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IHasSelectableObject.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r<07>
|
||||||
|
KC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\ISelectableModel.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r<07>
|
||||||
|
SC:\Sources\Other\ModernKeePass\ModernKeePass\Views\BasePages\LayoutAwarePageBase.cs" (08#@#H#R 0=0;5=0;10=0;20=0;30=1;60=0;90=0Z1=13;2=4;4=1;6=1;8=0;10=0;12=0j\
|
||||||
|
"#*+,-.456789:;<=>ABFGOWXYZ[\]^ijlmnrstuv|}~<><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>r<>
|
||||||
|
$%&()/012?@DEHIJKLMNPQRSTU_`abcdepwxyz<79><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>x<10>1 $%/01DHJPRacy<63><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01><01>
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsDatabasePage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
eC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsNewDatabasePage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSavePage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
bC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsSecurityPage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=0;4=0;6=0;8=0;10=0;12=0j
|
||||||
|
r
|
||||||
|
<17><14>
|
||||||
|
aC:\Sources\Other\ModernKeePass\ModernKeePass\Views\SettingsPageFrames\SettingsWelcomePage.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\TemplateSelectors\FirstItemDataTemplateSelector.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=4;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
x<01>
|
||||||
|
<0F>
|
||||||
|
LC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\ListViewWithDisable.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<02><11>
|
||||||
|
]C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\BreadCrumbUserControl.xaml.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=3;2=0;4=0;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
<1D>
|
||||||
|
<1B>
|
||||||
|
_C:\Sources\Other\ModernKeePass\ModernKeePass\Views\UserControls\CompositeKeyUserControl.xaml.cs
|
||||||
|
(08@HR 0=0;5=0;10=0;20=1;30=0;60=0;90=0Z1=8;2=4;4=0;6=1;8=0;10=0;12=0j`ort
|
||||||
|
!"#$%&'()*,-./01234569;<=>@ABCEFGIJKLMNOPQRSTUVWXY[\]^_abcefghijklmpqrsuvwxyz{|~<><01><01><01>x <09>%"#&*./26=GIKLRSUW]_ajkmpqry|~<><01>
|
||||||
|
JC:\Sources\Other\ModernKeePass\ModernKeePass\Controls\TextBoxWithButton.cs (
|
||||||
|
0
|
||||||
|
8@HR 0=0;5=0;10=1;20=0;30=0;60=0;90=0Z1=8;2=1;4=0;6=0;8=0;10=0;12=0r@
|
||||||
|
|
||||||
|
!#$%&'()*+,-/0123456789;<=>?@ABCDEx<01>
|
||||||
|
!%&)-1259=>?A<>
|
||||||
|
WC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\BooleanToVisibilityConverter.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=0;2=1;4=1;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
x<04><18>
|
||||||
|
PC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ColorToBrushConverter.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=1;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<03>
|
||||||
|
<17>
|
||||||
|
[C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\DoubleToSolidColorBrushConverter.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=2;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
x<01><1C>
|
||||||
|
^C:\Sources\Other\ModernKeePass\ModernKeePass\Converters\InverseBooleanToVisibilityConverter.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=0;2=1;4=1;6=0;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
x<04><18>
|
||||||
|
QC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\PluralizationConverter.cs (08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=1;8=0;10=0;12=0jr
|
||||||
|
|
||||||
|
x<04>
|
||||||
|
<15>
|
||||||
|
ZC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\ProgressBarLegalValuesConverter.cs
|
||||||
|
(08@HR 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=1;2=0;4=0;6=1;8=0;10=0;12=0r
|
||||||
|
x<05> <18>
|
||||||
|
OC:\Sources\Other\ModernKeePass\ModernKeePass\Converters\TextToWidthConverter.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=1;2=1;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
<14>
|
||||||
|
<11>
|
||||||
|
HC:\Sources\Other\ModernKeePass\ModernKeePass\Events\PasswordEventArgs.cs (08@HR 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=3;2=0;4=0;6=0;8=0;10=0;12=0r
|
||||||
|
|
||||||
|
|
||||||
|
<0F><0C>
|
||||||
|
EC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IIsEnabled.cs(08@R 0=1;5=0;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0r<07>
|
||||||
|
DC:\Sources\Other\ModernKeePass\ModernKeePass\Interfaces\IPwEntity.cs(08 @ R 0=0;5=1;10=0;20=0;30=0;60=0;90=0Z1=0;2=0;4=0;6=0;8=0;10=0;12=0j "#$r
|
||||||
|
|
2912
ModernKeePass/.sonarqube/out/0/output-cs/symrefs.pb
Normal file
24951
ModernKeePass/.sonarqube/out/0/output-cs/token-cpd.pb
Normal file
2160
ModernKeePass/.sonarqube/out/0/output-cs/token-type.pb
Normal file
210
ModernKeePass/.sonarqube/out/sonar-project.properties
Normal file
@@ -0,0 +1,210 @@
|
|||||||
|
sonar.projectKey=ModernKeePass
|
||||||
|
sonar.working.directory=C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\.sonarqube\\out\\.sonar
|
||||||
|
sonar.projectBaseDir=C:\\Sources\\Other\\ModernKeePass\\ModernKeePass
|
||||||
|
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.projectKey=ModernKeePass:A0CFC681-769B-405A-8482-0CDEE595A91F
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.projectName=ModernKeePass.App
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.projectBaseDir=C:\\Sources\\Other\\ModernKeePass\\ModernKeePass
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.sourceEncoding=utf-8
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.sources=\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Actions\\ClipboardAction.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Actions\\NavigateToUrlAction.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Actions\\SetupFocusAction.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\App.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\IntToSymbolConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Exceptions\\DatabaseOpenedException.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\ILicenseService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IProxyInvocationHandler.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IRecentService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IRecentItem.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IResourceService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\SingletonServiceBase.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\TemplateSelectors\\SelectableDataTemplateSelector.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\SettingsSaveVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\DonatePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\DatabaseService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\ISettingsService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\MessageDialogHelper.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\NavigationHelper.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\NotifyPropertyChangedBase.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\ObservableDictionary.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\RelayCommand.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\SuspensionManager.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\LicenseService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\RecentService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\ResourcesService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Services\\SettingsService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Common\\ToastNotificationHelper.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\DiscreteIntToSolidColorBrushConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\EmptyStringToVisibilityConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\NullToBooleanConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Exceptions\\SaveException.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Extensions\\DispatcherTaskExtensions.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IDatabaseService.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IHasSelectableObject.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\ISelectableModel.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\BasePages\\LayoutAwarePageBase.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsDatabasePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsNewDatabasePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsSavePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsSecurityPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsWelcomePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\TemplateSelectors\\FirstItemDataTemplateSelector.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Controls\\ListViewWithDisable.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\BreadCrumbUserControl.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\CompositeKeyUserControl.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Controls\\TextBoxWithButton.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\BooleanToVisibilityConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\ColorToBrushConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\DoubleToSolidColorBrushConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\InverseBooleanToVisibilityConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\PluralizationConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\ProgressBarLegalValuesConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Converters\\TextToWidthConverter.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Events\\PasswordEventArgs.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IIsEnabled.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Interfaces\\IPwEntity.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\AboutPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\NewDatabasePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\WelcomePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\AboutVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\CompositeKeyVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\ListMenuItemVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\MainMenuItemVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\RecentItemVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\EntryDetailPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\GroupDetailPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\OpenDatabasePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\RecentDatabasesPage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\SaveDatabasePage.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Properties\\AssemblyInfo.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\EntryVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\GroupVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\SettingsNewVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\SettingsVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\MainVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\NewVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\OpenVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\RecentVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\SaveVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\ViewModels\\Items\\SettingsDatabaseVm.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\HamburgerMenuUserControl.xaml.cs",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\description.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Entry.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Filter.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Group.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.New.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Open.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Recent.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Semantic.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\description.Settings.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Entry.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Filter.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Group.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\New.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Open.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Recent.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Semantic.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\images\\Screenshot\\Settings.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\keywords.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\privacyPolicy.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\releaseNotes.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\en-us\\baselisting\\websiteUrl.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\description.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Entry.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Filter.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Group.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.New.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Open.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Recent.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Semantic.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\description.Settings.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Entry.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Filter.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Group.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\New.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Open.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Recent.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Semantic.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\images\\Screenshot\\Settings.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\keywords.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\privacyPolicy.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\releaseNotes.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\appMetadata\\fr-fr\\baselisting\\websiteUrl.txt",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Logo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Logo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Logo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Logo.scale-80.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.scale-80.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.targetsize-16.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.targetsize-256.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.targetsize-32.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SmallLogo.targetsize-48.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SplashScreen.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SplashScreen.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\ModernKeePass-SplashScreen.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square310x310Logo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square310x310Logo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square310x310Logo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square310x310Logo.scale-80.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square70x70Logo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square70x70Logo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square70x70Logo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Square70x70Logo.scale-80.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\StoreLogo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\StoreLogo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\StoreLogo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Wide310x150Logo.scale-100.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Wide310x150Logo.scale-140.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Wide310x150Logo.scale-180.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Assets\\Wide310x150Logo.scale-80.png",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\packages.config",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Strings\\fr-FR\\Resources.resw",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Strings\\fr-FR\\CodeBehind.resw",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Strings\\en-US\\CodeBehind.resw",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Strings\\en-US\\Resources.resw",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\Colors.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsSavePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\BreadCrumbUserControl.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\CompositeKeyUserControl.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\AboutPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\EntryDetailPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\GroupDetailPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\DonatePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\NewDatabasePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\OpenDatabasePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\RecentDatabasesPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\SaveDatabasePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\MainPageFrames\\WelcomePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsDatabasePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsNewDatabasePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsSecurityPage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\SettingsPageFrames\\SettingsWelcomePage.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\HamburgerButtonStyle.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\ListViewLeftIndicatorStyle.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\NoBorderButtonStyle.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\Styles.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Styles\\TextBoxWithButtonStyle.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\Views\\UserControls\\HamburgerMenuUserControl.xaml",\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\App.xaml"
|
||||||
|
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.cs.roslyn.reportFilePath=C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\bin\\Debug\\ModernKeePass.exe.RoslynCA.json
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.cs.analyzer.projectOutPath=C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\.sonarqube\\out\\0
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.cs.analyzer.projectOutPaths=\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\.sonarqube\\out\\0"
|
||||||
|
A0CFC681-769B-405A-8482-0CDEE595A91F.sonar.cs.roslyn.reportFilePaths=\
|
||||||
|
"C:\\Sources\\Other\\ModernKeePass\\ModernKeePass\\bin\\Debug\\ModernKeePass.exe.RoslynCA.json"
|
||||||
|
|
||||||
|
sonar.organization=geogeob
|
||||||
|
sonar.host.url=https://sonarcloud.io
|
||||||
|
sonar.visualstudio.enable=false
|
||||||
|
|
||||||
|
sonar.modules=A0CFC681-769B-405A-8482-0CDEE595A91F
|
||||||
|
|
3
ModernKeePass/.sonarqube/out/summary.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Analysis succeeded for SonarQube project "", version [Analysis results](https://sonarcloud.io/dashboard/index/ModernKeePass)
|
||||||
|
- Product projects: 1, test projects: 0
|
||||||
|
- Invalid projects: 0, skipped projects: 0, excluded projects: 0
|
26
ModernKeePass/Actions/ClipboardAction.cs
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
using Windows.ApplicationModel.DataTransfer;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Actions
|
||||||
|
{
|
||||||
|
public class ClipboardAction : DependencyObject, IAction
|
||||||
|
{
|
||||||
|
public string Text
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(TextProperty); }
|
||||||
|
set { SetValue(TextProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty TextProperty =
|
||||||
|
DependencyProperty.Register("Text", typeof(string), typeof(ClipboardAction), new PropertyMetadata(string.Empty));
|
||||||
|
|
||||||
|
public object Execute(object sender, object parameter)
|
||||||
|
{
|
||||||
|
var dataPackage = new DataPackage { RequestedOperation = DataPackageOperation.Copy };
|
||||||
|
dataPackage.SetText(Text);
|
||||||
|
Clipboard.SetContent(dataPackage);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
54
ModernKeePass/Actions/DeleteEntityAction.cs
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
using System.Windows.Input;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
using ModernKeePass.Common;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
using ModernKeePass.Services;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Actions
|
||||||
|
{
|
||||||
|
public class DeleteEntityAction : DependencyObject, IAction
|
||||||
|
{
|
||||||
|
public IPwEntity Entity
|
||||||
|
{
|
||||||
|
get { return (IPwEntity)GetValue(EntityProperty); }
|
||||||
|
set { SetValue(EntityProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty EntityProperty =
|
||||||
|
DependencyProperty.Register("Entity", typeof(IPwEntity), typeof(DeleteEntityAction),
|
||||||
|
new PropertyMetadata(null));
|
||||||
|
|
||||||
|
public ICommand Command
|
||||||
|
{
|
||||||
|
get { return (ICommand)GetValue(CommandProperty); }
|
||||||
|
set { SetValue(CommandProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty CommandProperty =
|
||||||
|
DependencyProperty.Register("Command", typeof(ICommand), typeof(DeleteEntityAction),
|
||||||
|
new PropertyMetadata(null));
|
||||||
|
|
||||||
|
public object Execute(object sender, object parameter)
|
||||||
|
{
|
||||||
|
var resource = new ResourcesService();
|
||||||
|
var type = Entity is GroupVm ? "Group" : "Entry";
|
||||||
|
|
||||||
|
var message = Entity.IsRecycleOnDelete
|
||||||
|
? resource.GetResourceValue($"{type}RecyclingConfirmation")
|
||||||
|
: resource.GetResourceValue($"{type}DeletingConfirmation");
|
||||||
|
var text = Entity.IsRecycleOnDelete ? resource.GetResourceValue($"{type}Recycled") : resource.GetResourceValue($"{type}Deleted");
|
||||||
|
MessageDialogHelper.ShowActionDialog(resource.GetResourceValue("EntityDeleteTitle"), message,
|
||||||
|
resource.GetResourceValue("EntityDeleteActionButton"),
|
||||||
|
resource.GetResourceValue("EntityDeleteCancelButton"), a =>
|
||||||
|
{
|
||||||
|
ToastNotificationHelper.ShowMovedToast(Entity, resource.GetResourceValue("EntityDeleting"), text);
|
||||||
|
Entity.MarkForDelete(resource.GetResourceValue("RecycleBinTitle"));
|
||||||
|
Command.Execute(null);
|
||||||
|
}, null).GetAwaiter();
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
33
ModernKeePass/Actions/NavigateToUrlAction.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
using ModernKeePass.Common;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Actions
|
||||||
|
{
|
||||||
|
public class NavigateToUrlAction : DependencyObject, IAction
|
||||||
|
{
|
||||||
|
public string Url
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(UrlProperty); }
|
||||||
|
set { SetValue(UrlProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty UrlProperty =
|
||||||
|
DependencyProperty.Register("Url", typeof(string), typeof(NavigateToUrlAction), new PropertyMetadata(string.Empty));
|
||||||
|
|
||||||
|
public object Execute(object sender, object parameter)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var uri = new Uri(Url);
|
||||||
|
return Windows.System.Launcher.LaunchUriAsync(uri).GetAwaiter().GetResult();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageDialogHelper.ShowErrorDialog(ex).GetAwaiter();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
46
ModernKeePass/Actions/RestoreEntityAction.cs
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
using System.Windows.Input;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
using ModernKeePass.Common;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
using ModernKeePass.Services;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Actions
|
||||||
|
{
|
||||||
|
public class RestoreEntityAction : DependencyObject, IAction
|
||||||
|
{
|
||||||
|
public IPwEntity Entity
|
||||||
|
{
|
||||||
|
get { return (IPwEntity)GetValue(EntityProperty); }
|
||||||
|
set { SetValue(EntityProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty EntityProperty =
|
||||||
|
DependencyProperty.Register("Entity", typeof(IPwEntity), typeof(RestoreEntityAction),
|
||||||
|
new PropertyMetadata(null));
|
||||||
|
|
||||||
|
public ICommand Command
|
||||||
|
{
|
||||||
|
get { return (ICommand)GetValue(CommandProperty); }
|
||||||
|
set { SetValue(CommandProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty CommandProperty =
|
||||||
|
DependencyProperty.Register("Command", typeof(ICommand), typeof(RestoreEntityAction),
|
||||||
|
new PropertyMetadata(null));
|
||||||
|
|
||||||
|
|
||||||
|
public object Execute(object sender, object parameter)
|
||||||
|
{
|
||||||
|
var resource = new ResourcesService();
|
||||||
|
var type = Entity is GroupVm ? "Group" : "Entry";
|
||||||
|
|
||||||
|
ToastNotificationHelper.ShowMovedToast(Entity, resource.GetResourceValue("EntityRestoredTitle"),
|
||||||
|
resource.GetResourceValue($"{type}Restored"));
|
||||||
|
Command.Execute(null);
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -1,4 +1,6 @@
|
|||||||
using Windows.UI.Xaml;
|
using System.Threading.Tasks;
|
||||||
|
using Windows.UI.Core;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
using Windows.UI.Xaml.Controls;
|
using Windows.UI.Xaml.Controls;
|
||||||
using Microsoft.Xaml.Interactivity;
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
|
||||||
@@ -13,11 +15,13 @@ namespace ModernKeePass.Actions
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static readonly DependencyProperty TargetObjectProperty =
|
public static readonly DependencyProperty TargetObjectProperty =
|
||||||
DependencyProperty.Register("TargetObject", typeof(Control), typeof(SetupFocusAction), new PropertyMetadata(0));
|
DependencyProperty.Register("TargetObject", typeof(Control), typeof(SetupFocusAction), new PropertyMetadata(null));
|
||||||
|
|
||||||
public object Execute(object sender, object parameter)
|
public object Execute(object sender, object parameter)
|
||||||
{
|
{
|
||||||
return TargetObject?.Focus(FocusState.Programmatic);
|
return Task.Factory.StartNew(
|
||||||
|
() => Dispatcher.RunAsync(CoreDispatcherPriority.Low,
|
||||||
|
() => TargetObject?.Focus(FocusState.Programmatic)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
33
ModernKeePass/Actions/ToastAction.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Microsoft.Xaml.Interactivity;
|
||||||
|
using ModernKeePass.Common;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Actions
|
||||||
|
{
|
||||||
|
public class ToastAction : DependencyObject, IAction
|
||||||
|
{
|
||||||
|
public string Title
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(TitleProperty); }
|
||||||
|
set { SetValue(TitleProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty TitleProperty =
|
||||||
|
DependencyProperty.Register("Title", typeof(string), typeof(ToastAction), new PropertyMetadata(string.Empty));
|
||||||
|
|
||||||
|
public string Message
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(MessageProperty); }
|
||||||
|
set { SetValue(MessageProperty, value); }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static readonly DependencyProperty MessageProperty =
|
||||||
|
DependencyProperty.Register("Message", typeof(string), typeof(ToastAction), new PropertyMetadata(string.Empty));
|
||||||
|
|
||||||
|
public object Execute(object sender, object parameter)
|
||||||
|
{
|
||||||
|
ToastNotificationHelper.ShowGenericToast(Title, Message);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -6,10 +6,14 @@
|
|||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<ResourceDictionary Source="Styles/TextBoxWithButtonStyle.xaml" />
|
<ResourceDictionary Source="ResourceDictionaries/Globals.xaml" />
|
||||||
<ResourceDictionary Source="Styles/HamburgerButtonStyle.xaml" />
|
<ResourceDictionary Source="ResourceDictionaries/TextBoxWithButtonStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="ResourceDictionaries/HamburgerButtonStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="ResourceDictionaries/ListViewLeftIndicatorStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="ResourceDictionaries/NoBorderButtonStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="ResourceDictionaries/NoBorderToggleButtonStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="ResourceDictionaries/Styles.xaml" />
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
|
|
||||||
</Application>
|
</Application>
|
||||||
|
@@ -1,14 +1,19 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using Windows.ApplicationModel;
|
using Windows.ApplicationModel;
|
||||||
using Windows.ApplicationModel.Activation;
|
using Windows.ApplicationModel.Activation;
|
||||||
using Windows.Data.Json;
|
|
||||||
using Windows.Storage;
|
using Windows.Storage;
|
||||||
|
using Windows.Storage.Pickers;
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
using Windows.UI.Xaml.Controls;
|
using Windows.UI.Xaml.Controls;
|
||||||
using Windows.UI.Xaml.Navigation;
|
using Windows.UI.Xaml.Navigation;
|
||||||
|
using Microsoft.HockeyApp;
|
||||||
using ModernKeePass.Common;
|
using ModernKeePass.Common;
|
||||||
using ModernKeePass.Interfaces;
|
using ModernKeePass.Exceptions;
|
||||||
|
using ModernKeePass.Services;
|
||||||
|
using ModernKeePass.Views;
|
||||||
|
|
||||||
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
|
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
|
||||||
|
|
||||||
@@ -17,40 +22,76 @@ namespace ModernKeePass
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides application-specific behavior to supplement the default Application class.
|
/// Provides application-specific behavior to supplement the default Application class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
sealed partial class App : Application
|
sealed partial class App
|
||||||
{
|
{
|
||||||
public DatabaseHelper Database { get; set; } = new DatabaseHelper();
|
|
||||||
public Dictionary<string, IPwEntity> PendingDeleteEntities = new Dictionary<string, IPwEntity>();
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes the singleton application object. This is the first line of authored code
|
/// Initializes the singleton application object. This is the first line of authored code
|
||||||
/// executed, and as such is the logical equivalent of main() or WinMain().
|
/// executed, and as such is the logical equivalent of main() or WinMain().
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public App()
|
public App()
|
||||||
{
|
{
|
||||||
|
HockeyClient.Current.Configure("2fe83672887b4910b9de93a4398d0f8f");
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Suspending += OnSuspending;
|
Suspending += OnSuspending;
|
||||||
|
Resuming += OnResuming;
|
||||||
|
UnhandledException += OnUnhandledException;
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Event Handlers
|
#region Event Handlers
|
||||||
|
|
||||||
|
private async void OnUnhandledException(object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs)
|
||||||
|
{
|
||||||
|
// Save the argument exception because it's cleared on first access
|
||||||
|
var exception = unhandledExceptionEventArgs.Exception;
|
||||||
|
var realException =
|
||||||
|
exception is TargetInvocationException &&
|
||||||
|
exception.InnerException != null
|
||||||
|
? exception.InnerException
|
||||||
|
: exception;
|
||||||
|
|
||||||
|
var database = DatabaseService.Instance;
|
||||||
|
var resource = new ResourcesService();
|
||||||
|
if (realException is SaveException)
|
||||||
|
{
|
||||||
|
unhandledExceptionEventArgs.Handled = true;
|
||||||
|
await MessageDialogHelper.ShowActionDialog(resource.GetResourceValue("MessageDialogSaveErrorTitle"),
|
||||||
|
realException.InnerException.Message,
|
||||||
|
resource.GetResourceValue("MessageDialogSaveErrorButtonSaveAs"),
|
||||||
|
resource.GetResourceValue("MessageDialogSaveErrorButtonDiscard"),
|
||||||
|
async command =>
|
||||||
|
{
|
||||||
|
var savePicker = new FileSavePicker
|
||||||
|
{
|
||||||
|
SuggestedStartLocation = PickerLocationId.DocumentsLibrary,
|
||||||
|
SuggestedFileName = $"{database.Name} - copy"
|
||||||
|
};
|
||||||
|
savePicker.FileTypeChoices.Add(resource.GetResourceValue("MessageDialogSaveErrorFileTypeDesc"),
|
||||||
|
new List<string> {".kdbx"});
|
||||||
|
|
||||||
|
var file = await savePicker.PickSaveFileAsync();
|
||||||
|
if (file != null) database.Save(file);
|
||||||
|
}, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when the application is launched normally by the end user. Other entry points
|
/// Invoked when the application is launched normally by the end user. Other entry points
|
||||||
/// will be used such as when the application is launched to open a specific file.
|
/// will be used such as when the application is launched to open a specific file.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="e">Details about the launch request and process.</param>
|
/// <param name="args">Details about the launch request and process.</param>
|
||||||
protected override void OnLaunched(LaunchActivatedEventArgs e)
|
protected override async void OnLaunched(LaunchActivatedEventArgs args)
|
||||||
{
|
{
|
||||||
OnLaunchOrActivated(e);
|
await OnLaunchOrActivated(args);
|
||||||
|
await HockeyClient.Current.SendCrashesAsync(/* sendWithoutAsking: true */);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnActivated(IActivatedEventArgs args)
|
protected override async void OnActivated(IActivatedEventArgs args)
|
||||||
{
|
{
|
||||||
OnLaunchOrActivated(args);
|
await OnLaunchOrActivated(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnLaunchOrActivated(IActivatedEventArgs e)
|
private async Task OnLaunchOrActivated(IActivatedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
if (System.Diagnostics.Debugger.IsAttached)
|
if (System.Diagnostics.Debugger.IsAttached)
|
||||||
{
|
{
|
||||||
@@ -72,49 +113,54 @@ namespace ModernKeePass
|
|||||||
|
|
||||||
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
|
if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
|
||||||
{
|
{
|
||||||
//TODO: Load state from previously suspended application
|
// Load state from previously terminated application
|
||||||
|
await SuspensionManager.RestoreAsync();
|
||||||
|
#if DEBUG
|
||||||
|
await MessageDialogHelper.ShowNotificationDialog("App terminated", "Windows or an error made the app terminate");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Place the frame in the current Window
|
// Place the frame in the current Window
|
||||||
Window.Current.Content = rootFrame;
|
Window.Current.Content = rootFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e is LaunchActivatedEventArgs)
|
var lauchActivatedEventArgs = e as LaunchActivatedEventArgs;
|
||||||
{
|
if (lauchActivatedEventArgs != null && rootFrame.Content == null)
|
||||||
var lauchActivatedEventArgs = (LaunchActivatedEventArgs) e;
|
rootFrame.Navigate(typeof(MainPage), lauchActivatedEventArgs.Arguments);
|
||||||
if (rootFrame.Content == null)
|
|
||||||
{
|
|
||||||
// When the navigation stack isn't restored navigate to the first page,
|
|
||||||
// configuring the new page by passing required information as a navigation
|
|
||||||
// parameter
|
|
||||||
rootFrame.Navigate(typeof(MainPage), lauchActivatedEventArgs.Arguments);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// App is "launched" via the Toast Activation event
|
|
||||||
UndoEntityDelete(lauchActivatedEventArgs.Arguments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// This is only available on Windows 10...
|
|
||||||
/*else if (e is ToastNotificationActivatedEventArgs)
|
|
||||||
{
|
|
||||||
var toastActivationArgs = e as ToastNotificationActivatedEventArgs;
|
|
||||||
|
|
||||||
// Parse the query string (using QueryString.NET)
|
|
||||||
UndoEntityDelete(QueryString.Parse(toastActivationArgs.Argument));
|
|
||||||
}*/
|
|
||||||
// Ensure the current window is active
|
// Ensure the current window is active
|
||||||
Window.Current.Activate();
|
Window.Current.Activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnResuming(object sender, object e)
|
||||||
|
{
|
||||||
|
var currentFrame = Window.Current.Content as Frame;
|
||||||
|
var database = DatabaseService.Instance;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
database.ReOpen();
|
||||||
|
#if DEBUG
|
||||||
|
ToastNotificationHelper.ShowGenericToast(database.Name, "Database reopened (changes were saved)");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
currentFrame?.Navigate(typeof(MainPage));
|
||||||
|
#if DEBUG
|
||||||
|
ToastNotificationHelper.ShowGenericToast("App resumed", "Nothing to do, no previous database opened");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invoked when Navigation to a certain page fails
|
/// Invoked when Navigation to a certain page fails
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="sender">The Frame which failed navigation</param>
|
/// <param name="sender">The Frame which failed navigation</param>
|
||||||
/// <param name="e">Details about the navigation failure</param>
|
/// <param name="e">Details about the navigation failure</param>
|
||||||
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
|
private void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
|
||||||
{
|
{
|
||||||
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
|
throw new NavigationException(e.SourcePageType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -124,10 +170,20 @@ namespace ModernKeePass
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="sender">The source of the suspend request.</param>
|
/// <param name="sender">The source of the suspend request.</param>
|
||||||
/// <param name="e">Details about the suspend request.</param>
|
/// <param name="e">Details about the suspend request.</param>
|
||||||
private void OnSuspending(object sender, SuspendingEventArgs e)
|
private async void OnSuspending(object sender, SuspendingEventArgs e)
|
||||||
{
|
{
|
||||||
var deferral = e.SuspendingOperation.GetDeferral();
|
var deferral = e.SuspendingOperation.GetDeferral();
|
||||||
Database.Save();
|
var database = DatabaseService.Instance;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (SettingsService.Instance.GetSetting("SaveSuspend", true)) database.Save();
|
||||||
|
database.Close(false);
|
||||||
|
}
|
||||||
|
catch (Exception exception)
|
||||||
|
{
|
||||||
|
ToastNotificationHelper.ShowErrorToast(exception);
|
||||||
|
}
|
||||||
|
await SuspensionManager.SaveAsync();
|
||||||
deferral.Complete();
|
deferral.Complete();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,20 +195,12 @@ namespace ModernKeePass
|
|||||||
{
|
{
|
||||||
base.OnFileActivated(args);
|
base.OnFileActivated(args);
|
||||||
var rootFrame = new Frame();
|
var rootFrame = new Frame();
|
||||||
Database.DatabaseFile = args.Files[0] as StorageFile;
|
var file = args.Files[0] as StorageFile;
|
||||||
rootFrame.Navigate(typeof(MainPage), args);
|
rootFrame.Navigate(typeof(MainPage), file);
|
||||||
Window.Current.Content = rootFrame;
|
Window.Current.Content = rootFrame;
|
||||||
Window.Current.Activate();
|
Window.Current.Activate();
|
||||||
}
|
}
|
||||||
#endregion
|
|
||||||
|
|
||||||
private void UndoEntityDelete(string arguments)
|
#endregion
|
||||||
{
|
|
||||||
if (arguments == null) return;
|
|
||||||
var args = JsonObject.Parse(arguments);
|
|
||||||
var entity = PendingDeleteEntities[args["entityId"].GetString()];
|
|
||||||
PendingDeleteEntities.Remove(args["entityId"].GetString());
|
|
||||||
entity.UndoDelete();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 907 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 607 B |
BIN
ModernKeePass/Assets/ModernKeePass-SmallLogo.targetsize-16.png
Normal file
After Width: | Height: | Size: 463 B |
BIN
ModernKeePass/Assets/ModernKeePass-SmallLogo.targetsize-256.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
ModernKeePass/Assets/ModernKeePass-SmallLogo.targetsize-32.png
Normal file
After Width: | Height: | Size: 736 B |
BIN
ModernKeePass/Assets/ModernKeePass-SmallLogo.targetsize-48.png
Normal file
After Width: | Height: | Size: 980 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 700 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 907 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1020 B After Width: | Height: | Size: 607 B |
BIN
ModernKeePass/Assets/SmallLogo.targetsize-16.png
Normal file
After Width: | Height: | Size: 463 B |
BIN
ModernKeePass/Assets/SmallLogo.targetsize-256.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
ModernKeePass/Assets/SmallLogo.targetsize-32.png
Normal file
After Width: | Height: | Size: 736 B |
BIN
ModernKeePass/Assets/SmallLogo.targetsize-48.png
Normal file
After Width: | Height: | Size: 980 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 728 B |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -1,4 +0,0 @@
|
|||||||
MainPackage=C:\Users\GBE\Source\Repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.4.0.19_AnyCPU.appx
|
|
||||||
SymbolPackage=C:\Users\GBE\Source\Repos\ModernKeePass\ModernKeePass\AppPackages\ModernKeePass_1.4.0.19_Test\ModernKeePass_1.4.0.19_AnyCPU.appxsym
|
|
||||||
ResourcePack=C:\Users\GBE\Source\Repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.4.0.19_scale-140.appx
|
|
||||||
ResourcePack=C:\Users\GBE\Source\Repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.4.0.19_scale-180.appx
|
|
@@ -1,86 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Windows.Storage;
|
|
||||||
using ModernKeePass.ViewModels;
|
|
||||||
using ModernKeePassLib;
|
|
||||||
using ModernKeePassLib.Interfaces;
|
|
||||||
using ModernKeePassLib.Keys;
|
|
||||||
using ModernKeePassLib.Serialization;
|
|
||||||
|
|
||||||
namespace ModernKeePass.Common
|
|
||||||
{
|
|
||||||
public class DatabaseHelper
|
|
||||||
{
|
|
||||||
public enum DatabaseStatus
|
|
||||||
{
|
|
||||||
Closed = 0,
|
|
||||||
Opening = 1,
|
|
||||||
Opened = 2
|
|
||||||
}
|
|
||||||
private PwDatabase _pwDatabase = new PwDatabase();
|
|
||||||
private StorageFile _databaseFile;
|
|
||||||
|
|
||||||
public GroupVm RootGroup { get; set; }
|
|
||||||
public DatabaseStatus Status { get; private set; } = DatabaseStatus.Closed;
|
|
||||||
public string Name => DatabaseFile?.Name;
|
|
||||||
|
|
||||||
public StorageFile DatabaseFile
|
|
||||||
{
|
|
||||||
get { return _databaseFile; }
|
|
||||||
set
|
|
||||||
{
|
|
||||||
_databaseFile = value;
|
|
||||||
Status = DatabaseStatus.Opening;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Open(string password, bool createNew = false)
|
|
||||||
{
|
|
||||||
var key = new CompositeKey();
|
|
||||||
try
|
|
||||||
{
|
|
||||||
key.AddUserKey(new KcpPassword(password));
|
|
||||||
var ioConnection = IOConnectionInfo.FromFile(DatabaseFile);
|
|
||||||
if (createNew) _pwDatabase.New(ioConnection, key);
|
|
||||||
else _pwDatabase.Open(ioConnection, key, new NullStatusLogger());
|
|
||||||
|
|
||||||
if (_pwDatabase.IsOpen)
|
|
||||||
{
|
|
||||||
Status = DatabaseStatus.Opened;
|
|
||||||
RootGroup = new GroupVm(_pwDatabase.RootGroup, null);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (ArgumentNullException)
|
|
||||||
{
|
|
||||||
return "Password cannot be empty";
|
|
||||||
}
|
|
||||||
catch (InvalidCompositeKeyException)
|
|
||||||
{
|
|
||||||
return "Wrong password";
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
return ex.Message;
|
|
||||||
}
|
|
||||||
return string.Empty;
|
|
||||||
}
|
|
||||||
|
|
||||||
internal void Save(StorageFile file)
|
|
||||||
{
|
|
||||||
DatabaseFile = file;
|
|
||||||
_pwDatabase.SaveAs(IOConnectionInfo.FromFile(DatabaseFile), true, new NullStatusLogger());
|
|
||||||
Status = DatabaseStatus.Opened;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Save()
|
|
||||||
{
|
|
||||||
if (_pwDatabase != null && _pwDatabase.IsOpen)
|
|
||||||
_pwDatabase.Save(new NullStatusLogger());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Close()
|
|
||||||
{
|
|
||||||
_pwDatabase?.Close();
|
|
||||||
Status = DatabaseStatus.Closed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
56
ModernKeePass/Common/MessageDialogHelper.cs
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Windows.UI.Popups;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Common
|
||||||
|
{
|
||||||
|
public static class MessageDialogHelper
|
||||||
|
{
|
||||||
|
public static async Task ShowActionDialog(string title, string contentText, string actionButtonText, string cancelButtonText, UICommandInvokedHandler actionCommand, UICommandInvokedHandler cancelCommand)
|
||||||
|
{
|
||||||
|
// Create the message dialog and set its content
|
||||||
|
var messageDialog = CreateBasicDialog(title, contentText, cancelButtonText, cancelCommand);
|
||||||
|
|
||||||
|
// Add commands and set their callbacks; both buttons use the same callback function instead of inline event handlers
|
||||||
|
messageDialog.Commands.Add(new UICommand(actionButtonText, actionCommand));
|
||||||
|
|
||||||
|
// Show the message dialog
|
||||||
|
await messageDialog.ShowAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static async Task ShowErrorDialog(Exception exception)
|
||||||
|
{
|
||||||
|
if (exception == null) return;
|
||||||
|
// Create the message dialog and set its content
|
||||||
|
var messageDialog = CreateBasicDialog(exception.Message, exception.StackTrace, "OK");
|
||||||
|
|
||||||
|
// Show the message dialog
|
||||||
|
await messageDialog.ShowAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static async Task ShowNotificationDialog(string title, string message)
|
||||||
|
{
|
||||||
|
var dialog = CreateBasicDialog(title, message, "OK");
|
||||||
|
|
||||||
|
// Show the message dialog
|
||||||
|
await dialog.ShowAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static MessageDialog CreateBasicDialog(string title, string message, string dismissActionText, UICommandInvokedHandler cancelCommand = null)
|
||||||
|
{
|
||||||
|
// Create the message dialog and set its content
|
||||||
|
var messageDialog = new MessageDialog(message, title);
|
||||||
|
|
||||||
|
// Add commands and set their callbacks
|
||||||
|
messageDialog.Commands.Add(new UICommand(dismissActionText, cancelCommand));
|
||||||
|
|
||||||
|
// Set the command that will be invoked by default
|
||||||
|
messageDialog.DefaultCommandIndex = 1;
|
||||||
|
|
||||||
|
// Set the command to be invoked when escape is pressed
|
||||||
|
messageDialog.CancelCommandIndex = 1;
|
||||||
|
|
||||||
|
return messageDialog;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -8,7 +8,7 @@ namespace ModernKeePass.Common
|
|||||||
{
|
{
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
protected void OnPropertyChanged([CallerMemberName] string propertyName = "")
|
protected void OnPropertyChanged(string propertyName = "")
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Windows.Foundation.Collections;
|
using Windows.Foundation.Collections;
|
||||||
|
|
||||||
@@ -15,15 +14,15 @@ namespace ModernKeePass.Common
|
|||||||
{
|
{
|
||||||
public ObservableDictionaryChangedEventArgs(CollectionChange change, string key)
|
public ObservableDictionaryChangedEventArgs(CollectionChange change, string key)
|
||||||
{
|
{
|
||||||
this.CollectionChange = change;
|
CollectionChange = change;
|
||||||
this.Key = key;
|
Key = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CollectionChange CollectionChange { get; private set; }
|
public CollectionChange CollectionChange { get; private set; }
|
||||||
public string Key { get; private set; }
|
public string Key { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
private Dictionary<string, object> _dictionary = new Dictionary<string, object>();
|
private readonly Dictionary<string, object> _dictionary = new Dictionary<string, object>();
|
||||||
public event MapChangedEventHandler<string, object> MapChanged;
|
public event MapChangedEventHandler<string, object> MapChanged;
|
||||||
|
|
||||||
private void InvokeMapChanged(CollectionChange change, string key)
|
private void InvokeMapChanged(CollectionChange change, string key)
|
||||||
@@ -37,13 +36,13 @@ namespace ModernKeePass.Common
|
|||||||
|
|
||||||
public void Add(string key, object value)
|
public void Add(string key, object value)
|
||||||
{
|
{
|
||||||
this._dictionary.Add(key, value);
|
_dictionary.Add(key, value);
|
||||||
this.InvokeMapChanged(CollectionChange.ItemInserted, key);
|
InvokeMapChanged(CollectionChange.ItemInserted, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Add(KeyValuePair<string, object> item)
|
public void Add(KeyValuePair<string, object> item)
|
||||||
{
|
{
|
||||||
this.Add(item.Key, item.Value);
|
Add(item.Key, item.Value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AddRange(IEnumerable<KeyValuePair<string, object>> values)
|
public void AddRange(IEnumerable<KeyValuePair<string, object>> values)
|
||||||
@@ -56,9 +55,9 @@ namespace ModernKeePass.Common
|
|||||||
|
|
||||||
public bool Remove(string key)
|
public bool Remove(string key)
|
||||||
{
|
{
|
||||||
if (this._dictionary.Remove(key))
|
if (_dictionary.Remove(key))
|
||||||
{
|
{
|
||||||
this.InvokeMapChanged(CollectionChange.ItemRemoved, key);
|
InvokeMapChanged(CollectionChange.ItemRemoved, key);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -67,10 +66,10 @@ namespace ModernKeePass.Common
|
|||||||
public bool Remove(KeyValuePair<string, object> item)
|
public bool Remove(KeyValuePair<string, object> item)
|
||||||
{
|
{
|
||||||
object currentValue;
|
object currentValue;
|
||||||
if (this._dictionary.TryGetValue(item.Key, out currentValue) &&
|
if (_dictionary.TryGetValue(item.Key, out currentValue) &&
|
||||||
Object.Equals(item.Value, currentValue) && this._dictionary.Remove(item.Key))
|
Equals(item.Value, currentValue) && _dictionary.Remove(item.Key))
|
||||||
{
|
{
|
||||||
this.InvokeMapChanged(CollectionChange.ItemRemoved, item.Key);
|
InvokeMapChanged(CollectionChange.ItemRemoved, item.Key);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -80,53 +79,53 @@ namespace ModernKeePass.Common
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return this._dictionary[key];
|
return _dictionary[key];
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
this._dictionary[key] = value;
|
_dictionary[key] = value;
|
||||||
this.InvokeMapChanged(CollectionChange.ItemChanged, key);
|
InvokeMapChanged(CollectionChange.ItemChanged, key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
{
|
{
|
||||||
var priorKeys = this._dictionary.Keys.ToArray();
|
var priorKeys = _dictionary.Keys.ToArray();
|
||||||
this._dictionary.Clear();
|
_dictionary.Clear();
|
||||||
foreach (var key in priorKeys)
|
foreach (var key in priorKeys)
|
||||||
{
|
{
|
||||||
this.InvokeMapChanged(CollectionChange.ItemRemoved, key);
|
InvokeMapChanged(CollectionChange.ItemRemoved, key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ICollection<string> Keys
|
public ICollection<string> Keys
|
||||||
{
|
{
|
||||||
get { return this._dictionary.Keys; }
|
get { return _dictionary.Keys; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool ContainsKey(string key)
|
public bool ContainsKey(string key)
|
||||||
{
|
{
|
||||||
return this._dictionary.ContainsKey(key);
|
return _dictionary.ContainsKey(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool TryGetValue(string key, out object value)
|
public bool TryGetValue(string key, out object value)
|
||||||
{
|
{
|
||||||
return this._dictionary.TryGetValue(key, out value);
|
return _dictionary.TryGetValue(key, out value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ICollection<object> Values
|
public ICollection<object> Values
|
||||||
{
|
{
|
||||||
get { return this._dictionary.Values; }
|
get { return _dictionary.Values; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Contains(KeyValuePair<string, object> item)
|
public bool Contains(KeyValuePair<string, object> item)
|
||||||
{
|
{
|
||||||
return this._dictionary.Contains(item);
|
return _dictionary.Contains(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Count
|
public int Count
|
||||||
{
|
{
|
||||||
get { return this._dictionary.Count; }
|
get { return _dictionary.Count; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsReadOnly
|
public bool IsReadOnly
|
||||||
@@ -136,18 +135,18 @@ namespace ModernKeePass.Common
|
|||||||
|
|
||||||
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
|
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
|
||||||
{
|
{
|
||||||
return this._dictionary.GetEnumerator();
|
return _dictionary.GetEnumerator();
|
||||||
}
|
}
|
||||||
|
|
||||||
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
|
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
|
||||||
{
|
{
|
||||||
return this._dictionary.GetEnumerator();
|
return _dictionary.GetEnumerator();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
|
public void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
|
||||||
{
|
{
|
||||||
int arraySize = array.Length;
|
int arraySize = array.Length;
|
||||||
foreach (var pair in this._dictionary)
|
foreach (var pair in _dictionary)
|
||||||
{
|
{
|
||||||
if (arrayIndex >= arraySize) break;
|
if (arrayIndex >= arraySize) break;
|
||||||
array[arrayIndex++] = pair;
|
array[arrayIndex++] = pair;
|
||||||
|
@@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
namespace ModernKeePass.Common
|
namespace ModernKeePass.Common
|
||||||
@@ -55,7 +51,7 @@ namespace ModernKeePass.Common
|
|||||||
/// <returns>true if this command can be executed; otherwise, false.</returns>
|
/// <returns>true if this command can be executed; otherwise, false.</returns>
|
||||||
public bool CanExecute(object parameter)
|
public bool CanExecute(object parameter)
|
||||||
{
|
{
|
||||||
return _canExecute == null ? true : _canExecute();
|
return _canExecute?.Invoke() ?? true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Windows.ApplicationModel;
|
|
||||||
using Windows.Storage;
|
using Windows.Storage;
|
||||||
using Windows.Storage.Streams;
|
using Windows.Storage.Streams;
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
@@ -20,10 +17,10 @@ namespace ModernKeePass.Common
|
|||||||
/// carry across sessions, but that should be discarded when an application crashes or is
|
/// carry across sessions, but that should be discarded when an application crashes or is
|
||||||
/// upgraded.
|
/// upgraded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal sealed class SuspensionManager
|
internal static class SuspensionManager
|
||||||
{
|
{
|
||||||
private static Dictionary<string, object> _sessionState = new Dictionary<string, object>();
|
private static Dictionary<string, object> _sessionState = new Dictionary<string, object>();
|
||||||
private static List<Type> _knownTypes = new List<Type>();
|
private static readonly List<Type> _knownTypes = new List<Type>();
|
||||||
private const string sessionStateFilename = "_sessionState.xml";
|
private const string sessionStateFilename = "_sessionState.xml";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -33,20 +30,14 @@ namespace ModernKeePass.Common
|
|||||||
/// <see cref="DataContractSerializer"/> and should be as compact as possible. Strings
|
/// <see cref="DataContractSerializer"/> and should be as compact as possible. Strings
|
||||||
/// and other self-contained data types are strongly recommended.
|
/// and other self-contained data types are strongly recommended.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Dictionary<string, object> SessionState
|
public static Dictionary<string, object> SessionState => _sessionState;
|
||||||
{
|
|
||||||
get { return _sessionState; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// List of custom types provided to the <see cref="DataContractSerializer"/> when
|
/// List of custom types provided to the <see cref="DataContractSerializer"/> when
|
||||||
/// reading and writing session state. Initially empty, additional types may be
|
/// reading and writing session state. Initially empty, additional types may be
|
||||||
/// added to customize the serialization process.
|
/// added to customize the serialization process.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static List<Type> KnownTypes
|
public static List<Type> KnownTypes => _knownTypes;
|
||||||
{
|
|
||||||
get { return _knownTypes; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Save the current <see cref="SessionState"/>. Any <see cref="Frame"/> instances
|
/// Save the current <see cref="SessionState"/>. Any <see cref="Frame"/> instances
|
||||||
|
@@ -2,72 +2,20 @@
|
|||||||
using Windows.Data.Json;
|
using Windows.Data.Json;
|
||||||
using Windows.Data.Xml.Dom;
|
using Windows.Data.Xml.Dom;
|
||||||
using Windows.UI.Notifications;
|
using Windows.UI.Notifications;
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using ModernKeePass.Interfaces;
|
using ModernKeePass.Interfaces;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
|
||||||
namespace ModernKeePass.Common
|
namespace ModernKeePass.Common
|
||||||
{
|
{
|
||||||
public static class ToastNotificationHelper
|
public static class ToastNotificationHelper
|
||||||
{
|
{
|
||||||
public static /*async*/ void ShowUndoToast(string entityType, IPwEntity entity)
|
public static void ShowMovedToast(IPwEntity entity, string action, string text)
|
||||||
{
|
{
|
||||||
// This is for Windows 10
|
var entityType = entity is GroupVm ? "Group" : "Entry";
|
||||||
// Construct the visuals of the toast
|
|
||||||
/*var visual = new ToastVisual
|
|
||||||
{
|
|
||||||
BindingGeneric = new ToastBindingGeneric
|
|
||||||
{
|
|
||||||
Children =
|
|
||||||
{
|
|
||||||
new AdaptiveText
|
|
||||||
{
|
|
||||||
Text = $"{entityType} {entity.Name} deleted."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Construct the actions for the toast (inputs and buttons)
|
|
||||||
var actions = new ToastActionsCustom
|
|
||||||
{
|
|
||||||
Buttons =
|
|
||||||
{
|
|
||||||
new ToastButton("Undo", new QueryString
|
|
||||||
{
|
|
||||||
{ "action", "undo" },
|
|
||||||
{ "entityType", entityType },
|
|
||||||
{ "entityId", entity.Id }
|
|
||||||
|
|
||||||
}.ToString())
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// Now we can construct the final toast content
|
|
||||||
var toastContent = new ToastContent
|
|
||||||
{
|
|
||||||
Visual = visual,
|
|
||||||
Actions = actions,
|
|
||||||
// Arguments when the user taps body of toast
|
|
||||||
Launch = new QueryString()
|
|
||||||
{
|
|
||||||
{ "action", "undo" },
|
|
||||||
{ "entityType", "group" },
|
|
||||||
{ "entityId", entity.Id }
|
|
||||||
|
|
||||||
}.ToString()
|
|
||||||
};
|
|
||||||
|
|
||||||
// And create the toast notification
|
|
||||||
var toastXml = new XmlDocument();
|
|
||||||
toastXml.LoadXml(toastContent.GetContent());
|
|
||||||
|
|
||||||
var toast = new ToastNotification(toastXml) {ExpirationTime = DateTime.Now.AddSeconds(5)};
|
|
||||||
toast.Dismissed += Toast_Dismissed;
|
|
||||||
*/
|
|
||||||
var notificationXml = ToastNotificationManager.GetTemplateContent(ToastTemplateType.ToastText02);
|
var notificationXml = ToastNotificationManager.GetTemplateContent(ToastTemplateType.ToastText02);
|
||||||
var toastElements = notificationXml.GetElementsByTagName("text");
|
var toastElements = notificationXml.GetElementsByTagName("text");
|
||||||
toastElements[0].AppendChild(notificationXml.CreateTextNode($"{entityType} {entity.Name} deleted"));
|
toastElements[0].AppendChild(notificationXml.CreateTextNode($"{action} {entityType} {entity.Name}"));
|
||||||
toastElements[1].AppendChild(notificationXml.CreateTextNode("Click me to undo"));
|
toastElements[1].AppendChild(notificationXml.CreateTextNode(text));
|
||||||
var toastNode = notificationXml.SelectSingleNode("/toast");
|
var toastNode = notificationXml.SelectSingleNode("/toast");
|
||||||
|
|
||||||
var launch = new JsonObject
|
var launch = new JsonObject
|
||||||
@@ -81,19 +29,26 @@ namespace ModernKeePass.Common
|
|||||||
{
|
{
|
||||||
ExpirationTime = DateTime.Now.AddSeconds(5)
|
ExpirationTime = DateTime.Now.AddSeconds(5)
|
||||||
};
|
};
|
||||||
toast.Dismissed += Toast_Dismissed;
|
|
||||||
ToastNotificationManager.CreateToastNotifier().Show(toast);
|
ToastNotificationManager.CreateToastNotifier().Show(toast);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void Toast_Dismissed(ToastNotification sender, ToastDismissedEventArgs args)
|
public static void ShowGenericToast(string title, string text)
|
||||||
{
|
{
|
||||||
var toastNode = sender.Content.SelectSingleNode("/toast");
|
var notificationXml = ToastNotificationManager.GetTemplateContent(ToastTemplateType.ToastText02);
|
||||||
if (toastNode == null) return;
|
var toastElements = notificationXml.GetElementsByTagName("text");
|
||||||
var launchArguments = JsonObject.Parse(((XmlElement)toastNode).GetAttribute("launch"));
|
toastElements[0].AppendChild(notificationXml.CreateTextNode(title));
|
||||||
var app = (App)Application.Current;
|
toastElements[1].AppendChild(notificationXml.CreateTextNode(text));
|
||||||
var entity = app.PendingDeleteEntities[launchArguments["entityId"].GetString()];
|
|
||||||
app.PendingDeleteEntities.Remove(launchArguments["entityId"].GetString());
|
var toast = new ToastNotification(notificationXml)
|
||||||
entity.CommitDelete();
|
{
|
||||||
|
ExpirationTime = DateTime.Now.AddSeconds(5)
|
||||||
|
};
|
||||||
|
ToastNotificationManager.CreateToastNotifier().Show(toast);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ShowErrorToast(Exception exception)
|
||||||
|
{
|
||||||
|
ShowGenericToast(exception.Source, exception.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,331 +0,0 @@
|
|||||||
<UserControl x:Name="UserControl"
|
|
||||||
x:Class="ModernKeePass.Controls.OpenDatabaseUserControl"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
d:DesignHeight="60"
|
|
||||||
d:DesignWidth="335" Loaded="UserControl_Loaded">
|
|
||||||
<UserControl.Resources>
|
|
||||||
<Style TargetType="PasswordBox" x:Name="PasswordBoxWithButtonStyle">
|
|
||||||
<Setter Property="MinWidth" Value="{ThemeResource TextControlThemeMinWidth}" />
|
|
||||||
<Setter Property="MinHeight" Value="{ThemeResource TextControlThemeMinHeight}" />
|
|
||||||
<Setter Property="Foreground" Value="{ThemeResource TextBoxForegroundThemeBrush}" />
|
|
||||||
<Setter Property="Background" Value="{ThemeResource TextBoxBackgroundThemeBrush}" />
|
|
||||||
<Setter Property="SelectionHighlightColor" Value="{ThemeResource TextSelectionHighlightColorThemeBrush}" />
|
|
||||||
<Setter Property="BorderBrush" Value="{ThemeResource TextBoxBorderThemeBrush}" />
|
|
||||||
<Setter Property="BorderThickness" Value="{ThemeResource TextControlBorderThemeThickness}" />
|
|
||||||
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
|
|
||||||
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
|
|
||||||
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Hidden" />
|
|
||||||
<Setter Property="Padding" Value="{ThemeResource TextControlThemePadding}"/>
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="PasswordBox">
|
|
||||||
<Grid>
|
|
||||||
<Grid.Resources>
|
|
||||||
<Style x:Name="RevealButtonStyle" TargetType="Button">
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Button">
|
|
||||||
<Grid>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Normal" />
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Pressed">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Disabled">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
To="0"
|
|
||||||
Duration="0" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
To="0"
|
|
||||||
Duration="0" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<Border x:Name="BorderElement"
|
|
||||||
BorderBrush="{ThemeResource TextBoxButtonBorderThemeBrush}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"/>
|
|
||||||
<Border x:Name="BackgroundElement"
|
|
||||||
Background="{ThemeResource TextBoxButtonBackgroundThemeBrush}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}">
|
|
||||||
<TextBlock x:Name="GlyphElement"
|
|
||||||
Foreground="{ThemeResource TextBoxButtonForegroundThemeBrush}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
FontStyle="Normal"
|
|
||||||
Text=""
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"/>
|
|
||||||
</Border>
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
|
|
||||||
<Style x:Name="GotoButtonStyle" TargetType="Button">
|
|
||||||
<Setter Property="Template">
|
|
||||||
<Setter.Value>
|
|
||||||
<ControlTemplate TargetType="Button">
|
|
||||||
<Grid>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Normal" >
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPointerOverForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Pressed">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="GlyphElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxButtonPressedForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Disabled">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
To="0"
|
|
||||||
Duration="0" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
To="0"
|
|
||||||
Duration="0" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<Border x:Name="BorderElement"
|
|
||||||
BorderBrush="{ThemeResource TextBoxButtonBorderThemeBrush}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"/>
|
|
||||||
<Border x:Name="BackgroundElement"
|
|
||||||
Background="{ThemeResource TextBoxButtonBackgroundThemeBrush}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}">
|
|
||||||
<TextBlock x:Name="GlyphElement"
|
|
||||||
Foreground="{ThemeResource TextBoxButtonForegroundThemeBrush}"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
HorizontalAlignment="Center"
|
|
||||||
FontStyle="Normal"
|
|
||||||
Text=""
|
|
||||||
Padding="4,0,4,0"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"/>
|
|
||||||
</Border>
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
</Grid.Resources>
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
<VisualStateGroup x:Name="CommonStates">
|
|
||||||
<VisualState x:Name="Disabled">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Background">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledBorderThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentElement"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PlaceholderTextContentPresenter"
|
|
||||||
Storyboard.TargetProperty="Foreground">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextBoxDisabledForegroundThemeBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Normal">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="{ThemeResource TextControlBackgroundThemeOpacity}" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="{ThemeResource TextControlBorderThemeOpacity}" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="PointerOver">
|
|
||||||
<Storyboard>
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BackgroundElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="{ThemeResource TextControlPointerOverBackgroundThemeOpacity}" />
|
|
||||||
<DoubleAnimation Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="Opacity"
|
|
||||||
Duration="0"
|
|
||||||
To="{ThemeResource TextControlPointerOverBorderThemeOpacity}" />
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="Focused" />
|
|
||||||
</VisualStateGroup>
|
|
||||||
<VisualStateGroup x:Name="ButtonStates">
|
|
||||||
<VisualState x:Name="ButtonVisible">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="RevealButton"
|
|
||||||
Storyboard.TargetProperty="Visibility">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0">
|
|
||||||
<DiscreteObjectKeyFrame.Value>
|
|
||||||
<Visibility>Visible</Visibility>
|
|
||||||
</DiscreteObjectKeyFrame.Value>
|
|
||||||
</DiscreteObjectKeyFrame>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<VisualState x:Name="ButtonCollapsed" />
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="*" />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition Height="*" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Border x:Name="BackgroundElement"
|
|
||||||
Grid.Row="1"
|
|
||||||
Background="{TemplateBinding Background}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"
|
|
||||||
Grid.RowSpan="1"/>
|
|
||||||
<Border x:Name="BorderElement"
|
|
||||||
Grid.Row="1"
|
|
||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
|
||||||
Grid.ColumnSpan="3"
|
|
||||||
Grid.RowSpan="1"/>
|
|
||||||
<ContentPresenter x:Name="HeaderContentPresenter"
|
|
||||||
Grid.Row="0"
|
|
||||||
Foreground="{ThemeResource TextBoxForegroundHeaderThemeBrush}"
|
|
||||||
Margin="0,4,0,4"
|
|
||||||
Grid.ColumnSpan="3"
|
|
||||||
Content="{TemplateBinding Header}"
|
|
||||||
ContentTemplate="{TemplateBinding HeaderTemplate}"
|
|
||||||
FontWeight="Semilight" />
|
|
||||||
<ScrollViewer x:Name="ContentElement"
|
|
||||||
Grid.Row="1"
|
|
||||||
HorizontalScrollMode="{TemplateBinding ScrollViewer.HorizontalScrollMode}"
|
|
||||||
HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
|
|
||||||
VerticalScrollMode="{TemplateBinding ScrollViewer.VerticalScrollMode}"
|
|
||||||
VerticalScrollBarVisibility="{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
|
|
||||||
IsHorizontalRailEnabled="{TemplateBinding ScrollViewer.IsHorizontalRailEnabled}"
|
|
||||||
IsVerticalRailEnabled="{TemplateBinding ScrollViewer.IsVerticalRailEnabled}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Padding="{TemplateBinding Padding}"
|
|
||||||
IsTabStop="False"
|
|
||||||
ZoomMode="Disabled"
|
|
||||||
AutomationProperties.AccessibilityView="Raw"/>
|
|
||||||
<ContentControl x:Name="PlaceholderTextContentPresenter"
|
|
||||||
Grid.Row="1"
|
|
||||||
Foreground="{ThemeResource TextBoxPlaceholderTextThemeBrush}"
|
|
||||||
Margin="{TemplateBinding BorderThickness}"
|
|
||||||
Padding="{TemplateBinding Padding}"
|
|
||||||
IsTabStop="False"
|
|
||||||
Grid.ColumnSpan="3"
|
|
||||||
Content="{TemplateBinding PlaceholderText}"
|
|
||||||
IsHitTestVisible="False"/>
|
|
||||||
<Button x:Name="RevealButton"
|
|
||||||
Grid.Row="1"
|
|
||||||
Style="{StaticResource RevealButtonStyle}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
|
||||||
IsTabStop="False"
|
|
||||||
Grid.Column="1"
|
|
||||||
Visibility="Collapsed"
|
|
||||||
FontSize="{TemplateBinding FontSize}"
|
|
||||||
VerticalAlignment="Stretch"/>
|
|
||||||
<Button x:Name="GotoButton"
|
|
||||||
Grid.Row="1"
|
|
||||||
Style="{StaticResource GotoButtonStyle}"
|
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
|
||||||
IsTabStop="False"
|
|
||||||
Grid.Column="2"
|
|
||||||
Visibility="Visible"
|
|
||||||
FontSize="{TemplateBinding FontSize}"
|
|
||||||
VerticalAlignment="Stretch"
|
|
||||||
Click="OpenButton_OnClick" />
|
|
||||||
</Grid>
|
|
||||||
</ControlTemplate>
|
|
||||||
</Setter.Value>
|
|
||||||
</Setter>
|
|
||||||
</Style>
|
|
||||||
</UserControl.Resources>
|
|
||||||
<StackPanel>
|
|
||||||
<PasswordBox x:Name="PasswordBox" Password="{Binding Password, ElementName=UserControl, Mode=TwoWay}" Width="300" IsPasswordRevealButtonEnabled="True" KeyDown="PasswordBox_KeyDown" PlaceholderText="Password" Style="{StaticResource PasswordBoxWithButtonStyle}"/>
|
|
||||||
<TextBlock x:Name="StatusTextBlock" Height="32" Width="auto" Foreground="#FFBF6969" FontSize="16" FontWeight="Bold" />
|
|
||||||
</StackPanel>
|
|
||||||
</UserControl>
|
|
@@ -1,72 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Windows.System;
|
|
||||||
using Windows.UI.Core;
|
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using Windows.UI.Xaml.Input;
|
|
||||||
using ModernKeePass.Common;
|
|
||||||
using ModernKeePass.Events;
|
|
||||||
using ModernKeePassLib.Cryptography;
|
|
||||||
|
|
||||||
// Pour en savoir plus sur le modèle d'élément Contrôle utilisateur, consultez la page http://go.microsoft.com/fwlink/?LinkId=234236
|
|
||||||
|
|
||||||
namespace ModernKeePass.Controls
|
|
||||||
{
|
|
||||||
public sealed partial class OpenDatabaseUserControl
|
|
||||||
{
|
|
||||||
public bool CreateNew
|
|
||||||
{
|
|
||||||
get { return (bool)GetValue(CreateNewProperty); }
|
|
||||||
set { SetValue(CreateNewProperty, value); }
|
|
||||||
}
|
|
||||||
public static readonly DependencyProperty CreateNewProperty =
|
|
||||||
DependencyProperty.Register(
|
|
||||||
"CreateNew",
|
|
||||||
typeof(bool),
|
|
||||||
typeof(OpenDatabaseUserControl),
|
|
||||||
new PropertyMetadata(false, (o, args) => { }));
|
|
||||||
|
|
||||||
public string Password
|
|
||||||
{
|
|
||||||
get { return (string)GetValue(PasswordProperty); }
|
|
||||||
set { SetValue(PasswordProperty, value); }
|
|
||||||
}
|
|
||||||
public static readonly DependencyProperty PasswordProperty =
|
|
||||||
DependencyProperty.Register(
|
|
||||||
"Password",
|
|
||||||
typeof(string),
|
|
||||||
typeof(OpenDatabaseUserControl),
|
|
||||||
new PropertyMetadata(string.Empty, (o, args) => { }));
|
|
||||||
|
|
||||||
public OpenDatabaseUserControl()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
public event PasswordCheckingEventHandler ValidationChecking;
|
|
||||||
public delegate void PasswordCheckingEventHandler(object sender, EventArgs e);
|
|
||||||
public event PasswordCheckedEventHandler ValidationChecked;
|
|
||||||
public delegate void PasswordCheckedEventHandler(object sender, PasswordEventArgs e);
|
|
||||||
|
|
||||||
private void OpenButton_OnClick(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
ValidationChecking?.Invoke(this, new EventArgs());
|
|
||||||
var app = (App)Application.Current;
|
|
||||||
StatusTextBlock.Text = app.Database.Open(PasswordBox.Password, CreateNew);
|
|
||||||
if (app.Database.Status == DatabaseHelper.DatabaseStatus.Opened)
|
|
||||||
ValidationChecked?.Invoke(this, new PasswordEventArgs(app.Database.RootGroup));
|
|
||||||
}
|
|
||||||
|
|
||||||
private void PasswordBox_KeyDown(object sender, KeyRoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (e.Key == VirtualKey.Enter) OpenButton_OnClick(null, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void UserControl_Loaded(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
Task.Factory.StartNew(
|
|
||||||
() => Dispatcher.RunAsync(CoreDispatcherPriority.Low,
|
|
||||||
() => PasswordBox.Focus(FocusState.Programmatic)));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,20 +1,56 @@
|
|||||||
using System;
|
using System;
|
||||||
using Windows.UI.Xaml;
|
using Windows.UI.Xaml;
|
||||||
using Windows.UI.Xaml.Controls;
|
using Windows.UI.Xaml.Controls;
|
||||||
|
using Windows.UI.Xaml.Controls.Primitives;
|
||||||
|
|
||||||
namespace ModernKeePass.Controls
|
namespace ModernKeePass.Controls
|
||||||
{
|
{
|
||||||
public class TextBoxWithButton : TextBox
|
public class TextBoxWithButton : TextBox
|
||||||
{
|
{
|
||||||
public event EventHandler<RoutedEventArgs> GotoClick;
|
public string ButtonSymbol
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(ButtonSymbolProperty); }
|
||||||
|
set { SetValue(ButtonSymbolProperty, value); }
|
||||||
|
}
|
||||||
|
public static readonly DependencyProperty ButtonSymbolProperty =
|
||||||
|
DependencyProperty.Register(
|
||||||
|
"ButtonSymbol",
|
||||||
|
typeof(string),
|
||||||
|
typeof(TextBoxWithButton),
|
||||||
|
new PropertyMetadata("", (o, args) => { }));
|
||||||
|
public event EventHandler<RoutedEventArgs> ButtonClick;
|
||||||
|
|
||||||
|
public string ButtonTooltip
|
||||||
|
{
|
||||||
|
get { return (string)GetValue(ButtonTooltipProperty); }
|
||||||
|
set { SetValue(ButtonTooltipProperty, value); }
|
||||||
|
}
|
||||||
|
public static readonly DependencyProperty ButtonTooltipProperty =
|
||||||
|
DependencyProperty.Register(
|
||||||
|
"ButtonTooltip",
|
||||||
|
typeof(string),
|
||||||
|
typeof(TextBoxWithButton),
|
||||||
|
new PropertyMetadata(string.Empty, (o, args) => { }));
|
||||||
|
|
||||||
|
public bool IsButtonEnabled
|
||||||
|
{
|
||||||
|
get { return (bool)GetValue(IsButtonEnabledProperty); }
|
||||||
|
set { SetValue(IsButtonEnabledProperty, value); }
|
||||||
|
}
|
||||||
|
public static readonly DependencyProperty IsButtonEnabledProperty =
|
||||||
|
DependencyProperty.Register(
|
||||||
|
"IsButtonEnabled",
|
||||||
|
typeof(bool),
|
||||||
|
typeof(TextBoxWithButton),
|
||||||
|
new PropertyMetadata(true, (o, args) => { }));
|
||||||
|
|
||||||
protected override void OnApplyTemplate()
|
protected override void OnApplyTemplate()
|
||||||
{
|
{
|
||||||
base.OnApplyTemplate();
|
base.OnApplyTemplate();
|
||||||
var extraButton = GetTemplateChild("GotoButton") as Button;
|
var actionButton = GetTemplateChild("ActionButton") as Button;
|
||||||
if (extraButton != null)
|
if (actionButton != null)
|
||||||
{
|
{
|
||||||
extraButton.Click += (sender, e) => GotoClick?.Invoke(sender, e);
|
actionButton.Click += (sender, e) => ButtonClick?.Invoke(sender, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,20 +8,20 @@ namespace ModernKeePass.Converters
|
|||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, string language)
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
var boolean = value is bool ? (bool) value : false;
|
var boolean = value as bool? ?? false;
|
||||||
return boolean ? Visibility.Visible : Visibility.Collapsed;
|
return boolean ? Visibility.Visible : Visibility.Collapsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need to implement this
|
// No need to implement this
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
var visibility = value is Visibility ? (Visibility) value : Visibility.Visible;
|
var visibility = value as Visibility? ?? Visibility.Visible;
|
||||||
switch (visibility)
|
switch (visibility)
|
||||||
{
|
{
|
||||||
case Visibility.Visible: return true;
|
case Visibility.Visible: return true;
|
||||||
case Visibility.Collapsed: return false;
|
case Visibility.Collapsed: return false;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException();
|
throw new ArgumentOutOfRangeException(nameof(value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -20,7 +20,8 @@ namespace ModernKeePass.Converters
|
|||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
var brush = value as SolidColorBrush;
|
||||||
|
return brush == null ? new Color() : Color.FromArgb(brush.Color.A, brush.Color.R, brush.Color.G, brush.Color.B);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -0,0 +1,27 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.UI;
|
||||||
|
using Windows.UI.Xaml.Data;
|
||||||
|
using Windows.UI.Xaml.Media;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Converters
|
||||||
|
{
|
||||||
|
public class DiscreteIntToSolidColorBrushConverter : IValueConverter
|
||||||
|
{
|
||||||
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
var status = System.Convert.ToInt32(value);
|
||||||
|
switch (status)
|
||||||
|
{
|
||||||
|
case 1: return new SolidColorBrush(Colors.Red);
|
||||||
|
case 3: return new SolidColorBrush(Colors.Yellow);
|
||||||
|
case 5: return new SolidColorBrush(Colors.Green);
|
||||||
|
default: return new SolidColorBrush(Colors.Black);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -5,7 +5,7 @@ using Windows.UI.Xaml.Media;
|
|||||||
|
|
||||||
namespace ModernKeePass.Converters
|
namespace ModernKeePass.Converters
|
||||||
{
|
{
|
||||||
public class DoubleToForegroungBrushComplexityConverter : IValueConverter
|
public class DoubleToSolidColorBrushConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, string language)
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
@@ -21,7 +21,6 @@ namespace ModernKeePass.Converters
|
|||||||
{
|
{
|
||||||
return new SolidColorBrush(Color.FromArgb(255, 0, byte.MaxValue, 0));
|
return new SolidColorBrush(Color.FromArgb(255, 0, byte.MaxValue, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
20
ModernKeePass/Converters/EmptyStringToVisibilityConverter.cs
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.UI.Xaml;
|
||||||
|
using Windows.UI.Xaml.Data;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Converters
|
||||||
|
{
|
||||||
|
class EmptyStringToVisibilityConverter: IValueConverter
|
||||||
|
{
|
||||||
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
var text = value is string ? value.ToString() : string.Empty;
|
||||||
|
return string.IsNullOrEmpty(text) ? Visibility.Collapsed : Visibility.Visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
130
ModernKeePass/Converters/IntToSymbolConverter.cs
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.UI.Xaml.Controls;
|
||||||
|
using Windows.UI.Xaml.Data;
|
||||||
|
using ModernKeePassLib;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Converters
|
||||||
|
{
|
||||||
|
public class IntToSymbolConverter : IValueConverter
|
||||||
|
{
|
||||||
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
var icon = (PwIcon) value;
|
||||||
|
switch (icon)
|
||||||
|
{
|
||||||
|
case PwIcon.Key: return Symbol.Permissions;
|
||||||
|
case PwIcon.WorldSocket:
|
||||||
|
case PwIcon.World: return Symbol.World;
|
||||||
|
case PwIcon.Warning: return Symbol.Important;
|
||||||
|
case PwIcon.WorldComputer:
|
||||||
|
case PwIcon.Drive:
|
||||||
|
case PwIcon.DriveWindows:
|
||||||
|
case PwIcon.NetworkServer: return Symbol.MapDrive;
|
||||||
|
case PwIcon.MarkedDirectory: return Symbol.Map;
|
||||||
|
case PwIcon.UserCommunication: return Symbol.ContactInfo;
|
||||||
|
case PwIcon.Parts: return Symbol.ViewAll;
|
||||||
|
case PwIcon.Notepad: return Symbol.Document;
|
||||||
|
case PwIcon.Identity: return Symbol.Contact2;
|
||||||
|
case PwIcon.PaperReady: return Symbol.SyncFolder;
|
||||||
|
case PwIcon.Digicam: return Symbol.Camera;
|
||||||
|
case PwIcon.IRCommunication: return Symbol.View;
|
||||||
|
case PwIcon.Energy: return Symbol.ZeroBars;
|
||||||
|
case PwIcon.Scanner: return Symbol.Scan;
|
||||||
|
case PwIcon.CDRom: return Symbol.Rotate;
|
||||||
|
case PwIcon.Monitor: return Symbol.Caption;
|
||||||
|
case PwIcon.EMailBox:
|
||||||
|
case PwIcon.EMail: return Symbol.Mail;
|
||||||
|
case PwIcon.Configuration: return Symbol.Setting;
|
||||||
|
case PwIcon.ClipboardReady: return Symbol.Paste;
|
||||||
|
case PwIcon.PaperNew: return Symbol.Page2;
|
||||||
|
case PwIcon.Screen: return Symbol.GoToStart;
|
||||||
|
case PwIcon.EnergyCareful: return Symbol.FourBars;
|
||||||
|
case PwIcon.Disk: return Symbol.Save;
|
||||||
|
case PwIcon.Console: return Symbol.SlideShow;
|
||||||
|
case PwIcon.Printer: return Symbol.Scan;
|
||||||
|
case PwIcon.ProgramIcons: return Symbol.GoToStart;
|
||||||
|
case PwIcon.Settings:
|
||||||
|
case PwIcon.Tool: return Symbol.Repair;
|
||||||
|
case PwIcon.Archive: return Symbol.Crop;
|
||||||
|
case PwIcon.Count: return Symbol.Calculator;
|
||||||
|
case PwIcon.Clock: return Symbol.Clock;
|
||||||
|
case PwIcon.EMailSearch: return Symbol.Find;
|
||||||
|
case PwIcon.PaperFlag: return Symbol.Flag;
|
||||||
|
case PwIcon.TrashBin: return Symbol.Delete;
|
||||||
|
case PwIcon.Expired: return Symbol.ReportHacked;
|
||||||
|
case PwIcon.Info: return Symbol.Help;
|
||||||
|
case PwIcon.Folder:
|
||||||
|
case PwIcon.FolderOpen:
|
||||||
|
case PwIcon.FolderPackage: return Symbol.Folder;
|
||||||
|
case PwIcon.PaperLocked: return Symbol.ProtectedDocument;
|
||||||
|
case PwIcon.Checked: return Symbol.Accept;
|
||||||
|
case PwIcon.Pen: return Symbol.Edit;
|
||||||
|
case PwIcon.Thumbnail: return Symbol.BrowsePhotos;
|
||||||
|
case PwIcon.Book: return Symbol.Library;
|
||||||
|
case PwIcon.List: return Symbol.List;
|
||||||
|
case PwIcon.UserKey: return Symbol.ContactPresence;
|
||||||
|
case PwIcon.Home: return Symbol.Home;
|
||||||
|
case PwIcon.Star: return Symbol.OutlineStar;
|
||||||
|
case PwIcon.Money: return Symbol.Shop;
|
||||||
|
case PwIcon.Certificate: return Symbol.PreviewLink;
|
||||||
|
case PwIcon.BlackBerry: return Symbol.CellPhone;
|
||||||
|
default: return Symbol.Stop;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
var symbol = (Symbol) value;
|
||||||
|
switch (symbol)
|
||||||
|
{
|
||||||
|
case Symbol.Delete: return (int)PwIcon.TrashBin;
|
||||||
|
case Symbol.Edit: return (int) PwIcon.Pen;
|
||||||
|
case Symbol.Save: return (int) PwIcon.Disk;
|
||||||
|
case Symbol.Cancel: return (int) PwIcon.Expired;
|
||||||
|
case Symbol.Accept: return (int) PwIcon.Checked;
|
||||||
|
case Symbol.Home: return (int) PwIcon.Home;
|
||||||
|
case Symbol.Camera: return (int) PwIcon.Digicam;
|
||||||
|
case Symbol.Setting: return (int) PwIcon.Configuration;
|
||||||
|
case Symbol.Mail: return (int) PwIcon.EMail;
|
||||||
|
case Symbol.Find: return (int) PwIcon.EMailSearch;
|
||||||
|
case Symbol.Help: return (int) PwIcon.Info;
|
||||||
|
case Symbol.Clock: return (int) PwIcon.Clock;
|
||||||
|
case Symbol.Crop: return (int) PwIcon.Archive;
|
||||||
|
case Symbol.World: return (int) PwIcon.World;
|
||||||
|
case Symbol.Flag: return (int) PwIcon.PaperFlag;
|
||||||
|
case Symbol.PreviewLink: return (int) PwIcon.Certificate;
|
||||||
|
case Symbol.Document: return (int) PwIcon.Notepad;
|
||||||
|
case Symbol.ProtectedDocument: return (int) PwIcon.PaperLocked;
|
||||||
|
case Symbol.ContactInfo: return (int) PwIcon.UserCommunication;
|
||||||
|
case Symbol.ViewAll: return (int) PwIcon.Parts;
|
||||||
|
case Symbol.Rotate: return (int) PwIcon.CDRom;
|
||||||
|
case Symbol.List: return (int) PwIcon.List;
|
||||||
|
case Symbol.Shop: return (int) PwIcon.Money;
|
||||||
|
case Symbol.BrowsePhotos: return (int) PwIcon.Thumbnail;
|
||||||
|
case Symbol.Caption: return (int) PwIcon.Monitor;
|
||||||
|
case Symbol.Repair: return (int) PwIcon.Tool;
|
||||||
|
case Symbol.Page2: return (int) PwIcon.PaperNew;
|
||||||
|
case Symbol.Paste: return (int) PwIcon.ClipboardReady;
|
||||||
|
case Symbol.Important: return (int) PwIcon.Warning;
|
||||||
|
case Symbol.SlideShow: return (int) PwIcon.Console;
|
||||||
|
case Symbol.MapDrive: return (int) PwIcon.NetworkServer;
|
||||||
|
case Symbol.ContactPresence: return (int) PwIcon.UserKey;
|
||||||
|
case Symbol.Contact2: return (int) PwIcon.Identity;
|
||||||
|
case Symbol.Folder: return (int) PwIcon.Folder;
|
||||||
|
case Symbol.View: return (int) PwIcon.IRCommunication;
|
||||||
|
case Symbol.Permissions: return (int) PwIcon.Key;
|
||||||
|
case Symbol.Map: return (int) PwIcon.MarkedDirectory;
|
||||||
|
case Symbol.CellPhone: return (int) PwIcon.BlackBerry;
|
||||||
|
case Symbol.OutlineStar: return (int) PwIcon.Star;
|
||||||
|
case Symbol.Calculator: return (int) PwIcon.Count;
|
||||||
|
case Symbol.Library: return (int) PwIcon.Book;
|
||||||
|
case Symbol.SyncFolder: return (int) PwIcon.PaperReady;
|
||||||
|
case Symbol.GoToStart: return (int) PwIcon.Screen;
|
||||||
|
case Symbol.ZeroBars: return (int) PwIcon.Energy;
|
||||||
|
case Symbol.FourBars: return (int) PwIcon.EnergyCareful;
|
||||||
|
case Symbol.Scan: return (int) PwIcon.Scanner;
|
||||||
|
default: return (int) PwIcon.Key;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -8,20 +8,20 @@ namespace ModernKeePass.Converters
|
|||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, string language)
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
var boolean = value is bool ? (bool)value : false;
|
var boolean = value as bool? ?? false;
|
||||||
return boolean ? Visibility.Collapsed : Visibility.Visible;
|
return boolean ? Visibility.Collapsed : Visibility.Visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need to implement this
|
// No need to implement this
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
{
|
{
|
||||||
var visibility = value is Visibility ? (Visibility)value : Visibility.Visible;
|
var visibility = value as Visibility? ?? Visibility.Visible;
|
||||||
switch (visibility)
|
switch (visibility)
|
||||||
{
|
{
|
||||||
case Visibility.Visible: return false;
|
case Visibility.Visible: return false;
|
||||||
case Visibility.Collapsed: return true;
|
case Visibility.Collapsed: return true;
|
||||||
default:
|
default:
|
||||||
throw new ArgumentOutOfRangeException();
|
throw new ArgumentOutOfRangeException(nameof(value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
18
ModernKeePass/Converters/NullToBooleanConverter.cs
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.UI.Xaml.Data;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Converters
|
||||||
|
{
|
||||||
|
public class NullToBooleanConverter : IValueConverter
|
||||||
|
{
|
||||||
|
public object Convert(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
return value != null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|