mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-28 09:30:07 +00:00
cleanup:separating versions...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7bf0094a05
commit
11ce24e145
@ -13,7 +13,7 @@
|
|||||||
"ig-actions": "*",
|
"ig-actions": "*",
|
||||||
"ig-features": "*",
|
"ig-features": "*",
|
||||||
"ig-object": "*",
|
"ig-object": "*",
|
||||||
"ig-types": "^6.9.4",
|
"ig-types": "^6.26.2",
|
||||||
"jszip": "*",
|
"jszip": "*",
|
||||||
"medium-editor": "^5.23.3",
|
"medium-editor": "^5.23.3",
|
||||||
"medium-editor-markdown": "^3.2.2",
|
"medium-editor-markdown": "^3.2.2",
|
||||||
|
|||||||
64
scripts/bootstrap.js
vendored
64
scripts/bootstrap.js
vendored
@ -1,64 +0,0 @@
|
|||||||
/**********************************************************************
|
|
||||||
*
|
|
||||||
*
|
|
||||||
*
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
var fs = require('fs')
|
|
||||||
var glob = require('glob')
|
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************/
|
|
||||||
|
|
||||||
var bootstrap = {}
|
|
||||||
|
|
||||||
var BOOTSTRAP_TEMPLATE =
|
|
||||||
`// This file is generated automatically, all changes made here will be lost.
|
|
||||||
|
|
||||||
var Bootstrap = $BOOTSTRAP
|
|
||||||
|
|
||||||
typeof(module) != "undefined"
|
|
||||||
&& (module.exports = Bootstrap)`
|
|
||||||
|
|
||||||
|
|
||||||
// XXX add support for json...
|
|
||||||
glob('bootstrap/**/*.@(tpl|md|css|html|txt)')
|
|
||||||
.on('match', function(path){
|
|
||||||
var p = path
|
|
||||||
.replace('bootstrap/', '')
|
|
||||||
.replace(/\.(json|txt|md|css|html|txt)/, '')
|
|
||||||
console.log('Found:', p)
|
|
||||||
bootstrap[p] = {
|
|
||||||
text: fs.readFileSync(path).toString(),
|
|
||||||
} })
|
|
||||||
.on('end', function(){
|
|
||||||
|
|
||||||
// extra root stuff...
|
|
||||||
if(fs.existsSync('README.md')){
|
|
||||||
console.log('Setting:', 'About')
|
|
||||||
bootstrap['Doc/About'] = {
|
|
||||||
text: fs.readFileSync('README.md').toString(),
|
|
||||||
} }
|
|
||||||
if(!bootstrap.WikiHome){
|
|
||||||
console.log('Setting:', 'WikiHome')
|
|
||||||
bootstrap.WikiHome = {
|
|
||||||
text: '@include(Doc/About)'
|
|
||||||
} }
|
|
||||||
if(fs.existsSync('LICENSE')){
|
|
||||||
console.log('Setting:', 'LICENSE')
|
|
||||||
bootstrap['LICENSE'] = {
|
|
||||||
text: `${
|
|
||||||
fs.readFileSync('LICENSE').toString()
|
|
||||||
}<!-- @filter(text) -->`,
|
|
||||||
} }
|
|
||||||
|
|
||||||
var txt = BOOTSTRAP_TEMPLATE
|
|
||||||
.replace(/\$BOOTSTRAP/g, JSON.stringify(bootstrap))
|
|
||||||
|
|
||||||
console.log('Writing:', 'bootstrap.js')
|
|
||||||
fs.writeFileSync('bootstrap.js', txt) })
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
|
||||||
* vim:set ts=4 sw=4 : */
|
|
||||||
6
v2/bootstrap.js
vendored
Executable file
6
v2/bootstrap.js
vendored
Executable file
File diff suppressed because one or more lines are too long
230
v2/css/fonts.css
Executable file
230
v2/css/fonts.css
Executable file
@ -0,0 +1,230 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*
|
||||||
|
**********************************************************************/
|
||||||
|
|
||||||
|
/* Open Sans
|
||||||
|
* - line spacing a bit too large...
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-Regular.ttf)
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-Bold.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-Italic.ttf)
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-BoldItalic.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-ExtraBold.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-Light.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: OpenSans;
|
||||||
|
src: url(fonts/Open_Sans/OpenSans-LightItalic.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Work Sans
|
||||||
|
* - does not have an explicit italic face but seems to look ok when
|
||||||
|
* slanted programmatically...
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Thin.ttf);
|
||||||
|
font-weight: 100;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-ExtraLight.ttf);
|
||||||
|
font-weight: 200;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Light.ttf);
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Regular.ttf);
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Medium.ttf);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-SemiBold.ttf);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Bold.ttf);
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-ExtraBold.ttf);
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: WorkSans;
|
||||||
|
src: url(fonts/Work_Sans/WorkSans-Black.ttf);
|
||||||
|
font-weight: 900;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Source Sans Pro */
|
||||||
|
/*
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf)
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-Italic.ttf)
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-BoldItalic.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-ExtraBold.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-ExtraBoldItalic.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-Light.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: SourceSansPro;
|
||||||
|
src: url(fonts/Source_Sans_Pro/SourceSansPro-LightItalic.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Arimo
|
||||||
|
* - bold face a bit too narrow
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
@font-face {
|
||||||
|
font-family: Arimo;
|
||||||
|
src: url(fonts/Arimo/Arimo-Regular.ttf)
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Arimo;
|
||||||
|
src: url(fonts/Arimo/Arimo-Bold.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Arimo;
|
||||||
|
src: url(fonts/Arimo/Arimo-Italic.ttf)
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Arimo;
|
||||||
|
src: url(fonts/Arimo/Arimo-BoldItalic.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Roboto */
|
||||||
|
/*
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-Regular.ttf)
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-Bold.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-Italic.ttf)
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-BoldItalic.ttf)
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-ExtraBold.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-ExtraBoldItalic.ttf)
|
||||||
|
font-weight: bolder;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-Light.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: Roboto;
|
||||||
|
src: url(fonts/Roboto/Roboto-LightItalic.ttf)
|
||||||
|
font-weight: lighter;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************************************/
|
||||||
202
v2/css/fonts/Open_Sans/LICENSE.txt
Executable file
202
v2/css/fonts/Open_Sans/LICENSE.txt
Executable file
@ -0,0 +1,202 @@
|
|||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
BIN
v2/css/fonts/Open_Sans/OpenSans-Bold.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-Bold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-BoldItalic.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-BoldItalic.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-ExtraBold.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-ExtraBold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-ExtraBoldItalic.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-Italic.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-Italic.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-Light.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-Light.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-LightItalic.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-LightItalic.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-Regular.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-Regular.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-Semibold.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-Semibold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Open_Sans/OpenSans-SemiboldItalic.ttf
Executable file
BIN
v2/css/fonts/Open_Sans/OpenSans-SemiboldItalic.ttf
Executable file
Binary file not shown.
92
v2/css/fonts/Work_Sans/OFL.txt
Executable file
92
v2/css/fonts/Work_Sans/OFL.txt
Executable file
@ -0,0 +1,92 @@
|
|||||||
|
Copyright (c) 2014-2015 Wei Huang (wweeiihhuuaanngg@gmail.com)
|
||||||
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||||
|
This license is copied below, and is also available with a FAQ at:
|
||||||
|
http://scripts.sil.org/OFL
|
||||||
|
|
||||||
|
|
||||||
|
-----------------------------------------------------------
|
||||||
|
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||||
|
development of collaborative font projects, to support the font creation
|
||||||
|
efforts of academic and linguistic communities, and to provide a free and
|
||||||
|
open framework in which fonts may be shared and improved in partnership
|
||||||
|
with others.
|
||||||
|
|
||||||
|
The OFL allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely as long as they are not sold by themselves. The
|
||||||
|
fonts, including any derivative works, can be bundled, embedded,
|
||||||
|
redistributed and/or sold with any software provided that any reserved
|
||||||
|
names are not used by derivative works. The fonts and derivatives,
|
||||||
|
however, cannot be released under any other type of license. The
|
||||||
|
requirement for fonts to remain under this license does not apply
|
||||||
|
to any document created using the fonts or their derivatives.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this license and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Reserved Font Name" refers to any names specified as such after the
|
||||||
|
copyright statement(s).
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components as
|
||||||
|
distributed by the Copyright Holder(s).
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to a
|
||||||
|
new environment.
|
||||||
|
|
||||||
|
"Author" refers to any designer, engineer, programmer, technical
|
||||||
|
writer or other person who contributed to the Font Software.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||||
|
redistribute, and sell modified and unmodified copies of the Font
|
||||||
|
Software, subject to the following conditions:
|
||||||
|
|
||||||
|
1) Neither the Font Software nor any of its individual components,
|
||||||
|
in Original or Modified Versions, may be sold by itself.
|
||||||
|
|
||||||
|
2) Original or Modified Versions of the Font Software may be bundled,
|
||||||
|
redistributed and/or sold with any software, provided that each copy
|
||||||
|
contains the above copyright notice and this license. These can be
|
||||||
|
included either as stand-alone text files, human-readable headers or
|
||||||
|
in the appropriate machine-readable metadata fields within text or
|
||||||
|
binary files as long as those fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
3) No Modified Version of the Font Software may use the Reserved Font
|
||||||
|
Name(s) unless explicit written permission is granted by the corresponding
|
||||||
|
Copyright Holder. This restriction only applies to the primary font name as
|
||||||
|
presented to the users.
|
||||||
|
|
||||||
|
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||||
|
Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except to acknowledge the contribution(s) of the
|
||||||
|
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||||
|
permission.
|
||||||
|
|
||||||
|
5) The Font Software, modified or unmodified, in part or in whole,
|
||||||
|
must be distributed entirely under this license, and must not be
|
||||||
|
distributed under any other license. The requirement for fonts to
|
||||||
|
remain under this license does not apply to any document created
|
||||||
|
using the Font Software.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This license becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
BIN
v2/css/fonts/Work_Sans/WorkSans-Black.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Black.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-Bold.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Bold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-ExtraBold.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-ExtraBold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-ExtraLight.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-ExtraLight.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-Light.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Light.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-Medium.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Medium.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-Regular.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Regular.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-SemiBold.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-SemiBold.ttf
Executable file
Binary file not shown.
BIN
v2/css/fonts/Work_Sans/WorkSans-Thin.ttf
Executable file
BIN
v2/css/fonts/Work_Sans/WorkSans-Thin.ttf
Executable file
Binary file not shown.
44
v2/css/spinner.css
Executable file
44
v2/css/spinner.css
Executable file
@ -0,0 +1,44 @@
|
|||||||
|
/* https://projects.lukehaas.me/css-loaders/ */
|
||||||
|
|
||||||
|
.loader,
|
||||||
|
.loader:after {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 10em;
|
||||||
|
height: 10em;
|
||||||
|
}
|
||||||
|
.loader {
|
||||||
|
margin: 60px auto;
|
||||||
|
font-size: 10px;
|
||||||
|
position: relative;
|
||||||
|
text-indent: -9999em;
|
||||||
|
border-top: 1.1em solid rgba(0,0,0, 0.2);
|
||||||
|
border-right: 1.1em solid rgba(0,0,0, 0.2);
|
||||||
|
border-bottom: 1.1em solid rgba(0,0,0, 0.2);
|
||||||
|
border-left: 1.1em solid #000000;
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
-ms-transform: translateZ(0);
|
||||||
|
transform: translateZ(0);
|
||||||
|
-webkit-animation: load8 1.1s infinite linear;
|
||||||
|
animation: load8 1.1s infinite linear;
|
||||||
|
}
|
||||||
|
@-webkit-keyframes load8 {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes load8 {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
247
v2/ext-lib/FileSaver.js
Executable file
247
v2/ext-lib/FileSaver.js
Executable file
@ -0,0 +1,247 @@
|
|||||||
|
/*! FileSaver.js
|
||||||
|
* A saveAs() FileSaver implementation.
|
||||||
|
* 2014-01-24
|
||||||
|
*
|
||||||
|
* By Eli Grey, http://eligrey.com
|
||||||
|
* License: X11/MIT
|
||||||
|
* See LICENSE.md
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*global self */
|
||||||
|
/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */
|
||||||
|
|
||||||
|
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
|
||||||
|
|
||||||
|
var saveAs = saveAs
|
||||||
|
// IE 10+ (native saveAs)
|
||||||
|
|| (typeof navigator !== "undefined" &&
|
||||||
|
navigator.msSaveOrOpenBlob && navigator.msSaveOrOpenBlob.bind(navigator))
|
||||||
|
// Everyone else
|
||||||
|
|| (function(view) {
|
||||||
|
"use strict";
|
||||||
|
// IE <10 is explicitly unsupported
|
||||||
|
if (typeof navigator !== "undefined" &&
|
||||||
|
/MSIE [1-9]\./.test(navigator.userAgent)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var
|
||||||
|
doc = view.document
|
||||||
|
// only get URL when necessary in case BlobBuilder.js hasn't overridden it yet
|
||||||
|
, get_URL = function() {
|
||||||
|
return view.URL || view.webkitURL || view;
|
||||||
|
}
|
||||||
|
, URL = view.URL || view.webkitURL || view
|
||||||
|
, save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a")
|
||||||
|
, can_use_save_link = !view.externalHost && "download" in save_link
|
||||||
|
, click = function(node) {
|
||||||
|
var event = doc.createEvent("MouseEvents");
|
||||||
|
event.initMouseEvent(
|
||||||
|
"click", true, false, view, 0, 0, 0, 0, 0
|
||||||
|
, false, false, false, false, 0, null
|
||||||
|
);
|
||||||
|
node.dispatchEvent(event);
|
||||||
|
}
|
||||||
|
, webkit_req_fs = view.webkitRequestFileSystem
|
||||||
|
, req_fs = view.requestFileSystem || webkit_req_fs || view.mozRequestFileSystem
|
||||||
|
, throw_outside = function(ex) {
|
||||||
|
(view.setImmediate || view.setTimeout)(function() {
|
||||||
|
throw ex;
|
||||||
|
}, 0);
|
||||||
|
}
|
||||||
|
, force_saveable_type = "application/octet-stream"
|
||||||
|
, fs_min_size = 0
|
||||||
|
, deletion_queue = []
|
||||||
|
, process_deletion_queue = function() {
|
||||||
|
var i = deletion_queue.length;
|
||||||
|
while (i--) {
|
||||||
|
var file = deletion_queue[i];
|
||||||
|
if (typeof file === "string") { // file is an object URL
|
||||||
|
URL.revokeObjectURL(file);
|
||||||
|
} else { // file is a File
|
||||||
|
file.remove();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
deletion_queue.length = 0; // clear queue
|
||||||
|
}
|
||||||
|
, dispatch = function(filesaver, event_types, event) {
|
||||||
|
event_types = [].concat(event_types);
|
||||||
|
var i = event_types.length;
|
||||||
|
while (i--) {
|
||||||
|
var listener = filesaver["on" + event_types[i]];
|
||||||
|
if (typeof listener === "function") {
|
||||||
|
try {
|
||||||
|
listener.call(filesaver, event || filesaver);
|
||||||
|
} catch (ex) {
|
||||||
|
throw_outside(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
, FileSaver = function(blob, name) {
|
||||||
|
// First try a.download, then web filesystem, then object URLs
|
||||||
|
var
|
||||||
|
filesaver = this
|
||||||
|
, type = blob.type
|
||||||
|
, blob_changed = false
|
||||||
|
, object_url
|
||||||
|
, target_view
|
||||||
|
, get_object_url = function() {
|
||||||
|
var object_url = get_URL().createObjectURL(blob);
|
||||||
|
deletion_queue.push(object_url);
|
||||||
|
return object_url;
|
||||||
|
}
|
||||||
|
, dispatch_all = function() {
|
||||||
|
dispatch(filesaver, "writestart progress write writeend".split(" "));
|
||||||
|
}
|
||||||
|
// on any filesys errors revert to saving with object URLs
|
||||||
|
, fs_error = function() {
|
||||||
|
// don't create more object URLs than needed
|
||||||
|
if (blob_changed || !object_url) {
|
||||||
|
object_url = get_object_url(blob);
|
||||||
|
}
|
||||||
|
if (target_view) {
|
||||||
|
target_view.location.href = object_url;
|
||||||
|
} else {
|
||||||
|
window.open(object_url, "_blank");
|
||||||
|
}
|
||||||
|
filesaver.readyState = filesaver.DONE;
|
||||||
|
dispatch_all();
|
||||||
|
}
|
||||||
|
, abortable = function(func) {
|
||||||
|
return function() {
|
||||||
|
if (filesaver.readyState !== filesaver.DONE) {
|
||||||
|
return func.apply(this, arguments);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
, create_if_not_found = {create: true, exclusive: false}
|
||||||
|
, slice
|
||||||
|
;
|
||||||
|
filesaver.readyState = filesaver.INIT;
|
||||||
|
if (!name) {
|
||||||
|
name = "download";
|
||||||
|
}
|
||||||
|
if (can_use_save_link) {
|
||||||
|
object_url = get_object_url(blob);
|
||||||
|
// FF for Android has a nasty garbage collection mechanism
|
||||||
|
// that turns all objects that are not pure javascript into 'deadObject'
|
||||||
|
// this means `doc` and `save_link` are unusable and need to be recreated
|
||||||
|
// `view` is usable though:
|
||||||
|
doc = view.document;
|
||||||
|
save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a");
|
||||||
|
save_link.href = object_url;
|
||||||
|
save_link.download = name;
|
||||||
|
var event = doc.createEvent("MouseEvents");
|
||||||
|
event.initMouseEvent(
|
||||||
|
"click", true, false, view, 0, 0, 0, 0, 0
|
||||||
|
, false, false, false, false, 0, null
|
||||||
|
);
|
||||||
|
save_link.dispatchEvent(event);
|
||||||
|
filesaver.readyState = filesaver.DONE;
|
||||||
|
dispatch_all();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// Object and web filesystem URLs have a problem saving in Google Chrome when
|
||||||
|
// viewed in a tab, so I force save with application/octet-stream
|
||||||
|
// http://code.google.com/p/chromium/issues/detail?id=91158
|
||||||
|
if (view.chrome && type && type !== force_saveable_type) {
|
||||||
|
slice = blob.slice || blob.webkitSlice;
|
||||||
|
blob = slice.call(blob, 0, blob.size, force_saveable_type);
|
||||||
|
blob_changed = true;
|
||||||
|
}
|
||||||
|
// Since I can't be sure that the guessed media type will trigger a download
|
||||||
|
// in WebKit, I append .download to the filename.
|
||||||
|
// https://bugs.webkit.org/show_bug.cgi?id=65440
|
||||||
|
if (webkit_req_fs && name !== "download") {
|
||||||
|
name += ".download";
|
||||||
|
}
|
||||||
|
if (type === force_saveable_type || webkit_req_fs) {
|
||||||
|
target_view = view;
|
||||||
|
}
|
||||||
|
if (!req_fs) {
|
||||||
|
fs_error();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
fs_min_size += blob.size;
|
||||||
|
req_fs(view.TEMPORARY, fs_min_size, abortable(function(fs) {
|
||||||
|
fs.root.getDirectory("saved", create_if_not_found, abortable(function(dir) {
|
||||||
|
var save = function() {
|
||||||
|
dir.getFile(name, create_if_not_found, abortable(function(file) {
|
||||||
|
file.createWriter(abortable(function(writer) {
|
||||||
|
writer.onwriteend = function(event) {
|
||||||
|
target_view.location.href = file.toURL();
|
||||||
|
deletion_queue.push(file);
|
||||||
|
filesaver.readyState = filesaver.DONE;
|
||||||
|
dispatch(filesaver, "writeend", event);
|
||||||
|
};
|
||||||
|
writer.onerror = function() {
|
||||||
|
var error = writer.error;
|
||||||
|
if (error.code !== error.ABORT_ERR) {
|
||||||
|
fs_error();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
"writestart progress write abort".split(" ").forEach(function(event) {
|
||||||
|
writer["on" + event] = filesaver["on" + event];
|
||||||
|
});
|
||||||
|
writer.write(blob);
|
||||||
|
filesaver.abort = function() {
|
||||||
|
writer.abort();
|
||||||
|
filesaver.readyState = filesaver.DONE;
|
||||||
|
};
|
||||||
|
filesaver.readyState = filesaver.WRITING;
|
||||||
|
}), fs_error);
|
||||||
|
}), fs_error);
|
||||||
|
};
|
||||||
|
dir.getFile(name, {create: false}, abortable(function(file) {
|
||||||
|
// delete file if it already exists
|
||||||
|
file.remove();
|
||||||
|
save();
|
||||||
|
}), abortable(function(ex) {
|
||||||
|
if (ex.code === ex.NOT_FOUND_ERR) {
|
||||||
|
save();
|
||||||
|
} else {
|
||||||
|
fs_error();
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
}), fs_error);
|
||||||
|
}), fs_error);
|
||||||
|
}
|
||||||
|
, FS_proto = FileSaver.prototype
|
||||||
|
, saveAs = function(blob, name) {
|
||||||
|
return new FileSaver(blob, name);
|
||||||
|
}
|
||||||
|
;
|
||||||
|
FS_proto.abort = function() {
|
||||||
|
var filesaver = this;
|
||||||
|
filesaver.readyState = filesaver.DONE;
|
||||||
|
dispatch(filesaver, "abort");
|
||||||
|
};
|
||||||
|
FS_proto.readyState = FS_proto.INIT = 0;
|
||||||
|
FS_proto.WRITING = 1;
|
||||||
|
FS_proto.DONE = 2;
|
||||||
|
|
||||||
|
FS_proto.error =
|
||||||
|
FS_proto.onwritestart =
|
||||||
|
FS_proto.onprogress =
|
||||||
|
FS_proto.onwrite =
|
||||||
|
FS_proto.onabort =
|
||||||
|
FS_proto.onerror =
|
||||||
|
FS_proto.onwriteend =
|
||||||
|
null;
|
||||||
|
|
||||||
|
view.addEventListener("unload", process_deletion_queue, false);
|
||||||
|
saveAs.unload = function() {
|
||||||
|
process_deletion_queue();
|
||||||
|
view.removeEventListener("unload", process_deletion_queue, false);
|
||||||
|
};
|
||||||
|
return saveAs;
|
||||||
|
}(
|
||||||
|
typeof self !== "undefined" && self
|
||||||
|
|| typeof window !== "undefined" && window
|
||||||
|
|| this.content
|
||||||
|
));
|
||||||
|
// `self` is undefined in Firefox for Android content script context
|
||||||
|
// while `this` is nsIContentFrameMessageManager
|
||||||
|
// with an attribute `content` that corresponds to the window
|
||||||
|
|
||||||
|
if (typeof module !== "undefined") module.exports = saveAs;
|
||||||
1
v2/ext-lib/README
Executable file
1
v2/ext-lib/README
Executable file
@ -0,0 +1 @@
|
|||||||
|
This directory contains external modules used for in-browser rendering.
|
||||||
280
v2/ext-lib/compat.js
Executable file
280
v2/ext-lib/compat.js
Executable file
@ -0,0 +1,280 @@
|
|||||||
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
||||||
|
|
||||||
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
||||||
|
|
||||||
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
||||||
|
|
||||||
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
||||||
|
|
||||||
|
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
||||||
|
|
||||||
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
||||||
|
|
||||||
|
function promisifyRequest(request) {
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
// @ts-ignore - file size hacks
|
||||||
|
request.oncomplete = request.onsuccess = function () {
|
||||||
|
return resolve(request.result);
|
||||||
|
}; // @ts-ignore - file size hacks
|
||||||
|
|
||||||
|
|
||||||
|
request.onabort = request.onerror = function () {
|
||||||
|
return reject(request.error);
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function createStore(dbName, storeName) {
|
||||||
|
var request = indexedDB.open(dbName);
|
||||||
|
|
||||||
|
request.onupgradeneeded = function () {
|
||||||
|
return request.result.createObjectStore(storeName);
|
||||||
|
};
|
||||||
|
|
||||||
|
var dbp = promisifyRequest(request);
|
||||||
|
return function (txMode, callback) {
|
||||||
|
return dbp.then(function (db) {
|
||||||
|
return callback(db.transaction(storeName, txMode).objectStore(storeName));
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
var defaultGetStoreFunc;
|
||||||
|
|
||||||
|
function defaultGetStore() {
|
||||||
|
if (!defaultGetStoreFunc) {
|
||||||
|
defaultGetStoreFunc = createStore('keyval-store', 'keyval');
|
||||||
|
}
|
||||||
|
|
||||||
|
return defaultGetStoreFunc;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get a value by its key.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function get(key) {
|
||||||
|
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
return promisifyRequest(store.get(key));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set a value with a key.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param value
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function set(key, value) {
|
||||||
|
var customStore = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
store.put(value, key);
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set multiple values at once. This is faster than calling set() multiple times.
|
||||||
|
* It's also atomic – if one of the pairs can't be added, none will be added.
|
||||||
|
*
|
||||||
|
* @param entries Array of entries, where each entry is an array of `[key, value]`.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function setMany(entries) {
|
||||||
|
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
entries.forEach(function (entry) {
|
||||||
|
return store.put(entry[1], entry[0]);
|
||||||
|
});
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get multiple values by their keys
|
||||||
|
*
|
||||||
|
* @param keys
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function getMany(keys) {
|
||||||
|
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
return Promise.all(keys.map(function (key) {
|
||||||
|
return promisifyRequest(store.get(key));
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Update a value. This lets you see the old value and update it as an atomic operation.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param updater A callback that takes the old value and returns a new value.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function update(key, updater) {
|
||||||
|
var customStore = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
return (// Need to create the promise manually.
|
||||||
|
// If I try to chain promises, the transaction closes in browsers
|
||||||
|
// that use a promise polyfill (IE10/11).
|
||||||
|
new Promise(function (resolve, reject) {
|
||||||
|
store.get(key).onsuccess = function () {
|
||||||
|
try {
|
||||||
|
store.put(updater(this.result), key);
|
||||||
|
resolve(promisifyRequest(store.transaction));
|
||||||
|
} catch (err) {
|
||||||
|
reject(err);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
})
|
||||||
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Delete a particular key from the store.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function del(key) {
|
||||||
|
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
store.delete(key);
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Delete multiple keys at once.
|
||||||
|
*
|
||||||
|
* @param keys List of keys to delete.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function delMany(keys) {
|
||||||
|
var customStore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
keys.forEach(function (key) {
|
||||||
|
return store.delete(key);
|
||||||
|
});
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Clear all values in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function clear() {
|
||||||
|
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
|
||||||
|
return customStore('readwrite', function (store) {
|
||||||
|
store.clear();
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function eachCursor(store, callback) {
|
||||||
|
store.openCursor().onsuccess = function () {
|
||||||
|
if (!this.result) return;
|
||||||
|
callback(this.result);
|
||||||
|
this.result.continue();
|
||||||
|
};
|
||||||
|
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all keys in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function keys() {
|
||||||
|
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
if (store.getAllKeys) {
|
||||||
|
return promisifyRequest(store.getAllKeys());
|
||||||
|
}
|
||||||
|
|
||||||
|
var items = [];
|
||||||
|
return eachCursor(store, function (cursor) {
|
||||||
|
return items.push(cursor.key);
|
||||||
|
}).then(function () {
|
||||||
|
return items;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all values in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function values() {
|
||||||
|
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
if (store.getAll) {
|
||||||
|
return promisifyRequest(store.getAll());
|
||||||
|
}
|
||||||
|
|
||||||
|
var items = [];
|
||||||
|
return eachCursor(store, function (cursor) {
|
||||||
|
return items.push(cursor.value);
|
||||||
|
}).then(function () {
|
||||||
|
return items;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all entries in the store. Each entry is an array of `[key, value]`.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
function entries() {
|
||||||
|
var customStore = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultGetStore();
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
// (although, hopefully we'll get a simpler path some day)
|
||||||
|
if (store.getAll && store.getAllKeys) {
|
||||||
|
return Promise.all([promisifyRequest(store.getAllKeys()), promisifyRequest(store.getAll())]).then(function (_ref) {
|
||||||
|
var _ref2 = _slicedToArray(_ref, 2),
|
||||||
|
keys = _ref2[0],
|
||||||
|
values = _ref2[1];
|
||||||
|
|
||||||
|
return keys.map(function (key, i) {
|
||||||
|
return [key, values[i]];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var items = [];
|
||||||
|
return customStore('readonly', function (store) {
|
||||||
|
return eachCursor(store, function (cursor) {
|
||||||
|
return items.push([cursor.key, cursor.value]);
|
||||||
|
}).then(function () {
|
||||||
|
return items;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export { clear, createStore, del, delMany, entries, get, getMany, keys, promisifyRequest, set, setMany, update, values };
|
||||||
184
v2/ext-lib/index.js
Executable file
184
v2/ext-lib/index.js
Executable file
@ -0,0 +1,184 @@
|
|||||||
|
function promisifyRequest(request) {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
// @ts-ignore - file size hacks
|
||||||
|
request.oncomplete = request.onsuccess = () => resolve(request.result);
|
||||||
|
// @ts-ignore - file size hacks
|
||||||
|
request.onabort = request.onerror = () => reject(request.error);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function createStore(dbName, storeName) {
|
||||||
|
const request = indexedDB.open(dbName);
|
||||||
|
request.onupgradeneeded = () => request.result.createObjectStore(storeName);
|
||||||
|
const dbp = promisifyRequest(request);
|
||||||
|
return (txMode, callback) => dbp.then((db) => callback(db.transaction(storeName, txMode).objectStore(storeName)));
|
||||||
|
}
|
||||||
|
let defaultGetStoreFunc;
|
||||||
|
function defaultGetStore() {
|
||||||
|
if (!defaultGetStoreFunc) {
|
||||||
|
defaultGetStoreFunc = createStore('keyval-store', 'keyval');
|
||||||
|
}
|
||||||
|
return defaultGetStoreFunc;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get a value by its key.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function get(key, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readonly', (store) => promisifyRequest(store.get(key)));
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set a value with a key.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param value
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function set(key, value, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) => {
|
||||||
|
store.put(value, key);
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set multiple values at once. This is faster than calling set() multiple times.
|
||||||
|
* It's also atomic – if one of the pairs can't be added, none will be added.
|
||||||
|
*
|
||||||
|
* @param entries Array of entries, where each entry is an array of `[key, value]`.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function setMany(entries, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) => {
|
||||||
|
entries.forEach((entry) => store.put(entry[1], entry[0]));
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get multiple values by their keys
|
||||||
|
*
|
||||||
|
* @param keys
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function getMany(keys, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readonly', (store) => Promise.all(keys.map((key) => promisifyRequest(store.get(key)))));
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Update a value. This lets you see the old value and update it as an atomic operation.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param updater A callback that takes the old value and returns a new value.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function update(key, updater, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) =>
|
||||||
|
// Need to create the promise manually.
|
||||||
|
// If I try to chain promises, the transaction closes in browsers
|
||||||
|
// that use a promise polyfill (IE10/11).
|
||||||
|
new Promise((resolve, reject) => {
|
||||||
|
store.get(key).onsuccess = function () {
|
||||||
|
try {
|
||||||
|
store.put(updater(this.result), key);
|
||||||
|
resolve(promisifyRequest(store.transaction));
|
||||||
|
}
|
||||||
|
catch (err) {
|
||||||
|
reject(err);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Delete a particular key from the store.
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function del(key, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) => {
|
||||||
|
store.delete(key);
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Delete multiple keys at once.
|
||||||
|
*
|
||||||
|
* @param keys List of keys to delete.
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function delMany(keys, customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) => {
|
||||||
|
keys.forEach((key) => store.delete(key));
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Clear all values in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function clear(customStore = defaultGetStore()) {
|
||||||
|
return customStore('readwrite', (store) => {
|
||||||
|
store.clear();
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function eachCursor(store, callback) {
|
||||||
|
store.openCursor().onsuccess = function () {
|
||||||
|
if (!this.result)
|
||||||
|
return;
|
||||||
|
callback(this.result);
|
||||||
|
this.result.continue();
|
||||||
|
};
|
||||||
|
return promisifyRequest(store.transaction);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all keys in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function keys(customStore = defaultGetStore()) {
|
||||||
|
return customStore('readonly', (store) => {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
if (store.getAllKeys) {
|
||||||
|
return promisifyRequest(store.getAllKeys());
|
||||||
|
}
|
||||||
|
const items = [];
|
||||||
|
return eachCursor(store, (cursor) => items.push(cursor.key)).then(() => items);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all values in the store.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function values(customStore = defaultGetStore()) {
|
||||||
|
return customStore('readonly', (store) => {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
if (store.getAll) {
|
||||||
|
return promisifyRequest(store.getAll());
|
||||||
|
}
|
||||||
|
const items = [];
|
||||||
|
return eachCursor(store, (cursor) => items.push(cursor.value)).then(() => items);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get all entries in the store. Each entry is an array of `[key, value]`.
|
||||||
|
*
|
||||||
|
* @param customStore Method to get a custom store. Use with caution (see the docs).
|
||||||
|
*/
|
||||||
|
function entries(customStore = defaultGetStore()) {
|
||||||
|
return customStore('readonly', (store) => {
|
||||||
|
// Fast path for modern browsers
|
||||||
|
// (although, hopefully we'll get a simpler path some day)
|
||||||
|
if (store.getAll && store.getAllKeys) {
|
||||||
|
return Promise.all([
|
||||||
|
promisifyRequest(store.getAllKeys()),
|
||||||
|
promisifyRequest(store.getAll()),
|
||||||
|
]).then(([keys, values]) => keys.map((key, i) => [key, values[i]]));
|
||||||
|
}
|
||||||
|
const items = [];
|
||||||
|
return customStore('readonly', (store) => eachCursor(store, (cursor) => items.push([cursor.key, cursor.value])).then(() => items));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
export { clear, createStore, del, delMany, entries, get, getMany, keys, promisifyRequest, set, setMany, update, values };
|
||||||
13
v2/ext-lib/jquery-ui.min.js
vendored
Executable file
13
v2/ext-lib/jquery-ui.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
4
v2/ext-lib/jquery.js
vendored
Executable file
4
v2/ext-lib/jquery.js
vendored
Executable file
File diff suppressed because one or more lines are too long
209
v2/ext-lib/jquery.ui.touch.js
vendored
Executable file
209
v2/ext-lib/jquery.ui.touch.js
vendored
Executable file
@ -0,0 +1,209 @@
|
|||||||
|
/**
|
||||||
|
* jQuery.UI.iPad plugin
|
||||||
|
* Copyright (c) 2010 Stephen von Takach
|
||||||
|
* licensed under MIT.
|
||||||
|
* Date: 27/8/2010
|
||||||
|
*
|
||||||
|
* Project Home:
|
||||||
|
* http://code.google.com/p/jquery-ui-for-ipad-and-iphone/
|
||||||
|
*
|
||||||
|
* Modified: 19/01/2012
|
||||||
|
* Organized as a proper plugin and added addTouch()
|
||||||
|
*/
|
||||||
|
|
||||||
|
(function (factory) {
|
||||||
|
if (typeof define === 'function' && define.amd) {
|
||||||
|
// AMD. Register as an anonymous module.
|
||||||
|
define(['jquery'], factory);
|
||||||
|
} else if (typeof module === 'object' && module.exports) {
|
||||||
|
// Node/CommonJS
|
||||||
|
module.exports = factory(require('jquery'));
|
||||||
|
} else {
|
||||||
|
// Browser globals
|
||||||
|
factory(jQuery);
|
||||||
|
}
|
||||||
|
}(function ($) {
|
||||||
|
|
||||||
|
var lastTap = null; // Holds last tapped element (so we can compare for double tap)
|
||||||
|
var tapValid = false; // Are we still in the .6 second window where a double tap can occur
|
||||||
|
var tapTimeout = null; // The timeout reference
|
||||||
|
var rightClickPending = false; // Is a right click still feasible
|
||||||
|
var rightClickEvent = null; // the original event
|
||||||
|
var holdTimeout = null; // timeout reference
|
||||||
|
var cancelMouseUp = false; // prevents a click from occuring as we want the context menu
|
||||||
|
|
||||||
|
function cancelTap() {
|
||||||
|
tapValid = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
function cancelHold() {
|
||||||
|
if (rightClickPending) {
|
||||||
|
window.clearTimeout(holdTimeout);
|
||||||
|
rightClickPending = false;
|
||||||
|
rightClickEvent = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function startHold(event) {
|
||||||
|
if (rightClickPending)
|
||||||
|
return;
|
||||||
|
|
||||||
|
rightClickPending = true; // We could be performing a right click
|
||||||
|
rightClickEvent = (event.changedTouches)[0];
|
||||||
|
holdTimeout = window.setTimeout(doRightClick, 800);
|
||||||
|
};
|
||||||
|
|
||||||
|
function doRightClick() {
|
||||||
|
rightClickPending = false;
|
||||||
|
|
||||||
|
// We need to mouse up (as we were down)
|
||||||
|
var first = rightClickEvent,
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
simulatedEvent.initMouseEvent("mouseup", true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 0, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
// Emulate a right click
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
simulatedEvent.initMouseEvent("mousedown", true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 2, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
// Show a context menu
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
simulatedEvent.initMouseEvent("contextmenu", true, true, window, 1, first.screenX + 50, first.screenY + 5, first.clientX + 50, first.clientY + 5,
|
||||||
|
false, false, false, false, 2, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
// Note: I don't mouse up the right click here however feel free to add if required
|
||||||
|
cancelMouseUp = true;
|
||||||
|
rightClickEvent = null; // Release memory
|
||||||
|
};
|
||||||
|
|
||||||
|
// mouse over event then mouse down
|
||||||
|
function iPadTouchStart(event) {
|
||||||
|
var touches = event.changedTouches,
|
||||||
|
first = touches[0],
|
||||||
|
type = "mouseover",
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
|
||||||
|
// Mouse over first - I have live events attached on mouse over
|
||||||
|
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 0, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
type = "mousedown";
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
|
||||||
|
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 0, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
|
||||||
|
if (!tapValid) {
|
||||||
|
lastTap = first.target;
|
||||||
|
tapValid = true;
|
||||||
|
tapTimeout = window.setTimeout(cancelTap, 600);
|
||||||
|
startHold(event);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
window.clearTimeout(tapTimeout);
|
||||||
|
|
||||||
|
// If a double tap is still a possibility and the elements are the same then perform a double click
|
||||||
|
if (first.target == lastTap) {
|
||||||
|
lastTap = null;
|
||||||
|
tapValid = false;
|
||||||
|
|
||||||
|
type = "click";
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
|
||||||
|
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 0/*left*/, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
type = "dblclick";
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
|
||||||
|
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, 0/*left*/, null);
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
lastTap = first.target;
|
||||||
|
tapValid = true;
|
||||||
|
tapTimeout = window.setTimeout(cancelTap, 600);
|
||||||
|
startHold(event);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
function iPadTouchHandler(event) {
|
||||||
|
var type = "",
|
||||||
|
button = 0; /*left*/
|
||||||
|
|
||||||
|
if (event.touches.length > 1)
|
||||||
|
return;
|
||||||
|
|
||||||
|
switch (event.type) {
|
||||||
|
case "touchstart":
|
||||||
|
if ($(event.changedTouches[0].target).is("select")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
iPadTouchStart(event); /*We need to trigger two events here to support one touch drag and drop*/
|
||||||
|
event.preventDefault();
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "touchmove":
|
||||||
|
cancelHold();
|
||||||
|
type = "mousemove";
|
||||||
|
event.preventDefault();
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "touchend":
|
||||||
|
if (cancelMouseUp) {
|
||||||
|
cancelMouseUp = false;
|
||||||
|
event.preventDefault();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
cancelHold();
|
||||||
|
type = "mouseup";
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var touches = event.changedTouches,
|
||||||
|
first = touches[0],
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent");
|
||||||
|
|
||||||
|
simulatedEvent.initMouseEvent(type, true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, button, null);
|
||||||
|
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
|
||||||
|
if (type == "mouseup" && tapValid && first.target == lastTap) { // This actually emulates the ipads default behaviour (which we prevented)
|
||||||
|
simulatedEvent = document.createEvent("MouseEvent"); // This check avoids click being emulated on a double tap
|
||||||
|
|
||||||
|
simulatedEvent.initMouseEvent("click", true, true, window, 1, first.screenX, first.screenY, first.clientX, first.clientY,
|
||||||
|
false, false, false, false, button, null);
|
||||||
|
|
||||||
|
first.target.dispatchEvent(simulatedEvent);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var touchAvailable = ("ontouchend" in document);
|
||||||
|
|
||||||
|
$.fn.addTouch = function() {
|
||||||
|
if (touchAvailable) {
|
||||||
|
this.each(function(i,el){
|
||||||
|
el.addEventListener("touchstart", iPadTouchHandler, false);
|
||||||
|
el.addEventListener("touchmove", iPadTouchHandler, false);
|
||||||
|
el.addEventListener("touchend", iPadTouchHandler, false);
|
||||||
|
el.addEventListener("touchcancel", iPadTouchHandler, false);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
}));
|
||||||
11577
v2/ext-lib/jszip.js
Executable file
11577
v2/ext-lib/jszip.js
Executable file
File diff suppressed because it is too large
Load Diff
13
v2/ext-lib/jszip.min.js
vendored
Executable file
13
v2/ext-lib/jszip.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
2
v2/ext-lib/peer.min.js
vendored
Executable file
2
v2/ext-lib/peer.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
6798
v2/ext-lib/pouchdb.find.js
Executable file
6798
v2/ext-lib/pouchdb.find.js
Executable file
File diff suppressed because it is too large
Load Diff
8
v2/ext-lib/pouchdb.find.min.js
vendored
Executable file
8
v2/ext-lib/pouchdb.find.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
5152
v2/ext-lib/pouchdb.indexeddb.js
Executable file
5152
v2/ext-lib/pouchdb.indexeddb.js
Executable file
File diff suppressed because it is too large
Load Diff
2
v2/ext-lib/pouchdb.indexeddb.min.js
vendored
Executable file
2
v2/ext-lib/pouchdb.indexeddb.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
13146
v2/ext-lib/pouchdb.js
Executable file
13146
v2/ext-lib/pouchdb.js
Executable file
File diff suppressed because it is too large
Load Diff
21765
v2/ext-lib/pouchdb.localstorage.js
Executable file
21765
v2/ext-lib/pouchdb.localstorage.js
Executable file
File diff suppressed because it is too large
Load Diff
45
v2/ext-lib/pouchdb.localstorage.min.js
vendored
Executable file
45
v2/ext-lib/pouchdb.localstorage.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
22008
v2/ext-lib/pouchdb.memory.js
Executable file
22008
v2/ext-lib/pouchdb.memory.js
Executable file
File diff suppressed because it is too large
Load Diff
45
v2/ext-lib/pouchdb.memory.min.js
vendored
Executable file
45
v2/ext-lib/pouchdb.memory.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
7
v2/ext-lib/pouchdb.min.js
vendored
Executable file
7
v2/ext-lib/pouchdb.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
2142
v2/ext-lib/require.js
Executable file
2142
v2/ext-lib/require.js
Executable file
File diff suppressed because it is too large
Load Diff
5157
v2/ext-lib/showdown.js
Executable file
5157
v2/ext-lib/showdown.js
Executable file
File diff suppressed because it is too large
Load Diff
1
v2/ext-lib/showdown.js.map
Executable file
1
v2/ext-lib/showdown.js.map
Executable file
File diff suppressed because one or more lines are too long
3
v2/ext-lib/showdown.min.js
vendored
Executable file
3
v2/ext-lib/showdown.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
1
v2/ext-lib/showdown.min.js.map
Executable file
1
v2/ext-lib/showdown.min.js.map
Executable file
File diff suppressed because one or more lines are too long
1
v2/ext-lib/umd.js
Executable file
1
v2/ext-lib/umd.js
Executable file
@ -0,0 +1 @@
|
|||||||
|
function _slicedToArray(t,n){return _arrayWithHoles(t)||_iterableToArrayLimit(t,n)||_unsupportedIterableToArray(t,n)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,n){if(t){if("string"==typeof t)return _arrayLikeToArray(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,n):void 0}}function _arrayLikeToArray(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}function _iterableToArrayLimit(t,n){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var e,o,u=[],i=!0,a=!1;try{for(r=r.call(t);!(i=(e=r.next()).done)&&(u.push(e.value),!n||u.length!==n);i=!0);}catch(t){a=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(a)throw o}}return u}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}!function(t,n){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).idbKeyval={})}(this,(function(t){"use strict";function n(t){return new Promise((function(n,r){t.oncomplete=t.onsuccess=function(){return n(t.result)},t.onabort=t.onerror=function(){return r(t.error)}}))}function r(t,r){var e=indexedDB.open(t);e.onupgradeneeded=function(){return e.result.createObjectStore(r)};var o=n(e);return function(t,n){return o.then((function(e){return n(e.transaction(r,t).objectStore(r))}))}}var e;function o(){return e||(e=r("keyval-store","keyval")),e}function u(t,r){return t.openCursor().onsuccess=function(){this.result&&(r(this.result),this.result.continue())},n(t.transaction)}t.clear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return t("readwrite",(function(t){return t.clear(),n(t.transaction)}))},t.createStore=r,t.del=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return r("readwrite",(function(r){return r.delete(t),n(r.transaction)}))},t.delMany=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return r("readwrite",(function(r){return t.forEach((function(t){return r.delete(t)})),n(r.transaction)}))},t.entries=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return t("readonly",(function(r){if(r.getAll&&r.getAllKeys)return Promise.all([n(r.getAllKeys()),n(r.getAll())]).then((function(t){var n=_slicedToArray(t,2),r=n[0],e=n[1];return r.map((function(t,n){return[t,e[n]]}))}));var e=[];return t("readonly",(function(t){return u(t,(function(t){return e.push([t.key,t.value])})).then((function(){return e}))}))}))},t.get=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return r("readonly",(function(r){return n(r.get(t))}))},t.getMany=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return r("readonly",(function(r){return Promise.all(t.map((function(t){return n(r.get(t))})))}))},t.keys=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return t("readonly",(function(t){if(t.getAllKeys)return n(t.getAllKeys());var r=[];return u(t,(function(t){return r.push(t.key)})).then((function(){return r}))}))},t.promisifyRequest=n,t.set=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o();return e("readwrite",(function(e){return e.put(r,t),n(e.transaction)}))},t.setMany=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return r("readwrite",(function(r){return t.forEach((function(t){return r.put(t[1],t[0])})),n(r.transaction)}))},t.update=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o();return e("readwrite",(function(e){return new Promise((function(o,u){e.get(t).onsuccess=function(){try{e.put(r(this.result),t),o(n(e.transaction))}catch(t){u(t)}}}))}))},t.values=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return t("readonly",(function(t){if(t.getAll)return n(t.getAll());var r=[];return u(t,(function(t){return r.push(t.value)})).then((function(){return r}))}))},Object.defineProperty(t,"__esModule",{value:!0})}));
|
||||||
24
v2/manifest.json
Executable file
24
v2/manifest.json
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"short_name": "pWiki",
|
||||||
|
"name": "pWiki",
|
||||||
|
"display": "standalone",
|
||||||
|
"orientation": "portrait",
|
||||||
|
"theme_color": "white",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "img/pWiki-48px.jpg",
|
||||||
|
"type": "image/jpeg",
|
||||||
|
"sizes": "48x36"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "img/pWiki-96px.jpg",
|
||||||
|
"type": "image/jpeg",
|
||||||
|
"sizes": "96x71"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "img/pWiki-192px.jpg",
|
||||||
|
"type": "image/jpeg",
|
||||||
|
"sizes": "192x143"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
35
v2/package.json
Executable file
35
v2/package.json
Executable file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"name": "pWiki",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"author": "Alex A. Naanou <alex.nanou@gmail.com>",
|
||||||
|
"license": "BSD",
|
||||||
|
"dependencies": {
|
||||||
|
"@toast-ui/editor": "^3.2.0",
|
||||||
|
"any-date-parser": "^1.5.3",
|
||||||
|
"file-saver": "^2.0.5",
|
||||||
|
"flexsearch": "^0.7.31",
|
||||||
|
"glob": "*",
|
||||||
|
"idb-keyval": "^6.2.0",
|
||||||
|
"ig-actions": "*",
|
||||||
|
"ig-features": "*",
|
||||||
|
"ig-object": "*",
|
||||||
|
"ig-types": "^6.26.2",
|
||||||
|
"jszip": "*",
|
||||||
|
"medium-editor": "^5.23.3",
|
||||||
|
"medium-editor-markdown": "^3.2.2",
|
||||||
|
"pouchdb": "^7.3.0",
|
||||||
|
"pouchdb-browser": "^7.3.0",
|
||||||
|
"requirejs": "*",
|
||||||
|
"showdown": "^2.1.0"
|
||||||
|
},
|
||||||
|
"disabled-dependencies": {
|
||||||
|
"peer": "*",
|
||||||
|
"pouch-replicate-webrtc": "*",
|
||||||
|
"pouchdb": "*",
|
||||||
|
"showdown": "*",
|
||||||
|
"xss": "*"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"bootstrap": "node scripts/bootstrap.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
32
v2/pwiki/dom/textarea.js
Executable file
32
v2/pwiki/dom/textarea.js
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
**********************************************************************/
|
||||||
|
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
|
||||||
|
(function(require){ var module={} // make module AMD/node compatible...
|
||||||
|
/*********************************************************************/
|
||||||
|
|
||||||
|
var setupTextarea =
|
||||||
|
module.setupTextarea =
|
||||||
|
function(){
|
||||||
|
var __resize = new Event('__resize')
|
||||||
|
|
||||||
|
for(var elem of document.body.querySelectorAll('textarea.editor')){
|
||||||
|
elem.addEventListener('input', function(evt){
|
||||||
|
var elem = evt.target
|
||||||
|
elem.dispatchEvent(__resize) })
|
||||||
|
|
||||||
|
elem.addEventListener('__resize', function(evt){
|
||||||
|
var elem = evt.target
|
||||||
|
// XXX this messes up scroll...
|
||||||
|
elem.style.height = ''
|
||||||
|
elem.style.height = elem.scrollHeight + 'px' })
|
||||||
|
|
||||||
|
elem.dispatchEvent(__resize) } }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* vim:set ts=4 sw=4 : */ return module })
|
||||||
@ -1220,7 +1220,6 @@ object.Constructor('Page', BasePage, {
|
|||||||
// not expanded...
|
// not expanded...
|
||||||
// NOTE: the filter argument uses the same filters as @filter(..)
|
// NOTE: the filter argument uses the same filters as @filter(..)
|
||||||
// NOTE: else argument implies strict mode...
|
// NOTE: else argument implies strict mode...
|
||||||
//
|
|
||||||
// XXX need a way to escape macros -- i.e. include </quote> in a quoted text...
|
// XXX need a way to escape macros -- i.e. include </quote> in a quoted text...
|
||||||
// XXX should join/else be sub-tags???
|
// XXX should join/else be sub-tags???
|
||||||
quote: Macro(
|
quote: Macro(
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user