Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c567a2678a | ||
|
|
242b30cee0 | ||
|
|
6c9baf3cba | ||
|
|
534a2fded7 | ||
|
|
2fc6bebacc | ||
|
|
e761c5e0f6 | ||
|
|
1a00f4b844 | ||
|
|
ab7a049512 | ||
|
|
bffa6eb6ce | ||
|
|
cefde649ba | ||
|
|
89c41818f0 | ||
|
|
f53cef6262 | ||
|
|
3064c0ec2a | ||
|
|
1e268b3eae | ||
|
|
7228053261 | ||
|
|
d6d9340304 | ||
|
|
2bf4a0fe1f | ||
|
|
f9725cb06a | ||
|
|
3c20bcf6f2 | ||
|
|
03db847d48 | ||
|
|
8b71444341 | ||
|
|
ce20a86072 | ||
|
|
c768755ae4 | ||
|
|
ef3d799411 | ||
|
|
0ba4b85a91 | ||
|
|
ad016b2a8e | ||
|
|
18c7a82ce6 | ||
|
|
dd9fd8e345 | ||
|
|
1318f399e6 | ||
|
|
6ed768cacc | ||
|
|
7d01356be7 | ||
|
|
72e51b65a2 | ||
|
|
b282f789fb | ||
|
|
a578e27c82 | ||
|
|
e23b3172c9 | ||
|
|
5e0713fb3e | ||
|
|
aafa0f74d5 | ||
|
|
40000cfa44 | ||
|
|
3865eb8928 | ||
|
|
7bf26a55be | ||
|
|
15e5dacc51 | ||
|
|
2de87accf5 | ||
|
|
78764319c0 | ||
|
|
cf86af1284 | ||
|
|
22c86747a1 | ||
|
|
39b18ff6dd | ||
|
|
f833ec6960 | ||
|
|
cb4a0655a3 | ||
|
|
8354d921f3 | ||
|
|
d178803d86 | ||
|
|
4aadff8ab3 | ||
|
|
cf849d6412 | ||
|
|
5c4429858b | ||
|
|
996dad96c1 | ||
|
|
55c08373d0 | ||
|
|
aca9286d63 | ||
|
|
c7325e3c25 | ||
|
|
61b3bcbb4f | ||
|
|
758b5b54cf | ||
|
|
94c8bab4ec | ||
|
|
7ac3041493 | ||
|
|
4be41e47f4 | ||
|
|
f782bc11cc | ||
|
|
be8d64e29e | ||
|
|
e22a4de007 | ||
|
|
fde40f4f51 | ||
|
|
e2b19d72bc | ||
|
|
a0eac497c6 | ||
|
|
f2ef14c239 | ||
|
|
2b8514b495 | ||
|
|
e9e8d9881f | ||
|
|
3975401205 | ||
|
|
6da0952e5d | ||
|
|
45acee4617 | ||
|
|
ff5096cd47 | ||
|
|
4cd97e7ff8 | ||
|
|
df86411cb7 | ||
|
|
905501f22f | ||
|
|
c48e5f1dbf | ||
|
|
0a956f0234 | ||
|
|
ae73764173 | ||
|
|
2f8e5c4b33 | ||
|
|
a542afd194 | ||
|
|
a8c9347591 | ||
|
|
dc46f8f166 | ||
|
|
6eb3551665 | ||
|
|
3829b26cc8 | ||
|
|
973b71eb80 | ||
|
|
1b7fd6a00b | ||
|
|
daa1ee3e0c | ||
|
|
35eb23e3af | ||
|
|
0c16a5c991 | ||
|
|
926dd43ce6 | ||
|
|
499bf1ee14 | ||
|
|
9c507ba631 | ||
|
|
2f307e2803 | ||
|
|
2c21a34d07 | ||
|
|
2e3ecb1c4e | ||
|
|
e21bf82de1 | ||
|
|
d837d8950c | ||
|
|
b17e0d45ae | ||
|
|
f5af1ff193 | ||
|
|
e77513d44b | ||
|
|
556e249b78 | ||
|
|
ce0e83070a | ||
|
|
d0747b9f7b | ||
|
|
eb3ccf7b1e | ||
|
|
2e619d3fb8 | ||
|
|
9d128e505f | ||
|
|
77479a3e2d | ||
|
|
353bd1d5fe | ||
|
|
ed11dd0d22 | ||
|
|
189fc0e3f2 | ||
|
|
d5c7464570 | ||
|
|
ce4c803b97 | ||
|
|
c6dbe3830e | ||
|
|
09a1b85e86 | ||
|
|
82cc9ebb09 | ||
|
|
820a4081a1 | ||
|
|
09eb4bdde8 | ||
|
|
c9c6bf1cef | ||
|
|
ff67a6d3d2 | ||
|
|
c110c4bb5e | ||
|
|
e2be203088 | ||
|
|
316de3e875 | ||
|
|
22c92043a1 | ||
|
|
cd4388d574 | ||
|
|
9449606adc | ||
|
|
4101ae21d1 | ||
|
|
15ffade573 | ||
|
|
8148d42ba7 | ||
|
|
0f08e63b6e | ||
|
|
39b5ce8210 | ||
|
|
a364aa7dea | ||
|
|
e5fc770369 | ||
|
|
da05994d0f | ||
|
|
18ef1e88fd | ||
|
|
7e5f7dd30b | ||
|
|
decad8f65c | ||
|
|
6edaf16db8 | ||
|
|
cd8f5a1b94 | ||
|
|
586b0f152b | ||
|
|
d06ca5cdbd | ||
|
|
ae1f08e506 | ||
|
|
53ef0f83d6 | ||
|
|
efcf2680ec | ||
|
|
ba4f976e3b | ||
|
|
757b23356c | ||
|
|
fa90ff5bef | ||
|
|
60262291ce | ||
|
|
515e27b489 | ||
|
|
ed268053f3 | ||
|
|
f68d4d3e24 | ||
|
|
00dd18302f | ||
|
|
3cba22ae22 | ||
|
|
ac89af9850 | ||
|
|
83e17861bd | ||
|
|
67c5cbf77f | ||
|
|
1e69fabe2c | ||
|
|
9283c4ede2 | ||
|
|
95b9f1a1fd | ||
|
|
99bab6cae9 | ||
|
|
57490cbe92 | ||
|
|
6d8b49c36c | ||
|
|
b7a4efa6b6 | ||
|
|
dac21cf807 | ||
|
|
bacaadfd86 | ||
|
|
ea55bde395 | ||
|
|
b277b020f7 | ||
|
|
1415f21c51 | ||
|
|
576d81a7ec | ||
|
|
0e5fb5b468 | ||
|
|
8daf217795 | ||
|
|
29a55c1e37 | ||
|
|
964a423879 | ||
|
|
addd27108f | ||
|
|
dc91e9d7b7 | ||
|
|
c80e09d956 | ||
|
|
6a2681ab56 | ||
|
|
e5c98ba2d1 | ||
|
|
1b9b7a2671 | ||
|
|
1a3362f1cd | ||
|
|
9009667c5a | ||
|
|
a59023575b | ||
|
|
b2b1ca2934 | ||
|
|
afd1bbb58a | ||
|
|
de655a105a | ||
|
|
2c1c0b2544 | ||
|
|
ccf5318e4c | ||
|
|
7322abfd55 | ||
|
|
09518bbac2 | ||
|
|
b6a831ec91 | ||
|
|
378cd622c4 | ||
|
|
939e3e59cf | ||
|
|
22e82b1c7f | ||
|
|
e495917356 | ||
|
|
cf4b58cab2 | ||
|
|
0a96014484 | ||
|
|
3e8fd9d6e6 | ||
|
|
a06d29863d | ||
|
|
de24e23127 | ||
|
|
9417e1aa49 | ||
|
|
1f8d26a215 | ||
|
|
e4a0b60f1e | ||
|
|
19612e4236 | ||
|
|
af1e9c609b | ||
|
|
5d18c71475 | ||
|
|
20fc9ae343 | ||
|
|
2e8b9145b7 | ||
|
|
859dec8410 | ||
|
|
8f13d2c856 | ||
|
|
d2a226852b | ||
|
|
9c7a05f616 | ||
|
|
a6e59936e2 | ||
|
|
e3d95eafe1 | ||
|
|
e30568ecd5 | ||
|
|
9ac8ea8f93 | ||
|
|
1bac018961 | ||
|
|
1aba91d6f3 | ||
|
|
fd750558ac | ||
|
|
f2cb7d1e8b | ||
|
|
7870fb06a2 | ||
|
|
9adff7572e | ||
|
|
d50da89403 | ||
|
|
8ddfb93f7a | ||
|
|
b718aa9513 | ||
|
|
7782021c12 | ||
|
|
73b2a85eea | ||
|
|
d34f51a9d0 | ||
|
|
0a2abc080f | ||
|
|
9d1786ab67 | ||
|
|
fb6b4899cd | ||
|
|
0c7549819a | ||
|
|
fd8c58e837 | ||
|
|
5c74be339a | ||
|
|
c88c821002 | ||
|
|
f20f83b936 | ||
|
|
88cc3145c4 | ||
|
|
5d1bf5f624 | ||
|
|
9fa998709d | ||
|
|
0f90626a49 | ||
|
|
40108d5201 | ||
|
|
0dde03cf6f | ||
|
|
83fe8ea02b | ||
|
|
17876fc4b0 | ||
|
|
eca16c8474 | ||
|
|
ff0dfed2e8 | ||
|
|
db8e718002 | ||
|
|
f49f0424d5 | ||
|
|
998ddfd54b | ||
|
|
53e67de669 | ||
|
|
897bb0719a | ||
|
|
d051c84737 | ||
|
|
578df160d1 | ||
|
|
ac335a7a5c | ||
|
|
5868915f2c | ||
|
|
1054c81de3 | ||
|
|
79756602a7 | ||
|
|
8d5f446ccd | ||
|
|
b689d08e71 | ||
|
|
58ae90b574 | ||
|
|
e79444e5f7 | ||
|
|
45eb91765b | ||
|
|
933ede1220 | ||
|
|
506bd42201 | ||
|
|
b3ef0a856b | ||
|
|
732c17ad76 | ||
|
|
8ee22694f1 | ||
|
|
e3909c96bd | ||
|
|
ac97f1d61d | ||
|
|
61fbc69356 | ||
|
|
67cd659712 | ||
|
|
895a81799f | ||
|
|
097bf7d193 | ||
|
|
40cccfdfa9 | ||
|
|
71fc855940 | ||
|
|
9fc05d97d9 | ||
|
|
0a3dfa8d9a | ||
|
|
43016e389a | ||
|
|
8c4284a435 | ||
|
|
3f13c56fb9 | ||
|
|
73e2be8ac8 | ||
|
|
86f706dee7 | ||
|
|
1372a68ecf | ||
|
|
dc37ab3d7a | ||
|
|
e9de7d89fd | ||
|
|
2e4b165b42 | ||
|
|
d03b340985 | ||
|
|
90d579bbcb | ||
|
|
8067985edd | ||
|
|
2d5ed1bb83 | ||
|
|
85bcc107d4 | ||
|
|
3d4285d2dc | ||
|
|
c7282f8c04 | ||
|
|
e06612f5b3 | ||
|
|
e28655a64c | ||
|
|
1db21526e1 | ||
|
|
d709739dc0 | ||
|
|
d9a1e2fd0c | ||
|
|
ac86e415e9 | ||
|
|
5b89abb646 | ||
|
|
ed49b8b10f | ||
|
|
58d02cf4bc | ||
|
|
0ed884f5ad | ||
|
|
e278ebda5d | ||
|
|
103184c8da | ||
|
|
3159ddb0a6 | ||
|
|
fc7369f586 | ||
|
|
11c78eb85e | ||
|
|
5449728cc6 | ||
|
|
7d8e58fb4d | ||
|
|
1d46fd0279 | ||
|
|
cc99b267bb | ||
|
|
cf38f55291 | ||
|
|
1483740189 | ||
|
|
f5e91a6366 | ||
|
|
0e539c0a98 | ||
|
|
d1265c21ee | ||
|
|
9a855a7288 | ||
|
|
d331367223 | ||
|
|
156f1f50bc | ||
|
|
3acd66e5b3 | ||
|
|
876a7c1b1f | ||
|
|
444d7c006d | ||
|
|
10353c9a1d | ||
|
|
22e2be2dc8 | ||
|
|
d3e2436527 | ||
|
|
984f255d8a | ||
|
|
3f508da8e6 | ||
|
|
295ffd640b | ||
|
|
b344f9d7e4 | ||
|
|
ca49c83073 | ||
|
|
d28d74a77a | ||
|
|
1b52fde005 | ||
|
|
31d5320922 | ||
|
|
e871dad863 | ||
|
|
eee2db628a | ||
|
|
4c759913c7 | ||
|
|
4442cbae9d | ||
|
|
6d0d75ab1d | ||
|
|
3f2746cdb7 | ||
|
|
d28c696190 | ||
|
|
eba7510be8 | ||
|
|
d1442bfc93 | ||
|
|
743d941204 | ||
|
|
f82bd966e0 | ||
|
|
aedc9854c1 | ||
|
|
87c5b5bc6b | ||
|
|
9f50eff10a | ||
|
|
3b56e7ca2f | ||
|
|
f64c8082ff | ||
|
|
20be763dc1 | ||
|
|
391a956af8 | ||
|
|
2121a6a4f2 | ||
|
|
dc8f82961a | ||
|
|
d9015804c8 | ||
|
|
135bec17a8 | ||
|
|
35624786ab | ||
|
|
0688a360c7 |
@@ -1,138 +0,0 @@
|
|||||||
# ---> Node
|
|
||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
.pnpm-debug.log*
|
|
||||||
|
|
||||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
||||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
*.pid.lock
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
*.lcov
|
|
||||||
|
|
||||||
# nyc test coverage
|
|
||||||
.nyc_output
|
|
||||||
|
|
||||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# Bower dependency directory (https://bower.io/)
|
|
||||||
bower_components
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directories
|
|
||||||
node_modules/
|
|
||||||
jspm_packages/
|
|
||||||
|
|
||||||
# Snowpack dependency directory (https://snowpack.dev/)
|
|
||||||
web_modules/
|
|
||||||
|
|
||||||
# TypeScript cache
|
|
||||||
*.tsbuildinfo
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional eslint cache
|
|
||||||
.eslintcache
|
|
||||||
|
|
||||||
# Optional stylelint cache
|
|
||||||
.stylelintcache
|
|
||||||
|
|
||||||
# Microbundle cache
|
|
||||||
.rpt2_cache/
|
|
||||||
.rts2_cache_cjs/
|
|
||||||
.rts2_cache_es/
|
|
||||||
.rts2_cache_umd/
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
.node_repl_history
|
|
||||||
|
|
||||||
# Output of 'npm pack'
|
|
||||||
*.tgz
|
|
||||||
|
|
||||||
# Yarn Integrity file
|
|
||||||
.yarn-integrity
|
|
||||||
|
|
||||||
# dotenv environment variable files
|
|
||||||
.env
|
|
||||||
.env.development.local
|
|
||||||
.env.test.local
|
|
||||||
.env.production.local
|
|
||||||
.env.local
|
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
|
||||||
.cache
|
|
||||||
.parcel-cache
|
|
||||||
|
|
||||||
# Next.js build output
|
|
||||||
.next
|
|
||||||
out
|
|
||||||
|
|
||||||
# Nuxt.js build / generate output
|
|
||||||
.nuxt
|
|
||||||
dist
|
|
||||||
|
|
||||||
# Gatsby files
|
|
||||||
.cache/
|
|
||||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
||||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
||||||
# public
|
|
||||||
|
|
||||||
# vuepress build output
|
|
||||||
.vuepress/dist
|
|
||||||
|
|
||||||
# vuepress v2.x temp and cache directory
|
|
||||||
.temp
|
|
||||||
.cache
|
|
||||||
|
|
||||||
# vitepress build output
|
|
||||||
**/.vitepress/dist
|
|
||||||
|
|
||||||
# vitepress cache directory
|
|
||||||
**/.vitepress/cache
|
|
||||||
|
|
||||||
# Docusaurus cache and generated files
|
|
||||||
.docusaurus
|
|
||||||
|
|
||||||
# Serverless directories
|
|
||||||
.serverless/
|
|
||||||
|
|
||||||
# FuseBox cache
|
|
||||||
.fusebox/
|
|
||||||
|
|
||||||
# DynamoDB Local files
|
|
||||||
.dynamodb/
|
|
||||||
|
|
||||||
# TernJS port file
|
|
||||||
.tern-port
|
|
||||||
|
|
||||||
# Stores VSCode versions used for testing VSCode extensions
|
|
||||||
.vscode-test
|
|
||||||
|
|
||||||
# yarn v2
|
|
||||||
.yarn/cache
|
|
||||||
.yarn/unplugged
|
|
||||||
.yarn/build-state.yml
|
|
||||||
.yarn/install-state.gz
|
|
||||||
.pnp.*
|
|
||||||
|
|
||||||
@@ -0,0 +1,201 @@
|
|||||||
|
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.
|
||||||
@@ -1,2 +1,44 @@
|
|||||||
# im_webapp
|
# Single-page chat with Tinode
|
||||||
|
|
||||||
|
Single-page web chat application built with [Tinode](https://github.com/tinode/chat/). The app uses
|
||||||
|
[React](https://facebook.github.io/react/), Google's material design [fonts](https://www.google.com/fonts/)
|
||||||
|
and [icons](https://google.github.io/material-design-icons/#icon-font-for-the-web). The [Tinode javascript SDK](https://github.com/tinode/tinode-js/) has no external dependencies.
|
||||||
|
Overall it's a lot like open source WhatsApp or Telegram web apps.
|
||||||
|
|
||||||
|
The app is about 200KB minified and gzipped. That includes all dependencies (React, ReactDOM), fonts, graphics, css etc.
|
||||||
|
|
||||||
|
Although the app is generally usable, keep in mind that this is work in progress. Some bugs probably exist. The app was tested in the latest Chrome & Firefox only. NPM [is available](https://www.npmjs.com/package/tinode-webapp).
|
||||||
|
|
||||||
|
Try possibly newer or older version live at https://api.tinode.co/. For login and other instructions [see here](https://github.com/tinode/chat/#demo).
|
||||||
|
|
||||||
|
Demo avatar photos are from https://www.pexels.com/ under [CC0 license](https://www.pexels.com/photo-license/).
|
||||||
|
|
||||||
|
Background pattern from http://subtlepatterns.com/, commercial and non-commercial use allowed with attribution.
|
||||||
|
|
||||||
|
## Getting support
|
||||||
|
|
||||||
|
* Read [client-side](http://tinode.github.io/js-api/) and [server-side](https://github.com/tinode/chat/blob/master/docs/API.md) API documentation.
|
||||||
|
* For support, general questions, discussions post to [https://groups.google.com/d/forum/tinode](https://groups.google.com/d/forum/tinode).
|
||||||
|
* For bugs and feature requests [open an issue](https://github.com/tinode/webchat/issues/new).
|
||||||
|
|
||||||
|
## Missing functionality
|
||||||
|
|
||||||
|
* Previews not generated for videos, audio, links or docs.
|
||||||
|
* Browser push notifications are not implemented.
|
||||||
|
* No end-to-end encryption.
|
||||||
|
* Editing chat permissions is incomplete.
|
||||||
|
* Emoji support is weak.
|
||||||
|
|
||||||
|
## Responsive design
|
||||||
|
|
||||||
|
### Desktop screenshot
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<img src="web-desktop-2.png" alt="Desktop web: full app" width=866 />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
### Mobile screenshots
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<kbd><img src="web-mob-contacts-1.png" alt="Mobile web: contacts" width=323 /></kbd> <kbd><img src="web-mob-chat-1.png" alt="Mobile web: chat" width=323 /></kbd> <kbd><img src="web-mob-info-1.png" alt="Mobile web: topic info" width=323 /></kbd> <kbd><img src="web-mob-new-chat-1.png" alt="Mobile web: start new chat" width=323 /></kbd>
|
||||||
|
</p>
|
||||||
|
|||||||
|
After Width: | Height: | Size: 29 KiB |
@@ -0,0 +1,305 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<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:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="192"
|
||||||
|
height="192"
|
||||||
|
viewBox="0 0 192 192"
|
||||||
|
id="svg2"
|
||||||
|
version="1.1"
|
||||||
|
inkscape:version="0.91 r13725"
|
||||||
|
sodipodi:docname="logo.svg"
|
||||||
|
inkscape:export-xdpi="120"
|
||||||
|
inkscape:export-ydpi="120">
|
||||||
|
<defs
|
||||||
|
id="defs4">
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
id="linearGradient16239">
|
||||||
|
<stop
|
||||||
|
style="stop-color:#000000;stop-opacity:0.25098041"
|
||||||
|
offset="0"
|
||||||
|
id="stop16241" />
|
||||||
|
<stop
|
||||||
|
style="stop-color:#ffffff;stop-opacity:0;"
|
||||||
|
offset="1"
|
||||||
|
id="stop16243" />
|
||||||
|
</linearGradient>
|
||||||
|
<linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient16239"
|
||||||
|
id="linearGradient16249"
|
||||||
|
x1="102.81445"
|
||||||
|
y1="97.075966"
|
||||||
|
x2="219.01871"
|
||||||
|
y2="170.4807"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="matrix(1.293059,0,0,1.0059594,-43.958501,0.80696392)" />
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter16588">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.25098"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood16590" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="in"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite16592" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="0"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur16594" />
|
||||||
|
<feOffset
|
||||||
|
dx="-0"
|
||||||
|
dy="-1"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset16596" />
|
||||||
|
<feComposite
|
||||||
|
in="SourceGraphic"
|
||||||
|
in2="offset"
|
||||||
|
operator="over"
|
||||||
|
result="fbSourceGraphic"
|
||||||
|
id="feComposite16598" />
|
||||||
|
<feColorMatrix
|
||||||
|
result="fbSourceGraphicAlpha"
|
||||||
|
in="fbSourceGraphic"
|
||||||
|
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
|
||||||
|
id="feColorMatrix4300" />
|
||||||
|
<feFlood
|
||||||
|
id="feFlood4302"
|
||||||
|
flood-opacity="0.25098"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
result="flood"
|
||||||
|
in="fbSourceGraphic" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite4304"
|
||||||
|
in2="fbSourceGraphic"
|
||||||
|
in="flood"
|
||||||
|
operator="in"
|
||||||
|
result="composite1" />
|
||||||
|
<feGaussianBlur
|
||||||
|
id="feGaussianBlur4306"
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="0"
|
||||||
|
result="blur" />
|
||||||
|
<feOffset
|
||||||
|
id="feOffset4308"
|
||||||
|
dx="0"
|
||||||
|
dy="-3"
|
||||||
|
result="offset" />
|
||||||
|
<feComposite
|
||||||
|
id="feComposite4310"
|
||||||
|
in2="offset"
|
||||||
|
in="fbSourceGraphic"
|
||||||
|
operator="over"
|
||||||
|
result="composite2" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter4539">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.196078"
|
||||||
|
flood-color="rgb(255,255,255)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood4541" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="out"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite4543" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="0"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur4545" />
|
||||||
|
<feOffset
|
||||||
|
dx="0"
|
||||||
|
dy="2"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset4547" />
|
||||||
|
<feComposite
|
||||||
|
in="offset"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="atop"
|
||||||
|
result="composite2"
|
||||||
|
id="feComposite4549" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter4779">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.196078"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood4781" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="out"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite4783" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="0"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur4785" />
|
||||||
|
<feOffset
|
||||||
|
dx="0"
|
||||||
|
dy="-2"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset4787" />
|
||||||
|
<feComposite
|
||||||
|
in="offset"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="atop"
|
||||||
|
result="composite2"
|
||||||
|
id="feComposite4789" />
|
||||||
|
</filter>
|
||||||
|
<filter
|
||||||
|
style="color-interpolation-filters:sRGB;"
|
||||||
|
inkscape:label="Drop Shadow"
|
||||||
|
id="filter4791">
|
||||||
|
<feFlood
|
||||||
|
flood-opacity="0.196078"
|
||||||
|
flood-color="rgb(0,0,0)"
|
||||||
|
result="flood"
|
||||||
|
id="feFlood4793" />
|
||||||
|
<feComposite
|
||||||
|
in="flood"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="out"
|
||||||
|
result="composite1"
|
||||||
|
id="feComposite4795" />
|
||||||
|
<feGaussianBlur
|
||||||
|
in="composite1"
|
||||||
|
stdDeviation="0"
|
||||||
|
result="blur"
|
||||||
|
id="feGaussianBlur4797" />
|
||||||
|
<feOffset
|
||||||
|
dx="0"
|
||||||
|
dy="-2"
|
||||||
|
result="offset"
|
||||||
|
id="feOffset4799" />
|
||||||
|
<feComposite
|
||||||
|
in="offset"
|
||||||
|
in2="SourceGraphic"
|
||||||
|
operator="atop"
|
||||||
|
result="composite2"
|
||||||
|
id="feComposite4801" />
|
||||||
|
</filter>
|
||||||
|
</defs>
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="4.1822917"
|
||||||
|
inkscape:cx="39.691158"
|
||||||
|
inkscape:cy="95.079953"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer6"
|
||||||
|
showgrid="false"
|
||||||
|
units="px"
|
||||||
|
inkscape:window-width="1680"
|
||||||
|
inkscape:window-height="1005"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="1"
|
||||||
|
inkscape:window-maximized="1" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<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>
|
||||||
|
<g
|
||||||
|
style="display:inline"
|
||||||
|
inkscape:label="Colors copy"
|
||||||
|
id="g16151"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:#fc5d3e;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4779)"
|
||||||
|
d="M 14.101562,64 A 87.999993,87.924608 0 0 0 8,95.923828 C 7.98792,140.37931 26.484895,166.06204 9.8632812,175.74609 -2.8697567,183.16463 53.015901,184.00441 80,183.99414 L 80,64 14.101562,64 Z"
|
||||||
|
id="rect16153"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:#45ae49;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4791)"
|
||||||
|
d="m 80,64 0,119.99414 c 8.240743,-0.003 14.054688,-0.0801 14.054688,-0.0801 L 96,183.84961 A 87.999993,87.924608 0 0 0 184,95.923828 87.999993,87.924608 0 0 0 177.99023,64 L 80,64 Z"
|
||||||
|
id="rect16157"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:#2d526b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter4539)"
|
||||||
|
d="M 96,8 A 87.999993,87.924608 0 0 0 9.5195312,80 L 182.49805,80 A 87.999993,87.924608 0 0 0 96,8 Z"
|
||||||
|
id="rect16159"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:label="Letter t"
|
||||||
|
id="g16167"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
style="display:inline">
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer6"
|
||||||
|
inkscape:label="Shadow"
|
||||||
|
style="display:inline;opacity:0.5">
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:url(#linearGradient16249);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||||
|
d="M 88.001953,40.974609 79.402344,153.7832 119.19336,180.72266 c 34.16846,-9.36841 59.38095,-38.29738 63.9707,-73.40039 z"
|
||||||
|
id="rect16225"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="ccccc" />
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
sodipodi:linespacing="125%"
|
||||||
|
id="text16169"
|
||||||
|
y="153.19533"
|
||||||
|
x="53.125"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:160.00001526px;line-height:125%;font-family:Arial;-inkscape-font-specification:'Arial, Bold';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
xml:space="preserve"><tspan
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:160.00001526px;line-height:125%;font-family:Arial;-inkscape-font-specification:'Arial, Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1"
|
||||||
|
y="153.19533"
|
||||||
|
x="53.125"
|
||||||
|
id="tspan16171"
|
||||||
|
sodipodi:role="line">t</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:label="Bubble"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
transform="translate(0,-860.36222)"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter16588)"
|
||||||
|
d="M 0,0 0,192 192,192 192,0 0,0 Z m 96,8 a 87.999998,87.924613 0 0 1 88,87.923828 87.999998,87.924613 0 0 1 -88,87.925782 l -1.945312,0.0644 c 0,0 -100.813021,1.51613 -84.1914068,-8.16797 C 26.484896,166.06199 7.98792,140.37931 8,95.923828 A 87.999998,87.924613 0 0 1 96,8 Z"
|
||||||
|
transform="translate(0,860.36222)"
|
||||||
|
id="rect16110"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
inkscape:export-xdpi="120.00001"
|
||||||
|
inkscape:export-ydpi="120.00001" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
@@ -0,0 +1,58 @@
|
|||||||
|
<!--
|
||||||
|
DEVELOPMENT version of the web app.
|
||||||
|
It links to online babel transformer and non-babelified app script
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Tinode</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="application-name" content="TinodeWeb">
|
||||||
|
<meta name="description" content="Tinode instant messenger">
|
||||||
|
<meta name="application-url" content="https://api.tinode.co/">
|
||||||
|
<!-- Browser styling for Chrome, FF, Opera -->
|
||||||
|
<meta name="theme-color" content="#3949AB">
|
||||||
|
<!-- Ask Google not to offer page translation -->
|
||||||
|
<meta name="google" value="notranslate">
|
||||||
|
|
||||||
|
<link rel="manifest" href="manifest.json">
|
||||||
|
<link id="shortcut-icon" rel="shortcut icon" href="img/logo32x32.png" type="image/png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="192x192" href="img/logo192.png" type="image/png" />
|
||||||
|
<link rel="canonical" href="https://api.tinode.co/" />
|
||||||
|
<!-- Google's Roboto font -->
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,700&subset=latin,cyrillic"
|
||||||
|
rel="stylesheet" type="text/css" />
|
||||||
|
<!-- Google's material design icons -->
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||||
|
<!-- Styles for local elements -->
|
||||||
|
<link rel="stylesheet" href="css/base.css" />
|
||||||
|
<!-- ReactJs scripts -->
|
||||||
|
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
|
||||||
|
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
|
||||||
|
<script crossorigin src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
|
||||||
|
<!-- Firebase push notifications. -->
|
||||||
|
<script crossorigin src="https://unpkg.com/firebase@5/firebase-app.js"></script>
|
||||||
|
<script crossorigin src="https://unpkg.com/firebase@5/firebase-messaging.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="mountPoint"></div>
|
||||||
|
<script>
|
||||||
|
// Shim to imitate modules.
|
||||||
|
var module = {};
|
||||||
|
</script>
|
||||||
|
<!-- core tinode libraries -->
|
||||||
|
<script src="src/drafty.js"></script>
|
||||||
|
<script src="src/tinode.js"></script>
|
||||||
|
<!-- the application -->
|
||||||
|
<script type="text/babel" src="src/webapp.jsx"></script>
|
||||||
|
<script type="text/babel">
|
||||||
|
ReactDOM.render(
|
||||||
|
<TinodeWeb />,
|
||||||
|
document.getElementById('mountPoint')
|
||||||
|
);
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Tinode</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="application-name" content="TinodeWeb">
|
||||||
|
<meta name="description" content="Tinode instant messaging">
|
||||||
|
<meta name="application-url" content="https://api.tinode.co/">
|
||||||
|
<!-- Browser styling for Chrome, FF, Opera -->
|
||||||
|
<meta name="theme-color" content="#3949AB">
|
||||||
|
<!-- Ask Google not to offer page translation -->
|
||||||
|
<meta name="google" value="notranslate">
|
||||||
|
|
||||||
|
<link rel="manifest" href="manifest.json">
|
||||||
|
<link id="shortcut-icon" rel="shortcut icon" href="img/logo32x32.png" type="image/png" />
|
||||||
|
<link rel="apple-touch-icon" sizes="192x192" href="img/logo192.png" type="image/png" />
|
||||||
|
<link rel="canonical" href="https://api.tinode.co/" />
|
||||||
|
<!-- Google's Roboto font -->
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400italic,500,700&subset=latin,cyrillic"
|
||||||
|
rel="stylesheet" type="text/css" />
|
||||||
|
<!-- Google's material design icons -->
|
||||||
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||||
|
<!-- Styles for local elements -->
|
||||||
|
<link rel="stylesheet" href="css/base.min.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="mountPoint"></div>
|
||||||
|
<script src="umd/index.prod.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"short_name": "Tinode chat",
|
||||||
|
"name": "Tinode Web chat",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src":"img/logo96.png",
|
||||||
|
"sizes": "96x96",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src":"img/logo192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "img/logo.svg",
|
||||||
|
"type": "image/svg+xml",
|
||||||
|
"sizes": "512x512"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/",
|
||||||
|
"background_color": "silver",
|
||||||
|
"theme_color": "#3949AB",
|
||||||
|
"display": "standalone",
|
||||||
|
"gcm_sender_id": "103953800507"
|
||||||
|
}
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
{
|
||||||
|
"name": "tinode-webapp",
|
||||||
|
"description": "Tinode messenger for the web",
|
||||||
|
"version": "0.15.6-rc4",
|
||||||
|
"devDependencies": {
|
||||||
|
"babel-cli": "^6.26.0",
|
||||||
|
"babel-preset-env": "^1.7.0",
|
||||||
|
"babel-preset-react": "^6.24.1",
|
||||||
|
"cssnano": "^4.0.5",
|
||||||
|
"uglify-es": "^3.3.9"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/tinode/example-react-js.git"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "npm run build:babel && npm run build:prod && npm run build:dev && npm run build:css",
|
||||||
|
"build:prod": "browserify ./src/index.js --standalone Webapp | uglifyjs --compress --mangle > ./umd/index.prod.js",
|
||||||
|
"build:dev": "browserify ./src/index.js --standalone Webapp > ./umd/index.dev.js",
|
||||||
|
"build:babel": "babel ./src/webapp.jsx --presets react --out-file ./src/webapp.js",
|
||||||
|
"build:css": "postcss css/base.css > css/base.min.css",
|
||||||
|
"vers": "echo \"{\\\"version\\\": \\\"`node -p -e \"require('./package.json').version\"`\\\"}\" > version.json"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"src/index.js",
|
||||||
|
"src/webapp.jsx",
|
||||||
|
"umd/index.prod.js",
|
||||||
|
"umd/index.dev.js",
|
||||||
|
"audio/msg.mp3",
|
||||||
|
"css/base.css",
|
||||||
|
"css/base.min.css",
|
||||||
|
"img/ignasi_pattern_s.png",
|
||||||
|
"img/logo.svg",
|
||||||
|
"img/logo32x32.png",
|
||||||
|
"img/logo32x32a.png",
|
||||||
|
"img/logo96.png",
|
||||||
|
"img/logo192.png",
|
||||||
|
"index-dev.html",
|
||||||
|
"index.html",
|
||||||
|
"index.js",
|
||||||
|
"index.min.js",
|
||||||
|
"manifest.json",
|
||||||
|
"web-desktop-2.png",
|
||||||
|
"web-mob-chat-1.png",
|
||||||
|
"web-mob-contacts-1.png",
|
||||||
|
"web-mob-info-1.png",
|
||||||
|
"web-mob-new-chat-1.png"
|
||||||
|
],
|
||||||
|
"keywords": [
|
||||||
|
"chat",
|
||||||
|
"instant-messenger",
|
||||||
|
"message",
|
||||||
|
"messenger",
|
||||||
|
"react",
|
||||||
|
"web"
|
||||||
|
],
|
||||||
|
"main": "umd/index.prod.js",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/tinode/example-react-js/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/tinode/chat",
|
||||||
|
"email": "info@tinode.co",
|
||||||
|
"author": "Tinode Authors <info@tinode.co>",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"dependencies": {
|
||||||
|
"react": "^16.5.1",
|
||||||
|
"react-dom": "^16.4.2",
|
||||||
|
"tinode-sdk": "^0.15.6-rc3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
module.exports = {
|
||||||
|
plugins: [
|
||||||
|
require('cssnano')({
|
||||||
|
preset: 'default',
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
};
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
// Must be located at the root.
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
importScripts("https://unpkg.com/firebase@5.5.0/firebase-app.js");
|
||||||
|
importScripts("https://unpkg.com/firebase@5.5.0/firebase-messaging.js");
|
||||||
|
|
||||||
|
const FIREBASE_PUBLIC_API_KEY = "AIzaSyD6X4ULR-RUsobvs1zZ2bHdJuPz39q2tbQ";
|
||||||
|
const FIREBASE_SENDER_ID = "114126160546";
|
||||||
|
|
||||||
|
firebase.initializeApp({
|
||||||
|
apiKey: FIREBASE_PUBLIC_API_KEY,
|
||||||
|
messagingSenderId: FIREBASE_SENDER_ID
|
||||||
|
});
|
||||||
|
|
||||||
|
firebase.messaging().setBackgroundMessageHandler(function(payload) {
|
||||||
|
let title = payload.notification.title || "New message";
|
||||||
|
let options = {
|
||||||
|
body: payload.notification.body || "",
|
||||||
|
icon: '/img/logo96.png'
|
||||||
|
};
|
||||||
|
|
||||||
|
return self.registration.showNotification(title, options);
|
||||||
|
});
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
// Put all packages together.
|
||||||
|
// Used to generate umd/index.prod.js
|
||||||
|
|
||||||
|
var React = require('react');
|
||||||
|
var ReactDOM = require('react-dom');
|
||||||
|
var TinodeWeb = require('./webapp.js');
|
||||||
|
|
||||||
|
ReactDOM.render(
|
||||||
|
React.createElement(TinodeWeb, null),
|
||||||
|
document.getElementById('mountPoint')
|
||||||
|
);
|
||||||
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 256 KiB |
|
After Width: | Height: | Size: 152 KiB |
|
After Width: | Height: | Size: 201 KiB |
|
After Width: | Height: | Size: 164 KiB |