Compare commits
104 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
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 |
4
.gitignore
vendored
@@ -36,4 +36,6 @@ Translation/TrlUtil.vshost.exe.manifest
|
|||||||
/UpgradeLog*.htm
|
/UpgradeLog*.htm
|
||||||
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>.
|
@@ -3,14 +3,15 @@ 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}") = "ModernKeePassApp", "ModernKeePass\ModernKeePassApp.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}") = "ModernKeePassLib", "ModernKeePassLib\ModernKeePassLib.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}") = "ModernKeePassLib.Test", "ModernKeePassLib.Test\ModernKeePassLib.Test.csproj", "{0A4279CF-2A67-4868-9906-052E50C25F3B}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
EndProject
|
||||||
{2E710089-9559-4967-846C-E763DD1F3ACB} = {2E710089-9559-4967-846C-E763DD1F3ACB}
|
Project("{F5034706-568F-408A-B7B3-4D38C6DB8A32}") = "Scripts", "Scripts\Scripts.pssproj", "{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}"
|
||||||
EndProjectSection
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModernKeePassApp.Test", "ModernKeePassApp.Test\ModernKeePassApp.Test.csproj", "{7E80F5E7-724A-4668-9333-B10F5D75C6D0}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -64,22 +65,70 @@ 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
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|ARM.Build.0 = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{6CAFC0C6-A428-4D30-A9F9-700E829FEA51}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{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
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
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);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -10,8 +10,8 @@
|
|||||||
<ResourceDictionary Source="Styles/HamburgerButtonStyle.xaml" />
|
<ResourceDictionary Source="Styles/HamburgerButtonStyle.xaml" />
|
||||||
<ResourceDictionary Source="Styles/ListViewLeftIndicatorStyle.xaml" />
|
<ResourceDictionary Source="Styles/ListViewLeftIndicatorStyle.xaml" />
|
||||||
<ResourceDictionary Source="Styles/NoBorderButtonStyle.xaml" />
|
<ResourceDictionary Source="Styles/NoBorderButtonStyle.xaml" />
|
||||||
|
<ResourceDictionary Source="Styles/TextBlockStyles.xaml" />
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
|
|
||||||
</Application>
|
</Application>
|
||||||
|
@@ -1,14 +1,15 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Reflection;
|
||||||
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.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 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
|
||||||
|
|
||||||
@@ -19,8 +20,7 @@ namespace ModernKeePass
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
sealed partial class App
|
sealed partial class App
|
||||||
{
|
{
|
||||||
public DatabaseHelper Database { get; set; } = new DatabaseHelper();
|
public DatabaseService Database { get; private set; }
|
||||||
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
|
||||||
@@ -30,9 +30,27 @@ namespace ModernKeePass
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Suspending += OnSuspending;
|
Suspending += OnSuspending;
|
||||||
|
UnhandledException += OnUnhandledException;
|
||||||
|
Database = new DatabaseService();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Event Handlers
|
#region Event Handlers
|
||||||
|
|
||||||
|
private 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;
|
||||||
|
|
||||||
|
if (!(realException is SaveException)) return;
|
||||||
|
unhandledExceptionEventArgs.Handled = true;
|
||||||
|
MessageDialogHelper.SaveErrorDialog(realException as SaveException, Database);
|
||||||
|
}
|
||||||
|
|
||||||
/// <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.
|
||||||
@@ -87,13 +105,13 @@ namespace ModernKeePass
|
|||||||
// When the navigation stack isn't restored navigate to the first page,
|
// When the navigation stack isn't restored navigate to the first page,
|
||||||
// configuring the new page by passing required information as a navigation
|
// configuring the new page by passing required information as a navigation
|
||||||
// parameter
|
// parameter
|
||||||
rootFrame.Navigate(typeof(Pages.MainPage), lauchActivatedEventArgs.Arguments);
|
rootFrame.Navigate(typeof(MainPage), lauchActivatedEventArgs.Arguments);
|
||||||
}
|
}
|
||||||
else
|
/*else
|
||||||
{
|
{
|
||||||
// App is "launched" via the Toast Activation event
|
// App is "launched" via the Toast Activation event
|
||||||
UndoEntityDelete(lauchActivatedEventArgs.Arguments);
|
UndoEntityDelete(lauchActivatedEventArgs.Arguments);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
// This is only available on Windows 10...
|
// This is only available on Windows 10...
|
||||||
/*else if (e is ToastNotificationActivatedEventArgs)
|
/*else if (e is ToastNotificationActivatedEventArgs)
|
||||||
@@ -127,6 +145,7 @@ namespace ModernKeePass
|
|||||||
private void OnSuspending(object sender, SuspendingEventArgs e)
|
private void OnSuspending(object sender, SuspendingEventArgs e)
|
||||||
{
|
{
|
||||||
var deferral = e.SuspendingOperation.GetDeferral();
|
var deferral = e.SuspendingOperation.GetDeferral();
|
||||||
|
UnhandledException -= OnUnhandledException;
|
||||||
Database.Save();
|
Database.Save();
|
||||||
deferral.Complete();
|
deferral.Complete();
|
||||||
}
|
}
|
||||||
@@ -140,19 +159,11 @@ namespace ModernKeePass
|
|||||||
base.OnFileActivated(args);
|
base.OnFileActivated(args);
|
||||||
var rootFrame = new Frame();
|
var rootFrame = new Frame();
|
||||||
Database.DatabaseFile = args.Files[0] as StorageFile;
|
Database.DatabaseFile = args.Files[0] as StorageFile;
|
||||||
rootFrame.Navigate(typeof(Pages.MainPage), args);
|
rootFrame.Navigate(typeof(MainPage), args);
|
||||||
Window.Current.Content = rootFrame;
|
Window.Current.Content = rootFrame;
|
||||||
Window.Current.Activate();
|
Window.Current.Activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private void UndoEntityDelete(string arguments)
|
|
||||||
{
|
|
||||||
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\bg45\source\repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.5.0.25_AnyCPU.appx
|
|
||||||
SymbolPackage=C:\Users\bg45\source\repos\ModernKeePass\ModernKeePass\AppPackages\ModernKeePass_1.5.0.25_Test\ModernKeePass_1.5.0.25_AnyCPU.appxsym
|
|
||||||
ResourcePack=C:\Users\bg45\source\repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.5.0.25_scale-140.appx
|
|
||||||
ResourcePack=C:\Users\bg45\source\repos\ModernKeePass\ModernKeePass\bin\Release\ModernKeePass_1.5.0.25_scale-180.appx
|
|
@@ -1,102 +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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Open a KeePass database
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="password">The database password</param>
|
|
||||||
/// <param name="createNew">True to create a new database before opening it</param>
|
|
||||||
/// <returns>An error message, if any</returns>
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Save the current database to another file and open it
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="file">The new database file</param>
|
|
||||||
internal void Save(StorageFile file)
|
|
||||||
{
|
|
||||||
DatabaseFile = file;
|
|
||||||
_pwDatabase.SaveAs(IOConnectionInfo.FromFile(DatabaseFile), true, new NullStatusLogger());
|
|
||||||
Status = DatabaseStatus.Opened;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Commit the changes to the currently opened database to file
|
|
||||||
/// </summary>
|
|
||||||
public void Save()
|
|
||||||
{
|
|
||||||
if (_pwDatabase != null && _pwDatabase.IsOpen)
|
|
||||||
_pwDatabase.Save(new NullStatusLogger());
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Close the currently opened database
|
|
||||||
/// </summary>
|
|
||||||
public void Close()
|
|
||||||
{
|
|
||||||
_pwDatabase?.Close();
|
|
||||||
Status = DatabaseStatus.Closed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,26 +1,68 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Windows.Storage.Pickers;
|
||||||
using Windows.UI.Popups;
|
using Windows.UI.Popups;
|
||||||
using Windows.UI.Xaml.Controls;
|
using Windows.UI.Xaml.Media.Animation;
|
||||||
|
using ModernKeePass.Exceptions;
|
||||||
using ModernKeePass.Interfaces;
|
using ModernKeePass.Interfaces;
|
||||||
using ModernKeePass.ViewModels;
|
|
||||||
|
|
||||||
namespace ModernKeePass.Common
|
namespace ModernKeePass.Common
|
||||||
{
|
{
|
||||||
public static class MessageDialogHelper
|
public static class MessageDialogHelper
|
||||||
{
|
{
|
||||||
public static async void ShowDeleteConfirmationDialog(string text, IPwEntity model, Frame backFrame)
|
public static async void ShowActionDialog(string title, string contentText, string actionButtonText, string cancelButtonText, UICommandInvokedHandler action)
|
||||||
{
|
{
|
||||||
// Create the message dialog and set its content
|
// Create the message dialog and set its content
|
||||||
var messageDialog = new MessageDialog(text);
|
var messageDialog = CreateBasicDialog(title, contentText, cancelButtonText);
|
||||||
|
|
||||||
// Add commands and set their callbacks; both buttons use the same callback function instead of inline event handlers
|
// Add commands and set their callbacks; both buttons use the same callback function instead of inline event handlers
|
||||||
messageDialog.Commands.Add(new UICommand("Delete", delete =>
|
messageDialog.Commands.Add(new UICommand(actionButtonText, action));
|
||||||
|
|
||||||
|
// Show the message dialog
|
||||||
|
await messageDialog.ShowAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void SaveErrorDialog(SaveException exception, IDatabase database)
|
||||||
|
{
|
||||||
|
ShowActionDialog("Save error", exception.InnerException.Message, "Save as", "Discard", async command =>
|
||||||
{
|
{
|
||||||
ToastNotificationHelper.ShowUndoToast(model);
|
var savePicker = new FileSavePicker
|
||||||
model.MarkForDelete();
|
{
|
||||||
if (backFrame.CanGoBack) backFrame.GoBack();
|
SuggestedStartLocation = PickerLocationId.DocumentsLibrary,
|
||||||
}));
|
SuggestedFileName = $"{database.DatabaseFile.DisplayName} - copy"
|
||||||
messageDialog.Commands.Add(new UICommand("Cancel"));
|
};
|
||||||
|
savePicker.FileTypeChoices.Add("KeePass 2.x database", new List<string> { ".kdbx" });
|
||||||
|
|
||||||
|
var file = await savePicker.PickSaveFileAsync();
|
||||||
|
if (file != null) database.Save(file);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public static async void ShowErrorDialog(Exception exception)
|
||||||
|
{
|
||||||
|
if (exception == null) return;
|
||||||
|
// Create the message dialog and set its content
|
||||||
|
var messageDialog = CreateBasicDialog("Error occured", exception.Message, "OK");
|
||||||
|
|
||||||
|
// Show the message dialog
|
||||||
|
await messageDialog.ShowAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static async void 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)
|
||||||
|
{
|
||||||
|
// 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));
|
||||||
|
|
||||||
// Set the command that will be invoked by default
|
// Set the command that will be invoked by default
|
||||||
messageDialog.DefaultCommandIndex = 1;
|
messageDialog.DefaultCommandIndex = 1;
|
||||||
@@ -28,8 +70,7 @@ namespace ModernKeePass.Common
|
|||||||
// Set the command to be invoked when escape is pressed
|
// Set the command to be invoked when escape is pressed
|
||||||
messageDialog.CancelCommandIndex = 1;
|
messageDialog.CancelCommandIndex = 1;
|
||||||
|
|
||||||
// Show the message dialog
|
return messageDialog;
|
||||||
await messageDialog.ShowAsync();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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));
|
||||||
}
|
}
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
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;
|
using ModernKeePass.ViewModels;
|
||||||
|
|
||||||
@@ -10,67 +9,13 @@ namespace ModernKeePass.Common
|
|||||||
{
|
{
|
||||||
public static class ToastNotificationHelper
|
public static class ToastNotificationHelper
|
||||||
{
|
{
|
||||||
public static /*async*/ void ShowUndoToast(IPwEntity entity)
|
public static void ShowMovedToast(IPwEntity entity, string action, string text)
|
||||||
{
|
{
|
||||||
// This is for Windows 10
|
|
||||||
// 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 entityType = entity is GroupVm ? "Group" : "Entry";
|
var entityType = entity is GroupVm ? "Group" : "Entry";
|
||||||
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
|
||||||
@@ -84,19 +29,21 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,349 +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"
|
|
||||||
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
|
||||||
xmlns:core="using:Microsoft.Xaml.Interactions.Core"
|
|
||||||
xmlns:actions="using:ModernKeePass.Actions"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
d:DesignHeight="60"
|
|
||||||
d:DesignWidth="550" >
|
|
||||||
<UserControl.Resources>
|
|
||||||
<SolidColorBrush x:Key="ErrorColorBrush" Color="Red"/>
|
|
||||||
<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 TextBoxButtonPointerOverForegroundThemeBrush}" />
|
|
||||||
</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="Error">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BorderElement"
|
|
||||||
Storyboard.TargetProperty="BorderBrush">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ErrorColorBrush}" />
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</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}" IsPasswordRevealButtonEnabled="True" KeyDown="PasswordBox_KeyDown" PlaceholderText="Password" Style="{StaticResource PasswordBoxWithButtonStyle}">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:DataTriggerBehavior Binding="{Binding Visibility, ElementName=UserControl}" Value="Visible">
|
|
||||||
<actions:SetupFocusAction TargetObject="{Binding ElementName=PasswordBox}" />
|
|
||||||
</core:DataTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</PasswordBox>
|
|
||||||
<TextBlock x:Name="StatusTextBlock" Height="28" Foreground="{ThemeResource ErrorColorBrush}" FontSize="14" FontWeight="Light" TextWrapping="WrapWholeWords" />
|
|
||||||
</StackPanel>
|
|
||||||
</UserControl>
|
|
@@ -1,73 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Windows.System;
|
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using Windows.UI.Xaml.Input;
|
|
||||||
using ModernKeePass.Common;
|
|
||||||
using ModernKeePass.Events;
|
|
||||||
|
|
||||||
// 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));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
VisualStateManager.GoToState(PasswordBox, "Error", true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void PasswordBox_KeyDown(object sender, KeyRoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (e.Key == VirtualKey.Enter) OpenButton_OnClick(null, null);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
VisualStateManager.GoToState(PasswordBox, "Normal", true);
|
|
||||||
StatusTextBlock.Text = string.Empty;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -6,15 +6,51 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
|
||||||
using Windows.UI.Text;
|
|
||||||
using Windows.UI.Xaml.Data;
|
|
||||||
|
|
||||||
namespace ModernKeePass.Converters
|
|
||||||
{
|
|
||||||
public class TextToFontStyleConverter : IValueConverter
|
|
||||||
{
|
|
||||||
public object Convert(object value, Type targetType, object parameter, string language)
|
|
||||||
{
|
|
||||||
var compareValue = parameter as string;
|
|
||||||
var text = value as string;
|
|
||||||
return string.Compare(text, compareValue, StringComparison.OrdinalIgnoreCase) == 0
|
|
||||||
? FontStyle.Italic
|
|
||||||
: FontStyle.Normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, string language)
|
|
||||||
{
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
14
ModernKeePass/Exceptions/SaveException.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Exceptions
|
||||||
|
{
|
||||||
|
public class SaveException : Exception
|
||||||
|
{
|
||||||
|
public new Exception InnerException { get; }
|
||||||
|
|
||||||
|
public SaveException(Exception exception)
|
||||||
|
{
|
||||||
|
InnerException = exception;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
32
ModernKeePass/Extensions/DispatcherTaskExtensions.cs
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Windows.UI.Core;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Extensions
|
||||||
|
{
|
||||||
|
public static class DispatcherTaskExtensions
|
||||||
|
{
|
||||||
|
public static async Task<T> RunTaskAsync<T>(this CoreDispatcher dispatcher,
|
||||||
|
Func<Task<T>> func, CoreDispatcherPriority priority = CoreDispatcherPriority.Normal)
|
||||||
|
{
|
||||||
|
var taskCompletionSource = new TaskCompletionSource<T>();
|
||||||
|
await dispatcher.RunAsync(priority, async () =>
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
taskCompletionSource.SetResult(await func());
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
taskCompletionSource.SetException(ex);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return await taskCompletionSource.Task;
|
||||||
|
}
|
||||||
|
|
||||||
|
// There is no TaskCompletionSource<void> so we use a bool that we throw away.
|
||||||
|
public static async Task RunTaskAsync(this CoreDispatcher dispatcher,
|
||||||
|
Func<Task> func, CoreDispatcherPriority priority = CoreDispatcherPriority.Normal) =>
|
||||||
|
await RunTaskAsync(dispatcher, async () => { await func(); return false; }, priority);
|
||||||
|
}
|
||||||
|
}
|
29
ModernKeePass/Interfaces/IDatabase.cs
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
using Windows.Storage;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
using ModernKeePassLib;
|
||||||
|
using ModernKeePassLib.Cryptography.KeyDerivation;
|
||||||
|
using ModernKeePassLib.Keys;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface IDatabase
|
||||||
|
{
|
||||||
|
string Name { get; }
|
||||||
|
bool RecycleBinEnabled { get; set; }
|
||||||
|
int Status { get; set; }
|
||||||
|
GroupVm RootGroup { get; set; }
|
||||||
|
GroupVm RecycleBin { get; set; }
|
||||||
|
StorageFile DatabaseFile { get; set; }
|
||||||
|
PwUuid DataCipher { get; set; }
|
||||||
|
PwCompressionAlgorithm CompressionAlgorithm { get; set; }
|
||||||
|
KdfParameters KeyDerivation { get; set; }
|
||||||
|
|
||||||
|
void Open(CompositeKey key, bool createNew);
|
||||||
|
void UpdateCompositeKey(CompositeKey key);
|
||||||
|
void Save();
|
||||||
|
void Save(StorageFile file);
|
||||||
|
void CreateRecycleBin();
|
||||||
|
void AddDeletedItem(PwUuid id);
|
||||||
|
void Close();
|
||||||
|
}
|
||||||
|
}
|
12
ModernKeePass/Interfaces/ILicenseService.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Windows.ApplicationModel.Store;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface ILicenseService
|
||||||
|
{
|
||||||
|
IReadOnlyDictionary<string, ProductListing> Products { get; }
|
||||||
|
Task<int> Purchase(string addOn);
|
||||||
|
}
|
||||||
|
}
|
@@ -6,14 +6,34 @@ namespace ModernKeePass.Interfaces
|
|||||||
public interface IPwEntity
|
public interface IPwEntity
|
||||||
{
|
{
|
||||||
GroupVm ParentGroup { get; }
|
GroupVm ParentGroup { get; }
|
||||||
|
GroupVm PreviousGroup { get; }
|
||||||
Symbol IconSymbol { get; }
|
Symbol IconSymbol { get; }
|
||||||
string Id { get; }
|
string Id { get; }
|
||||||
string Name { get; set; }
|
string Name { get; set; }
|
||||||
|
string Path { get; }
|
||||||
bool IsEditMode { get; }
|
bool IsEditMode { get; }
|
||||||
|
bool IsRecycleOnDelete { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Move a entity to the destination group
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="destination">The destination to move the entity to</param>
|
||||||
|
void Move(GroupVm destination);
|
||||||
|
/// <summary>
|
||||||
|
/// Delete from Model
|
||||||
|
/// </summary>
|
||||||
void CommitDelete();
|
void CommitDelete();
|
||||||
|
/// <summary>
|
||||||
|
/// Restore ViewModel
|
||||||
|
/// </summary>
|
||||||
void UndoDelete();
|
void UndoDelete();
|
||||||
|
/// <summary>
|
||||||
|
/// Save changes to Model
|
||||||
|
/// </summary>
|
||||||
void Save();
|
void Save();
|
||||||
|
/// <summary>
|
||||||
|
/// Delete from ViewModel
|
||||||
|
/// </summary>
|
||||||
void MarkForDelete();
|
void MarkForDelete();
|
||||||
}
|
}
|
||||||
}
|
}
|
15
ModernKeePass/Interfaces/IRecent.cs
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Windows.Storage;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface IRecent
|
||||||
|
{
|
||||||
|
int EntryCount { get; }
|
||||||
|
Task<IStorageItem> GetFileAsync(string token);
|
||||||
|
ObservableCollection<IRecentItem> GetAllFiles(bool removeIfNonExistant = true);
|
||||||
|
void Add(IStorageItem file, string metadata);
|
||||||
|
void ClearAll();
|
||||||
|
}
|
||||||
|
}
|
11
ModernKeePass/Interfaces/IRecentItem.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
using Windows.Storage;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface IRecentItem
|
||||||
|
{
|
||||||
|
StorageFile DatabaseFile { get; }
|
||||||
|
string Token { get; }
|
||||||
|
string Name { get; }
|
||||||
|
}
|
||||||
|
}
|
7
ModernKeePass/Interfaces/IResource.cs
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface IResource
|
||||||
|
{
|
||||||
|
string GetResourceValue(string key);
|
||||||
|
}
|
||||||
|
}
|
8
ModernKeePass/Interfaces/ISettings.cs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
namespace ModernKeePass.Interfaces
|
||||||
|
{
|
||||||
|
public interface ISettings
|
||||||
|
{
|
||||||
|
T GetSetting<T>(string property);
|
||||||
|
void PutSetting<T>(string property, T value);
|
||||||
|
}
|
||||||
|
}
|
@@ -78,5 +78,400 @@ namespace ModernKeePass.Mappings
|
|||||||
default: return Symbol.Stop;
|
default: return Symbol.Stop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static PwIcon GetIconFromSymbol(Symbol symbol)
|
||||||
|
{
|
||||||
|
switch (symbol)
|
||||||
|
{
|
||||||
|
/*case Symbol.Previous:
|
||||||
|
break;
|
||||||
|
case Symbol.Next:
|
||||||
|
break;
|
||||||
|
case Symbol.Play:
|
||||||
|
break;
|
||||||
|
case Symbol.Pause:
|
||||||
|
break;
|
||||||
|
case Symbol.Edit:
|
||||||
|
break;
|
||||||
|
case Symbol.Save:
|
||||||
|
break;
|
||||||
|
case Symbol.Clear:
|
||||||
|
break;*/
|
||||||
|
case Symbol.Delete:
|
||||||
|
return PwIcon.TrashBin;
|
||||||
|
/*case Symbol.Remove:
|
||||||
|
break;
|
||||||
|
case Symbol.Add:
|
||||||
|
break;
|
||||||
|
case Symbol.Cancel:
|
||||||
|
break;
|
||||||
|
case Symbol.Accept:
|
||||||
|
break;
|
||||||
|
case Symbol.More:
|
||||||
|
break;
|
||||||
|
case Symbol.Redo:
|
||||||
|
break;
|
||||||
|
case Symbol.Undo:
|
||||||
|
break;
|
||||||
|
case Symbol.Home:
|
||||||
|
break;
|
||||||
|
case Symbol.Up:
|
||||||
|
break;
|
||||||
|
case Symbol.Forward:
|
||||||
|
break;
|
||||||
|
case Symbol.Back:
|
||||||
|
break;
|
||||||
|
case Symbol.Favorite:
|
||||||
|
break;
|
||||||
|
case Symbol.Camera:
|
||||||
|
break;
|
||||||
|
case Symbol.Setting:
|
||||||
|
break;
|
||||||
|
case Symbol.Video:
|
||||||
|
break;
|
||||||
|
case Symbol.Sync:
|
||||||
|
break;
|
||||||
|
case Symbol.Download:
|
||||||
|
break;
|
||||||
|
case Symbol.Mail:
|
||||||
|
break;
|
||||||
|
case Symbol.Find:
|
||||||
|
break;
|
||||||
|
case Symbol.Help:
|
||||||
|
break;
|
||||||
|
case Symbol.Upload:
|
||||||
|
break;
|
||||||
|
case Symbol.Emoji:
|
||||||
|
break;
|
||||||
|
case Symbol.TwoPage:
|
||||||
|
break;
|
||||||
|
case Symbol.LeaveChat:
|
||||||
|
break;
|
||||||
|
case Symbol.MailForward:
|
||||||
|
break;
|
||||||
|
case Symbol.Clock:
|
||||||
|
break;
|
||||||
|
case Symbol.Send:
|
||||||
|
break;
|
||||||
|
case Symbol.Crop:
|
||||||
|
break;
|
||||||
|
case Symbol.RotateCamera:
|
||||||
|
break;
|
||||||
|
case Symbol.People:
|
||||||
|
break;
|
||||||
|
case Symbol.OpenPane:
|
||||||
|
break;
|
||||||
|
case Symbol.ClosePane:
|
||||||
|
break;
|
||||||
|
case Symbol.World:
|
||||||
|
break;
|
||||||
|
case Symbol.Flag:
|
||||||
|
break;
|
||||||
|
case Symbol.PreviewLink:
|
||||||
|
break;
|
||||||
|
case Symbol.Globe:
|
||||||
|
break;
|
||||||
|
case Symbol.Trim:
|
||||||
|
break;
|
||||||
|
case Symbol.AttachCamera:
|
||||||
|
break;
|
||||||
|
case Symbol.ZoomIn:
|
||||||
|
break;
|
||||||
|
case Symbol.Bookmarks:
|
||||||
|
break;
|
||||||
|
case Symbol.Document:
|
||||||
|
break;
|
||||||
|
case Symbol.ProtectedDocument:
|
||||||
|
break;
|
||||||
|
case Symbol.Page:
|
||||||
|
break;
|
||||||
|
case Symbol.Bullets:
|
||||||
|
break;
|
||||||
|
case Symbol.Comment:
|
||||||
|
break;
|
||||||
|
case Symbol.MailFilled:
|
||||||
|
break;
|
||||||
|
case Symbol.ContactInfo:
|
||||||
|
break;
|
||||||
|
case Symbol.HangUp:
|
||||||
|
break;
|
||||||
|
case Symbol.ViewAll:
|
||||||
|
break;
|
||||||
|
case Symbol.MapPin:
|
||||||
|
break;
|
||||||
|
case Symbol.Phone:
|
||||||
|
break;
|
||||||
|
case Symbol.VideoChat:
|
||||||
|
break;
|
||||||
|
case Symbol.Switch:
|
||||||
|
break;
|
||||||
|
case Symbol.Contact:
|
||||||
|
break;
|
||||||
|
case Symbol.Rename:
|
||||||
|
break;
|
||||||
|
case Symbol.Pin:
|
||||||
|
break;
|
||||||
|
case Symbol.MusicInfo:
|
||||||
|
break;
|
||||||
|
case Symbol.Go:
|
||||||
|
break;
|
||||||
|
case Symbol.Keyboard:
|
||||||
|
break;
|
||||||
|
case Symbol.DockLeft:
|
||||||
|
break;
|
||||||
|
case Symbol.DockRight:
|
||||||
|
break;
|
||||||
|
case Symbol.DockBottom:
|
||||||
|
break;
|
||||||
|
case Symbol.Remote:
|
||||||
|
break;
|
||||||
|
case Symbol.Refresh:
|
||||||
|
break;
|
||||||
|
case Symbol.Rotate:
|
||||||
|
break;
|
||||||
|
case Symbol.Shuffle:
|
||||||
|
break;
|
||||||
|
case Symbol.List:
|
||||||
|
break;
|
||||||
|
case Symbol.Shop:
|
||||||
|
break;
|
||||||
|
case Symbol.SelectAll:
|
||||||
|
break;
|
||||||
|
case Symbol.Orientation:
|
||||||
|
break;
|
||||||
|
case Symbol.Import:
|
||||||
|
break;
|
||||||
|
case Symbol.ImportAll:
|
||||||
|
break;
|
||||||
|
case Symbol.BrowsePhotos:
|
||||||
|
break;
|
||||||
|
case Symbol.WebCam:
|
||||||
|
break;
|
||||||
|
case Symbol.Pictures:
|
||||||
|
break;
|
||||||
|
case Symbol.SaveLocal:
|
||||||
|
break;
|
||||||
|
case Symbol.Caption:
|
||||||
|
break;
|
||||||
|
case Symbol.Stop:
|
||||||
|
break;
|
||||||
|
case Symbol.ShowResults:
|
||||||
|
break;
|
||||||
|
case Symbol.Volume:
|
||||||
|
break;
|
||||||
|
case Symbol.Repair:
|
||||||
|
break;
|
||||||
|
case Symbol.Message:
|
||||||
|
break;
|
||||||
|
case Symbol.Page2:
|
||||||
|
break;
|
||||||
|
case Symbol.CalendarDay:
|
||||||
|
break;
|
||||||
|
case Symbol.CalendarWeek:
|
||||||
|
break;
|
||||||
|
case Symbol.Calendar:
|
||||||
|
break;
|
||||||
|
case Symbol.Character:
|
||||||
|
break;
|
||||||
|
case Symbol.MailReplyAll:
|
||||||
|
break;
|
||||||
|
case Symbol.Read:
|
||||||
|
break;
|
||||||
|
case Symbol.Link:
|
||||||
|
break;
|
||||||
|
case Symbol.Account:
|
||||||
|
break;
|
||||||
|
case Symbol.ShowBcc:
|
||||||
|
break;
|
||||||
|
case Symbol.HideBcc:
|
||||||
|
break;
|
||||||
|
case Symbol.Cut:
|
||||||
|
break;
|
||||||
|
case Symbol.Attach:
|
||||||
|
break;
|
||||||
|
case Symbol.Paste:
|
||||||
|
break;
|
||||||
|
case Symbol.Filter:
|
||||||
|
break;
|
||||||
|
case Symbol.Copy:
|
||||||
|
break;
|
||||||
|
case Symbol.Emoji2:
|
||||||
|
break;
|
||||||
|
case Symbol.Important:
|
||||||
|
break;
|
||||||
|
case Symbol.MailReply:
|
||||||
|
break;
|
||||||
|
case Symbol.SlideShow:
|
||||||
|
break;
|
||||||
|
case Symbol.Sort:
|
||||||
|
break;
|
||||||
|
case Symbol.Manage:
|
||||||
|
break;
|
||||||
|
case Symbol.AllApps:
|
||||||
|
break;
|
||||||
|
case Symbol.DisconnectDrive:
|
||||||
|
break;
|
||||||
|
case Symbol.MapDrive:
|
||||||
|
break;
|
||||||
|
case Symbol.NewWindow:
|
||||||
|
break;
|
||||||
|
case Symbol.OpenWith:
|
||||||
|
break;
|
||||||
|
case Symbol.ContactPresence:
|
||||||
|
break;
|
||||||
|
case Symbol.Priority:
|
||||||
|
break;
|
||||||
|
case Symbol.GoToToday:
|
||||||
|
break;
|
||||||
|
case Symbol.Font:
|
||||||
|
break;
|
||||||
|
case Symbol.FontColor:
|
||||||
|
break;
|
||||||
|
case Symbol.Contact2:
|
||||||
|
break;
|
||||||
|
case Symbol.Folder:
|
||||||
|
break;
|
||||||
|
case Symbol.Audio:
|
||||||
|
break;
|
||||||
|
case Symbol.Placeholder:
|
||||||
|
break;
|
||||||
|
case Symbol.View:
|
||||||
|
break;
|
||||||
|
case Symbol.SetLockScreen:
|
||||||
|
break;
|
||||||
|
case Symbol.SetTile:
|
||||||
|
break;
|
||||||
|
case Symbol.ClosedCaption:
|
||||||
|
break;
|
||||||
|
case Symbol.StopSlideShow:
|
||||||
|
break;
|
||||||
|
case Symbol.Permissions:
|
||||||
|
break;
|
||||||
|
case Symbol.Highlight:
|
||||||
|
break;
|
||||||
|
case Symbol.DisableUpdates:
|
||||||
|
break;
|
||||||
|
case Symbol.UnFavorite:
|
||||||
|
break;
|
||||||
|
case Symbol.UnPin:
|
||||||
|
break;
|
||||||
|
case Symbol.OpenLocal:
|
||||||
|
break;
|
||||||
|
case Symbol.Mute:
|
||||||
|
break;
|
||||||
|
case Symbol.Italic:
|
||||||
|
break;
|
||||||
|
case Symbol.Underline:
|
||||||
|
break;
|
||||||
|
case Symbol.Bold:
|
||||||
|
break;
|
||||||
|
case Symbol.MoveToFolder:
|
||||||
|
break;
|
||||||
|
case Symbol.LikeDislike:
|
||||||
|
break;
|
||||||
|
case Symbol.Dislike:
|
||||||
|
break;
|
||||||
|
case Symbol.Like:
|
||||||
|
break;
|
||||||
|
case Symbol.AlignRight:
|
||||||
|
break;
|
||||||
|
case Symbol.AlignCenter:
|
||||||
|
break;
|
||||||
|
case Symbol.AlignLeft:
|
||||||
|
break;
|
||||||
|
case Symbol.Zoom:
|
||||||
|
break;
|
||||||
|
case Symbol.ZoomOut:
|
||||||
|
break;
|
||||||
|
case Symbol.OpenFile:
|
||||||
|
break;
|
||||||
|
case Symbol.OtherUser:
|
||||||
|
break;
|
||||||
|
case Symbol.Admin:
|
||||||
|
break;
|
||||||
|
case Symbol.Street:
|
||||||
|
break;
|
||||||
|
case Symbol.Map:
|
||||||
|
break;
|
||||||
|
case Symbol.ClearSelection:
|
||||||
|
break;
|
||||||
|
case Symbol.FontDecrease:
|
||||||
|
break;
|
||||||
|
case Symbol.FontIncrease:
|
||||||
|
break;
|
||||||
|
case Symbol.FontSize:
|
||||||
|
break;
|
||||||
|
case Symbol.CellPhone:
|
||||||
|
break;
|
||||||
|
case Symbol.ReShare:
|
||||||
|
break;
|
||||||
|
case Symbol.Tag:
|
||||||
|
break;
|
||||||
|
case Symbol.RepeatOne:
|
||||||
|
break;
|
||||||
|
case Symbol.RepeatAll:
|
||||||
|
break;
|
||||||
|
case Symbol.OutlineStar:
|
||||||
|
break;
|
||||||
|
case Symbol.SolidStar:
|
||||||
|
break;
|
||||||
|
case Symbol.Calculator:
|
||||||
|
break;
|
||||||
|
case Symbol.Directions:
|
||||||
|
break;
|
||||||
|
case Symbol.Target:
|
||||||
|
break;
|
||||||
|
case Symbol.Library:
|
||||||
|
break;
|
||||||
|
case Symbol.PhoneBook:
|
||||||
|
break;
|
||||||
|
case Symbol.Memo:
|
||||||
|
break;
|
||||||
|
case Symbol.Microphone:
|
||||||
|
break;
|
||||||
|
case Symbol.PostUpdate:
|
||||||
|
break;
|
||||||
|
case Symbol.BackToWindow:
|
||||||
|
break;
|
||||||
|
case Symbol.FullScreen:
|
||||||
|
break;
|
||||||
|
case Symbol.NewFolder:
|
||||||
|
break;
|
||||||
|
case Symbol.CalendarReply:
|
||||||
|
break;
|
||||||
|
case Symbol.UnSyncFolder:
|
||||||
|
break;
|
||||||
|
case Symbol.ReportHacked:
|
||||||
|
break;
|
||||||
|
case Symbol.SyncFolder:
|
||||||
|
break;
|
||||||
|
case Symbol.BlockContact:
|
||||||
|
break;
|
||||||
|
case Symbol.SwitchApps:
|
||||||
|
break;
|
||||||
|
case Symbol.AddFriend:
|
||||||
|
break;
|
||||||
|
case Symbol.TouchPointer:
|
||||||
|
break;
|
||||||
|
case Symbol.GoToStart:
|
||||||
|
break;
|
||||||
|
case Symbol.ZeroBars:
|
||||||
|
break;
|
||||||
|
case Symbol.OneBar:
|
||||||
|
break;
|
||||||
|
case Symbol.TwoBars:
|
||||||
|
break;
|
||||||
|
case Symbol.ThreeBars:
|
||||||
|
break;
|
||||||
|
case Symbol.FourBars:
|
||||||
|
break;
|
||||||
|
case Symbol.Scan:
|
||||||
|
break;
|
||||||
|
case Symbol.Preview:
|
||||||
|
break;*/
|
||||||
|
default:
|
||||||
|
return PwIcon.Folder;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
|
||||||
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">CSharp70</s:String>
|
|
||||||
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=viewmodels_005Citems/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
|
@@ -108,90 +108,130 @@
|
|||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="Actions\ClipboardAction.cs" />
|
||||||
|
<Compile Include="Actions\NavigateToUrlAction.cs" />
|
||||||
<Compile Include="Actions\SetupFocusAction.cs" />
|
<Compile Include="Actions\SetupFocusAction.cs" />
|
||||||
<Compile Include="App.xaml.cs">
|
<Compile Include="App.xaml.cs">
|
||||||
<DependentUpon>App.xaml</DependentUpon>
|
<DependentUpon>App.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Common\DatabaseHelper.cs" />
|
<Compile Include="Interfaces\ILicenseService.cs" />
|
||||||
|
<Compile Include="Interfaces\IRecent.cs" />
|
||||||
|
<Compile Include="Interfaces\IRecentItem.cs" />
|
||||||
|
<Compile Include="Interfaces\IResource.cs" />
|
||||||
|
<Compile Include="TemplateSelectors\SelectableDataTemplateSelector.cs" />
|
||||||
|
<Compile Include="ViewModels\DonateVm.cs" />
|
||||||
|
<Compile Include="Views\MainPageFrames\DonatePage.xaml.cs">
|
||||||
|
<DependentUpon>DonatePage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Services\DatabaseService.cs" />
|
||||||
|
<Compile Include="Interfaces\ISettings.cs" />
|
||||||
<Compile Include="Common\MessageDialogHelper.cs" />
|
<Compile Include="Common\MessageDialogHelper.cs" />
|
||||||
<Compile Include="Common\NavigationHelper.cs" />
|
<Compile Include="Common\NavigationHelper.cs" />
|
||||||
<Compile Include="Common\NotifyPropertyChangedBase.cs" />
|
<Compile Include="Common\NotifyPropertyChangedBase.cs" />
|
||||||
<Compile Include="Common\ObservableDictionary.cs" />
|
<Compile Include="Common\ObservableDictionary.cs" />
|
||||||
<Compile Include="Common\RelayCommand.cs" />
|
<Compile Include="Common\RelayCommand.cs" />
|
||||||
<Compile Include="Common\SuspensionManager.cs" />
|
<Compile Include="Common\SuspensionManager.cs" />
|
||||||
|
<Compile Include="Services\LicenseService.cs" />
|
||||||
|
<Compile Include="Services\RecentService.cs" />
|
||||||
|
<Compile Include="Services\ResourcesService.cs" />
|
||||||
|
<Compile Include="Services\SettingsService.cs" />
|
||||||
<Compile Include="Common\ToastNotificationHelper.cs" />
|
<Compile Include="Common\ToastNotificationHelper.cs" />
|
||||||
|
<Compile Include="Converters\DiscreteIntToSolidColorBrushConverter.cs" />
|
||||||
|
<Compile Include="Converters\EmptyStringToVisibilityConverter.cs" />
|
||||||
|
<Compile Include="Converters\NullToBooleanConverter.cs" />
|
||||||
|
<Compile Include="Exceptions\SaveException.cs" />
|
||||||
|
<Compile Include="Extensions\DispatcherTaskExtensions.cs" />
|
||||||
|
<Compile Include="Interfaces\IDatabase.cs" />
|
||||||
<Compile Include="Interfaces\IHasSelectableObject.cs" />
|
<Compile Include="Interfaces\IHasSelectableObject.cs" />
|
||||||
<Compile Include="Interfaces\ISelectableModel.cs" />
|
<Compile Include="Interfaces\ISelectableModel.cs" />
|
||||||
<Compile Include="Pages\BasePages\LayoutAwarePageBase.cs" />
|
<Compile Include="Views\BasePages\LayoutAwarePageBase.cs" />
|
||||||
|
<Compile Include="Views\SettingsPageFrames\SettingsDatabasePage.xaml.cs">
|
||||||
|
<DependentUpon>SettingsDatabasePage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\SettingsPageFrames\SettingsNewDatabasePage.xaml.cs">
|
||||||
|
<DependentUpon>SettingsNewDatabasePage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\SettingsPageFrames\SettingsSecurityPage.xaml.cs">
|
||||||
|
<DependentUpon>SettingsSecurityPage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\SettingsPageFrames\SettingsWelcomePage.xaml.cs">
|
||||||
|
<DependentUpon>SettingsWelcomePage.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="TemplateSelectors\FirstItemDataTemplateSelector.cs" />
|
<Compile Include="TemplateSelectors\FirstItemDataTemplateSelector.cs" />
|
||||||
<Compile Include="Controls\ListViewWithDisable.cs" />
|
<Compile Include="Controls\ListViewWithDisable.cs" />
|
||||||
<Compile Include="Controls\OpenDatabaseUserControl.xaml.cs">
|
<Compile Include="Views\UserControls\CompositeKeyUserControl.xaml.cs">
|
||||||
<DependentUpon>OpenDatabaseUserControl.xaml</DependentUpon>
|
<DependentUpon>CompositeKeyUserControl.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Controls\TextBoxWithButton.cs" />
|
<Compile Include="Controls\TextBoxWithButton.cs" />
|
||||||
<Compile Include="Converters\BooleanToVisibilityConverter.cs" />
|
<Compile Include="Converters\BooleanToVisibilityConverter.cs" />
|
||||||
<Compile Include="Converters\ColorToBrushConverter.cs" />
|
<Compile Include="Converters\ColorToBrushConverter.cs" />
|
||||||
<Compile Include="Converters\DoubleToForegroungBrushComplexityConverter.cs" />
|
<Compile Include="Converters\DoubleToSolidColorBrushConverter.cs" />
|
||||||
<Compile Include="Converters\InverseBooleanToVisibilityConverter.cs" />
|
<Compile Include="Converters\InverseBooleanToVisibilityConverter.cs" />
|
||||||
<Compile Include="Converters\TextToFontStyleConverter.cs" />
|
|
||||||
<Compile Include="Converters\PluralizationConverter.cs" />
|
<Compile Include="Converters\PluralizationConverter.cs" />
|
||||||
<Compile Include="Converters\ProgressBarLegalValuesConverter.cs" />
|
<Compile Include="Converters\ProgressBarLegalValuesConverter.cs" />
|
||||||
<Compile Include="Converters\TextToWidthConverter.cs" />
|
<Compile Include="Converters\TextToWidthConverter.cs" />
|
||||||
<Compile Include="Events\PasswordEventArgs.cs" />
|
<Compile Include="Events\PasswordEventArgs.cs" />
|
||||||
<Compile Include="Interfaces\IIsEnabled.cs" />
|
<Compile Include="Interfaces\IIsEnabled.cs" />
|
||||||
<Compile Include="Interfaces\IPwEntity.cs" />
|
<Compile Include="Interfaces\IPwEntity.cs" />
|
||||||
<Compile Include="Pages\MainPage.xaml.cs">
|
<Compile Include="Views\MainPage.xaml.cs">
|
||||||
<DependentUpon>MainPage.xaml</DependentUpon>
|
<DependentUpon>MainPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Mappings\PwIconToSegoeMapping.cs" />
|
<Compile Include="Mappings\PwIconToSegoeMapping.cs" />
|
||||||
<Compile Include="Pages\MainPageFrames\AboutPage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\AboutPage.xaml.cs">
|
||||||
<DependentUpon>AboutPage.xaml</DependentUpon>
|
<DependentUpon>AboutPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\MainPageFrames\NewDatabasePage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\NewDatabasePage.xaml.cs">
|
||||||
<DependentUpon>NewDatabasePage.xaml</DependentUpon>
|
<DependentUpon>NewDatabasePage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\SettingsPage.xaml.cs">
|
<Compile Include="Views\SettingsPage.xaml.cs">
|
||||||
<DependentUpon>SettingsPage.xaml</DependentUpon>
|
<DependentUpon>SettingsPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\MainPageFrames\WelcomePage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\WelcomePage.xaml.cs">
|
||||||
<DependentUpon>WelcomePage.xaml</DependentUpon>
|
<DependentUpon>WelcomePage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="ViewModels\AboutVm.cs" />
|
<Compile Include="ViewModels\AboutVm.cs" />
|
||||||
|
<Compile Include="ViewModels\CompositeKeyVm.cs" />
|
||||||
|
<Compile Include="ViewModels\Items\ListMenuItemVm.cs" />
|
||||||
<Compile Include="ViewModels\Items\MainMenuItemVm.cs" />
|
<Compile Include="ViewModels\Items\MainMenuItemVm.cs" />
|
||||||
<Compile Include="ViewModels\Items\RecentItemVm.cs" />
|
<Compile Include="ViewModels\Items\RecentItemVm.cs" />
|
||||||
<Compile Include="Pages\EntryDetailPage.xaml.cs">
|
<Compile Include="Views\EntryDetailPage.xaml.cs">
|
||||||
<DependentUpon>EntryDetailPage.xaml</DependentUpon>
|
<DependentUpon>EntryDetailPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\GroupDetailPage.xaml.cs">
|
<Compile Include="Views\GroupDetailPage.xaml.cs">
|
||||||
<DependentUpon>GroupDetailPage.xaml</DependentUpon>
|
<DependentUpon>GroupDetailPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\MainPageFrames\OpenDatabasePage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\OpenDatabasePage.xaml.cs">
|
||||||
<DependentUpon>OpenDatabasePage.xaml</DependentUpon>
|
<DependentUpon>OpenDatabasePage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\MainPageFrames\RecentDatabasesPage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\RecentDatabasesPage.xaml.cs">
|
||||||
<DependentUpon>RecentDatabasesPage.xaml</DependentUpon>
|
<DependentUpon>RecentDatabasesPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\MainPageFrames\SaveDatabasePage.xaml.cs">
|
<Compile Include="Views\MainPageFrames\SaveDatabasePage.xaml.cs">
|
||||||
<DependentUpon>SaveDatabasePage.xaml</DependentUpon>
|
<DependentUpon>SaveDatabasePage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="ViewModels\EntryVm.cs" />
|
<Compile Include="ViewModels\EntryVm.cs" />
|
||||||
<Compile Include="ViewModels\GroupVm.cs" />
|
<Compile Include="ViewModels\GroupVm.cs" />
|
||||||
|
<Compile Include="ViewModels\Items\SettingsNewVm.cs" />
|
||||||
|
<Compile Include="ViewModels\SettingsVm.cs" />
|
||||||
<Compile Include="ViewModels\MainVm.cs" />
|
<Compile Include="ViewModels\MainVm.cs" />
|
||||||
<Compile Include="ViewModels\NewVm.cs" />
|
<Compile Include="ViewModels\NewVm.cs" />
|
||||||
<Compile Include="ViewModels\OpenVm.cs" />
|
<Compile Include="ViewModels\OpenVm.cs" />
|
||||||
<Compile Include="ViewModels\RecentVm.cs" />
|
<Compile Include="ViewModels\RecentVm.cs" />
|
||||||
<Compile Include="ViewModels\SaveVm.cs" />
|
<Compile Include="ViewModels\SaveVm.cs" />
|
||||||
|
<Compile Include="ViewModels\Items\SettingsDatabaseVm.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AppxManifest Include="Package.appxmanifest">
|
<AppxManifest Include="Package.appxmanifest">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</AppxManifest>
|
</AppxManifest>
|
||||||
<None Include="ModernKeePass_StoreKey.pfx" />
|
|
||||||
<None Include="ModernKeePass_TemporaryKey.pfx" />
|
|
||||||
<None Include="packages.config">
|
<None Include="packages.config">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
|
<PRIResource Include="Strings\fr-FR\Resources.resw" />
|
||||||
|
<PRIResource Include="Strings\fr-FR\CodeBehind.resw" />
|
||||||
|
<PRIResource Include="Strings\en-US\CodeBehind.resw" />
|
||||||
|
<PRIResource Include="Strings\en-US\Resources.resw" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Package.StoreAssociation.xml" />
|
<None Include="Package.StoreAssociation.xml" />
|
||||||
@@ -201,47 +241,67 @@
|
|||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Page Include="Controls\OpenDatabaseUserControl.xaml">
|
<Page Include="Views\UserControls\CompositeKeyUserControl.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPage.xaml">
|
<Page Include="Views\MainPage.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\AboutPage.xaml">
|
<Page Include="Views\MainPageFrames\AboutPage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\EntryDetailPage.xaml">
|
<Page Include="Views\EntryDetailPage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\GroupDetailPage.xaml">
|
<Page Include="Views\GroupDetailPage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\NewDatabasePage.xaml">
|
<Page Include="Views\MainPageFrames\DonatePage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\OpenDatabasePage.xaml">
|
<Page Include="Views\MainPageFrames\NewDatabasePage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\RecentDatabasesPage.xaml">
|
<Page Include="Views\MainPageFrames\OpenDatabasePage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\SaveDatabasePage.xaml">
|
<Page Include="Views\MainPageFrames\RecentDatabasesPage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\SettingsPage.xaml">
|
<Page Include="Views\MainPageFrames\SaveDatabasePage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\MainPageFrames\WelcomePage.xaml">
|
<Page Include="Views\SettingsPage.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\MainPageFrames\WelcomePage.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\SettingsPageFrames\SettingsDatabasePage.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\SettingsPageFrames\SettingsNewDatabasePage.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\SettingsPageFrames\SettingsSecurityPage.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\SettingsPageFrames\SettingsWelcomePage.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
@@ -260,6 +320,11 @@
|
|||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Page>
|
</Page>
|
||||||
|
<Page Include="Styles\TextBlockStyles.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Page>
|
||||||
<Page Include="Styles\TextBoxWithButtonStyle.xaml">
|
<Page Include="Styles\TextBoxWithButtonStyle.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
@@ -275,6 +340,10 @@
|
|||||||
<HintPath>..\packages\Microsoft.Toolkit.Uwp.Notifications.2.0.0\lib\dotnet\Microsoft.Toolkit.Uwp.Notifications.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Toolkit.Uwp.Notifications.2.0.0\lib\dotnet\Microsoft.Toolkit.Uwp.Notifications.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="ModernKeePassLib, Version=2.37.0.2000, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\ModernKeePassLib.2.37.8000\lib\netstandard1.2\ModernKeePassLib.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Splat, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Splat, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Splat.2.0.0\lib\Portable-Win81+Wpa81\Splat.dll</HintPath>
|
<HintPath>..\packages\Splat.2.0.0\lib\Portable-Win81+Wpa81\Splat.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
@@ -284,7 +353,7 @@
|
|||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Validation, Version=2.4.0.0, Culture=neutral, PublicKeyToken=2fc06f0d701809a7, processorArchitecture=MSIL">
|
<Reference Include="Validation, Version=2.4.0.0, Culture=neutral, PublicKeyToken=2fc06f0d701809a7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Validation.2.4.15\lib\portable-net45+win8+wp8+wpa81\Validation.dll</HintPath>
|
<HintPath>..\packages\Validation.2.4.18\lib\portable-net45+win8+wp8+wpa81\Validation.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -294,31 +363,63 @@
|
|||||||
</SDKReference>
|
</SDKReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\description.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Entry.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Filter.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Group.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.New.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Open.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Recent.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Semantic.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\description.Settings.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Entry.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Filter.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Group.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\New.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Open.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Recent.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Semantic.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\images\Screenshot\Settings.png" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\keywords.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\privacyPolicy.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\releaseNotes.txt" />
|
||||||
|
<Content Include="appMetadata\en-us\baselisting\websiteUrl.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\description.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Entry.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Filter.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Group.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.New.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Open.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Recent.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Semantic.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\description.Settings.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Entry.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Filter.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Group.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\New.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Open.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Recent.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Semantic.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\images\Screenshot\Settings.png" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\keywords.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\privacyPolicy.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\releaseNotes.txt" />
|
||||||
|
<Content Include="appMetadata\fr-fr\baselisting\websiteUrl.txt" />
|
||||||
<Content Include="Assets\Logo.scale-100.png" />
|
<Content Include="Assets\Logo.scale-100.png" />
|
||||||
<Content Include="Assets\Logo.scale-140.png" />
|
<Content Include="Assets\Logo.scale-140.png" />
|
||||||
<Content Include="Assets\Logo.scale-180.png" />
|
<Content Include="Assets\Logo.scale-180.png" />
|
||||||
<Content Include="Assets\Logo.scale-80.png" />
|
<Content Include="Assets\Logo.scale-80.png" />
|
||||||
<Content Include="Assets\ModernKeePass-Logo.scale-100.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-Logo.scale-140.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-Logo.scale-180.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-Logo.scale-80.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-SmallLogo.scale-100.png" />
|
<Content Include="Assets\ModernKeePass-SmallLogo.scale-100.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SmallLogo.scale-140.png" />
|
<Content Include="Assets\ModernKeePass-SmallLogo.scale-140.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SmallLogo.scale-180.png" />
|
<Content Include="Assets\ModernKeePass-SmallLogo.scale-180.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SmallLogo.scale-80.png" />
|
<Content Include="Assets\ModernKeePass-SmallLogo.scale-80.png" />
|
||||||
|
<Content Include="Assets\ModernKeePass-SmallLogo.targetsize-16.png" />
|
||||||
|
<Content Include="Assets\ModernKeePass-SmallLogo.targetsize-256.png" />
|
||||||
|
<Content Include="Assets\ModernKeePass-SmallLogo.targetsize-32.png" />
|
||||||
|
<Content Include="Assets\ModernKeePass-SmallLogo.targetsize-48.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SplashScreen.scale-100.png" />
|
<Content Include="Assets\ModernKeePass-SplashScreen.scale-100.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SplashScreen.scale-140.png" />
|
<Content Include="Assets\ModernKeePass-SplashScreen.scale-140.png" />
|
||||||
<Content Include="Assets\ModernKeePass-SplashScreen.scale-180.png" />
|
<Content Include="Assets\ModernKeePass-SplashScreen.scale-180.png" />
|
||||||
<Content Include="Assets\ModernKeePass-StoreLogo.scale-100.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-StoreLogo.scale-140.png" />
|
|
||||||
<Content Include="Assets\ModernKeePass-StoreLogo.scale-180.png" />
|
|
||||||
<Content Include="Assets\SmallLogo.scale-100.png" />
|
|
||||||
<Content Include="Assets\SmallLogo.scale-140.png" />
|
|
||||||
<Content Include="Assets\SmallLogo.scale-180.png" />
|
|
||||||
<Content Include="Assets\SmallLogo.scale-80.png" />
|
|
||||||
<Content Include="Assets\SplashScreen.scale-100.png" />
|
|
||||||
<Content Include="Assets\SplashScreen.scale-140.png" />
|
|
||||||
<Content Include="Assets\SplashScreen.scale-180.png" />
|
|
||||||
<Content Include="Assets\Square310x310Logo.scale-100.png" />
|
<Content Include="Assets\Square310x310Logo.scale-100.png" />
|
||||||
<Content Include="Assets\Square310x310Logo.scale-140.png" />
|
<Content Include="Assets\Square310x310Logo.scale-140.png" />
|
||||||
<Content Include="Assets\Square310x310Logo.scale-180.png" />
|
<Content Include="Assets\Square310x310Logo.scale-180.png" />
|
||||||
@@ -335,15 +436,6 @@
|
|||||||
<Content Include="Assets\Wide310x150Logo.scale-180.png" />
|
<Content Include="Assets\Wide310x150Logo.scale-180.png" />
|
||||||
<Content Include="Assets\Wide310x150Logo.scale-80.png" />
|
<Content Include="Assets\Wide310x150Logo.scale-80.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\ModernKeePassLib\ModernKeePassLib.csproj">
|
|
||||||
<Project>{2e710089-9559-4967-846c-e763dd1f3acb}</Project>
|
|
||||||
<Name>ModernKeePassLib</Name>
|
|
||||||
</ProjectReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Pages\SettingsPageFrames\" />
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '12.0' ">
|
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '12.0' ">
|
||||||
<VisualStudioVersion>12.0</VisualStudioVersion>
|
<VisualStudioVersion>12.0</VisualStudioVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
@@ -1,10 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
|
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
|
||||||
<Identity Name="wismna.ModernKeePass" Publisher="CN=0719A91A-C322-4EE0-A257-E60733EECF06" Version="1.5.0.25" />
|
<Identity Name="wismna.ModernKeePass" Publisher="CN=0719A91A-C322-4EE0-A257-E60733EECF06" Version="1.12.0.32" />
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>ModernKeePass</DisplayName>
|
<DisplayName>ModernKeePass</DisplayName>
|
||||||
<PublisherDisplayName>wismna</PublisherDisplayName>
|
<PublisherDisplayName>wismna</PublisherDisplayName>
|
||||||
<Logo>Assets\ModernKeePass-StoreLogo.png</Logo>
|
<Logo>Assets\StoreLogo.png</Logo>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Prerequisites>
|
<Prerequisites>
|
||||||
<OSMinVersion>6.3.0</OSMinVersion>
|
<OSMinVersion>6.3.0</OSMinVersion>
|
||||||
@@ -15,10 +15,10 @@
|
|||||||
</Resources>
|
</Resources>
|
||||||
<Applications>
|
<Applications>
|
||||||
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="ModernKeePass.App">
|
<Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="ModernKeePass.App">
|
||||||
<m2:VisualElements DisplayName="ModernKeePass" Square150x150Logo="Assets\ModernKeePass-Logo.png" Square30x30Logo="Assets\ModernKeePass-SmallLogo.png" Description="A port of the KeePass application for the Windows store. You can create, open and edit KeePass 2.x password databases in a modern fashion." ForegroundText="light" BackgroundColor="#464646" ToastCapable="true">
|
<m2:VisualElements DisplayName="ModernKeePass" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\ModernKeePass-SmallLogo.png" Description="A port of the KeePass application for the Windows store. You can create, open and edit KeePass 2.x password databases in a modern fashion." ForegroundText="light" BackgroundColor="#7755c4" ToastCapable="true">
|
||||||
<m2:DefaultTile Square310x310Logo="Assets\Square310x310Logo.png" Wide310x150Logo="Assets\Wide310x150Logo.png" Square70x70Logo="Assets\Square70x70Logo.png">
|
<m2:DefaultTile Square310x310Logo="Assets\Square310x310Logo.png" Wide310x150Logo="Assets\Wide310x150Logo.png" Square70x70Logo="Assets\Square70x70Logo.png">
|
||||||
</m2:DefaultTile>
|
</m2:DefaultTile>
|
||||||
<m2:SplashScreen Image="Assets\ModernKeePass-SplashScreen.png" />
|
<m2:SplashScreen Image="Assets\ModernKeePass-SplashScreen.png" BackgroundColor="#7755c4" />
|
||||||
</m2:VisualElements>
|
</m2:VisualElements>
|
||||||
<Extensions>
|
<Extensions>
|
||||||
<Extension Category="windows.fileOpenPicker">
|
<Extension Category="windows.fileOpenPicker">
|
||||||
|
@@ -1,297 +0,0 @@
|
|||||||
<Page
|
|
||||||
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"
|
|
||||||
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
||||||
xmlns:converters="using:ModernKeePass.Converters"
|
|
||||||
xmlns:interactivity="using:Microsoft.Xaml.Interactivity"
|
|
||||||
xmlns:core="using:Microsoft.Xaml.Interactions.Core"
|
|
||||||
xmlns:actions="using:ModernKeePass.Actions"
|
|
||||||
xmlns:templateSelectors="using:ModernKeePass.TemplateSelectors"
|
|
||||||
x:Name="PageRoot"
|
|
||||||
x:Class="ModernKeePass.Pages.GroupDetailPage"
|
|
||||||
mc:Ignorable="d" >
|
|
||||||
<Page.Resources>
|
|
||||||
<SolidColorBrush x:Key="Transparent" Color="Transparent"/>
|
|
||||||
<SolidColorBrush x:Key="SystemColor" Color="{StaticResource SystemColorButtonFaceColor}" />
|
|
||||||
<converters:ColorToBrushConverter x:Key="ColorToBrushConverter"/>
|
|
||||||
<converters:TextToFontStyleConverter x:Key="TextToFontStyleConverter"/>
|
|
||||||
</Page.Resources>
|
|
||||||
<Page.DataContext>
|
|
||||||
<viewModels:GroupVm />
|
|
||||||
</Page.DataContext>
|
|
||||||
<Page.BottomAppBar>
|
|
||||||
<CommandBar x:Name="CommandBar" VerticalAlignment="Center">
|
|
||||||
<CommandBar.SecondaryCommands>
|
|
||||||
<AppBarButton Icon="Save" Label="Save">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:EventTriggerBehavior EventName="Click">
|
|
||||||
<core:CallMethodAction TargetObject="{Binding}" MethodName="Save"/>
|
|
||||||
<core:ChangePropertyAction TargetObject="{Binding ElementName=CommandBar}" PropertyName="IsOpen" Value="False" />
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</AppBarButton>
|
|
||||||
<!--<AppBarButton Icon="Setting" Label="Settings">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:EventTriggerBehavior EventName="Click">
|
|
||||||
<core:NavigateToPageAction TargetPage="ModernKeePass.Pages.SettingsPage" />
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</AppBarButton>-->
|
|
||||||
</CommandBar.SecondaryCommands>
|
|
||||||
<AppBarToggleButton Icon="Edit" Label="Edit" IsChecked="{Binding IsEditMode, Mode=TwoWay}">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:EventTriggerBehavior EventName="Click">
|
|
||||||
<core:ChangePropertyAction TargetObject="{Binding ElementName=CommandBar}" PropertyName="IsOpen" Value="False" />
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</AppBarToggleButton>
|
|
||||||
<AppBarButton Icon="Delete" Label="Delete" IsEnabled="{Binding IsNotRoot}" Click="DeleteButton_Click" />
|
|
||||||
</CommandBar>
|
|
||||||
</Page.BottomAppBar>
|
|
||||||
<Grid>
|
|
||||||
<Grid.Resources>
|
|
||||||
<CollectionViewSource
|
|
||||||
x:Name="GroupsViewSource"
|
|
||||||
Source="{Binding Groups}" />
|
|
||||||
<CollectionViewSource
|
|
||||||
x:Name="EntriesViewSource"
|
|
||||||
Source="{Binding Entries}" />
|
|
||||||
<CollectionViewSource
|
|
||||||
x:Name="EntriesZoomedOutViewSource"
|
|
||||||
Source="{Binding EntriesZoomedOut}" IsSourceGrouped="True"/>
|
|
||||||
</Grid.Resources>
|
|
||||||
<Grid.Background>
|
|
||||||
<StaticResource ResourceKey="ApplicationPageBackgroundThemeBrush"/>
|
|
||||||
</Grid.Background>
|
|
||||||
<Grid.ChildrenTransitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition/>
|
|
||||||
</TransitionCollection>
|
|
||||||
</Grid.ChildrenTransitions>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="40"/>
|
|
||||||
<RowDefinition Height="*"/>
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid Grid.Row="1">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto" />
|
|
||||||
<ColumnDefinition Width="*" />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<ListView
|
|
||||||
Grid.Column="0"
|
|
||||||
x:Name="LeftListView"
|
|
||||||
Margin="0,0,0,-10"
|
|
||||||
SelectionChanged="groups_SelectionChanged"
|
|
||||||
IsSwipeEnabled="false"
|
|
||||||
IsSynchronizedWithCurrentItem="False"
|
|
||||||
DataContext="{Binding DataContext, ElementName=PageRoot}"
|
|
||||||
RequestedTheme="Dark"
|
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
|
||||||
Foreground="{ThemeResource DefaultTextForegroundThemeBrush}">
|
|
||||||
<ListView.Resources>
|
|
||||||
<DataTemplate x:Name="Collapsed">
|
|
||||||
<SymbolIcon Symbol="{Binding IconSymbol}" Margin="8,0,0,0">
|
|
||||||
<ToolTipService.ToolTip>
|
|
||||||
<ToolTip Content="{Binding Name}" />
|
|
||||||
</ToolTipService.ToolTip>
|
|
||||||
</SymbolIcon>
|
|
||||||
</DataTemplate>
|
|
||||||
<DataTemplate x:Name="Expanded">
|
|
||||||
<StackPanel Orientation="Horizontal">
|
|
||||||
<SymbolIcon Symbol="{Binding IconSymbol}" Margin="8,0,0,0" />
|
|
||||||
<TextBlock Text="{Binding Name}" FontWeight="{Binding FontWeight}" TextWrapping="NoWrap" VerticalAlignment="Center" Margin="30,0,20,0" FontStyle="{Binding Name, ConverterParameter=Recycle Bin, Converter={StaticResource TextToFontStyleConverter}}" />
|
|
||||||
<!--<TextBlock Text="{Binding EntryCount}" HorizontalAlignment="Right" VerticalAlignment="Center" />-->
|
|
||||||
</StackPanel>
|
|
||||||
</DataTemplate>
|
|
||||||
</ListView.Resources>
|
|
||||||
<ListView.ItemsSource>
|
|
||||||
<Binding Source="{StaticResource GroupsViewSource}"/>
|
|
||||||
</ListView.ItemsSource>
|
|
||||||
<ListView.ItemContainerStyle>
|
|
||||||
<Style TargetType="ListViewItem">
|
|
||||||
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
|
||||||
<!--<Setter Property="HorizontalContentAlignment" Value="Center" />-->
|
|
||||||
<Setter Property="Padding" Value="0"/>
|
|
||||||
<Setter Property="Margin" Value="0"/>
|
|
||||||
</Style>
|
|
||||||
</ListView.ItemContainerStyle>
|
|
||||||
<ListView.HeaderTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<ToggleButton Style="{StaticResource HamburgerToggleButton}">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:EventTriggerBehavior EventName="Loaded">
|
|
||||||
<core:ChangePropertyAction PropertyName="ItemTemplate" Value="{StaticResource Collapsed}" TargetObject="{Binding ElementName=LeftListView}"/>
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
<core:EventTriggerBehavior EventName="Checked">
|
|
||||||
<core:ChangePropertyAction PropertyName="ItemTemplate" Value="{StaticResource Expanded}" TargetObject="{Binding ElementName=LeftListView}"/>
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
<core:EventTriggerBehavior EventName="Unchecked">
|
|
||||||
<core:ChangePropertyAction PropertyName="ItemTemplate" Value="{StaticResource Collapsed}" TargetObject="{Binding ElementName=LeftListView}"/>
|
|
||||||
</core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</ToggleButton>
|
|
||||||
</DataTemplate>
|
|
||||||
</ListView.HeaderTemplate>
|
|
||||||
</ListView>
|
|
||||||
<!-- Horizontal scrolling grid -->
|
|
||||||
<SemanticZoom Grid.Column="1" ViewChangeStarted="SemanticZoom_ViewChangeStarted" Margin="0,30,0,0">
|
|
||||||
<SemanticZoom.ZoomedInView>
|
|
||||||
<GridView
|
|
||||||
x:Name="GridView"
|
|
||||||
AutomationProperties.AutomationId="ItemGridView"
|
|
||||||
AutomationProperties.Name="Entries"
|
|
||||||
TabIndex="1"
|
|
||||||
SelectionChanged="entries_SelectionChanged"
|
|
||||||
IsSynchronizedWithCurrentItem="False">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:DataTriggerBehavior Binding="{Binding IsEditMode}" Value="False">
|
|
||||||
<actions:SetupFocusAction TargetObject="{Binding ElementName=GridView}" />
|
|
||||||
</core:DataTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
<GridView.Resources>
|
|
||||||
<DataTemplate x:Name="GroupFirstItem">
|
|
||||||
<Border
|
|
||||||
BorderThickness="2"
|
|
||||||
BorderBrush="{StaticResource SystemColor}"
|
|
||||||
Background="{StaticResource HubSectionHeaderPressedForegroundThemeBrush}">
|
|
||||||
<Grid Height="110" Width="480">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<SymbolIcon Grid.Column="0" Symbol="{Binding IconSymbol}" Width="100" Height="100" RenderTransformOrigin="0.5,0.5" Foreground="{ThemeResource ListViewItemSelectedBackgroundThemeBrush}" >
|
|
||||||
<SymbolIcon.RenderTransform>
|
|
||||||
<CompositeTransform ScaleX="2" TranslateX="0" TranslateY="0" ScaleY="2"/>
|
|
||||||
</SymbolIcon.RenderTransform>
|
|
||||||
</SymbolIcon>
|
|
||||||
<TextBlock Grid.Column="1" Text="{Binding Name}" FontWeight="Bold" Style="{ThemeResource TitleTextBlockStyle}" TextWrapping="NoWrap" VerticalAlignment="Center" Margin="13,0,0,5"/>
|
|
||||||
</Grid>
|
|
||||||
</Border>
|
|
||||||
</DataTemplate>
|
|
||||||
<DataTemplate x:Name="GroupOtherItem">
|
|
||||||
<Grid Height="110" Width="480" x:Name="EntryGrid" >
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Border
|
|
||||||
Grid.Column="0"
|
|
||||||
BorderThickness="2"
|
|
||||||
BorderBrush="{StaticResource SystemColor}"
|
|
||||||
Background="{Binding BackgroundColor, ConverterParameter={StaticResource Transparent}, Converter={StaticResource ColorToBrushConverter}}">
|
|
||||||
<SymbolIcon Symbol="{Binding IconSymbol}" Width="100" Height="100" RenderTransformOrigin="0.5,0.5" >
|
|
||||||
<SymbolIcon.RenderTransform>
|
|
||||||
<CompositeTransform ScaleX="2" TranslateX="0" TranslateY="0" ScaleY="2"/>
|
|
||||||
</SymbolIcon.RenderTransform>
|
|
||||||
</SymbolIcon>
|
|
||||||
</Border>
|
|
||||||
<StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="10,10,0,0" >
|
|
||||||
<TextBlock x:Name="NameTextBlock" Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap" Foreground="{Binding ForegroundColor, ConverterParameter={StaticResource TextBoxForegroundThemeBrush}, Converter={StaticResource ColorToBrushConverter}}"/>
|
|
||||||
<!--<Line Visibility="{Binding HasExpired, Converter={StaticResource BooleanToVisibilityConverter}}" Margin="0,-10,0,0" Stretch="Fill" Stroke="{Binding ForegroundColor, ConverterParameter={StaticResource TextBoxForegroundThemeBrush}, Converter={StaticResource ColorToBrushConverter}}" StrokeThickness="1" X1="1" Width="{Binding Name, Converter={StaticResource TextToWidthConverter}, ConverterParameter=7}" HorizontalAlignment="Left" VerticalAlignment="Center" />-->
|
|
||||||
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap"/>
|
|
||||||
<!--<TextBlock Text="{Binding EntryCount, ConverterParameter=entry\,entries, Converter={StaticResource PluralizationConverter}}" Style="{StaticResource BodyTextBlockStyle}" MaxHeight="60" />
|
|
||||||
<TextBlock Text="{Binding GroupCount, ConverterParameter=group\,groups, Converter={StaticResource PluralizationConverter}}" Style="{StaticResource BodyTextBlockStyle}" MaxHeight="60" />-->
|
|
||||||
<TextBlock Text="{Binding UserName}" Style="{StaticResource BodyTextBlockStyle}" MaxHeight="60" />
|
|
||||||
<TextBlock Text="{Binding Url}" Style="{StaticResource BodyTextBlockStyle}" MaxHeight="60" />
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>
|
|
||||||
</DataTemplate>
|
|
||||||
</GridView.Resources>
|
|
||||||
<GridView.ItemsSource>
|
|
||||||
<Binding Source="{StaticResource EntriesViewSource}"/>
|
|
||||||
</GridView.ItemsSource>
|
|
||||||
<GridView.DataContext>
|
|
||||||
<viewModels:EntryVm/>
|
|
||||||
</GridView.DataContext>
|
|
||||||
<GridView.ItemTemplateSelector>
|
|
||||||
<templateSelectors:FirstItemDataTemplateSelector
|
|
||||||
FirstItem="{StaticResource GroupFirstItem}"
|
|
||||||
OtherItem="{StaticResource GroupOtherItem}" />
|
|
||||||
</GridView.ItemTemplateSelector>
|
|
||||||
<GridView.ItemContainerStyle>
|
|
||||||
<Style TargetType="FrameworkElement">
|
|
||||||
<Setter Property="Margin" Value="52,0,0,2"/>
|
|
||||||
</Style>
|
|
||||||
</GridView.ItemContainerStyle>
|
|
||||||
</GridView>
|
|
||||||
</SemanticZoom.ZoomedInView>
|
|
||||||
|
|
||||||
<SemanticZoom.ZoomedOutView>
|
|
||||||
<ListView
|
|
||||||
x:Name="SemanticListView"
|
|
||||||
ItemsSource="{Binding Source={StaticResource EntriesZoomedOutViewSource}}"
|
|
||||||
IsSwipeEnabled="false"
|
|
||||||
SelectionChanged="groups_SelectionChanged"
|
|
||||||
IsSynchronizedWithCurrentItem="False">
|
|
||||||
<ListView.ItemsPanel>
|
|
||||||
<ItemsPanelTemplate>
|
|
||||||
<StackPanel Orientation="Horizontal" />
|
|
||||||
</ItemsPanelTemplate>
|
|
||||||
</ListView.ItemsPanel>
|
|
||||||
<ListView.ItemTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<StackPanel Orientation="Vertical">
|
|
||||||
<TextBlock Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"/>
|
|
||||||
</StackPanel>
|
|
||||||
</DataTemplate>
|
|
||||||
</ListView.ItemTemplate>
|
|
||||||
<ListView.GroupStyle>
|
|
||||||
<GroupStyle HidesIfEmpty="True">
|
|
||||||
<GroupStyle.HeaderTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<Grid Background="LightGray" Margin="0,0,10,0" HorizontalAlignment="Left">
|
|
||||||
<TextBlock Text="{Binding Key}" Width="40" Foreground="Black" Margin="30" Style="{StaticResource HeaderTextBlockStyle}"/>
|
|
||||||
</Grid>
|
|
||||||
</DataTemplate>
|
|
||||||
</GroupStyle.HeaderTemplate>
|
|
||||||
</GroupStyle>
|
|
||||||
</ListView.GroupStyle>
|
|
||||||
</ListView>
|
|
||||||
</SemanticZoom.ZoomedOutView>
|
|
||||||
</SemanticZoom>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
<!-- Back button and page title -->
|
|
||||||
<Grid Grid.Row="0" Background="{ThemeResource AppBarBackgroundThemeBrush}">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="60"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
<ColumnDefinition Width="400"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Button Grid.Column="0"
|
|
||||||
x:Name="BackButton"
|
|
||||||
Command="{Binding NavigationHelper.GoBackCommand, ElementName=PageRoot}"
|
|
||||||
Height="40"
|
|
||||||
Width="50"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
AutomationProperties.Name="Back"
|
|
||||||
AutomationProperties.AutomationId="BackButton"
|
|
||||||
AutomationProperties.ItemType="Navigation Button"
|
|
||||||
Style="{StaticResource NoBorderButtonStyle}">
|
|
||||||
<SymbolIcon Symbol="Back" />
|
|
||||||
</Button>
|
|
||||||
<TextBox
|
|
||||||
Grid.Column="1"
|
|
||||||
x:Name="TitleTextBox"
|
|
||||||
Text="{Binding Name, Mode=TwoWay}"
|
|
||||||
Foreground="{ThemeResource DefaultTextForegroundThemeBrush}"
|
|
||||||
Background="Transparent"
|
|
||||||
IsHitTestVisible="{Binding IsEditMode}"
|
|
||||||
BorderThickness="0"
|
|
||||||
FontSize="24"
|
|
||||||
FontWeight="SemiBold"
|
|
||||||
TextWrapping="NoWrap"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
PlaceholderText="New group name...">
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<core:DataTriggerBehavior Binding="{Binding IsEditMode}" Value="True">
|
|
||||||
<actions:SetupFocusAction TargetObject="{Binding ElementName=TitleTextBox}" />
|
|
||||||
</core:DataTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</TextBox>
|
|
||||||
<SearchBox Grid.Column="2" PlaceholderText="Search..." Width="350" Background="{ThemeResource TextBoxDisabledBackgroundThemeBrush}" BorderThickness="0" FontSize="18" SuggestionsRequested="SearchBox_OnSuggestionsRequested" SearchHistoryEnabled="False" ResultSuggestionChosen="SearchBox_OnResultSuggestionChosen" />
|
|
||||||
</Grid>
|
|
||||||
</Grid>
|
|
||||||
</Page>
|
|
@@ -1,39 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Class="ModernKeePass.Pages.NewDatabasePage"
|
|
||||||
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"
|
|
||||||
xmlns:local="using:ModernKeePass.Controls"
|
|
||||||
xmlns:converters="using:ModernKeePass.Converters"
|
|
||||||
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
||||||
xmlns:interactivity="using:Microsoft.Xaml.Interactivity" xmlns:Core="using:Microsoft.Xaml.Interactions.Core"
|
|
||||||
mc:Ignorable="d">
|
|
||||||
<Page.Resources>
|
|
||||||
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
||||||
<converters:ProgressBarLegalValuesConverter x:Key="ProgressBarLegalValuesConverter"/>
|
|
||||||
<converters:DoubleToForegroungBrushComplexityConverter x:Key="DoubleToForegroungBrushComplexityConverter"/>
|
|
||||||
</Page.Resources>
|
|
||||||
<Page.DataContext>
|
|
||||||
<viewModels:NewVm />
|
|
||||||
</Page.DataContext>
|
|
||||||
|
|
||||||
<StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
||||||
<HyperlinkButton Content="Create new..." Click="ButtonBase_OnClick" />
|
|
||||||
<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="15,0,0,30">Create a new password database to the location of your chosing.</TextBlock>
|
|
||||||
<Border HorizontalAlignment="Left" BorderThickness="1" BorderBrush="AliceBlue" Width="550" Visibility="{Binding ShowPasswordBox, Converter={StaticResource BooleanToVisibilityConverter}}">
|
|
||||||
<StackPanel Margin="25,0,25,0">
|
|
||||||
<TextBlock Text="{Binding Name}" />
|
|
||||||
<local:OpenDatabaseUserControl Password="{Binding Password, Mode=TwoWay}" CreateNew="True" >
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<Core:EventTriggerBehavior EventName="ValidationChecked">
|
|
||||||
<Core:NavigateToPageAction TargetPage="ModernKeePass.Pages.GroupDetailPage" />
|
|
||||||
</Core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</local:OpenDatabaseUserControl>
|
|
||||||
<TextBlock >Password complexity</TextBlock>
|
|
||||||
<ProgressBar Value="{Binding PasswordComplexityIndicator, ConverterParameter=0\,128, Converter={StaticResource ProgressBarLegalValuesConverter}}" Maximum="128" Width="500" HorizontalAlignment="Left" Foreground="{Binding PasswordComplexityIndicator, ConverterParameter=128, Converter={StaticResource DoubleToForegroungBrushComplexityConverter}}" />
|
|
||||||
</StackPanel>
|
|
||||||
</Border>
|
|
||||||
</StackPanel>
|
|
||||||
</Page>
|
|
@@ -1,47 +0,0 @@
|
|||||||
<Page
|
|
||||||
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"
|
|
||||||
xmlns:viewModels="using:ModernKeePass.ViewModels"
|
|
||||||
xmlns:local="using:ModernKeePass.Controls"
|
|
||||||
xmlns:converters="using:ModernKeePass.Converters"
|
|
||||||
xmlns:interactivity="using:Microsoft.Xaml.Interactivity" xmlns:Core="using:Microsoft.Xaml.Interactions.Core"
|
|
||||||
x:Class="ModernKeePass.Pages.RecentDatabasesPage"
|
|
||||||
mc:Ignorable="d">
|
|
||||||
<Page.Resources>
|
|
||||||
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
|
|
||||||
<CollectionViewSource x:Name="RecentItemsSource" Source="{Binding RecentItems}" />
|
|
||||||
</Page.Resources>
|
|
||||||
<Page.DataContext>
|
|
||||||
<viewModels:RecentVm/>
|
|
||||||
</Page.DataContext>
|
|
||||||
<ListView Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
|
|
||||||
ItemsSource="{Binding Source={StaticResource RecentItemsSource}}"
|
|
||||||
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
|
|
||||||
ItemContainerStyle="{StaticResource ListViewLeftIndicatorItemExpanded}">
|
|
||||||
<ListView.ItemTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<Grid Margin="10,0,10,0">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<TextBlock Grid.Row="0" Text="{Binding Name}" Padding="5,0,0,0" />
|
|
||||||
<TextBlock Grid.Row="1" Text="{Binding Path}" Padding="5,0,0,0" FontSize="10" />
|
|
||||||
<local:OpenDatabaseUserControl Grid.Row="2" x:Name="DatabaseUserControl" HorizontalAlignment="Stretch" MinWidth="400" Margin="0,10,0,0" Visibility="{Binding IsSelected, Converter={StaticResource BooleanToVisibilityConverter}}" ValidationChecking="OpenDatabaseUserControl_OnValidationChecking" >
|
|
||||||
<interactivity:Interaction.Behaviors>
|
|
||||||
<Core:EventTriggerBehavior EventName="ValidationChecked">
|
|
||||||
<Core:NavigateToPageAction TargetPage="ModernKeePass.Pages.GroupDetailPage" />
|
|
||||||
</Core:EventTriggerBehavior>
|
|
||||||
</interactivity:Interaction.Behaviors>
|
|
||||||
</local:OpenDatabaseUserControl>
|
|
||||||
</Grid>
|
|
||||||
</DataTemplate>
|
|
||||||
</ListView.ItemTemplate>
|
|
||||||
</ListView>
|
|
||||||
</Page>
|
|
@@ -1,37 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using Windows.UI.Xaml.Controls;
|
|
||||||
using Windows.UI.Xaml.Navigation;
|
|
||||||
using ModernKeePass.ViewModels;
|
|
||||||
|
|
||||||
// Pour en savoir plus sur le modèle d'élément Page vierge, consultez la page http://go.microsoft.com/fwlink/?LinkId=234238
|
|
||||||
|
|
||||||
namespace ModernKeePass.Pages
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Une page vide peut être utilisée seule ou constituer une page de destination au sein d'un frame.
|
|
||||||
/// </summary>
|
|
||||||
public sealed partial class RecentDatabasesPage
|
|
||||||
{
|
|
||||||
private Frame _mainFrame;
|
|
||||||
|
|
||||||
public RecentVm Model => (RecentVm)DataContext;
|
|
||||||
|
|
||||||
public RecentDatabasesPage()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
|
||||||
{
|
|
||||||
base.OnNavigatedTo(e);
|
|
||||||
_mainFrame = e.Parameter as Frame;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OpenDatabaseUserControl_OnValidationChecking(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
var app = (App)Application.Current;
|
|
||||||
app.Database.DatabaseFile = Model.SelectedItem.DatabaseFile;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,30 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
|
||||||
using Windows.Foundation;
|
|
||||||
using Windows.Foundation.Collections;
|
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using Windows.UI.Xaml.Controls;
|
|
||||||
using Windows.UI.Xaml.Controls.Primitives;
|
|
||||||
using Windows.UI.Xaml.Data;
|
|
||||||
using Windows.UI.Xaml.Input;
|
|
||||||
using Windows.UI.Xaml.Media;
|
|
||||||
using Windows.UI.Xaml.Navigation;
|
|
||||||
|
|
||||||
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
|
|
||||||
|
|
||||||
namespace ModernKeePass.Pages
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
|
||||||
/// </summary>
|
|
||||||
public sealed partial class WelcomePage : Page
|
|
||||||
{
|
|
||||||
public WelcomePage()
|
|
||||||
{
|
|
||||||
this.InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,181 +0,0 @@
|
|||||||
<Page
|
|
||||||
x:Name="pageRoot"
|
|
||||||
x:Class="ModernKeePass.Pages.SettingsPage"
|
|
||||||
DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:local="using:ModernKeePass.Pages"
|
|
||||||
xmlns:common="using:ModernKeePass.Common"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
mc:Ignorable="d">
|
|
||||||
|
|
||||||
<Page.Resources>
|
|
||||||
<!-- Collection of items displayed by this page -->
|
|
||||||
<CollectionViewSource
|
|
||||||
x:Name="itemsViewSource"
|
|
||||||
Source="{Binding Items}"/>
|
|
||||||
</Page.Resources>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
This grid acts as a root panel for the page that defines two rows:
|
|
||||||
* Row 0 contains the back button and page title
|
|
||||||
* Row 1 contains the rest of the page layout
|
|
||||||
-->
|
|
||||||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
|
||||||
<Grid.ChildrenTransitions>
|
|
||||||
<TransitionCollection>
|
|
||||||
<EntranceThemeTransition/>
|
|
||||||
</TransitionCollection>
|
|
||||||
</Grid.ChildrenTransitions>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="140"/>
|
|
||||||
<RowDefinition Height="*"/>
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition x:Name="primaryColumn" Width="420"/>
|
|
||||||
<ColumnDefinition x:Name="secondaryColumn" Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<!-- Back button and page title -->
|
|
||||||
<Grid x:Name="titlePanel">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="120"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Button x:Name="backButton" Margin="39,59,39,0" Command="{Binding NavigationHelper.GoBackCommand, ElementName=pageRoot}"
|
|
||||||
Style="{StaticResource NavigationBackButtonNormalStyle}"
|
|
||||||
VerticalAlignment="Top"
|
|
||||||
AutomationProperties.Name="Back"
|
|
||||||
AutomationProperties.AutomationId="BackButton"
|
|
||||||
AutomationProperties.ItemType="Navigation Button"/>
|
|
||||||
<TextBlock x:Name="pageTitle" Text="{Binding Title}" Style="{StaticResource HeaderTextBlockStyle}" Grid.Column="1"
|
|
||||||
IsHitTestVisible="false" TextWrapping="NoWrap" VerticalAlignment="Bottom" Margin="0,0,0,40"/>
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<!-- Vertical scrolling item list -->
|
|
||||||
<ListView
|
|
||||||
x:Name="itemListView"
|
|
||||||
AutomationProperties.AutomationId="ItemsListView"
|
|
||||||
AutomationProperties.Name="Items"
|
|
||||||
TabIndex="1"
|
|
||||||
Grid.Row="1"
|
|
||||||
Margin="-10,-10,0,0"
|
|
||||||
Padding="120,0,0,60"
|
|
||||||
ItemsSource="{Binding Source={StaticResource itemsViewSource}}"
|
|
||||||
IsSwipeEnabled="False"
|
|
||||||
SelectionChanged="ItemListView_SelectionChanged">
|
|
||||||
<ListView.ItemTemplate>
|
|
||||||
<DataTemplate>
|
|
||||||
<Grid Margin="6">
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<Border Background="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}" Width="60" Height="60">
|
|
||||||
<Image Source="{Binding ImagePath}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/>
|
|
||||||
</Border>
|
|
||||||
<StackPanel Grid.Column="1" Margin="10,0,0,0">
|
|
||||||
<TextBlock Text="{Binding Title}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap" MaxHeight="40"/>
|
|
||||||
<TextBlock Text="{Binding Subtitle}" Style="{StaticResource CaptionTextBlockStyle}" TextWrapping="NoWrap"/>
|
|
||||||
</StackPanel>
|
|
||||||
</Grid>
|
|
||||||
</DataTemplate>
|
|
||||||
</ListView.ItemTemplate>
|
|
||||||
<ListView.ItemContainerStyle>
|
|
||||||
<Style TargetType="FrameworkElement">
|
|
||||||
<Setter Property="Margin" Value="0,0,0,10"/>
|
|
||||||
</Style>
|
|
||||||
</ListView.ItemContainerStyle>
|
|
||||||
</ListView>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Details for selected item -->
|
|
||||||
<ScrollViewer
|
|
||||||
x:Name="itemDetail"
|
|
||||||
AutomationProperties.AutomationId="ItemDetailScrollViewer"
|
|
||||||
Grid.Column="1"
|
|
||||||
Grid.RowSpan="2"
|
|
||||||
Padding="60,0,66,0"
|
|
||||||
DataContext="{Binding SelectedItem, ElementName=itemListView}"
|
|
||||||
HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto"
|
|
||||||
ScrollViewer.HorizontalScrollMode="Disabled" ScrollViewer.VerticalScrollMode="Enabled"
|
|
||||||
ScrollViewer.ZoomMode="Disabled">
|
|
||||||
|
|
||||||
<Grid x:Name="itemDetailGrid" Margin="0,60,0,50">
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition Height="Auto"/>
|
|
||||||
<RowDefinition Height="*"/>
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="Auto"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Image Grid.Row="1" Margin="0,0,20,0" Width="180" Height="180" Source="{Binding ImagePath}" Stretch="UniformToFill" AutomationProperties.Name="{Binding Title}"/>
|
|
||||||
<StackPanel x:Name="itemDetailTitlePanel" Grid.Row="1" Grid.Column="1">
|
|
||||||
<TextBlock x:Name="itemTitle" Margin="0,-10,0,0" Text="{Binding Title}" Style="{StaticResource SubheaderTextBlockStyle}"/>
|
|
||||||
<TextBlock x:Name="itemSubtitle" Margin="0,0,0,20" Text="{Binding Subtitle}" Style="{StaticResource SubtitleTextBlockStyle}"/>
|
|
||||||
</StackPanel>
|
|
||||||
<TextBlock Grid.Row="2" Grid.ColumnSpan="2" Margin="0,20,0,0" Text="{Binding Content}" Style="{StaticResource BodyTextBlockStyle}"/>
|
|
||||||
</Grid>
|
|
||||||
</ScrollViewer>
|
|
||||||
|
|
||||||
<VisualStateManager.VisualStateGroups>
|
|
||||||
|
|
||||||
<!-- Visual states reflect the application's view state -->
|
|
||||||
<VisualStateGroup x:Name="ViewStates">
|
|
||||||
<VisualState x:Name="PrimaryView" />
|
|
||||||
<VisualState x:Name="SinglePane">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="primaryColumn" Storyboard.TargetProperty="Width">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="*"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="secondaryColumn" Storyboard.TargetProperty="Width">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="0"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemDetail" Storyboard.TargetProperty="Visibility">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemListView" Storyboard.TargetProperty="Padding">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="120,0,90,60"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
<!--
|
|
||||||
When an item is selected and only one pane is shown the details display requires more extensive changes:
|
|
||||||
* Hide the master list and the column it was in
|
|
||||||
* Move item details down a row to make room for the title
|
|
||||||
* Move the title directly above the details
|
|
||||||
* Adjust padding for details
|
|
||||||
-->
|
|
||||||
<VisualState x:Name="SinglePane_Detail">
|
|
||||||
<Storyboard>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="primaryColumn" Storyboard.TargetProperty="Width">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="0"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemListView" Storyboard.TargetProperty="Visibility">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemDetail" Storyboard.TargetProperty="(Grid.Row)">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="1"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemDetail" Storyboard.TargetProperty="(Grid.RowSpan)">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="1"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="titlePanel" Storyboard.TargetProperty="(Grid.Column)">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="1"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemDetailGrid" Storyboard.TargetProperty="Margin">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="0,0,0,60"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemDetail" Storyboard.TargetProperty="Padding">
|
|
||||||
<DiscreteObjectKeyFrame KeyTime="0" Value="120,0,90,0"/>
|
|
||||||
</ObjectAnimationUsingKeyFrames>
|
|
||||||
</Storyboard>
|
|
||||||
</VisualState>
|
|
||||||
</VisualStateGroup>
|
|
||||||
</VisualStateManager.VisualStateGroups>
|
|
||||||
</Grid>
|
|
||||||
</Page>
|
|
@@ -1,255 +0,0 @@
|
|||||||
using ModernKeePass.Common;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices.WindowsRuntime;
|
|
||||||
using System.Windows.Input;
|
|
||||||
using Windows.Foundation;
|
|
||||||
using Windows.Foundation.Collections;
|
|
||||||
using Windows.UI.ViewManagement;
|
|
||||||
using Windows.UI.Xaml;
|
|
||||||
using Windows.UI.Xaml.Controls;
|
|
||||||
using Windows.UI.Xaml.Controls.Primitives;
|
|
||||||
using Windows.UI.Xaml.Data;
|
|
||||||
using Windows.UI.Xaml.Input;
|
|
||||||
using Windows.UI.Xaml.Media;
|
|
||||||
using Windows.UI.Xaml.Navigation;
|
|
||||||
|
|
||||||
// The Split Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234234
|
|
||||||
|
|
||||||
namespace ModernKeePass.Pages
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// A page that displays a group title, a list of items within the group, and details for
|
|
||||||
/// the currently selected item.
|
|
||||||
/// </summary>
|
|
||||||
public sealed partial class SettingsPage : Page
|
|
||||||
{
|
|
||||||
private NavigationHelper navigationHelper;
|
|
||||||
private ObservableDictionary defaultViewModel = new ObservableDictionary();
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// This can be changed to a strongly typed view model.
|
|
||||||
/// </summary>
|
|
||||||
public ObservableDictionary DefaultViewModel
|
|
||||||
{
|
|
||||||
get { return this.defaultViewModel; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NavigationHelper is used on each page to aid in navigation and
|
|
||||||
/// process lifetime management
|
|
||||||
/// </summary>
|
|
||||||
public NavigationHelper NavigationHelper
|
|
||||||
{
|
|
||||||
get { return this.navigationHelper; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public SettingsPage()
|
|
||||||
{
|
|
||||||
this.InitializeComponent();
|
|
||||||
|
|
||||||
// Setup the navigation helper
|
|
||||||
this.navigationHelper = new NavigationHelper(this);
|
|
||||||
this.navigationHelper.LoadState += navigationHelper_LoadState;
|
|
||||||
this.navigationHelper.SaveState += navigationHelper_SaveState;
|
|
||||||
|
|
||||||
// Setup the logical page navigation components that allow
|
|
||||||
// the page to only show one pane at a time.
|
|
||||||
this.navigationHelper.GoBackCommand = new ModernKeePass.Common.RelayCommand(() => this.GoBack(), () => this.CanGoBack());
|
|
||||||
this.itemListView.SelectionChanged += itemListView_SelectionChanged;
|
|
||||||
|
|
||||||
// Start listening for Window size changes
|
|
||||||
// to change from showing two panes to showing a single pane
|
|
||||||
Window.Current.SizeChanged += Window_SizeChanged;
|
|
||||||
this.InvalidateVisualState();
|
|
||||||
}
|
|
||||||
|
|
||||||
void itemListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
||||||
{
|
|
||||||
if (this.UsingLogicalPageNavigation())
|
|
||||||
{
|
|
||||||
this.navigationHelper.GoBackCommand.RaiseCanExecuteChanged();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Populates the page with content passed during navigation. Any saved state is also
|
|
||||||
/// provided when recreating a page from a prior session.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender">
|
|
||||||
/// The source of the event; typically <see cref="Common.NavigationHelper"/>
|
|
||||||
/// </param>
|
|
||||||
/// <param name="e">Event data that provides both the navigation parameter passed to
|
|
||||||
/// <see cref="Frame.Navigate(Type, Object)"/> when this page was initially requested and
|
|
||||||
/// a dictionary of state preserved by this page during an earlier
|
|
||||||
/// session. The state will be null the first time a page is visited.</param>
|
|
||||||
private void navigationHelper_LoadState(object sender, LoadStateEventArgs e)
|
|
||||||
{
|
|
||||||
// TODO: Assign a bindable group to Me.DefaultViewModel("Group")
|
|
||||||
// TODO: Assign a collection of bindable items to Me.DefaultViewModel("Items")
|
|
||||||
|
|
||||||
if (e.PageState == null)
|
|
||||||
{
|
|
||||||
// When this is a new page, select the first item automatically unless logical page
|
|
||||||
// navigation is being used (see the logical page navigation #region below.)
|
|
||||||
if (!this.UsingLogicalPageNavigation() && this.itemsViewSource.View != null)
|
|
||||||
{
|
|
||||||
this.itemsViewSource.View.MoveCurrentToFirst();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Restore the previously saved state associated with this page
|
|
||||||
if (e.PageState.ContainsKey("SelectedItem") && this.itemsViewSource.View != null)
|
|
||||||
{
|
|
||||||
// TODO: Invoke Me.itemsViewSource.View.MoveCurrentTo() with the selected
|
|
||||||
// item as specified by the value of pageState("SelectedItem")
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Preserves state associated with this page in case the application is suspended or the
|
|
||||||
/// page is discarded from the navigation cache. Values must conform to the serialization
|
|
||||||
/// requirements of <see cref="Common.SuspensionManager.SessionState"/>.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender">The source of the event; typically <see cref="Common.NavigationHelper"/></param>
|
|
||||||
/// <param name="e">Event data that provides an empty dictionary to be populated with
|
|
||||||
/// serializable state.</param>
|
|
||||||
private void navigationHelper_SaveState(object sender, SaveStateEventArgs e)
|
|
||||||
{
|
|
||||||
if (this.itemsViewSource.View != null)
|
|
||||||
{
|
|
||||||
// TODO: Derive a serializable navigation parameter and assign it to
|
|
||||||
// pageState("SelectedItem")
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Logical page navigation
|
|
||||||
|
|
||||||
// The split page is designed so that when the Window does have enough space to show
|
|
||||||
// both the list and the details, only one pane will be shown at at time.
|
|
||||||
//
|
|
||||||
// This is all implemented with a single physical page that can represent two logical
|
|
||||||
// pages. The code below achieves this goal without making the user aware of the
|
|
||||||
// distinction.
|
|
||||||
|
|
||||||
private const int MinimumWidthForSupportingTwoPanes = 768;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Invoked to determine whether the page should act as one logical page or two.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>True if the window should show act as one logical page, false
|
|
||||||
/// otherwise.</returns>
|
|
||||||
private bool UsingLogicalPageNavigation()
|
|
||||||
{
|
|
||||||
return Window.Current.Bounds.Width < MinimumWidthForSupportingTwoPanes;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Invoked with the Window changes size
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender">The current Window</param>
|
|
||||||
/// <param name="e">Event data that describes the new size of the Window</param>
|
|
||||||
private void Window_SizeChanged(object sender, Windows.UI.Core.WindowSizeChangedEventArgs e)
|
|
||||||
{
|
|
||||||
this.InvalidateVisualState();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Invoked when an item within the list is selected.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender">The GridView displaying the selected item.</param>
|
|
||||||
/// <param name="e">Event data that describes how the selection was changed.</param>
|
|
||||||
private void ItemListView_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
||||||
{
|
|
||||||
// Invalidate the view state when logical page navigation is in effect, as a change
|
|
||||||
// in selection may cause a corresponding change in the current logical page. When
|
|
||||||
// an item is selected this has the effect of changing from displaying the item list
|
|
||||||
// to showing the selected item's details. When the selection is cleared this has the
|
|
||||||
// opposite effect.
|
|
||||||
if (this.UsingLogicalPageNavigation()) this.InvalidateVisualState();
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool CanGoBack()
|
|
||||||
{
|
|
||||||
if (this.UsingLogicalPageNavigation() && this.itemListView.SelectedItem != null)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return this.navigationHelper.CanGoBack();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void GoBack()
|
|
||||||
{
|
|
||||||
if (this.UsingLogicalPageNavigation() && this.itemListView.SelectedItem != null)
|
|
||||||
{
|
|
||||||
// When logical page navigation is in effect and there's a selected item that
|
|
||||||
// item's details are currently displayed. Clearing the selection will return to
|
|
||||||
// the item list. From the user's point of view this is a logical backward
|
|
||||||
// navigation.
|
|
||||||
this.itemListView.SelectedItem = null;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.navigationHelper.GoBack();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void InvalidateVisualState()
|
|
||||||
{
|
|
||||||
var visualState = DetermineVisualState();
|
|
||||||
VisualStateManager.GoToState(this, visualState, false);
|
|
||||||
this.navigationHelper.GoBackCommand.RaiseCanExecuteChanged();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Invoked to determine the name of the visual state that corresponds to an application
|
|
||||||
/// view state.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>The name of the desired visual state. This is the same as the name of the
|
|
||||||
/// view state except when there is a selected item in portrait and snapped views where
|
|
||||||
/// this additional logical page is represented by adding a suffix of _Detail.</returns>
|
|
||||||
private string DetermineVisualState()
|
|
||||||
{
|
|
||||||
if (!UsingLogicalPageNavigation())
|
|
||||||
return "PrimaryView";
|
|
||||||
|
|
||||||
// Update the back button's enabled state when the view state changes
|
|
||||||
var logicalPageBack = this.UsingLogicalPageNavigation() && this.itemListView.SelectedItem != null;
|
|
||||||
|
|
||||||
return logicalPageBack ? "SinglePane_Detail" : "SinglePane";
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region NavigationHelper registration
|
|
||||||
|
|
||||||
/// The methods provided in this section are simply used to allow
|
|
||||||
/// NavigationHelper to respond to the page's navigation methods.
|
|
||||||
///
|
|
||||||
/// Page specific logic should be placed in event handlers for the
|
|
||||||
/// <see cref="Common.NavigationHelper.LoadState"/>
|
|
||||||
/// and <see cref="Common.NavigationHelper.SaveState"/>.
|
|
||||||
/// The navigation parameter is available in the LoadState method
|
|
||||||
/// in addition to page state preserved during an earlier session.
|
|
||||||
|
|
||||||
protected override void OnNavigatedTo(NavigationEventArgs e)
|
|
||||||
{
|
|
||||||
navigationHelper.OnNavigatedTo(e);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnNavigatedFrom(NavigationEventArgs e)
|
|
||||||
{
|
|
||||||
navigationHelper.OnNavigatedFrom(e);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
@@ -24,6 +24,6 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.5.0.0")]
|
[assembly: AssemblyVersion("1.12.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.5.0.0")]
|
[assembly: AssemblyFileVersion("1.12.0.0")]
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
234
ModernKeePass/Services/DatabaseService.cs
Normal file
@@ -0,0 +1,234 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.Storage;
|
||||||
|
using Windows.UI.Xaml.Controls;
|
||||||
|
using ModernKeePass.Exceptions;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
using ModernKeePassLib;
|
||||||
|
using ModernKeePassLib.Collections;
|
||||||
|
using ModernKeePassLib.Cryptography.KeyDerivation;
|
||||||
|
using ModernKeePassLib.Interfaces;
|
||||||
|
using ModernKeePassLib.Keys;
|
||||||
|
using ModernKeePassLib.Security;
|
||||||
|
using ModernKeePassLib.Serialization;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Services
|
||||||
|
{
|
||||||
|
public class DatabaseService: IDatabase
|
||||||
|
{
|
||||||
|
public enum DatabaseStatus
|
||||||
|
{
|
||||||
|
Error = -3,
|
||||||
|
NoCompositeKey = -2,
|
||||||
|
CompositeKeyError = -1,
|
||||||
|
Closed = 0,
|
||||||
|
Opening = 1,
|
||||||
|
Opened = 2
|
||||||
|
}
|
||||||
|
private readonly PwDatabase _pwDatabase = new PwDatabase();
|
||||||
|
private readonly ISettings _settings;
|
||||||
|
private StorageFile _databaseFile;
|
||||||
|
private GroupVm _recycleBin;
|
||||||
|
|
||||||
|
public GroupVm RootGroup { get; set; }
|
||||||
|
|
||||||
|
public GroupVm RecycleBin
|
||||||
|
{
|
||||||
|
get { return _recycleBin; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_recycleBin = value;
|
||||||
|
_pwDatabase.RecycleBinUuid = _recycleBin.IdUuid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Status { get; set; } = (int)DatabaseStatus.Closed;
|
||||||
|
public string Name => DatabaseFile?.Name;
|
||||||
|
|
||||||
|
public bool RecycleBinEnabled
|
||||||
|
{
|
||||||
|
get { return _pwDatabase.RecycleBinEnabled; }
|
||||||
|
set { _pwDatabase.RecycleBinEnabled = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public StorageFile DatabaseFile
|
||||||
|
{
|
||||||
|
get { return _databaseFile; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_databaseFile = value;
|
||||||
|
Status = (int)DatabaseStatus.Opening;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public PwUuid DataCipher
|
||||||
|
{
|
||||||
|
get { return _pwDatabase.DataCipherUuid; }
|
||||||
|
set { _pwDatabase.DataCipherUuid = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public PwCompressionAlgorithm CompressionAlgorithm
|
||||||
|
{
|
||||||
|
get { return _pwDatabase.Compression; }
|
||||||
|
set { _pwDatabase.Compression = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public KdfParameters KeyDerivation
|
||||||
|
{
|
||||||
|
get { return _pwDatabase.KdfParameters; }
|
||||||
|
set { _pwDatabase.KdfParameters = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public DatabaseService() : this(new SettingsService())
|
||||||
|
{ }
|
||||||
|
|
||||||
|
public DatabaseService(ISettings settings)
|
||||||
|
{
|
||||||
|
_settings = settings;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Open a KeePass database
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="key">The database composite key</param>
|
||||||
|
/// <param name="createNew">True to create a new database before opening it</param>
|
||||||
|
/// <returns>An error message, if any</returns>
|
||||||
|
public void Open(CompositeKey key, bool createNew = false)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (key == null)
|
||||||
|
{
|
||||||
|
Status = (int)DatabaseStatus.NoCompositeKey;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var ioConnection = IOConnectionInfo.FromFile(DatabaseFile);
|
||||||
|
if (createNew)
|
||||||
|
{
|
||||||
|
_pwDatabase.New(ioConnection, key);
|
||||||
|
|
||||||
|
//Get settings default values
|
||||||
|
if (_settings.GetSetting<bool>("Sample")) CreateSampleData();
|
||||||
|
var fileFormat = _settings.GetSetting<string>("DefaultFileFormat");
|
||||||
|
switch (fileFormat)
|
||||||
|
{
|
||||||
|
case "4":
|
||||||
|
KeyDerivation = KdfPool.Get("Argon2").GetDefaultParameters();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else _pwDatabase.Open(ioConnection, key, new NullStatusLogger());
|
||||||
|
|
||||||
|
if (!_pwDatabase.IsOpen) return;
|
||||||
|
Status = (int)DatabaseStatus.Opened;
|
||||||
|
RootGroup = new GroupVm(_pwDatabase.RootGroup, null, RecycleBinEnabled ? _pwDatabase.RecycleBinUuid : null);
|
||||||
|
}
|
||||||
|
catch (InvalidCompositeKeyException)
|
||||||
|
{
|
||||||
|
Status = (int)DatabaseStatus.CompositeKeyError;
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
Status = (int)DatabaseStatus.Error;
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Save the current database to another file and open it
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="file">The new database file</param>
|
||||||
|
public void Save(StorageFile file)
|
||||||
|
{
|
||||||
|
var oldFile = DatabaseFile;
|
||||||
|
DatabaseFile = file;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
_pwDatabase.SaveAs(IOConnectionInfo.FromFile(DatabaseFile), true, new NullStatusLogger());
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
DatabaseFile = oldFile;
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
Status = (int)DatabaseStatus.Opened;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Commit the changes to the currently opened database to file
|
||||||
|
/// </summary>
|
||||||
|
public void Save()
|
||||||
|
{
|
||||||
|
if (_pwDatabase == null || !_pwDatabase.IsOpen) return;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
_pwDatabase.Save(new NullStatusLogger());
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
throw new SaveException(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Close the currently opened database
|
||||||
|
/// </summary>
|
||||||
|
public void Close()
|
||||||
|
{
|
||||||
|
_pwDatabase?.Close();
|
||||||
|
Status = (int)DatabaseStatus.Closed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddDeletedItem(PwUuid id)
|
||||||
|
{
|
||||||
|
_pwDatabase.DeletedObjects.Add(new PwDeletedObject(id, DateTime.UtcNow));
|
||||||
|
}
|
||||||
|
|
||||||
|
public void CreateRecycleBin()
|
||||||
|
{
|
||||||
|
RecycleBin = RootGroup.AddNewGroup("Recycle bin");
|
||||||
|
RecycleBin.IsSelected = true;
|
||||||
|
RecycleBin.IconSymbol = Symbol.Delete;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void UpdateCompositeKey(CompositeKey key)
|
||||||
|
{
|
||||||
|
_pwDatabase.MasterKey = key;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CreateSampleData()
|
||||||
|
{
|
||||||
|
_pwDatabase.RootGroup.AddGroup(new PwGroup(true, true, "Banking", PwIcon.Count), true);
|
||||||
|
_pwDatabase.RootGroup.AddGroup(new PwGroup(true, true, "Email", PwIcon.EMail), true);
|
||||||
|
_pwDatabase.RootGroup.AddGroup(new PwGroup(true, true, "Internet", PwIcon.World), true);
|
||||||
|
|
||||||
|
var pe = new PwEntry(true, true);
|
||||||
|
pe.Strings.Set(PwDefs.TitleField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectTitle,
|
||||||
|
"Sample Entry"));
|
||||||
|
pe.Strings.Set(PwDefs.UserNameField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectUserName,
|
||||||
|
"Username"));
|
||||||
|
pe.Strings.Set(PwDefs.UrlField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectUrl,
|
||||||
|
PwDefs.HomepageUrl));
|
||||||
|
pe.Strings.Set(PwDefs.PasswordField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectPassword,
|
||||||
|
"Password"));
|
||||||
|
pe.Strings.Set(PwDefs.NotesField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectNotes,
|
||||||
|
"You may safely delete this sample"));
|
||||||
|
_pwDatabase.RootGroup.AddEntry(pe, true);
|
||||||
|
|
||||||
|
pe = new PwEntry(true, true);
|
||||||
|
pe.Strings.Set(PwDefs.TitleField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectTitle,
|
||||||
|
"Sample Entry #2"));
|
||||||
|
pe.Strings.Set(PwDefs.UserNameField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectUserName,
|
||||||
|
"Michael321"));
|
||||||
|
pe.Strings.Set(PwDefs.UrlField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectUrl,
|
||||||
|
PwDefs.HelpUrl + "kb/testform.html"));
|
||||||
|
pe.Strings.Set(PwDefs.PasswordField, new ProtectedString(_pwDatabase.MemoryProtection.ProtectPassword,
|
||||||
|
"12345"));
|
||||||
|
pe.AutoType.Add(new AutoTypeAssociation("*Test Form - KeePass*", string.Empty));
|
||||||
|
_pwDatabase.RootGroup.AddEntry(pe, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
74
ModernKeePass/Services/LicenseService.cs
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Windows.ApplicationModel.Store;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Services
|
||||||
|
{
|
||||||
|
public class LicenseService : ILicenseService
|
||||||
|
{
|
||||||
|
public enum PurchaseResult
|
||||||
|
{
|
||||||
|
Succeeded,
|
||||||
|
NothingToFulfill,
|
||||||
|
PurchasePending,
|
||||||
|
PurchaseReverted,
|
||||||
|
ServerError,
|
||||||
|
NotPurchased,
|
||||||
|
AlreadyPurchased
|
||||||
|
}
|
||||||
|
|
||||||
|
public IReadOnlyDictionary<string, ProductListing> Products { get; }
|
||||||
|
|
||||||
|
//private LicenseInformation _licenseInformation;
|
||||||
|
private readonly HashSet<Guid> _consumedTransactionIds = new HashSet<Guid>();
|
||||||
|
|
||||||
|
public LicenseService()
|
||||||
|
{
|
||||||
|
var listing = CurrentApp.LoadListingInformationAsync().GetAwaiter().GetResult();
|
||||||
|
Products = listing.ProductListings;
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<int> Purchase(string addOn)
|
||||||
|
{
|
||||||
|
var purchaseResults = await CurrentApp.RequestProductPurchaseAsync(addOn);
|
||||||
|
switch (purchaseResults.Status)
|
||||||
|
{
|
||||||
|
case ProductPurchaseStatus.Succeeded:
|
||||||
|
GrantFeatureLocally(purchaseResults.TransactionId);
|
||||||
|
return (int) await ReportFulfillmentAsync(purchaseResults.TransactionId, addOn);
|
||||||
|
case ProductPurchaseStatus.NotFulfilled:
|
||||||
|
// The purchase failed because we haven't confirmed fulfillment of a previous purchase.
|
||||||
|
// Fulfill it now.
|
||||||
|
if (!IsLocallyFulfilled(purchaseResults.TransactionId))
|
||||||
|
{
|
||||||
|
GrantFeatureLocally(purchaseResults.TransactionId);
|
||||||
|
}
|
||||||
|
return (int) await ReportFulfillmentAsync(purchaseResults.TransactionId, addOn);
|
||||||
|
case ProductPurchaseStatus.NotPurchased:
|
||||||
|
return (int) PurchaseResult.NotPurchased;
|
||||||
|
case ProductPurchaseStatus.AlreadyPurchased:
|
||||||
|
return (int) PurchaseResult.AlreadyPurchased;
|
||||||
|
default:
|
||||||
|
throw new ArgumentOutOfRangeException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private async Task<PurchaseResult> ReportFulfillmentAsync(Guid transactionId, string productName)
|
||||||
|
{
|
||||||
|
var result = await CurrentApp.ReportConsumableFulfillmentAsync(productName, transactionId);
|
||||||
|
return (PurchaseResult) result;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void GrantFeatureLocally(Guid transactionId)
|
||||||
|
{
|
||||||
|
_consumedTransactionIds.Add(transactionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool IsLocallyFulfilled(Guid transactionId)
|
||||||
|
{
|
||||||
|
return _consumedTransactionIds.Contains(transactionId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
50
ModernKeePass/Services/RecentService.cs
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
using Windows.Storage;
|
||||||
|
using Windows.Storage.AccessCache;
|
||||||
|
using ModernKeePass.ViewModels;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Services
|
||||||
|
{
|
||||||
|
public class RecentService : IRecent
|
||||||
|
{
|
||||||
|
private readonly StorageItemMostRecentlyUsedList _mru = StorageApplicationPermissions.MostRecentlyUsedList;
|
||||||
|
|
||||||
|
public int EntryCount => _mru.Entries.Count;
|
||||||
|
|
||||||
|
public ObservableCollection<IRecentItem> GetAllFiles(bool removeIfNonExistant = true)
|
||||||
|
{
|
||||||
|
var result = new ObservableCollection<IRecentItem>();
|
||||||
|
foreach (var entry in _mru.Entries)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var file = _mru.GetFileAsync(entry.Token, AccessCacheOptions.SuppressAccessTimeUpdate).GetAwaiter().GetResult();
|
||||||
|
result.Add(new RecentItemVm(entry.Token, entry.Metadata, file));
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
if (removeIfNonExistant) _mru.Remove(entry.Token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Add(IStorageItem file, string metadata)
|
||||||
|
{
|
||||||
|
_mru.Add(file, metadata);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void ClearAll()
|
||||||
|
{
|
||||||
|
_mru.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<IStorageItem> GetFileAsync(string token)
|
||||||
|
{
|
||||||
|
return await _mru.GetFileAsync(token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
17
ModernKeePass/Services/ResourcesService.cs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
using Windows.ApplicationModel.Resources;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Services
|
||||||
|
{
|
||||||
|
public class ResourcesService: IResource
|
||||||
|
{
|
||||||
|
private const string ResourceFileName = "CodeBehind";
|
||||||
|
private readonly ResourceLoader _resourceLoader = ResourceLoader.GetForCurrentView();
|
||||||
|
|
||||||
|
public string GetResourceValue(string key)
|
||||||
|
{
|
||||||
|
var resource = _resourceLoader.GetString($"/{ResourceFileName}/{key}");
|
||||||
|
return resource;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
31
ModernKeePass/Services/SettingsService.cs
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
using System;
|
||||||
|
using Windows.Foundation.Collections;
|
||||||
|
using Windows.Storage;
|
||||||
|
using ModernKeePass.Interfaces;
|
||||||
|
|
||||||
|
namespace ModernKeePass.Services
|
||||||
|
{
|
||||||
|
public class SettingsService : ISettings
|
||||||
|
{
|
||||||
|
private readonly IPropertySet _values = ApplicationData.Current.LocalSettings.Values;
|
||||||
|
|
||||||
|
public T GetSetting<T>(string property)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return (T)Convert.ChangeType(_values[property], typeof(T));
|
||||||
|
}
|
||||||
|
catch (InvalidCastException)
|
||||||
|
{
|
||||||
|
return default(T);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PutSetting<T>(string property, T value)
|
||||||
|
{
|
||||||
|
if (_values.ContainsKey(property))
|
||||||
|
_values[property] = value;
|
||||||
|
else _values.Add(property, value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
276
ModernKeePass/Strings/en-US/CodeBehind.resw
Normal file
@@ -0,0 +1,276 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="CompositeKeyDefaultKeyFile" xml:space="preserve">
|
||||||
|
<value>Select key file from disk...</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorOpen" xml:space="preserve">
|
||||||
|
<value>Error</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserKeyFile" xml:space="preserve">
|
||||||
|
<value>key file</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserOr" xml:space="preserve">
|
||||||
|
<value> or </value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserPassword" xml:space="preserve">
|
||||||
|
<value>password</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserStart" xml:space="preserve">
|
||||||
|
<value>Error: wrong </value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyOpening" xml:space="preserve">
|
||||||
|
<value>Opening...</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyUpdated" xml:space="preserve">
|
||||||
|
<value>Database composite key updated.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateAlreadyPurchasedMessage" xml:space="preserve">
|
||||||
|
<value>Your product has already been purchased.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateAlreadyPurchasedTitle" xml:space="preserve">
|
||||||
|
<value>Purchase</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNothingToFulfillMessage" xml:space="preserve">
|
||||||
|
<value>No purchased product to fulfill</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNothingToFulfillTitle" xml:space="preserve">
|
||||||
|
<value>Fulfillment</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNotPurchasedMessage" xml:space="preserve">
|
||||||
|
<value>The purchase failed because we haven't confirmed fulfillment of a previous purchase.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNotPurchasedTitle" xml:space="preserve">
|
||||||
|
<value>Purchase</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchasePendingMessage" xml:space="preserve">
|
||||||
|
<value>The purchase is pending so we cannot fulfill the product.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchasePendingTitle" xml:space="preserve">
|
||||||
|
<value>Purchase</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchaseRevertedMessage" xml:space="preserve">
|
||||||
|
<value>Your purchase has been reverted.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchaseRevertedTitle" xml:space="preserve">
|
||||||
|
<value>Purchase</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateServerErrorMessage" xml:space="preserve">
|
||||||
|
<value>Impossible to contact the Windows Store, there was an error when fulfilling.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateServerErrorTitle" xml:space="preserve">
|
||||||
|
<value>Error</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateSucceededMessage" xml:space="preserve">
|
||||||
|
<value>Your donation was successful.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateSucceededTitle" xml:space="preserve">
|
||||||
|
<value>Thank you!</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteActionButton" xml:space="preserve">
|
||||||
|
<value>Delete</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteCancelButton" xml:space="preserve">
|
||||||
|
<value>Cancel</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteTitle" xml:space="preserve">
|
||||||
|
<value>Warning</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleting" xml:space="preserve">
|
||||||
|
<value>Deleting</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityRestoredTitle" xml:space="preserve">
|
||||||
|
<value>Restored</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryDeleted" xml:space="preserve">
|
||||||
|
<value>Entry permanently removed</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryDeletingConfirmation" xml:space="preserve">
|
||||||
|
<value>Are you sure you want to delete this entry?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryNew" xml:space="preserve">
|
||||||
|
<value>< New entry ></value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRecycled" xml:space="preserve">
|
||||||
|
<value>Entry moved to the Recycle bin</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRecyclingConfirmation" xml:space="preserve">
|
||||||
|
<value>Are you sure you want to send this entry to the recycle bin?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRestored" xml:space="preserve">
|
||||||
|
<value>Entry returned to its original group</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupDeleted" xml:space="preserve">
|
||||||
|
<value>Group permanently removed</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupDeletingConfirmation" xml:space="preserve">
|
||||||
|
<value>Are you sure you want to delete the whole group and all its entries?</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNew" xml:space="preserve">
|
||||||
|
<value>< New group ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRecycled" xml:space="preserve">
|
||||||
|
<value>Group moved to the Recycle bin</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRecyclingConfirmation" xml:space="preserve">
|
||||||
|
<value>Are you sure you want to send the whole group and all its entries to the recycle bin?</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRestored" xml:space="preserve">
|
||||||
|
<value>Group returned to its original group</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemAbout" xml:space="preserve">
|
||||||
|
<value>About</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemDonate" xml:space="preserve">
|
||||||
|
<value>Donate</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemNew" xml:space="preserve">
|
||||||
|
<value>New</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemOpen" xml:space="preserve">
|
||||||
|
<value>Open</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemRecent" xml:space="preserve">
|
||||||
|
<value>Recent</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemSave" xml:space="preserve">
|
||||||
|
<value>Save</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemSettings" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuGroupApplication" xml:space="preserve">
|
||||||
|
<value>Application</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuGroupDatabase" xml:space="preserve">
|
||||||
|
<value>Database</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemGeneral" xml:space="preserve">
|
||||||
|
<value>General</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemNew" xml:space="preserve">
|
||||||
|
<value>New</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemSecurity" xml:space="preserve">
|
||||||
|
<value>Security</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserAccount" xml:space="preserve">
|
||||||
|
<value>user account</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
369
ModernKeePass/Strings/en-US/Resources.resw
Normal file
@@ -0,0 +1,369 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="AboutCredits1.Text" xml:space="preserve">
|
||||||
|
<value>Dominik Reichl for the KeePass application and file format</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutCredits2.Text" xml:space="preserve">
|
||||||
|
<value>David Lechner for his PCL adapatation of the KeePass Library and his correlated tests</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutCreditsLabel.Text" xml:space="preserve">
|
||||||
|
<value>Credits</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutDesc.Text" xml:space="preserve">
|
||||||
|
<value>A modern password manager for the Windows Store</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutHomepage.Text" xml:space="preserve">
|
||||||
|
<value>Homepage:</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarDelete.Label" xml:space="preserve">
|
||||||
|
<value>Delete</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarEdit.Label" xml:space="preserve">
|
||||||
|
<value>Edit</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarHome.Label" xml:space="preserve">
|
||||||
|
<value>Home</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarRestore.Label" xml:space="preserve">
|
||||||
|
<value>Restore</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSave.Label" xml:space="preserve">
|
||||||
|
<value>Save</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSettings.Label" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSort.Label" xml:space="preserve">
|
||||||
|
<value>Sort</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSortEntries.Text" xml:space="preserve">
|
||||||
|
<value>Entries</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSortGroups.Text" xml:space="preserve">
|
||||||
|
<value>Groups</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyNewButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Create</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyNewKeyFileTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Create new key file</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyOpenButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Open</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyPassword.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Password</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyUserAccount.Text" xml:space="preserve">
|
||||||
|
<value>Windows User Account</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateButton.Content" xml:space="preserve">
|
||||||
|
<value>Donate</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateDesc.Text" xml:space="preserve">
|
||||||
|
<value>Like this app? Why not make a small donation to support my work and help me keep it ad-free :) ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryExpirationDate.Content" xml:space="preserve">
|
||||||
|
<value>Expiration date</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryExpirationTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Password has expired</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyLogin.Text" xml:space="preserve">
|
||||||
|
<value>Copy login</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyPassword.Text" xml:space="preserve">
|
||||||
|
<value>Copy password</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyUrl.Text" xml:space="preserve">
|
||||||
|
<value>Navigate to URL</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryLogin.Text" xml:space="preserve">
|
||||||
|
<value>User name or login</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryNotes.Text" xml:space="preserve">
|
||||||
|
<value>Notes</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryPassword.Text" xml:space="preserve">
|
||||||
|
<value>Password</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryShowPassword.Content" xml:space="preserve">
|
||||||
|
<value>Show password</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupCreateEntry.Text" xml:space="preserve">
|
||||||
|
<value>Create new entry</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupFilter.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Filter...</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNewItemTextBox.Text" xml:space="preserve">
|
||||||
|
<value>< New group ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNewItemTooltip.Content" xml:space="preserve">
|
||||||
|
<value>< New group ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupSearch.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Search...</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupTitle.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>New group name...</value>
|
||||||
|
</data>
|
||||||
|
<data name="NewCreateButton.Content" xml:space="preserve">
|
||||||
|
<value>Create new...</value>
|
||||||
|
</data>
|
||||||
|
<data name="NewCreateDesc.Text" xml:space="preserve">
|
||||||
|
<value>Create a new password database to the location of your chosing.</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenBrowseButton.Content" xml:space="preserve">
|
||||||
|
<value>Browse files...</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenBrowseDesc.Text" xml:space="preserve">
|
||||||
|
<value>Open an existing password database from your PC.</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenUrlButton.Content" xml:space="preserve">
|
||||||
|
<value>From Url...</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenUrlDesc.Text" xml:space="preserve">
|
||||||
|
<value>Open an existing password database from an Internet location (not yet implemented).</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorAlso.Text" xml:space="preserve">
|
||||||
|
<value>Also add these characters:</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorBrackets.Content" xml:space="preserve">
|
||||||
|
<value>Brackets ([], {}, (), ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorButton.Content" xml:space="preserve">
|
||||||
|
<value>Generate</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorDigits.Content" xml:space="preserve">
|
||||||
|
<value>Digits (0, 1, 2, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorLength.Text" xml:space="preserve">
|
||||||
|
<value>Password Length:</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorLower.Content" xml:space="preserve">
|
||||||
|
<value>Lower case (a, b, c, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorMinus.Content" xml:space="preserve">
|
||||||
|
<value>Minus (-)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorSpace.Content" xml:space="preserve">
|
||||||
|
<value>Space ( )</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorSpecial.Content" xml:space="preserve">
|
||||||
|
<value>Special (!, $, %, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Generate password</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorUnderscore.Content" xml:space="preserve">
|
||||||
|
<value>Underscore (_)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorUpper.Content" xml:space="preserve">
|
||||||
|
<value>Upper case (A, B, C, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="RecentClear.Text" xml:space="preserve">
|
||||||
|
<value>Clear all</value>
|
||||||
|
</data>
|
||||||
|
<data name="ReorderEntriesLabel.Text" xml:space="preserve">
|
||||||
|
<value>Drag and drop entries to reorder them</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveAsButton.Content" xml:space="preserve">
|
||||||
|
<value>Save as...</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveAsDesc.Text" xml:space="preserve">
|
||||||
|
<value>This will save the currently opened database as a new file and leave it open.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveButton.Content" xml:space="preserve">
|
||||||
|
<value>Save and close</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveDesc.Text" xml:space="preserve">
|
||||||
|
<value>This will save and close the currently opened database.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseCompression.Text" xml:space="preserve">
|
||||||
|
<value>Compression Algorithm</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseEncryption.Text" xml:space="preserve">
|
||||||
|
<value>Encryption Algorithm</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseKdf.Text" xml:space="preserve">
|
||||||
|
<value>Key Derivation Algorithm</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.Header" xml:space="preserve">
|
||||||
|
<value>Recycle bin</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.OffContent" xml:space="preserve">
|
||||||
|
<value>Disabled</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.OnContent" xml:space="preserve">
|
||||||
|
<value>Enabled</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseDesc.Text" xml:space="preserve">
|
||||||
|
<value>Here, you can change some default options when creating a database.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseKdf.Text" xml:space="preserve">
|
||||||
|
<value>KDBX database file version</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseKdfMoreInfo.Text" xml:space="preserve">
|
||||||
|
<value>Higher is better, but there may be compatibility issues with older applications</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.Header" xml:space="preserve">
|
||||||
|
<value>Create sample data</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.OffContent" xml:space="preserve">
|
||||||
|
<value>No</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.OnContent" xml:space="preserve">
|
||||||
|
<value>Yes</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc1.Text" xml:space="preserve">
|
||||||
|
<value>Here, you may change your database password, key file, or both. Just click on on</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc2.Text" xml:space="preserve">
|
||||||
|
<value>Update master key</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc3.Text" xml:space="preserve">
|
||||||
|
<value>when you're done. Please make sure to remember the password you choose here!</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityTitle.Text" xml:space="preserve">
|
||||||
|
<value>Change database security options</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityUpdateButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Update master key</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsTitle.Text" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeDesc.Text" xml:space="preserve">
|
||||||
|
<value>Here, you may change the application or the database settings.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeHowto.Text" xml:space="preserve">
|
||||||
|
<value>Select a setting pane on the left to access the options.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeTitle.Text" xml:space="preserve">
|
||||||
|
<value>Settings</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeNew.Text" xml:space="preserve">
|
||||||
|
<value>Want to create a new password database? Do it here.</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeOpen.Text" xml:space="preserve">
|
||||||
|
<value>Have an existing password database? Open it here.</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
277
ModernKeePass/Strings/fr-FR/CodeBehind.resw
Normal file
@@ -0,0 +1,277 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="CompositeKeyDefaultKeyFile" xml:space="preserve">
|
||||||
|
<value>Choisissez un fichier...</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorOpen" xml:space="preserve">
|
||||||
|
<value>Erreur</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserKeyFile" xml:space="preserve">
|
||||||
|
<value>fichier de clé</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserOr" xml:space="preserve">
|
||||||
|
<value> ou </value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserPassword" xml:space="preserve">
|
||||||
|
<value>mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserStart" xml:space="preserve">
|
||||||
|
<value>Erreur: mauvais </value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyOpening" xml:space="preserve">
|
||||||
|
<value>Ouverture...</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyUpdated" xml:space="preserve">
|
||||||
|
<value>Clé composite de la base de données mise à jour.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateAlreadyPurchasedMessage" xml:space="preserve">
|
||||||
|
<value>Vous avez déjà acheté ce produit.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateAlreadyPurchasedTitle" xml:space="preserve">
|
||||||
|
<value>Achat</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNothingToFulfillMessage" xml:space="preserve">
|
||||||
|
<value>Il n'y a aucun produit acheté à valider.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNothingToFulfillTitle" xml:space="preserve">
|
||||||
|
<value>Validation</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNotPurchasedMessage" xml:space="preserve">
|
||||||
|
<value>L'achat a échoué parce que nous n'avons pas pu valider un achat précédent.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateNotPurchasedTitle" xml:space="preserve">
|
||||||
|
<value>Achat</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchasePendingMessage" xml:space="preserve">
|
||||||
|
<value>Un achat est en cours donc nous ne pouvons le valider.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchasePendingTitle" xml:space="preserve">
|
||||||
|
<value>Achat</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchaseRevertedMessage" xml:space="preserve">
|
||||||
|
<value>Votre achat a été annulé.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonatePurchaseRevertedTitle" xml:space="preserve">
|
||||||
|
<value>Achat</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateServerErrorMessage" xml:space="preserve">
|
||||||
|
<value>Impossible de contacter le Windows Store, l'achat n'a pas été réalisé.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateServerErrorTitle" xml:space="preserve">
|
||||||
|
<value>Erreur</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateSucceededMessage" xml:space="preserve">
|
||||||
|
<value>Votre don a été enregistré.</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateSucceededTitle" xml:space="preserve">
|
||||||
|
<value>Merci!</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteActionButton" xml:space="preserve">
|
||||||
|
<value>Supprimer</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteCancelButton" xml:space="preserve">
|
||||||
|
<value>Annuler</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleteTitle" xml:space="preserve">
|
||||||
|
<value>Attention</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityDeleting" xml:space="preserve">
|
||||||
|
<value>Suprression</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntityRestoredTitle" xml:space="preserve">
|
||||||
|
<value>Restauré</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryDeleted" xml:space="preserve">
|
||||||
|
<value>Entrée supprimée définitivement</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryDeletingConfirmation" xml:space="preserve">
|
||||||
|
<value>Êtes-vous sûr de vouloir supprimer cette entrée ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryNew" xml:space="preserve">
|
||||||
|
<value>< Nouvelle entrée ></value>
|
||||||
|
<comment>Unused</comment>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRecycled" xml:space="preserve">
|
||||||
|
<value>Entrée placée dans la Corbeille</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRecyclingConfirmation" xml:space="preserve">
|
||||||
|
<value>Êtes-vous sûr de vouloir placer cette entrée dans la Corbeille ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryRestored" xml:space="preserve">
|
||||||
|
<value>Entrée replacée dans son groupe d'origine</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupDeleted" xml:space="preserve">
|
||||||
|
<value>Groupe supprimé défnitivement</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupDeletingConfirmation" xml:space="preserve">
|
||||||
|
<value>Êtes-vous sûr de vouloir supprimer ce group et toutes ses entrées ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNew" xml:space="preserve">
|
||||||
|
<value>< Nouveau groupe ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRecycled" xml:space="preserve">
|
||||||
|
<value>Groupe placé dans la Corbeille</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRecyclingConfirmation" xml:space="preserve">
|
||||||
|
<value>Êtes-vous sûr de vouloir envoyer ce groupe et toutes ses entrées vers la Corbeille ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupRestored" xml:space="preserve">
|
||||||
|
<value>Groupe replacé à sa place originelle</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemAbout" xml:space="preserve">
|
||||||
|
<value>A propos</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemDonate" xml:space="preserve">
|
||||||
|
<value>Donation</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemNew" xml:space="preserve">
|
||||||
|
<value>Nouveau</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemOpen" xml:space="preserve">
|
||||||
|
<value>Ouvrir</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemRecent" xml:space="preserve">
|
||||||
|
<value>Récents</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemSave" xml:space="preserve">
|
||||||
|
<value>Sauvegarder</value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMenuItemSettings" xml:space="preserve">
|
||||||
|
<value>Paramètres</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuGroupApplication" xml:space="preserve">
|
||||||
|
<value>Application</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuGroupDatabase" xml:space="preserve">
|
||||||
|
<value>Base de données</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemGeneral" xml:space="preserve">
|
||||||
|
<value>Général</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemNew" xml:space="preserve">
|
||||||
|
<value>Nouveau</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsMenuItemSecurity" xml:space="preserve">
|
||||||
|
<value>Sécurité</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyErrorUserAccount" xml:space="preserve">
|
||||||
|
<value>compte utilisateur</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
369
ModernKeePass/Strings/fr-FR/Resources.resw
Normal file
@@ -0,0 +1,369 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="AboutCredits1.Text" xml:space="preserve">
|
||||||
|
<value>Dominik Reichl pour l'application KeePass et le format de fichier</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutCredits2.Text" xml:space="preserve">
|
||||||
|
<value>David Lechner pour son adaptation PCL de la blibliothèque KeePass et ses tests associés</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutCreditsLabel.Text" xml:space="preserve">
|
||||||
|
<value>Crédits</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutDesc.Text" xml:space="preserve">
|
||||||
|
<value>Un gestionnaire de mot de passes moderne pour le Windows Store</value>
|
||||||
|
</data>
|
||||||
|
<data name="AboutHomepage.Text" xml:space="preserve">
|
||||||
|
<value>Page d'accueil :</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarDelete.Label" xml:space="preserve">
|
||||||
|
<value>Supprimer</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarEdit.Label" xml:space="preserve">
|
||||||
|
<value>Editer</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarHome.Label" xml:space="preserve">
|
||||||
|
<value>Accueil</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarRestore.Label" xml:space="preserve">
|
||||||
|
<value>Restorer</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSave.Label" xml:space="preserve">
|
||||||
|
<value>Sauvegarder</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSettings.Label" xml:space="preserve">
|
||||||
|
<value>Paramètres</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSort.Label" xml:space="preserve">
|
||||||
|
<value>Trier</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSortEntries.Text" xml:space="preserve">
|
||||||
|
<value>Entrées</value>
|
||||||
|
</data>
|
||||||
|
<data name="AppBarSortGroups.Text" xml:space="preserve">
|
||||||
|
<value>Groupes</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyNewButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Créer</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyNewKeyFileTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Créer un nouveau fichier de clé</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyOpenButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Ouvrir</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyPassword.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="CompositeKeyUserAccount.Text" xml:space="preserve">
|
||||||
|
<value>Compte Utilisateur Windows</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateButton.Content" xml:space="preserve">
|
||||||
|
<value>Donner</value>
|
||||||
|
</data>
|
||||||
|
<data name="DonateDesc.Text" xml:space="preserve">
|
||||||
|
<value>Vous aimez cette app? Pourquoi ne pas faire un petit don afin de m'encourager et d'éviter le recours aux publicités :) ?</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryExpirationDate.Content" xml:space="preserve">
|
||||||
|
<value>Date d'expiration</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryExpirationTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Le mot de passe a expiré</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyLogin.Text" xml:space="preserve">
|
||||||
|
<value>Copier le login</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyPassword.Text" xml:space="preserve">
|
||||||
|
<value>Copier le mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryItemCopyUrl.Text" xml:space="preserve">
|
||||||
|
<value>Naviguer vers l'URL</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryLogin.Text" xml:space="preserve">
|
||||||
|
<value>Nom d'utilisateur ou login</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryNotes.Text" xml:space="preserve">
|
||||||
|
<value>Notes</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryPassword.Text" xml:space="preserve">
|
||||||
|
<value>Mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="EntryShowPassword.Content" xml:space="preserve">
|
||||||
|
<value>Afficher le mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupCreateEntry.Text" xml:space="preserve">
|
||||||
|
<value>Créer une nouvelle entrée</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupFilter.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Filtrer...</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNewItemTextBox.Text" xml:space="preserve">
|
||||||
|
<value>< Nouveau groupe ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupNewItemTooltip.Content" xml:space="preserve">
|
||||||
|
<value>< Nouveau groupe ></value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupSearch.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Rechercher...</value>
|
||||||
|
</data>
|
||||||
|
<data name="GroupTitle.PlaceholderText" xml:space="preserve">
|
||||||
|
<value>Nom du nouveau groupe...</value>
|
||||||
|
</data>
|
||||||
|
<data name="NewCreateButton.Content" xml:space="preserve">
|
||||||
|
<value>Créer une nouvelle...</value>
|
||||||
|
</data>
|
||||||
|
<data name="NewCreateDesc.Text" xml:space="preserve">
|
||||||
|
<value>Créer une nouvelle base de données de mots de passe à l'endroit de votre choix.</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenBrowseButton.Content" xml:space="preserve">
|
||||||
|
<value>Parcourir les fichiers...</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenBrowseDesc.Text" xml:space="preserve">
|
||||||
|
<value>Ouvrir une base de données de mots de passe existante sur votre PC.</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenUrlButton.Content" xml:space="preserve">
|
||||||
|
<value>Depuis une URL...</value>
|
||||||
|
</data>
|
||||||
|
<data name="OpenUrlDesc.Text" xml:space="preserve">
|
||||||
|
<value>Ouvrir une base de données de mots de passe depuis Internet (pas encore implementé).</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorAlso.Text" xml:space="preserve">
|
||||||
|
<value>Ajouter aussi ces caractères :</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorBrackets.Content" xml:space="preserve">
|
||||||
|
<value>Parenthèses ([], {}, (), ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorButton.Content" xml:space="preserve">
|
||||||
|
<value>Générer</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorDigits.Content" xml:space="preserve">
|
||||||
|
<value>Chiffres (0, 1, 2, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorLength.Text" xml:space="preserve">
|
||||||
|
<value>Longueur de mot de passe :</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorLower.Content" xml:space="preserve">
|
||||||
|
<value>Minuscules (a, b, c, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorMinus.Content" xml:space="preserve">
|
||||||
|
<value>Moins (-)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorSpace.Content" xml:space="preserve">
|
||||||
|
<value>Espace ( )</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorSpecial.Content" xml:space="preserve">
|
||||||
|
<value>Spéciaux (!, $, %, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorTooltip.Content" xml:space="preserve">
|
||||||
|
<value>Générer le mot de passe</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorUnderscore.Content" xml:space="preserve">
|
||||||
|
<value>Underscore (_)</value>
|
||||||
|
</data>
|
||||||
|
<data name="PasswordGeneratorUpper.Content" xml:space="preserve">
|
||||||
|
<value>Majuscules (A, B, C, ...)</value>
|
||||||
|
</data>
|
||||||
|
<data name="RecentClear.Text" xml:space="preserve">
|
||||||
|
<value>Supprimer tout</value>
|
||||||
|
</data>
|
||||||
|
<data name="ReorderEntriesLabel.Text" xml:space="preserve">
|
||||||
|
<value>Glissez-déposez les entrées pour les réorganiser</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveAsButton.Content" xml:space="preserve">
|
||||||
|
<value>Sauvegarder sous...</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveAsDesc.Text" xml:space="preserve">
|
||||||
|
<value>Cela va sauvegarder la base de données dans un nouveau fichier et l'ouvrir.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveButton.Content" xml:space="preserve">
|
||||||
|
<value>Sauvegarder et fermer</value>
|
||||||
|
</data>
|
||||||
|
<data name="SaveDesc.Text" xml:space="preserve">
|
||||||
|
<value>Cela va sauvegarder et fermer la base de données.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseCompression.Text" xml:space="preserve">
|
||||||
|
<value>Algorithme de compression</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseEncryption.Text" xml:space="preserve">
|
||||||
|
<value>Algorithme de chiffrement</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseKdf.Text" xml:space="preserve">
|
||||||
|
<value>Algorithme de dérivation de clé</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.Header" xml:space="preserve">
|
||||||
|
<value>Corbeille</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.OffContent" xml:space="preserve">
|
||||||
|
<value>Désactivé</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsDatabaseRecycleBin.OnContent" xml:space="preserve">
|
||||||
|
<value>Activé</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseDesc.Text" xml:space="preserve">
|
||||||
|
<value>Ici, vous pouvez changer certains options lors de la création d'une nouvelle base de données</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseKdf.Text" xml:space="preserve">
|
||||||
|
<value>Version de fichier KDBX</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseKdfMoreInfo.Text" xml:space="preserve">
|
||||||
|
<value>Le plus élévé est le mieux, mais vous pourriez rencontrer des problèmes de compatibilité avec des application plus anciennes</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.Header" xml:space="preserve">
|
||||||
|
<value>Créer des données d'exemple</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.OffContent" xml:space="preserve">
|
||||||
|
<value>Non</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsNewDatabaseSample.OnContent" xml:space="preserve">
|
||||||
|
<value>Oui</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc1.Text" xml:space="preserve">
|
||||||
|
<value>Ici, vous pouvez changer le mot de passe maître, le fichier de clé, ou les deux. Cliquez simplement sur</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc2.Text" xml:space="preserve">
|
||||||
|
<value>Mettre à jour la clé maître</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityDesc3.Text" xml:space="preserve">
|
||||||
|
<value>quand vous avez fini. Retenez bien le mot de passe que vous utilisez !</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityTitle.Text" xml:space="preserve">
|
||||||
|
<value>Changer les options de sécurité de la base de données</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsSecurityUpdateButton.ButtonLabel" xml:space="preserve">
|
||||||
|
<value>Mettre à jour la clé maître</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsTitle.Text" xml:space="preserve">
|
||||||
|
<value>Paramètres</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeDesc.Text" xml:space="preserve">
|
||||||
|
<value>Ici, vous pouvez changer les options de l'application ou de la base de données.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeHowto.Text" xml:space="preserve">
|
||||||
|
<value>Choisissez un élément dans le menu de gauche.</value>
|
||||||
|
</data>
|
||||||
|
<data name="SettingsWelcomeTitle.Text" xml:space="preserve">
|
||||||
|
<value>Paramètres</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeNew.Text" xml:space="preserve">
|
||||||
|
<value>Pour créer une nouvelle base de données de mots de passe, c'est ici.</value>
|
||||||
|
</data>
|
||||||
|
<data name="WelcomeOpen.Text" xml:space="preserve">
|
||||||
|
<value>Pour ouvrir une base de données existante, c'est ici.</value>
|
||||||
|
</data>
|
||||||
|
</root>
|