Compare commits
20 Commits
Author | SHA1 | Date |
---|---|---|
Skylar Ittner | c824999c05 | 3 years ago |
Skylar Ittner | 2dc815e2ea | 4 years ago |
Skylar Ittner | 0269107830 | 5 years ago |
Skylar Ittner | b58e58b35f | 5 years ago |
Skylar Ittner | bb13c3a487 | 5 years ago |
Skylar Ittner | 2f1379d3ad | 5 years ago |
Skylar Ittner | 6c39e5a903 | 5 years ago |
Skylar Ittner | dc2059ae52 | 5 years ago |
Skylar Ittner | 6192c47840 | 5 years ago |
Skylar Ittner | 6009168891 | 5 years ago |
Skylar Ittner | f0d3b2b4f6 | 5 years ago |
Skylar Ittner | 3ce58c84ce | 5 years ago |
Skylar Ittner | 5539240793 | 5 years ago |
Skylar Ittner | 4159a58cce | 5 years ago |
Skylar Ittner | 0636874e99 | 5 years ago |
Skylar Ittner | 360b9d0064 | 5 years ago |
Skylar Ittner | 44c1782ddf | 5 years ago |
Skylar Ittner | 024b0c50cd | 5 years ago |
Skylar Ittner | b92f57ed26 | 5 years ago |
Skylar Ittner | b1c2d86d9a | 5 years ago |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,96 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>BuildMachineOSBuild</key>
|
||||||
|
<string>16A323</string>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>en</string>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>NotePost</string>
|
||||||
|
<key>CFBundleDocumentTypes</key>
|
||||||
|
<array/>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>nwjs</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>app.icns</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.netsyms.NotePostApp</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>netsyms-notepost-app</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>Version 1.3.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>NWJS</string>
|
||||||
|
<key>CFBundleURLTypes</key>
|
||||||
|
<array>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleURLName</key>
|
||||||
|
<string>Web site URL</string>
|
||||||
|
<key>CFBundleURLSchemes</key>
|
||||||
|
<array>
|
||||||
|
<string>http</string>
|
||||||
|
<string>https</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleURLName</key>
|
||||||
|
<string>FTP site URL</string>
|
||||||
|
<key>CFBundleURLSchemes</key>
|
||||||
|
<array>
|
||||||
|
<string>ftp</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleURLName</key>
|
||||||
|
<string>Local file URL</string>
|
||||||
|
<key>CFBundleURLSchemes</key>
|
||||||
|
<array>
|
||||||
|
<string>file</string>
|
||||||
|
</array>
|
||||||
|
</dict>
|
||||||
|
</array>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.3.0</string>
|
||||||
|
<key>DTCompiler</key>
|
||||||
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||||
|
<key>DTSDKBuild</key>
|
||||||
|
<string>10.12</string>
|
||||||
|
<key>DTSDKName</key>
|
||||||
|
<string>macosx10.12</string>
|
||||||
|
<key>DTXcode</key>
|
||||||
|
<string>0833</string>
|
||||||
|
<key>DTXcodeBuild</key>
|
||||||
|
<string>8E3004b</string>
|
||||||
|
<key>LSFileQuarantineEnabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>LSHasLocalizedDisplayName</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>10.9.0</string>
|
||||||
|
<key>NSAppleScriptEnabled</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string>BrowserCrApplication</string>
|
||||||
|
<key>NSSupportsAppNap</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||||
|
<true/>
|
||||||
|
<key>NSUserActivityTypes</key>
|
||||||
|
<array>
|
||||||
|
<string>NSUserActivityTypeBrowsingWeb</string>
|
||||||
|
</array>
|
||||||
|
<key>NSUserNotificationAlertStyle</key>
|
||||||
|
<string>banner</string>
|
||||||
|
<key>OSAScriptingDefinition</key>
|
||||||
|
<string>scripting.sdef</string>
|
||||||
|
<key>SCMRevision</key>
|
||||||
|
<string>2f0eedbae58fc8cfa2f2ff2988c4c1927e1edbac-</string>
|
||||||
|
<key>UTExportedTypeDeclarations</key>
|
||||||
|
<array/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
HERE="$(dirname "$(readlink -f "${0}")")"
|
||||||
|
|
||||||
|
cd $HERE/usr/lib/notepost
|
||||||
|
./notepost
|
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=NotePost
|
||||||
|
Version=1.0
|
||||||
|
Exec=notepost
|
||||||
|
Comment=Launch NotePost
|
||||||
|
Icon=notepost
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
Categories=Office;Network;
|
||||||
|
Name[en_US]=NotePost
|
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
cd /usr/lib/notepost
|
||||||
|
./notepost
|
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>notepostapp</id>
|
||||||
|
<metadata_license>MPL-2.0</metadata_license>
|
||||||
|
<project_license>MPL-2.0</project_license>
|
||||||
|
<name>NotePost</name>
|
||||||
|
<summary>Desktop client for NotePost</summary>
|
||||||
|
<description>
|
||||||
|
|
||||||
|
</description>
|
||||||
|
<launchable type="desktop-id">notepost.desktop</launchable>
|
||||||
|
<url type="homepage">https://netsyms.com/apps/notepost</url>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://netsyms.com/files/apps/notepost/app/home_desktop.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<provides>
|
||||||
|
<id>notepost.desktop</id>
|
||||||
|
</provides>
|
||||||
|
</component>
|
@ -0,0 +1,9 @@
|
|||||||
|
Package: notepost
|
||||||
|
Version: 1.3.0-1
|
||||||
|
Maintainer: Netsyms Technologies <opensource@netsyms.com>
|
||||||
|
Section: web
|
||||||
|
Homepage: https://netsyms.com/apps/notepost
|
||||||
|
Priority: optional
|
||||||
|
Depends: nw.js-normal | nw.js
|
||||||
|
Description: Desktop client for the NotePost notetaking webapp.
|
||||||
|
Architecture: all
|
@ -0,0 +1,359 @@
|
|||||||
|
Copyright (c) 2018-2019 Netsyms Technologies.
|
||||||
|
|
||||||
|
Mozilla Public License Version 2.0
|
||||||
|
==================================
|
||||||
|
|
||||||
|
### 1. Definitions
|
||||||
|
|
||||||
|
**1.1. “Contributor”**
|
||||||
|
means each individual or legal entity that creates, contributes to
|
||||||
|
the creation of, or owns Covered Software.
|
||||||
|
|
||||||
|
**1.2. “Contributor Version”**
|
||||||
|
means the combination of the Contributions of others (if any) used
|
||||||
|
by a Contributor and that particular Contributor's Contribution.
|
||||||
|
|
||||||
|
**1.3. “Contribution”**
|
||||||
|
means Covered Software of a particular Contributor.
|
||||||
|
|
||||||
|
**1.4. “Covered Software”**
|
||||||
|
means Source Code Form to which the initial Contributor has attached
|
||||||
|
the notice in Exhibit A, the Executable Form of such Source Code
|
||||||
|
Form, and Modifications of such Source Code Form, in each case
|
||||||
|
including portions thereof.
|
||||||
|
|
||||||
|
**1.5. “Incompatible With Secondary Licenses”**
|
||||||
|
means
|
||||||
|
|
||||||
|
* **(a)** that the initial Contributor has attached the notice described
|
||||||
|
in Exhibit B to the Covered Software; or
|
||||||
|
* **(b)** that the Covered Software was made available under the terms of
|
||||||
|
version 1.1 or earlier of the License, but not also under the
|
||||||
|
terms of a Secondary License.
|
||||||
|
|
||||||
|
**1.6. “Executable Form”**
|
||||||
|
means any form of the work other than Source Code Form.
|
||||||
|
|
||||||
|
**1.7. “Larger Work”**
|
||||||
|
means a work that combines Covered Software with other material, in
|
||||||
|
a separate file or files, that is not Covered Software.
|
||||||
|
|
||||||
|
**1.8. “License”**
|
||||||
|
means this document.
|
||||||
|
|
||||||
|
**1.9. “Licensable”**
|
||||||
|
means having the right to grant, to the maximum extent possible,
|
||||||
|
whether at the time of the initial grant or subsequently, any and
|
||||||
|
all of the rights conveyed by this License.
|
||||||
|
|
||||||
|
**1.10. “Modifications”**
|
||||||
|
means any of the following:
|
||||||
|
|
||||||
|
* **(a)** any file in Source Code Form that results from an addition to,
|
||||||
|
deletion from, or modification of the contents of Covered
|
||||||
|
Software; or
|
||||||
|
* **(b)** any new file in Source Code Form that contains any Covered
|
||||||
|
Software.
|
||||||
|
|
||||||
|
**1.11. “Patent Claims” of a Contributor**
|
||||||
|
means any patent claim(s), including without limitation, method,
|
||||||
|
process, and apparatus claims, in any patent Licensable by such
|
||||||
|
Contributor that would be infringed, but for the grant of the
|
||||||
|
License, by the making, using, selling, offering for sale, having
|
||||||
|
made, import, or transfer of either its Contributions or its
|
||||||
|
Contributor Version.
|
||||||
|
|
||||||
|
**1.12. “Secondary License”**
|
||||||
|
means either the GNU General Public License, Version 2.0, the GNU
|
||||||
|
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||||
|
Public License, Version 3.0, or any later versions of those
|
||||||
|
licenses.
|
||||||
|
|
||||||
|
**1.13. “Source Code Form”**
|
||||||
|
means the form of the work preferred for making modifications.
|
||||||
|
|
||||||
|
**1.14. “You” (or “Your”)**
|
||||||
|
means an individual or a legal entity exercising rights under this
|
||||||
|
License. For legal entities, “You” includes any entity that
|
||||||
|
controls, is controlled by, or is under common control with You. For
|
||||||
|
purposes of this definition, “control” means **(a)** the power, direct
|
||||||
|
or indirect, to cause the direction or management of such entity,
|
||||||
|
whether by contract or otherwise, or **(b)** ownership of more than
|
||||||
|
fifty percent (50%) of the outstanding shares or beneficial
|
||||||
|
ownership of such entity.
|
||||||
|
|
||||||
|
|
||||||
|
### 2. License Grants and Conditions
|
||||||
|
|
||||||
|
#### 2.1. Grants
|
||||||
|
|
||||||
|
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||||
|
non-exclusive license:
|
||||||
|
|
||||||
|
* **(a)** under intellectual property rights (other than patent or trademark)
|
||||||
|
Licensable by such Contributor to use, reproduce, make available,
|
||||||
|
modify, display, perform, distribute, and otherwise exploit its
|
||||||
|
Contributions, either on an unmodified basis, with Modifications, or
|
||||||
|
as part of a Larger Work; and
|
||||||
|
* **(b)** under Patent Claims of such Contributor to make, use, sell, offer
|
||||||
|
for sale, have made, import, and otherwise transfer either its
|
||||||
|
Contributions or its Contributor Version.
|
||||||
|
|
||||||
|
#### 2.2. Effective Date
|
||||||
|
|
||||||
|
The licenses granted in Section 2.1 with respect to any Contribution
|
||||||
|
become effective for each Contribution on the date the Contributor first
|
||||||
|
distributes such Contribution.
|
||||||
|
|
||||||
|
#### 2.3. Limitations on Grant Scope
|
||||||
|
|
||||||
|
The licenses granted in this Section 2 are the only rights granted under
|
||||||
|
this License. No additional rights or licenses will be implied from the
|
||||||
|
distribution or licensing of Covered Software under this License.
|
||||||
|
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||||
|
Contributor:
|
||||||
|
|
||||||
|
* **(a)** for any code that a Contributor has removed from Covered Software;
|
||||||
|
or
|
||||||
|
* **(b)** for infringements caused by: **(i)** Your and any other third party's
|
||||||
|
modifications of Covered Software, or **(ii)** the combination of its
|
||||||
|
Contributions with other software (except as part of its Contributor
|
||||||
|
Version); or
|
||||||
|
* **(c)** under Patent Claims infringed by Covered Software in the absence of
|
||||||
|
its Contributions.
|
||||||
|
|
||||||
|
This License does not grant any rights in the trademarks, service marks,
|
||||||
|
or logos of any Contributor (except as may be necessary to comply with
|
||||||
|
the notice requirements in Section 3.4).
|
||||||
|
|
||||||
|
#### 2.4. Subsequent Licenses
|
||||||
|
|
||||||
|
No Contributor makes additional grants as a result of Your choice to
|
||||||
|
distribute the Covered Software under a subsequent version of this
|
||||||
|
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||||
|
permitted under the terms of Section 3.3).
|
||||||
|
|
||||||
|
#### 2.5. Representation
|
||||||
|
|
||||||
|
Each Contributor represents that the Contributor believes its
|
||||||
|
Contributions are its original creation(s) or it has sufficient rights
|
||||||
|
to grant the rights to its Contributions conveyed by this License.
|
||||||
|
|
||||||
|
#### 2.6. Fair Use
|
||||||
|
|
||||||
|
This License is not intended to limit any rights You have under
|
||||||
|
applicable copyright doctrines of fair use, fair dealing, or other
|
||||||
|
equivalents.
|
||||||
|
|
||||||
|
#### 2.7. Conditions
|
||||||
|
|
||||||
|
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||||
|
in Section 2.1.
|
||||||
|
|
||||||
|
|
||||||
|
### 3. Responsibilities
|
||||||
|
|
||||||
|
#### 3.1. Distribution of Source Form
|
||||||
|
|
||||||
|
All distribution of Covered Software in Source Code Form, including any
|
||||||
|
Modifications that You create or to which You contribute, must be under
|
||||||
|
the terms of this License. You must inform recipients that the Source
|
||||||
|
Code Form of the Covered Software is governed by the terms of this
|
||||||
|
License, and how they can obtain a copy of this License. You may not
|
||||||
|
attempt to alter or restrict the recipients' rights in the Source Code
|
||||||
|
Form.
|
||||||
|
|
||||||
|
#### 3.2. Distribution of Executable Form
|
||||||
|
|
||||||
|
If You distribute Covered Software in Executable Form then:
|
||||||
|
|
||||||
|
* **(a)** such Covered Software must also be made available in Source Code
|
||||||
|
Form, as described in Section 3.1, and You must inform recipients of
|
||||||
|
the Executable Form how they can obtain a copy of such Source Code
|
||||||
|
Form by reasonable means in a timely manner, at a charge no more
|
||||||
|
than the cost of distribution to the recipient; and
|
||||||
|
|
||||||
|
* **(b)** You may distribute such Executable Form under the terms of this
|
||||||
|
License, or sublicense it under different terms, provided that the
|
||||||
|
license for the Executable Form does not attempt to limit or alter
|
||||||
|
the recipients' rights in the Source Code Form under this License.
|
||||||
|
|
||||||
|
#### 3.3. Distribution of a Larger Work
|
||||||
|
|
||||||
|
You may create and distribute a Larger Work under terms of Your choice,
|
||||||
|
provided that You also comply with the requirements of this License for
|
||||||
|
the Covered Software. If the Larger Work is a combination of Covered
|
||||||
|
Software with a work governed by one or more Secondary Licenses, and the
|
||||||
|
Covered Software is not Incompatible With Secondary Licenses, this
|
||||||
|
License permits You to additionally distribute such Covered Software
|
||||||
|
under the terms of such Secondary License(s), so that the recipient of
|
||||||
|
the Larger Work may, at their option, further distribute the Covered
|
||||||
|
Software under the terms of either this License or such Secondary
|
||||||
|
License(s).
|
||||||
|
|
||||||
|
#### 3.4. Notices
|
||||||
|
|
||||||
|
You may not remove or alter the substance of any license notices
|
||||||
|
(including copyright notices, patent notices, disclaimers of warranty,
|
||||||
|
or limitations of liability) contained within the Source Code Form of
|
||||||
|
the Covered Software, except that You may alter any license notices to
|
||||||
|
the extent required to remedy known factual inaccuracies.
|
||||||
|
|
||||||
|
#### 3.5. Application of Additional Terms
|
||||||
|
|
||||||
|
You may choose to offer, and to charge a fee for, warranty, support,
|
||||||
|
indemnity or liability obligations to one or more recipients of Covered
|
||||||
|
Software. However, You may do so only on Your own behalf, and not on
|
||||||
|
behalf of any Contributor. You must make it absolutely clear that any
|
||||||
|
such warranty, support, indemnity, or liability obligation is offered by
|
||||||
|
You alone, and You hereby agree to indemnify every Contributor for any
|
||||||
|
liability incurred by such Contributor as a result of warranty, support,
|
||||||
|
indemnity or liability terms You offer. You may include additional
|
||||||
|
disclaimers of warranty and limitations of liability specific to any
|
||||||
|
jurisdiction.
|
||||||
|
|
||||||
|
|
||||||
|
### 4. Inability to Comply Due to Statute or Regulation
|
||||||
|
|
||||||
|
If it is impossible for You to comply with any of the terms of this
|
||||||
|
License with respect to some or all of the Covered Software due to
|
||||||
|
statute, judicial order, or regulation then You must: **(a)** comply with
|
||||||
|
the terms of this License to the maximum extent possible; and **(b)**
|
||||||
|
describe the limitations and the code they affect. Such description must
|
||||||
|
be placed in a text file included with all distributions of the Covered
|
||||||
|
Software under this License. Except to the extent prohibited by statute
|
||||||
|
or regulation, such description must be sufficiently detailed for a
|
||||||
|
recipient of ordinary skill to be able to understand it.
|
||||||
|
|
||||||
|
|
||||||
|
### 5. Termination
|
||||||
|
|
||||||
|
**5.1.** The rights granted under this License will terminate automatically
|
||||||
|
if You fail to comply with any of its terms. However, if You become
|
||||||
|
compliant, then the rights granted under this License from a particular
|
||||||
|
Contributor are reinstated **(a)** provisionally, unless and until such
|
||||||
|
Contributor explicitly and finally terminates Your grants, and **(b)** on an
|
||||||
|
ongoing basis, if such Contributor fails to notify You of the
|
||||||
|
non-compliance by some reasonable means prior to 60 days after You have
|
||||||
|
come back into compliance. Moreover, Your grants from a particular
|
||||||
|
Contributor are reinstated on an ongoing basis if such Contributor
|
||||||
|
notifies You of the non-compliance by some reasonable means, this is the
|
||||||
|
first time You have received notice of non-compliance with this License
|
||||||
|
from such Contributor, and You become compliant prior to 30 days after
|
||||||
|
Your receipt of the notice.
|
||||||
|
|
||||||
|
**5.2.** If You initiate litigation against any entity by asserting a patent
|
||||||
|
infringement claim (excluding declaratory judgment actions,
|
||||||
|
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||||
|
directly or indirectly infringes any patent, then the rights granted to
|
||||||
|
You by any and all Contributors for the Covered Software under Section
|
||||||
|
2.1 of this License shall terminate.
|
||||||
|
|
||||||
|
**5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
|
||||||
|
end user license agreements (excluding distributors and resellers) which
|
||||||
|
have been validly granted by You or Your distributors under this License
|
||||||
|
prior to termination shall survive termination.
|
||||||
|
|
||||||
|
|
||||||
|
### 6. Disclaimer of Warranty
|
||||||
|
|
||||||
|
> Covered Software is provided under this License on an “as is”
|
||||||
|
> basis, without warranty of any kind, either expressed, implied, or
|
||||||
|
> statutory, including, without limitation, warranties that the
|
||||||
|
> Covered Software is free of defects, merchantable, fit for a
|
||||||
|
> particular purpose or non-infringing. The entire risk as to the
|
||||||
|
> quality and performance of the Covered Software is with You.
|
||||||
|
> Should any Covered Software prove defective in any respect, You
|
||||||
|
> (not any Contributor) assume the cost of any necessary servicing,
|
||||||
|
> repair, or correction. This disclaimer of warranty constitutes an
|
||||||
|
> essential part of this License. No use of any Covered Software is
|
||||||
|
> authorized under this License except under this disclaimer.
|
||||||
|
|
||||||
|
### 7. Limitation of Liability
|
||||||
|
|
||||||
|
> Under no circumstances and under no legal theory, whether tort
|
||||||
|
> (including negligence), contract, or otherwise, shall any
|
||||||
|
> Contributor, or anyone who distributes Covered Software as
|
||||||
|
> permitted above, be liable to You for any direct, indirect,
|
||||||
|
> special, incidental, or consequential damages of any character
|
||||||
|
> including, without limitation, damages for lost profits, loss of
|
||||||
|
> goodwill, work stoppage, computer failure or malfunction, or any
|
||||||
|
> and all other commercial damages or losses, even if such party
|
||||||
|
> shall have been informed of the possibility of such damages. This
|
||||||
|
> limitation of liability shall not apply to liability for death or
|
||||||
|
> personal injury resulting from such party's negligence to the
|
||||||
|
> extent applicable law prohibits such limitation. Some
|
||||||
|
> jurisdictions do not allow the exclusion or limitation of
|
||||||
|
> incidental or consequential damages, so this exclusion and
|
||||||
|
> limitation may not apply to You.
|
||||||
|
|
||||||
|
|
||||||
|
### 8. Litigation
|
||||||
|
|
||||||
|
Any litigation relating to this License may be brought only in the
|
||||||
|
courts of a jurisdiction where the defendant maintains its principal
|
||||||
|
place of business and such litigation shall be governed by laws of that
|
||||||
|
jurisdiction, without reference to its conflict-of-law provisions.
|
||||||
|
Nothing in this Section shall prevent a party's ability to bring
|
||||||
|
cross-claims or counter-claims.
|
||||||
|
|
||||||
|
|
||||||
|
### 9. Miscellaneous
|
||||||
|
|
||||||
|
This License represents the complete agreement concerning the subject
|
||||||
|
matter hereof. If any provision of this License is held to be
|
||||||
|
unenforceable, such provision shall be reformed only to the extent
|
||||||
|
necessary to make it enforceable. Any law or regulation which provides
|
||||||
|
that the language of a contract shall be construed against the drafter
|
||||||
|
shall not be used to construe this License against a Contributor.
|
||||||
|
|
||||||
|
|
||||||
|
### 10. Versions of the License
|
||||||
|
|
||||||
|
#### 10.1. New Versions
|
||||||
|
|
||||||
|
Mozilla Foundation is the license steward. Except as provided in Section
|
||||||
|
10.3, no one other than the license steward has the right to modify or
|
||||||
|
publish new versions of this License. Each version will be given a
|
||||||
|
distinguishing version number.
|
||||||
|
|
||||||
|
#### 10.2. Effect of New Versions
|
||||||
|
|
||||||
|
You may distribute the Covered Software under the terms of the version
|
||||||
|
of the License under which You originally received the Covered Software,
|
||||||
|
or under the terms of any subsequent version published by the license
|
||||||
|
steward.
|
||||||
|
|
||||||
|
#### 10.3. Modified Versions
|
||||||
|
|
||||||
|
If you create software not governed by this License, and you want to
|
||||||
|
create a new license for such software, you may create and use a
|
||||||
|
modified version of this License if you rename the license and remove
|
||||||
|
any references to the name of the license steward (except to note that
|
||||||
|
such modified license differs from this License).
|
||||||
|
|
||||||
|
#### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
|
||||||
|
|
||||||
|
If You choose to distribute Source Code Form that is Incompatible With
|
||||||
|
Secondary Licenses under the terms of this version of the License, the
|
||||||
|
notice described in Exhibit B of this License must be attached.
|
||||||
|
|
||||||
|
## Exhibit A - Source Code Form License Notice
|
||||||
|
|
||||||
|
This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
If it is not possible or desirable to put the notice in a particular
|
||||||
|
file, then You may include the notice in a location (such as a LICENSE
|
||||||
|
file in a relevant directory) where a recipient would be likely to look
|
||||||
|
for such a notice.
|
||||||
|
|
||||||
|
You may add additional accurate notices of copyright ownership.
|
||||||
|
|
||||||
|
## Exhibit B - “Incompatible With Secondary Licenses” Notice
|
||||||
|
|
||||||
|
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||||
|
defined by the Mozilla Public License, v. 2.0.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
nwjs /usr/share/notepost
|
@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=NotePost
|
||||||
|
Version=1.0
|
||||||
|
Exec=/usr/bin/notepost
|
||||||
|
Comment=Launch the NotePost client
|
||||||
|
Icon=/usr/share/notepost/logo.svg
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
Encoding=UTF-8
|
||||||
|
Categories=Office;
|
@ -0,0 +1,359 @@
|
|||||||
|
Copyright (c) 2018-2019 Netsyms Technologies.
|
||||||
|
|
||||||
|
Mozilla Public License Version 2.0
|
||||||
|
==================================
|
||||||
|
|
||||||
|
### 1. Definitions
|
||||||
|
|
||||||
|
**1.1. “Contributor”**
|
||||||
|
means each individual or legal entity that creates, contributes to
|
||||||
|
the creation of, or owns Covered Software.
|
||||||
|
|
||||||
|
**1.2. “Contributor Version”**
|
||||||
|
means the combination of the Contributions of others (if any) used
|
||||||
|
by a Contributor and that particular Contributor's Contribution.
|
||||||
|
|
||||||
|
**1.3. “Contribution”**
|
||||||
|
means Covered Software of a particular Contributor.
|
||||||
|
|
||||||
|
**1.4. “Covered Software”**
|
||||||
|
means Source Code Form to which the initial Contributor has attached
|
||||||
|
the notice in Exhibit A, the Executable Form of such Source Code
|
||||||
|
Form, and Modifications of such Source Code Form, in each case
|
||||||
|
including portions thereof.
|
||||||
|
|
||||||
|
**1.5. “Incompatible With Secondary Licenses”**
|
||||||
|
means
|
||||||
|
|
||||||
|
* **(a)** that the initial Contributor has attached the notice described
|
||||||
|
in Exhibit B to the Covered Software; or
|
||||||
|
* **(b)** that the Covered Software was made available under the terms of
|
||||||
|
version 1.1 or earlier of the License, but not also under the
|
||||||
|
terms of a Secondary License.
|
||||||
|
|
||||||
|
**1.6. “Executable Form”**
|
||||||
|
means any form of the work other than Source Code Form.
|
||||||
|
|
||||||
|
**1.7. “Larger Work”**
|
||||||
|
means a work that combines Covered Software with other material, in
|
||||||
|
a separate file or files, that is not Covered Software.
|
||||||
|
|
||||||
|
**1.8. “License”**
|
||||||
|
means this document.
|
||||||
|
|
||||||
|
**1.9. “Licensable”**
|
||||||
|
means having the right to grant, to the maximum extent possible,
|
||||||
|
whether at the time of the initial grant or subsequently, any and
|
||||||
|
all of the rights conveyed by this License.
|
||||||
|
|
||||||
|
**1.10. “Modifications”**
|
||||||
|
means any of the following:
|
||||||
|
|
||||||
|
* **(a)** any file in Source Code Form that results from an addition to,
|
||||||
|
deletion from, or modification of the contents of Covered
|
||||||
|
Software; or
|
||||||
|
* **(b)** any new file in Source Code Form that contains any Covered
|
||||||
|
Software.
|
||||||
|
|
||||||
|
**1.11. “Patent Claims” of a Contributor**
|
||||||
|
means any patent claim(s), including without limitation, method,
|
||||||
|
process, and apparatus claims, in any patent Licensable by such
|
||||||
|
Contributor that would be infringed, but for the grant of the
|
||||||
|
License, by the making, using, selling, offering for sale, having
|
||||||
|
made, import, or transfer of either its Contributions or its
|
||||||
|
Contributor Version.
|
||||||
|
|
||||||
|
**1.12. “Secondary License”**
|
||||||
|
means either the GNU General Public License, Version 2.0, the GNU
|
||||||
|
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||||
|
Public License, Version 3.0, or any later versions of those
|
||||||
|
licenses.
|
||||||
|
|
||||||
|
**1.13. “Source Code Form”**
|
||||||
|
means the form of the work preferred for making modifications.
|
||||||
|
|
||||||
|
**1.14. “You” (or “Your”)**
|
||||||
|
means an individual or a legal entity exercising rights under this
|
||||||
|
License. For legal entities, “You” includes any entity that
|
||||||
|
controls, is controlled by, or is under common control with You. For
|
||||||
|
purposes of this definition, “control” means **(a)** the power, direct
|
||||||
|
or indirect, to cause the direction or management of such entity,
|
||||||
|
whether by contract or otherwise, or **(b)** ownership of more than
|
||||||
|
fifty percent (50%) of the outstanding shares or beneficial
|
||||||
|
ownership of such entity.
|
||||||
|
|
||||||
|
|
||||||
|
### 2. License Grants and Conditions
|
||||||
|
|
||||||
|
#### 2.1. Grants
|
||||||
|
|
||||||
|
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||||
|
non-exclusive license:
|
||||||
|
|
||||||
|
* **(a)** under intellectual property rights (other than patent or trademark)
|
||||||
|
Licensable by such Contributor to use, reproduce, make available,
|
||||||
|
modify, display, perform, distribute, and otherwise exploit its
|
||||||
|
Contributions, either on an unmodified basis, with Modifications, or
|
||||||
|
as part of a Larger Work; and
|
||||||
|
* **(b)** under Patent Claims of such Contributor to make, use, sell, offer
|
||||||
|
for sale, have made, import, and otherwise transfer either its
|
||||||
|
Contributions or its Contributor Version.
|
||||||
|
|
||||||
|
#### 2.2. Effective Date
|
||||||
|
|
||||||
|
The licenses granted in Section 2.1 with respect to any Contribution
|
||||||
|
become effective for each Contribution on the date the Contributor first
|
||||||
|
distributes such Contribution.
|
||||||
|
|
||||||
|
#### 2.3. Limitations on Grant Scope
|
||||||
|
|
||||||
|
The licenses granted in this Section 2 are the only rights granted under
|
||||||
|
this License. No additional rights or licenses will be implied from the
|
||||||
|
distribution or licensing of Covered Software under this License.
|
||||||
|
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||||
|
Contributor:
|
||||||
|
|
||||||
|
* **(a)** for any code that a Contributor has removed from Covered Software;
|
||||||
|
or
|
||||||
|
* **(b)** for infringements caused by: **(i)** Your and any other third party's
|
||||||
|
modifications of Covered Software, or **(ii)** the combination of its
|
||||||
|
Contributions with other software (except as part of its Contributor
|
||||||
|
Version); or
|
||||||
|
* **(c)** under Patent Claims infringed by Covered Software in the absence of
|
||||||
|
its Contributions.
|
||||||
|
|
||||||
|
This License does not grant any rights in the trademarks, service marks,
|
||||||
|
or logos of any Contributor (except as may be necessary to comply with
|
||||||
|
the notice requirements in Section 3.4).
|
||||||
|
|
||||||
|
#### 2.4. Subsequent Licenses
|
||||||
|
|
||||||
|
No Contributor makes additional grants as a result of Your choice to
|
||||||
|
distribute the Covered Software under a subsequent version of this
|
||||||
|
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||||
|
permitted under the terms of Section 3.3).
|
||||||
|
|
||||||
|
#### 2.5. Representation
|
||||||
|
|
||||||
|
Each Contributor represents that the Contributor believes its
|
||||||
|
Contributions are its original creation(s) or it has sufficient rights
|
||||||
|
to grant the rights to its Contributions conveyed by this License.
|
||||||
|
|
||||||
|
#### 2.6. Fair Use
|
||||||
|
|
||||||
|
This License is not intended to limit any rights You have under
|
||||||
|
applicable copyright doctrines of fair use, fair dealing, or other
|
||||||
|
equivalents.
|
||||||
|
|
||||||
|
#### 2.7. Conditions
|
||||||
|
|
||||||
|
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||||
|
in Section 2.1.
|
||||||
|
|
||||||
|
|
||||||
|
### 3. Responsibilities
|
||||||
|
|
||||||
|
#### 3.1. Distribution of Source Form
|
||||||
|
|
||||||
|
All distribution of Covered Software in Source Code Form, including any
|
||||||
|
Modifications that You create or to which You contribute, must be under
|
||||||
|
the terms of this License. You must inform recipients that the Source
|
||||||
|
Code Form of the Covered Software is governed by the terms of this
|
||||||
|
License, and how they can obtain a copy of this License. You may not
|
||||||
|
attempt to alter or restrict the recipients' rights in the Source Code
|
||||||
|
Form.
|
||||||
|
|
||||||
|
#### 3.2. Distribution of Executable Form
|
||||||
|
|
||||||
|
If You distribute Covered Software in Executable Form then:
|
||||||
|
|
||||||
|
* **(a)** such Covered Software must also be made available in Source Code
|
||||||
|
Form, as described in Section 3.1, and You must inform recipients of
|
||||||
|
the Executable Form how they can obtain a copy of such Source Code
|
||||||
|
Form by reasonable means in a timely manner, at a charge no more
|
||||||
|
than the cost of distribution to the recipient; and
|
||||||
|
|
||||||
|
* **(b)** You may distribute such Executable Form under the terms of this
|
||||||
|
License, or sublicense it under different terms, provided that the
|
||||||
|
license for the Executable Form does not attempt to limit or alter
|
||||||
|
the recipients' rights in the Source Code Form under this License.
|
||||||
|
|
||||||
|
#### 3.3. Distribution of a Larger Work
|
||||||
|
|
||||||
|
You may create and distribute a Larger Work under terms of Your choice,
|
||||||
|
provided that You also comply with the requirements of this License for
|
||||||
|
the Covered Software. If the Larger Work is a combination of Covered
|
||||||
|
Software with a work governed by one or more Secondary Licenses, and the
|
||||||
|
Covered Software is not Incompatible With Secondary Licenses, this
|
||||||
|
License permits You to additionally distribute such Covered Software
|
||||||
|
under the terms of such Secondary License(s), so that the recipient of
|
||||||
|
the Larger Work may, at their option, further distribute the Covered
|
||||||
|
Software under the terms of either this License or such Secondary
|
||||||
|
License(s).
|
||||||
|
|
||||||
|
#### 3.4. Notices
|
||||||
|
|
||||||
|
You may not remove or alter the substance of any license notices
|
||||||
|
(including copyright notices, patent notices, disclaimers of warranty,
|
||||||
|
or limitations of liability) contained within the Source Code Form of
|
||||||
|
the Covered Software, except that You may alter any license notices to
|
||||||
|
the extent required to remedy known factual inaccuracies.
|
||||||
|
|
||||||
|
#### 3.5. Application of Additional Terms
|
||||||
|
|
||||||
|
You may choose to offer, and to charge a fee for, warranty, support,
|
||||||
|
indemnity or liability obligations to one or more recipients of Covered
|
||||||
|
Software. However, You may do so only on Your own behalf, and not on
|
||||||
|
behalf of any Contributor. You must make it absolutely clear that any
|
||||||
|
such warranty, support, indemnity, or liability obligation is offered by
|
||||||
|
You alone, and You hereby agree to indemnify every Contributor for any
|
||||||
|
liability incurred by such Contributor as a result of warranty, support,
|
||||||
|
indemnity or liability terms You offer. You may include additional
|
||||||
|
disclaimers of warranty and limitations of liability specific to any
|
||||||
|
jurisdiction.
|
||||||
|
|
||||||
|
|
||||||
|
### 4. Inability to Comply Due to Statute or Regulation
|
||||||
|
|
||||||
|
If it is impossible for You to comply with any of the terms of this
|
||||||
|
License with respect to some or all of the Covered Software due to
|
||||||
|
statute, judicial order, or regulation then You must: **(a)** comply with
|
||||||
|
the terms of this License to the maximum extent possible; and **(b)**
|
||||||
|
describe the limitations and the code they affect. Such description must
|
||||||
|
be placed in a text file included with all distributions of the Covered
|
||||||
|
Software under this License. Except to the extent prohibited by statute
|
||||||
|
or regulation, such description must be sufficiently detailed for a
|
||||||
|
recipient of ordinary skill to be able to understand it.
|
||||||
|
|
||||||
|
|
||||||
|
### 5. Termination
|
||||||
|
|
||||||
|
**5.1.** The rights granted under this License will terminate automatically
|
||||||
|
if You fail to comply with any of its terms. However, if You become
|
||||||
|
compliant, then the rights granted under this License from a particular
|
||||||
|
Contributor are reinstated **(a)** provisionally, unless and until such
|
||||||
|
Contributor explicitly and finally terminates Your grants, and **(b)** on an
|
||||||
|
ongoing basis, if such Contributor fails to notify You of the
|
||||||
|
non-compliance by some reasonable means prior to 60 days after You have
|
||||||
|
come back into compliance. Moreover, Your grants from a particular
|
||||||
|
Contributor are reinstated on an ongoing basis if such Contributor
|
||||||
|
notifies You of the non-compliance by some reasonable means, this is the
|
||||||
|
first time You have received notice of non-compliance with this License
|
||||||
|
from such Contributor, and You become compliant prior to 30 days after
|
||||||
|
Your receipt of the notice.
|
||||||
|
|
||||||
|
**5.2.** If You initiate litigation against any entity by asserting a patent
|
||||||
|
infringement claim (excluding declaratory judgment actions,
|
||||||
|
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||||
|
directly or indirectly infringes any patent, then the rights granted to
|
||||||
|
You by any and all Contributors for the Covered Software under Section
|
||||||
|
2.1 of this License shall terminate.
|
||||||
|
|
||||||
|
**5.3.** In the event of termination under Sections 5.1 or 5.2 above, all
|
||||||
|
end user license agreements (excluding distributors and resellers) which
|
||||||
|
have been validly granted by You or Your distributors under this License
|
||||||
|
prior to termination shall survive termination.
|
||||||
|
|
||||||
|
|
||||||
|
### 6. Disclaimer of Warranty
|
||||||
|
|
||||||
|
> Covered Software is provided under this License on an “as is”
|
||||||
|
> basis, without warranty of any kind, either expressed, implied, or
|
||||||
|
> statutory, including, without limitation, warranties that the
|
||||||
|
> Covered Software is free of defects, merchantable, fit for a
|
||||||
|
> particular purpose or non-infringing. The entire risk as to the
|
||||||
|
> quality and performance of the Covered Software is with You.
|
||||||
|
> Should any Covered Software prove defective in any respect, You
|
||||||
|
> (not any Contributor) assume the cost of any necessary servicing,
|
||||||
|
> repair, or correction. This disclaimer of warranty constitutes an
|
||||||
|
> essential part of this License. No use of any Covered Software is
|
||||||
|
> authorized under this License except under this disclaimer.
|
||||||
|
|
||||||
|
### 7. Limitation of Liability
|
||||||
|
|
||||||
|
> Under no circumstances and under no legal theory, whether tort
|
||||||
|
> (including negligence), contract, or otherwise, shall any
|
||||||
|
> Contributor, or anyone who distributes Covered Software as
|
||||||
|
> permitted above, be liable to You for any direct, indirect,
|
||||||
|
> special, incidental, or consequential damages of any character
|
||||||
|
> including, without limitation, damages for lost profits, loss of
|
||||||
|
> goodwill, work stoppage, computer failure or malfunction, or any
|
||||||
|
> and all other commercial damages or losses, even if such party
|
||||||
|
> shall have been informed of the possibility of such damages. This
|
||||||
|
> limitation of liability shall not apply to liability for death or
|
||||||
|
> personal injury resulting from such party's negligence to the
|
||||||
|
> extent applicable law prohibits such limitation. Some
|
||||||
|
> jurisdictions do not allow the exclusion or limitation of
|
||||||
|
> incidental or consequential damages, so this exclusion and
|
||||||
|
> limitation may not apply to You.
|
||||||
|
|
||||||
|
|
||||||
|
### 8. Litigation
|
||||||
|
|
||||||
|
Any litigation relating to this License may be brought only in the
|
||||||
|
courts of a jurisdiction where the defendant maintains its principal
|
||||||
|
place of business and such litigation shall be governed by laws of that
|
||||||
|
jurisdiction, without reference to its conflict-of-law provisions.
|
||||||
|
Nothing in this Section shall prevent a party's ability to bring
|
||||||
|
cross-claims or counter-claims.
|
||||||
|
|
||||||
|
|
||||||
|
### 9. Miscellaneous
|
||||||
|
|
||||||
|
This License represents the complete agreement concerning the subject
|
||||||
|
matter hereof. If any provision of this License is held to be
|
||||||
|
unenforceable, such provision shall be reformed only to the extent
|
||||||
|
necessary to make it enforceable. Any law or regulation which provides
|
||||||
|
that the language of a contract shall be construed against the drafter
|
||||||
|
shall not be used to construe this License against a Contributor.
|
||||||
|
|
||||||
|
|
||||||
|
### 10. Versions of the License
|
||||||
|
|
||||||
|
#### 10.1. New Versions
|
||||||
|
|
||||||
|
Mozilla Foundation is the license steward. Except as provided in Section
|
||||||
|
10.3, no one other than the license steward has the right to modify or
|
||||||
|
publish new versions of this License. Each version will be given a
|
||||||
|
distinguishing version number.
|
||||||
|
|
||||||
|
#### 10.2. Effect of New Versions
|
||||||
|
|
||||||
|
You may distribute the Covered Software under the terms of the version
|
||||||
|
of the License under which You originally received the Covered Software,
|
||||||
|
or under the terms of any subsequent version published by the license
|
||||||
|
steward.
|
||||||
|
|
||||||
|
#### 10.3. Modified Versions
|
||||||
|
|
||||||
|
If you create software not governed by this License, and you want to
|
||||||
|
create a new license for such software, you may create and use a
|
||||||
|
modified version of this License if you rename the license and remove
|
||||||
|
any references to the name of the license steward (except to note that
|
||||||
|
such modified license differs from this License).
|
||||||
|
|
||||||
|
#### 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses
|
||||||
|
|
||||||
|
If You choose to distribute Source Code Form that is Incompatible With
|
||||||
|
Secondary Licenses under the terms of this version of the License, the
|
||||||
|
notice described in Exhibit B of this License must be attached.
|
||||||
|
|
||||||
|
## Exhibit A - Source Code Form License Notice
|
||||||
|
|
||||||
|
This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
If it is not possible or desirable to put the notice in a particular
|
||||||
|
file, then You may include the notice in a location (such as a LICENSE
|
||||||
|
file in a relevant directory) where a recipient would be likely to look
|
||||||
|
for such a notice.
|
||||||
|
|
||||||
|
You may add additional accurate notices of copyright ownership.
|
||||||
|
|
||||||
|
## Exhibit B - “Incompatible With Secondary Licenses” Notice
|
||||||
|
|
||||||
|
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||||
|
defined by the Mozilla Public License, v. 2.0.
|
||||||
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop-application">
|
||||||
|
<id>notepostapp</id>
|
||||||
|
<metadata_license>MPL-2.0</metadata_license>
|
||||||
|
<project_license>MPL-2.0</project_license>
|
||||||
|
<name>NotePost</name>
|
||||||
|
<summary>Desktop client for NotePost</summary>
|
||||||
|
<description>
|
||||||
|
|
||||||
|
</description>
|
||||||
|
<launchable type="desktop-id">notepost.desktop</launchable>
|
||||||
|
<url type="homepage">https://netsyms.com/apps/notepost</url>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image>https://netsyms.com/data/uploads/apps/notepost/app/home.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<provides>
|
||||||
|
<id>notepost.desktop</id>
|
||||||
|
</provides>
|
||||||
|
</component>
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
@ -0,0 +1,93 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="512"
|
||||||
|
height="512"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 135.47 135.47"
|
||||||
|
id="svg926"
|
||||||
|
sodipodi:docname="logo.svg"
|
||||||
|
inkscape:version="0.92.3 (2405546, 2018-03-11)"
|
||||||
|
inkscape:export-filename="/home/skylar/Documents/Projects/Assets/NotePost/App/logo.png"
|
||||||
|
inkscape:export-xdpi="96"
|
||||||
|
inkscape:export-ydpi="96">
|
||||||
|
<metadata
|
||||||
|
id="metadata932">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs930" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1011"
|
||||||
|
id="namedview928"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="1.0413252"
|
||||||
|
inkscape:cx="229.93784"
|
||||||
|
inkscape:cy="198.05844"
|
||||||
|
inkscape:window-x="1920"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg926" />
|
||||||
|
<rect
|
||||||
|
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.26458984;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||||
|
id="rect963"
|
||||||
|
width="135.47"
|
||||||
|
height="135.47"
|
||||||
|
x="-6.1035155e-07"
|
||||||
|
y="-6.1035155e-07"
|
||||||
|
rx="26.458984"
|
||||||
|
ry="26.458984" />
|
||||||
|
<g
|
||||||
|
transform="translate(259.75 23.221)"
|
||||||
|
id="g924">
|
||||||
|
<g
|
||||||
|
transform="matrix(.26458 0 0 .26458 -259.75 -166.19)"
|
||||||
|
id="g922">
|
||||||
|
<g
|
||||||
|
transform="translate(9.006 -6.5066)"
|
||||||
|
id="g920">
|
||||||
|
<path
|
||||||
|
d="m60.228 615.52c-8.1253 0-14.666 6.5426-14.666 14.668v190.67c0 8.1253 6.5407 14.666 14.666 14.666h37.861v-59.871c0-8.1253 6.5426-14.666 14.668-14.666h105.37l0.1313-9.0918v-94.41c0-8.1253 6.5426-14.666 14.668-14.666h32.637v-12.627c0-8.1253-6.5407-14.668-14.666-14.668z"
|
||||||
|
fill="#e57373"
|
||||||
|
id="path914" />
|
||||||
|
<path
|
||||||
|
transform="translate(0 540.36)"
|
||||||
|
d="m243.09 111.68c-8.1253 0-14.668 6.5407-14.668 14.666v94.41h96.258c8.1253 0 14.666 6.5407 14.666 14.666v96.258h94.41c8.1253 0 14.666-6.5407 14.666-14.666v-190.67c0-8.1253-6.5407-14.666-14.666-14.666z"
|
||||||
|
fill="#81c784"
|
||||||
|
id="path916" />
|
||||||
|
<rect
|
||||||
|
x="108.26"
|
||||||
|
y="770.21"
|
||||||
|
width="220"
|
||||||
|
height="220"
|
||||||
|
rx="14.667"
|
||||||
|
ry="14.667"
|
||||||
|
fill="#ffee58"
|
||||||
|
id="rect918" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.0 KiB |
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# $1 is the binary location, $2 is the arch, $3 is the version
|
||||||
|
mkdir out
|
||||||
|
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
|
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
|
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
||||||
|
rsync -rv "$1" appimage/NotePost.AppDir/usr/lib/notepost
|
||||||
|
chmod +x appimage/NotePost.AppDir/AppRun
|
||||||
|
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
|
||||||
|
chmod +x appimagetool
|
||||||
|
./appimagetool appimage/NotePost.AppDir "out/NotePost_$2_$3.AppImage"
|
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# $1 is the app source location, $2 is the svg icon, $3 is the app version code, $4 is the build number
|
||||||
|
mkdir -p out
|
||||||
|
rm -rf debian/usr/share/notepost
|
||||||
|
mkdir -p debian/usr/share/notepost
|
||||||
|
mkdir -p debian/usr/share/doc/notepost
|
||||||
|
rsync -rv "$1" debian/usr/share/notepost
|
||||||
|
cp debian/DEBIAN/copyright debian/usr/share/doc/notepost/
|
||||||
|
sed -i "s/Version:\s[0-9.\-]\+/Version: $3+b$4/" debian/DEBIAN/control
|
||||||
|
cp "$2" debian/usr/share/notepost/logo.svg
|
||||||
|
dpkg-deb -b debian "out/notepost_$3+b${4}_all.deb"
|
@ -1,38 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# This script removes some stuff in `www/node_modules` that the app doesn't need to run.
|
|
||||||
# It removes about 6MB from the build size.
|
|
||||||
|
|
||||||
cd www/node_modules
|
|
||||||
rm -rf array-parallel
|
|
||||||
rm -rf codemirror
|
|
||||||
rm -rf codemirror-spell-checker
|
|
||||||
rm -rf dom7
|
|
||||||
rm -rf matches-selector
|
|
||||||
rm -rf path-to-regexp
|
|
||||||
rm -rf ssr-window
|
|
||||||
rm -rf template7
|
|
||||||
rm -rf throttleit
|
|
||||||
rm -rf tiny-emitter
|
|
||||||
rm -rf typo-js
|
|
||||||
|
|
||||||
cd @fortawesome/fontawesome-free
|
|
||||||
rm -rf js
|
|
||||||
rm -rf less
|
|
||||||
rm -rf scss
|
|
||||||
rm -rf sprites
|
|
||||||
rm -rf svgs
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
cd jquery
|
|
||||||
rm -rf src
|
|
||||||
rm -rf external
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
cd framework7
|
|
||||||
rm -rf components
|
|
||||||
rm -rf lazy-components
|
|
||||||
rm -rf less
|
|
||||||
rm -rf modules
|
|
||||||
rm -rf utils
|
|
||||||
|
|
||||||
echo "Cleanup finished"
|
|
@ -0,0 +1,7 @@
|
|||||||
|
cd www
|
||||||
|
yarn licenses generate-disclaimer > ../license-credits.md
|
||||||
|
cd ..
|
||||||
|
yarn licenses generate-disclaimer >> license-credits.md
|
||||||
|
|
||||||
|
cp www/pages/credits.template.html www/pages/credits.html
|
||||||
|
sed -e "/{{credits}}/r license-credits.md" -e "/{{credits}}/d" -i www/pages/credits.html
|
@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# This script removes some stuff in `www/node_modules` that the app doesn't need to run.
|
||||||
|
|
||||||
|
echo "Removing bloat in node_modules..."
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
DIR="$(pwd)/www/node_modules"
|
||||||
|
|
||||||
|
cd $DIR
|
||||||
|
rm -rf array-parallel
|
||||||
|
rm -rf codemirror
|
||||||
|
rm -rf codemirror-spell-checker
|
||||||
|
rm -rf dom7
|
||||||
|
rm -rf matches-selector
|
||||||
|
rm -rf path-to-regexp
|
||||||
|
rm -rf ssr-window
|
||||||
|
rm -rf template7
|
||||||
|
rm -rf throttleit
|
||||||
|
rm -rf tiny-emitter
|
||||||
|
rm -rf typo-js
|
||||||
|
rm -rf .bin
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd @fortawesome/fontawesome-free
|
||||||
|
rm -rf {js,less,metadata,scss,sprites,svgs}
|
||||||
|
find css -type f -not -name 'all.min.css' -delete
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd jquery
|
||||||
|
rm -rf src
|
||||||
|
rm -rf external
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd framework7
|
||||||
|
rm -rf components
|
||||||
|
rm -rf lazy-components
|
||||||
|
rm -rf less
|
||||||
|
rm -rf modules
|
||||||
|
rm -rf utils
|
||||||
|
rm -f framework7.*
|
||||||
|
rm -f framework7-lite.*
|
||||||
|
find css -type f -not -name 'framework7.bundle.min.css' -delete
|
||||||
|
find js -type f -not -name 'framework7.bundle.min.js' -delete
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd jquery
|
||||||
|
rm -rf src
|
||||||
|
rm -rf external
|
||||||
|
find dist -type f -not -name 'jquery.min.js' -delete
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd material-design-icons
|
||||||
|
# Remove everything except the icon font and license, but also exclude the
|
||||||
|
# current and parent folder (. , ..) so rm won't complain about refusing
|
||||||
|
# to delete the whole filesystem
|
||||||
|
find . -maxdepth 1 -not -name '.' -not -name 'LICENSE' -not -name 'iconfont' -exec rm -rf {} \;
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd marked
|
||||||
|
rm -rf {bin,lib,man,src}
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
cd shufflejs
|
||||||
|
rm -rf src
|
||||||
|
find dist -type f -not -name 'shuffle.min.js' -delete
|
||||||
|
cd $DIR
|
||||||
|
|
||||||
|
echo "Cleanup finished"
|
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
background-color: var(--f7-page-bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.page[data-name="editor"] .page-content textarea#note {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
resize: none;
|
||||||
|
border: none;
|
||||||
|
overflow: auto;
|
||||||
|
outline: none;
|
||||||
|
box-shadow: none;
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 0.75rem;
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,39 +0,0 @@
|
|||||||
@font-face {
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
src:
|
|
||||||
/* from https://fonts.gstatic.com/s/materialicons/v41/flUhRq6tzZclQEJ-Vdg-IuiaDsNY.eot */
|
|
||||||
url('Material_Icons.eot?#iefix') format('embedded-opentype'),
|
|
||||||
/* from https://fonts.gstatic.com/s/materialicons/v41/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff */
|
|
||||||
url('Material_Icons.woff') format('woff'),
|
|
||||||
/* from https://fonts.gstatic.com/s/materialicons/v41/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 */
|
|
||||||
url('Material_Icons.woff2') format('woff2'),
|
|
||||||
/* from https://fonts.gstatic.com/l/font?kit=flUhRq6tzZclQEJ-Vdg-IuiaDsNb&skey=4fbfe4498ec2960a&v=v41#MaterialIcons */
|
|
||||||
url('Material_Icons.svg#MaterialIcons') format('svg'),
|
|
||||||
/* from https://fonts.gstatic.com/s/materialicons/v41/flUhRq6tzZclQEJ-Vdg-IuiaDsNZ.ttf */
|
|
||||||
url('Material_Icons.ttf') format('truetype');
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.material-icons {
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
font-size: 24px; /* Preferred icon size */
|
|
||||||
display: inline-block;
|
|
||||||
line-height: 1;
|
|
||||||
text-transform: none;
|
|
||||||
letter-spacing: normal;
|
|
||||||
word-wrap: normal;
|
|
||||||
white-space: nowrap;
|
|
||||||
direction: ltr;
|
|
||||||
|
|
||||||
/* Support for all WebKit browsers. */
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
/* Support for Safari and Chrome. */
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
|
|
||||||
/* Support for Firefox. */
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
Binary file not shown.
@ -1,51 +0,0 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<defs >
|
|
||||||
<font id="MaterialIcons" horiz-adv-x="512" ><font-face
|
|
||||||
font-family="Material Icons"
|
|
||||||
units-per-em="512"
|
|
||||||
panose-1="2 0 5 3 0 0 0 0 0 0"
|
|
||||||
ascent="512"
|
|
||||||
descent="0"
|
|
||||||
alphabetic="0" />
|
|
||||||
<glyph unicode="0" d="" />
|
|
||||||
<glyph unicode="1" d="" />
|
|
||||||
<glyph unicode="2" d="" />
|
|
||||||
<glyph unicode="3" d="" />
|
|
||||||
<glyph unicode="4" d="" />
|
|
||||||
<glyph unicode="5" d="" />
|
|
||||||
<glyph unicode="6" d="" />
|
|
||||||
<glyph unicode="7" d="" />
|
|
||||||
<glyph unicode="8" d="" />
|
|
||||||
<glyph unicode="9" d="" />
|
|
||||||
<glyph unicode="_" d="" />
|
|
||||||
<glyph unicode="a" d="" />
|
|
||||||
<glyph unicode="b" d="" />
|
|
||||||
<glyph unicode="c" d="" />
|
|
||||||
<glyph unicode="d" d="" />
|
|
||||||
<glyph unicode="e" d="" />
|
|
||||||
<glyph unicode="f" d="" />
|
|
||||||
<glyph unicode="g" d="" />
|
|
||||||
<glyph unicode="h" d="" />
|
|
||||||
<glyph unicode="i" d="" />
|
|
||||||
<glyph unicode="j" d="" />
|
|
||||||
<glyph unicode="k" d="" />
|
|
||||||
<glyph unicode="l" d="" />
|
|
||||||
<glyph unicode="m" d="" />
|
|
||||||
<glyph unicode="n" d="" />
|
|
||||||
<glyph unicode="o" d="" />
|
|
||||||
<glyph unicode="p" d="" />
|
|
||||||
<glyph unicode="q" d="" />
|
|
||||||
<glyph unicode="r" d="" />
|
|
||||||
<glyph unicode="s" d="" />
|
|
||||||
<glyph unicode="t" d="" />
|
|
||||||
<glyph unicode="u" d="" />
|
|
||||||
<glyph unicode="v" d="" />
|
|
||||||
<glyph unicode="w" d="" />
|
|
||||||
<glyph unicode="x" d="" />
|
|
||||||
<glyph unicode="y" d="" />
|
|
||||||
<glyph unicode="z" d="" />
|
|
||||||
</font>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,92 +0,0 @@
|
|||||||
/*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var save_in_progress = false;
|
|
||||||
|
|
||||||
function saveme(callback) {
|
|
||||||
if (save_in_progress) {
|
|
||||||
console.log("Warning: save already in progress, doing nothing.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
app.toast.create({
|
|
||||||
text: '<i class="fas fa-sync fa-spin"></i> Saving...',
|
|
||||||
closeTimeout: 2 * 60 * 1000 // two whole minutes should be enough for *any* connection.
|
|
||||||
}).open();
|
|
||||||
save_in_progress = true;
|
|
||||||
sync(); // update textareas with correct content
|
|
||||||
|
|
||||||
var noteid = $("#note_content").data("noteid");
|
|
||||||
var note = new Note();
|
|
||||||
if (noteid != "") {
|
|
||||||
note = NOTES.get(noteid);
|
|
||||||
if (note.getSyncStatus() != "LOCAL_ONLY") {
|
|
||||||
note.setSyncStatus("LOCAL_EDITED");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
note.setText($("#note_content").val());
|
|
||||||
note.setModified();
|
|
||||||
NOTES.set(note);
|
|
||||||
NOTES.syncAll(function () {
|
|
||||||
app.toast.create({
|
|
||||||
text: '<i class="fas fa-check"></i> Note saved.',
|
|
||||||
closeTimeout: 3000
|
|
||||||
}).open();
|
|
||||||
$("#orig_content").val(note.content);
|
|
||||||
save_in_progress = false;
|
|
||||||
if (typeof callback == "function") {
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
}, function () {
|
|
||||||
app.toast.create({
|
|
||||||
text: '<i class="fas fa-save"></i> Note saved locally.',
|
|
||||||
closeTimeout: 3000
|
|
||||||
}).open();
|
|
||||||
$("#orig_content").val(note.content);
|
|
||||||
save_in_progress = false;
|
|
||||||
if (typeof callback == "function") {
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function init() {
|
|
||||||
document.getElementById("noteframe").contentWindow.initEditor($("#note_content").val());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the text from the editor iframe and put it in the hidden textarea
|
|
||||||
* @returns {undefined}
|
|
||||||
*/
|
|
||||||
function sync() {
|
|
||||||
$("#note_content").val(document.getElementById("noteframe").contentWindow.getMarkdown());
|
|
||||||
}
|
|
||||||
|
|
||||||
function exiteditor() {
|
|
||||||
sync();
|
|
||||||
if ($("#note_content").val() == "" || $("#note_content").val() === $("#orig_content").val()) {
|
|
||||||
router.back({force: true, ignoreCache: true, reload: true});
|
|
||||||
} else {
|
|
||||||
saveme(function () {
|
|
||||||
router.back({force: true, ignoreCache: true, reload: true});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$(window).bind('keydown', function (event) {
|
|
||||||
if (event.ctrlKey || event.metaKey) {
|
|
||||||
switch (String.fromCharCode(event.which).toLowerCase()) {
|
|
||||||
case 's':
|
|
||||||
event.preventDefault();
|
|
||||||
sync();
|
|
||||||
saveme();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
$("#noteframe").on("load", function () {
|
|
||||||
init();
|
|
||||||
});
|
|
@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"name": "com.netsyms.NotePostApp",
|
"name": "com.netsyms.NotePostApp",
|
||||||
"displayName": "NotePost",
|
"displayName": "NotePost",
|
||||||
"version": "1.2.0",
|
"version": "1.3.2",
|
||||||
"description": "A cross-platform client app for NotePost.",
|
"description": "A cross-platform client app for NotePost.",
|
||||||
"author": "Netsyms Technologies",
|
"author": "Netsyms Technologies",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.6.3",
|
"framework7": "^5.7.12",
|
||||||
"easymde": "^2.4.2",
|
"jquery": "^3.5.1",
|
||||||
"framework7": "^3.6.5",
|
"marked": "^1.1.1",
|
||||||
"jquery": "^3.3.1",
|
"shufflejs": "^5.2.3",
|
||||||
"marked": "^0.6.0",
|
"@fortawesome/fontawesome-free": "^5.14.0",
|
||||||
"shufflejs": "^5.2.1"
|
"material-design-icons": "^3.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,40 @@
|
|||||||
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
<div class="page" data-name="credits">
|
||||||
|
|
||||||
|
<div class="navbar">
|
||||||
|
<div class="navbar-bg"></div>
|
||||||
|
<div class="navbar-inner">
|
||||||
|
<div class="left">
|
||||||
|
<a href="#" class="link icon-only back">
|
||||||
|
<i class="icon icon-back"></i>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="title">Open Source</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="page-content">
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<p>This program is licensed under the Mozilla Public License 2.0.
|
||||||
|
To get the source code, visit https://source.netsyms.com/Apps/NotePostApp.
|
||||||
|
<br>
|
||||||
|
This application relies on and is bundled with third-party code.
|
||||||
|
See below for the their licenses and where to find source code.
|
||||||
|
It is likely that not all of the listed third-party code is present
|
||||||
|
on your system; some of it is platform-specific and not included
|
||||||
|
in all builds.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<h2>Third Party Code and Assets</h2>
|
||||||
|
<pre style="white-space: pre-line; overflow-wrap: break-word;">
|
||||||
|
{{credits}}
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
@ -1,84 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<!--
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
-->
|
|
||||||
<title>Editor</title>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="../node_modules/@fortawesome/fontawesome-free/css/all.min.css">
|
|
||||||
<link rel="stylesheet" href="../node_modules/easymde/dist/easymde.min.css">
|
|
||||||
<script src="../node_modules/easymde/dist/easymde.min.js"></script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
margin: 0px;
|
|
||||||
font-family: Roboto, Noto, Helvetica, Arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CodeMirror {
|
|
||||||
border: none;
|
|
||||||
margin-top: 45px;
|
|
||||||
height: calc(100vh - 45px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.editor-toolbar {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: 99999;
|
|
||||||
background-color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 0px;
|
|
||||||
/* Following lines are from Framework7 .elevation-2 */
|
|
||||||
-webkit-box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);
|
|
||||||
box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);
|
|
||||||
/* end Framework7 code */
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<textarea id="note"></textarea>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var easymde;
|
|
||||||
function initEditor(markdown) {
|
|
||||||
document.getElementById('note').value = markdown;
|
|
||||||
easymde = new EasyMDE({
|
|
||||||
element: document.getElementById("note"),
|
|
||||||
autoDownloadFontAwesome: false,
|
|
||||||
autofocus: true,
|
|
||||||
forceSync: true,
|
|
||||||
status: false,
|
|
||||||
spellChecker: false,
|
|
||||||
toolbar: [
|
|
||||||
"bold",
|
|
||||||
"italic",
|
|
||||||
"heading",
|
|
||||||
"strikethrough",
|
|
||||||
"|",
|
|
||||||
"quote",
|
|
||||||
"unordered-list",
|
|
||||||
"ordered-list",
|
|
||||||
"horizontal-rule"
|
|
||||||
]
|
|
||||||
});
|
|
||||||
|
|
||||||
window.addEventListener('keydown', function (event) {
|
|
||||||
if (event.ctrlKey || event.metaKey) {
|
|
||||||
switch (String.fromCharCode(event.which).toLowerCase()) {
|
|
||||||
case 's':
|
|
||||||
event.preventDefault();
|
|
||||||
window.parent.sync();
|
|
||||||
window.parent.saveme();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function getMarkdown() {
|
|
||||||
return document.getElementById('note').value;
|
|
||||||
}
|
|
||||||
</script>
|
|
@ -1,152 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<!--
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
-->
|
|
||||||
<title>Editor</title>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="../node_modules/@fortawesome/fontawesome-free/css/all.min.css">
|
|
||||||
<script src="../js/markdowneditor.js"></script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
html, body {
|
|
||||||
margin: 0px;
|
|
||||||
font-family: Roboto, Noto, Helvetica, Arial, sans-serif;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.editor-toolbar {
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
left: 0;
|
|
||||||
height: 2.5rem;
|
|
||||||
z-index: 99999;
|
|
||||||
background-color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 0px;
|
|
||||||
/* Following lines are from Framework7 .elevation-2 */
|
|
||||||
-webkit-box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);
|
|
||||||
box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);
|
|
||||||
/* end Framework7 code */
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
padding-left: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar-button {
|
|
||||||
cursor: pointer;
|
|
||||||
line-height: 2.5rem;
|
|
||||||
padding-left: 0.25rem;
|
|
||||||
padding-right: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbar-spacer {
|
|
||||||
line-height: 2.5rem;
|
|
||||||
padding-left: 0.25rem;
|
|
||||||
padding-right: 0.25rem;
|
|
||||||
color: rgba(0,0,0,.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
#note {
|
|
||||||
width: 100%;
|
|
||||||
height: calc(100% - 2rem);
|
|
||||||
margin-top: 2.5rem;
|
|
||||||
resize: none;
|
|
||||||
border: none;
|
|
||||||
overflow: auto;
|
|
||||||
outline: none;
|
|
||||||
box-shadow: none;
|
|
||||||
font-size: 1rem;
|
|
||||||
padding: 0.75rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="editor-toolbar" id="toolbar">
|
|
||||||
<!--<div class="toolbar-button" data-before="**" data-after="**">
|
|
||||||
<i class="fas fa-bold fa-fw"></i>
|
|
||||||
</div>-->
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<textarea id="note"></textarea>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var editor;
|
|
||||||
function initEditor(markdown) {
|
|
||||||
document.getElementById('note').value = markdown;
|
|
||||||
editor = new MarkdownEditor(
|
|
||||||
document.getElementById('note'),
|
|
||||||
document.getElementById("toolbar"),
|
|
||||||
[
|
|
||||||
{
|
|
||||||
label: "Bold",
|
|
||||||
icon: "fas fa-bold",
|
|
||||||
before: "**",
|
|
||||||
after: "**"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Italic",
|
|
||||||
icon: "fas fa-italic",
|
|
||||||
before: "*",
|
|
||||||
after: "*"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Heading",
|
|
||||||
icon: "fas fa-heading",
|
|
||||||
linestart: "#",
|
|
||||||
padspace: true,
|
|
||||||
maximum: 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Strikethrough",
|
|
||||||
icon: "fas fa-strikethrough",
|
|
||||||
before: "~~",
|
|
||||||
after: "~~"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
spacer: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Quote",
|
|
||||||
icon: "fas fa-quote-left",
|
|
||||||
linestart: "> ",
|
|
||||||
padspace: false,
|
|
||||||
maximum: 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "Checklist",
|
|
||||||
icon: "fas fa-tasks",
|
|
||||||
linestart: "- [ ]",
|
|
||||||
padspace: true,
|
|
||||||
maximum: 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "List",
|
|
||||||
icon: "fas fa-list-ul",
|
|
||||||
linestart: "-",
|
|
||||||
padspace: true,
|
|
||||||
maximum: 1
|
|
||||||
}
|
|
||||||
]);
|
|
||||||
|
|
||||||
window.addEventListener('keydown', function (event) {
|
|
||||||
if (event.ctrlKey || event.metaKey) {
|
|
||||||
switch (String.fromCharCode(event.which).toLowerCase()) {
|
|
||||||
case 's':
|
|
||||||
event.preventDefault();
|
|
||||||
window.parent.sync();
|
|
||||||
window.parent.saveme();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function getMarkdown() {
|
|
||||||
return document.getElementById('note').value;
|
|
||||||
}
|
|
||||||
</script>
|
|
Loading…
Reference in New Issue