Compare commits
478 Commits
plugin_sys
...
media_play
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02a0c9b1e6 | ||
|
|
1a09f5e1dc | ||
|
|
91cd60a002 | ||
|
|
f436967779 | ||
|
|
f37224fc42 | ||
|
|
a737a21185 | ||
|
|
234c05a966 | ||
|
|
92b4795410 | ||
|
|
3e21e9a334 | ||
|
|
dc3e9178ef | ||
|
|
46ed1304f2 | ||
|
|
01cf0de974 | ||
|
|
abf5d16da9 | ||
|
|
f21199a7f3 | ||
|
|
cdf2873883 | ||
|
|
0390928fea | ||
|
|
efb3546675 | ||
|
|
169841dcc4 | ||
|
|
b780261153 | ||
|
|
c906354510 | ||
|
|
6487fde09d | ||
|
|
50f046ffc4 | ||
|
|
ded14ff8db | ||
|
|
64bbd93f54 | ||
|
|
9a30b69610 | ||
|
|
046433a947 | ||
|
|
42232fac84 | ||
|
|
245976f659 | ||
|
|
8d90cc234f | ||
|
|
5183767e43 | ||
|
|
ceb625dbeb | ||
|
|
7677d9cd7d | ||
|
|
92fe5e2362 | ||
|
|
717b8da1f8 | ||
|
|
fa50a8f5da | ||
|
|
05e9000087 | ||
|
|
eed3dc8617 | ||
|
|
de123ee586 | ||
|
|
89abc4395f | ||
|
|
4b0d230815 | ||
|
|
48e3811fbd | ||
|
|
e8d216016e | ||
|
|
751d0e0745 | ||
|
|
d0f22140fd | ||
|
|
d63378b4e3 | ||
|
|
a17b77b495 | ||
|
|
04814eefb5 | ||
|
|
da3e5acc94 | ||
|
|
ef53c42f0a | ||
|
|
c8b40bfdb2 | ||
|
|
dbb8b4d895 | ||
|
|
a654419881 | ||
|
|
497cf996e8 | ||
|
|
d5dbc421b1 | ||
|
|
f965708ad3 | ||
|
|
f001d197a8 | ||
|
|
d588bddfaa | ||
|
|
b780a62588 | ||
|
|
154b3573a4 | ||
|
|
7d2551c9c3 | ||
|
|
7644d05225 | ||
|
|
1851b0e7d1 | ||
|
|
76c4d99b87 | ||
|
|
849ef418a6 | ||
|
|
d733c0e010 | ||
|
|
a48e5cd4e8 | ||
|
|
03942a0073 | ||
|
|
0bc53dc063 | ||
|
|
56605beea2 | ||
|
|
8059d3fbd1 | ||
|
|
46c38ce0e0 | ||
|
|
dfa928c1f7 | ||
|
|
cb696276da | ||
|
|
5f80628a4d | ||
|
|
b77f868fc8 | ||
|
|
6ad9931e43 | ||
|
|
011a65f73b | ||
|
|
72ccc90ea0 | ||
|
|
f3e6c0da32 | ||
|
|
9308c3f38c | ||
|
|
c8a7c70838 | ||
|
|
40f6dcfb4c | ||
|
|
09785cf366 | ||
|
|
7279b508db | ||
|
|
d7996c9707 | ||
|
|
f0432e724a | ||
|
|
2f9bb7b8c0 | ||
|
|
f4b8b5b160 | ||
|
|
e2962322be | ||
|
|
c982e42999 | ||
|
|
eed52a5cfd | ||
|
|
6272a2eb4f | ||
|
|
69a4a895d4 | ||
|
|
511e4b1da0 | ||
|
|
f22e6f7204 | ||
|
|
3d4437037e | ||
|
|
d8745597e9 | ||
|
|
b279a9693c | ||
|
|
7fa483d27c | ||
|
|
9b64c1fbdb | ||
|
|
a37f84e988 | ||
|
|
96ac3e53e8 | ||
|
|
416a7b36e7 | ||
|
|
be4d53db62 | ||
|
|
7154ebbf5c | ||
|
|
4d65bfe3f8 | ||
|
|
0f0c50a178 | ||
|
|
9a2fd97f3c | ||
|
|
3f2fe79151 | ||
|
|
1ef380d995 | ||
|
|
c213d5056c | ||
|
|
62c67cb09f | ||
|
|
1dd6c7dde5 | ||
|
|
86bace70a5 | ||
|
|
ee912b24c7 | ||
|
|
3e65e1539b | ||
|
|
4ac2409318 | ||
|
|
d953f6bcab | ||
|
|
e0c2b62a6c | ||
|
|
544d879c0b | ||
|
|
28f75449d7 | ||
|
|
fdc84aa6bb | ||
|
|
592b9d95c6 | ||
|
|
4abdab5cdb | ||
|
|
858508bfa9 | ||
|
|
116413e78d | ||
|
|
031a26116c | ||
|
|
65962e26ce | ||
|
|
30913a5d58 | ||
|
|
61618fb37c | ||
|
|
a40ab434ca | ||
|
|
dbbd930f81 | ||
|
|
ff3ae3860e | ||
|
|
e1c4d1a417 | ||
|
|
e1180a1d84 | ||
|
|
e57444dc32 | ||
|
|
f36019c94d | ||
|
|
c67c8cefdf | ||
|
|
a9a69b046f | ||
|
|
98a75e67d8 | ||
|
|
7188eb9db4 | ||
|
|
52b13f6d56 | ||
|
|
8e2daef144 | ||
|
|
73571f1c48 | ||
|
|
3e00f6078d | ||
|
|
355ba2c278 | ||
|
|
4e08adb76f | ||
|
|
eb8284ecdb | ||
|
|
7be93b1fbb | ||
|
|
76cd1b15ac | ||
|
|
92bcb25ef7 | ||
|
|
bb8cac2b2f | ||
|
|
39d9e5fd8b | ||
|
|
5a94431b04 | ||
|
|
c639b0cbf5 | ||
|
|
f81579371b | ||
|
|
284dbdb362 | ||
|
|
5f05f85e41 | ||
|
|
61faec147b | ||
|
|
d552538541 | ||
|
|
8787d997b2 | ||
|
|
adde092ea6 | ||
|
|
a808281dd2 | ||
|
|
6103aad2a7 | ||
|
|
1e010ec004 | ||
|
|
a8e36f41d5 | ||
|
|
f45029b2e8 | ||
|
|
147f3ce073 | ||
|
|
ccc726f2ae | ||
|
|
6769026265 | ||
|
|
ce5276ba97 | ||
|
|
b480aae59b | ||
|
|
ce59d29bb3 | ||
|
|
fb5f20b308 | ||
|
|
cee42a1296 | ||
|
|
7f88f507df | ||
|
|
2b95bce272 | ||
|
|
6463af0c31 | ||
|
|
19a8b6c285 | ||
|
|
06ea5e1878 | ||
|
|
4451bbdd71 | ||
|
|
2f1cc71922 | ||
|
|
a3286a9896 | ||
|
|
83ca33611b | ||
|
|
4f41fb7b54 | ||
|
|
7151a48138 | ||
|
|
aaaa4e4569 | ||
|
|
872d2942b4 | ||
|
|
918b768634 | ||
|
|
8305eb4403 | ||
|
|
91e7c66f9e | ||
|
|
e392efc091 | ||
|
|
458ae3731d | ||
|
|
a647272cf0 | ||
|
|
72472c13c5 | ||
|
|
6225d20d1f | ||
|
|
67f0739d3c | ||
|
|
17d835d694 | ||
|
|
42799b0662 | ||
|
|
d20694e52c | ||
|
|
62feb7ff60 | ||
|
|
e29e745b96 | ||
|
|
340312fa80 | ||
|
|
006239913e | ||
|
|
f4bc8cc817 | ||
|
|
fb1f43bb17 | ||
|
|
24cef9995a | ||
|
|
31ffd8d7e9 | ||
|
|
873184f69b | ||
|
|
da6977569f | ||
|
|
8808b38d83 | ||
|
|
ad654e30d5 | ||
|
|
6f11487dba | ||
|
|
dd0d54d4d0 | ||
|
|
0fd0451c17 | ||
|
|
06f2fda946 | ||
|
|
c249333e2a | ||
|
|
9755a69be8 | ||
|
|
18e4f7ffe7 | ||
|
|
7cb60aaace | ||
|
|
fbcfe432c5 | ||
|
|
ed71726e87 | ||
|
|
31a0449e71 | ||
|
|
04450a6464 | ||
|
|
d0ec598ee4 | ||
|
|
ca8b05631a | ||
|
|
3223fd26f4 | ||
|
|
7847aeda75 | ||
|
|
7d02ddfdb5 | ||
|
|
5079cd9ff2 | ||
|
|
48f6412721 | ||
|
|
498e80f2d3 | ||
|
|
5269a4b7fa | ||
|
|
88a2f9c85c | ||
|
|
f20b8c2dc6 | ||
|
|
bd2081c3b6 | ||
|
|
6ac4131003 | ||
|
|
4c5e0447a9 | ||
|
|
545a2206d7 | ||
|
|
aa47ffb30f | ||
|
|
83b175bb5b | ||
|
|
04bfbec96b | ||
|
|
f950e9b03f | ||
|
|
a0f21796c2 | ||
|
|
9af8720199 | ||
|
|
53c432ce12 | ||
|
|
553bbfc818 | ||
|
|
7b0122a8db | ||
|
|
7ea4f570cb | ||
|
|
1e1f2582c5 | ||
|
|
7e2d512fde | ||
|
|
6b75485a1e | ||
|
|
0cfcc00912 | ||
|
|
496b19b3f1 | ||
|
|
9618591158 | ||
|
|
55b6394bf3 | ||
|
|
4a1dc2c80e | ||
|
|
cb66158b2d | ||
|
|
da04d3ce51 | ||
|
|
bcbce682d5 | ||
|
|
08f7521e1e | ||
|
|
3579e7eab5 | ||
|
|
5922c6b216 | ||
|
|
c558e729bd | ||
|
|
ca80101174 | ||
|
|
6124f483dc | ||
|
|
90d58e4e2b | ||
|
|
8cd37d602c | ||
|
|
e4ed26a961 | ||
|
|
bc57d229fa | ||
|
|
c53cd52b4d | ||
|
|
0d7ca97556 | ||
|
|
c1e2fd125c | ||
|
|
6856f84faa | ||
|
|
de091dfd64 | ||
|
|
cc07016b07 | ||
|
|
122f20905c | ||
|
|
5ff8beb82f | ||
|
|
ff6cd57873 | ||
|
|
4c948408c4 | ||
|
|
cc3a1d78da | ||
|
|
0cc544a95f | ||
|
|
03b7402dc5 | ||
|
|
dd5c400c24 | ||
|
|
abc702c21f | ||
|
|
cc3e1bdee8 | ||
|
|
10cfa773ca | ||
|
|
8dc42b1f41 | ||
|
|
6e7ea9a549 | ||
|
|
ed2ccdd504 | ||
|
|
6d2bad01e6 | ||
|
|
3847831d80 | ||
|
|
44462f4d71 | ||
|
|
4d20589773 | ||
|
|
52140ec1a9 | ||
|
|
08c2a7ad64 | ||
|
|
d19796f14c | ||
|
|
e4f53a48d2 | ||
|
|
154163bd6c | ||
|
|
4502414934 | ||
|
|
38e4bc61d9 | ||
|
|
86c471afcd | ||
|
|
e2698aaead | ||
|
|
8cfe4b0f82 | ||
|
|
fd90a490c0 | ||
|
|
16c5ffadc7 | ||
|
|
4a184721e4 | ||
|
|
1e3bd937ed | ||
|
|
0f6932f1e8 | ||
|
|
cab98776db | ||
|
|
fbc1e3ed3b | ||
|
|
805d16abda | ||
|
|
f133229287 | ||
|
|
8f4031572a | ||
|
|
d25fa796c0 | ||
|
|
089d6a5c9e | ||
|
|
3f83355d9f | ||
|
|
40380e3066 | ||
|
|
a6748bafb3 | ||
|
|
b52f6eb77c | ||
|
|
98c933fdb7 | ||
|
|
ece7ffadd6 | ||
|
|
591bceb8ef | ||
|
|
04cfd07176 | ||
|
|
db2282a351 | ||
|
|
0ec3d6ca9d | ||
|
|
442b7ce0d3 | ||
|
|
6a068a90b2 | ||
|
|
9a6f6c8b39 | ||
|
|
52d5c32950 | ||
|
|
de47cff86d | ||
|
|
a459174f98 | ||
|
|
75d5aa3a77 | ||
|
|
c254ca524f | ||
|
|
51934b8d8d | ||
|
|
a5dd686bb2 | ||
|
|
4cbfd04522 | ||
|
|
6d5d9323bd | ||
|
|
76063a6284 | ||
|
|
4119924e57 | ||
|
|
537336754c | ||
|
|
06f73919bd | ||
|
|
3f3e46081c | ||
|
|
68e4b4eaad | ||
|
|
9dcb4b51e5 | ||
|
|
8543849ea1 | ||
|
|
6ce5240e12 | ||
|
|
5bc25aefce | ||
|
|
b737ca7471 | ||
|
|
a5d7366f94 | ||
|
|
98f822d89c | ||
|
|
c33a8250ee | ||
|
|
adad406696 | ||
|
|
d82eec0fa4 | ||
|
|
c93f474547 | ||
|
|
0afd4a6234 | ||
|
|
f42786a840 | ||
|
|
1c1f044966 | ||
|
|
ad7a80e260 | ||
|
|
5e040c062c | ||
|
|
0cede5f90a | ||
|
|
8dc0deb2a4 | ||
|
|
1ca44b8f44 | ||
|
|
4ba9e60194 | ||
|
|
9d0bb4257f | ||
|
|
1a273b9bca | ||
|
|
d9e93cd6c4 | ||
|
|
5d39860707 | ||
|
|
60a6f714bc | ||
|
|
6eebeca259 | ||
|
|
995034c53f | ||
|
|
45a0981d05 | ||
|
|
3d8577a689 | ||
|
|
5292fc1402 | ||
|
|
03063f1137 | ||
|
|
b125a768b8 | ||
|
|
a721f170e4 | ||
|
|
76cd69ea16 | ||
|
|
45d4f277e2 | ||
|
|
fc2a52aa1a | ||
|
|
b3e5a1e48d | ||
|
|
45eb902030 | ||
|
|
456f7ac00c | ||
|
|
a93bda71fe | ||
|
|
0f9d92dd3d | ||
|
|
5543e9ef64 | ||
|
|
22dd613660 | ||
|
|
f7502fe34b | ||
|
|
8254206f44 | ||
|
|
3a57cfea02 | ||
|
|
71bf0437c1 | ||
|
|
eca4e24362 | ||
|
|
9a6efb7b37 | ||
|
|
4b666cbbd2 | ||
|
|
f8f46db910 | ||
|
|
f529adac99 | ||
|
|
3a52b9764b | ||
|
|
7e78d7716b | ||
|
|
0488c5c4cb | ||
|
|
921cc3b6c6 | ||
|
|
2a7aa28d4c | ||
|
|
7b3440ac4c | ||
|
|
958e5a80b7 | ||
|
|
3179117c62 | ||
|
|
d895463167 | ||
|
|
7e0e513051 | ||
|
|
4309c4f8e2 | ||
|
|
20b1c90574 | ||
|
|
7ff6ceb585 | ||
|
|
3dc3f334ec | ||
|
|
3476211f8b | ||
|
|
48e299916f | ||
|
|
35aebc9f52 | ||
|
|
cb3e1cf1e9 | ||
|
|
db509955f6 | ||
|
|
fb39899f8e | ||
|
|
f5d4bedc07 | ||
|
|
e710709c15 | ||
|
|
d74d6d9539 | ||
|
|
435e8dfc3b | ||
|
|
6c68459b34 | ||
|
|
2e75a63b26 | ||
|
|
c328996568 | ||
|
|
c648f19693 | ||
|
|
2caaf8e8c1 | ||
|
|
ceb7a7303d | ||
|
|
c01f533342 | ||
|
|
ff50361e19 | ||
|
|
3539a452a3 | ||
|
|
ea878fb614 | ||
|
|
5fd0408365 | ||
|
|
2d099b2bed | ||
|
|
3c0b9ee522 | ||
|
|
9dfe084a02 | ||
|
|
987890ba98 | ||
|
|
3358c46122 | ||
|
|
66204401c9 | ||
|
|
0644e2897d | ||
|
|
5761451def | ||
|
|
d819e6ee0c | ||
|
|
b66be79351 | ||
|
|
433fa21069 | ||
|
|
12db3d20ee | ||
|
|
80a70a6649 | ||
|
|
02ed297529 | ||
|
|
30543104be | ||
|
|
b6a004086c | ||
|
|
4265b3afb0 | ||
|
|
ccd7ba28d7 | ||
|
|
871f8b3a72 | ||
|
|
f276d2b2d4 | ||
|
|
2bb5acdfb1 | ||
|
|
dda0d8ca08 | ||
|
|
15f22c0507 | ||
|
|
fa7bd2cfab | ||
|
|
dc51781976 | ||
|
|
c874aee774 | ||
|
|
6c84fdc51d | ||
|
|
8ff0f7c529 | ||
|
|
b326ffc41c | ||
|
|
a0de8582e6 | ||
|
|
5eb0417b1a | ||
|
|
c42d9cf069 | ||
|
|
d965a7b6db | ||
|
|
c1919c2908 | ||
|
|
3fd7470104 | ||
|
|
0bf74142ac | ||
|
|
b3bf7144ac | ||
|
|
5738a4f92b | ||
|
|
784851b217 | ||
|
|
0e0803e050 | ||
|
|
3d3abfe259 | ||
|
|
3f38b518fe | ||
|
|
e673ee97de | ||
|
|
7cb55ffdc4 | ||
|
|
b706217d41 | ||
|
|
6f680081f4 | ||
|
|
fe41d37f8f |
1681
.eslintignore
32
.eslintrc.js
@@ -15,7 +15,8 @@ module.exports = {
|
||||
'Atomics': 'readonly',
|
||||
'SharedArrayBuffer': 'readonly',
|
||||
|
||||
// Jasmine variables
|
||||
// Jest variables
|
||||
'test': 'readonly',
|
||||
'expect': 'readonly',
|
||||
'describe': 'readonly',
|
||||
'it': 'readonly',
|
||||
@@ -23,7 +24,7 @@ module.exports = {
|
||||
'afterAll': 'readonly',
|
||||
'beforeEach': 'readonly',
|
||||
'afterEach': 'readonly',
|
||||
'jasmine': 'readonly',
|
||||
'jest': 'readonly',
|
||||
|
||||
// React Native variables
|
||||
'__DEV__': 'readonly',
|
||||
@@ -126,10 +127,37 @@ module.exports = {
|
||||
{
|
||||
// enable the rule specifically for TypeScript files
|
||||
'files': ['*.ts', '*.tsx'],
|
||||
'parserOptions': {
|
||||
// Required for @typescript-eslint/no-floating-promises
|
||||
'project': './tsconfig.eslint.json',
|
||||
},
|
||||
'rules': {
|
||||
// Warn only because it would make it difficult to convert JS classes to TypeScript, unless we
|
||||
// make everything public which is not great. New code however should specify member accessibility.
|
||||
'@typescript-eslint/explicit-member-accessibility': ['warn'],
|
||||
'@typescript-eslint/type-annotation-spacing': ['error', { 'before': false, 'after': true }],
|
||||
'@typescript-eslint/comma-dangle': ['error', {
|
||||
'arrays': 'always-multiline',
|
||||
'objects': 'always-multiline',
|
||||
'imports': 'always-multiline',
|
||||
'exports': 'always-multiline',
|
||||
'enums': 'always-multiline',
|
||||
'generics': 'always-multiline',
|
||||
'tuples': 'always-multiline',
|
||||
'functions': 'never',
|
||||
}],
|
||||
'@typescript-eslint/semi': ['error', 'always'],
|
||||
'@typescript-eslint/member-delimiter-style': ['error', {
|
||||
'multiline': {
|
||||
'delimiter': 'semi',
|
||||
'requireLast': true,
|
||||
},
|
||||
'singleline': {
|
||||
'delimiter': 'semi',
|
||||
'requireLast': false,
|
||||
},
|
||||
}],
|
||||
'@typescript-eslint/no-floating-promises': ['error'],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
---
|
||||
name: "\U0001F914 Feature requests and support"
|
||||
about: 'For non-bug issues we recommend using the forum, where you''ll be more likely
|
||||
to get an answer: https://discourse.joplinapp.org/'
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
If this is a feature request or a support query, please note that you'll not get an answer here.
|
||||
|
||||
Instead we recommend using the forum where you'll are a lot more likely to get an answer: https://discourse.joplinapp.org/
|
||||
|
||||
The forum is also the right place to submit a feature request so that it can be discussed by other users.
|
||||
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: "\U0001F914 Feature requests and support"
|
||||
url: https://discourse.joplinapp.org/
|
||||
about: I have a question or feature request …
|
||||
2
.github/PULL_REQUEST_TEMPLATE
vendored
@@ -20,6 +20,6 @@ If it's not related to any platform (such as a translation, change to the docume
|
||||
|
||||
Then please append the issue that you've addressed or fixed. Use "Resolves #123" for new features or improvements and "Fixes #123" for bug fixes.
|
||||
|
||||
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/master/CONTRIBUTING.md
|
||||
AND PLEASE READ THE GUIDE: https://github.com/laurent22/joplin/blob/dev/CONTRIBUTING.md
|
||||
|
||||
-->
|
||||
|
||||
1646
.gitignore
vendored
62
.travis.yml
@@ -1,5 +1,5 @@
|
||||
# Only build tags (Doesn't work - doesn't build anything)
|
||||
if: tag IS present OR type = pull_request
|
||||
if: tag IS present OR type = pull_request OR branch = dev
|
||||
|
||||
rvm: 2.3.3
|
||||
|
||||
@@ -15,21 +15,30 @@ branches:
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode9.0
|
||||
osx_image: xcode12
|
||||
language: node_js
|
||||
node_js: "10"
|
||||
env:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
node_js: "12"
|
||||
cache:
|
||||
npm: false
|
||||
# Cache was disabled because when changing from node_js 10 to node_js 12
|
||||
# it was still using build files from Node 10 when building SQLite which
|
||||
# was making it fail. Might be ok to re-enable later on, although it doesn't
|
||||
# make build that much faster.
|
||||
#
|
||||
# env:
|
||||
# - ELECTRON_CACHE=$HOME/.cache/electron
|
||||
# - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
|
||||
- os: linux
|
||||
sudo: required
|
||||
dist: trusty
|
||||
language: node_js
|
||||
node_js: "10"
|
||||
env:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
node_js: "12"
|
||||
cache:
|
||||
npm: false
|
||||
# env:
|
||||
# - ELECTRON_CACHE=$HOME/.cache/electron
|
||||
# - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
|
||||
# cache:
|
||||
# directories:
|
||||
@@ -59,23 +68,24 @@ before_install:
|
||||
|
||||
script:
|
||||
- |
|
||||
# Prints some env variables
|
||||
echo "TRAVIS_OS_NAME=$TRAVIS_OS_NAME"
|
||||
echo "TRAVIS_BRANCH=$TRAVIS_BRANCH"
|
||||
echo "TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST"
|
||||
echo "TRAVIS_TAG=$TRAVIS_TAG"
|
||||
|
||||
# Install tools
|
||||
npm install
|
||||
cd Tools
|
||||
npm install
|
||||
cd ..
|
||||
|
||||
# Run test units.
|
||||
# Only do it for pull requests because Travis randomly fails to run them
|
||||
# and that would break the desktop release.
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||
cd CliClient
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
|
||||
npm run test-ci
|
||||
testResult=$?
|
||||
if [ $testResult -ne 0 ]; then
|
||||
exit $testResult
|
||||
fi
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# Run linter for pull requests only - this is so that
|
||||
@@ -93,7 +103,7 @@ script:
|
||||
# tool like poedit. Doing it for Linux only is sufficient.
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||
if [ "$TRAVIS_OS_NAME" != "osx" ]; then
|
||||
node Tools/validate-translation.js
|
||||
node packages/tools/validate-translation.js
|
||||
testResult=$?
|
||||
if [ $testResult -ne 0 ]; then
|
||||
exit $testResult
|
||||
@@ -102,7 +112,7 @@ script:
|
||||
fi
|
||||
|
||||
# Find out if we should run the build or not. Electron-builder gets stuck when
|
||||
# builing PRs so we disable it in this case. The Linux build should provide
|
||||
# building PRs so we disable it in this case. The Linux build should provide
|
||||
# enough info if the app builds or not.
|
||||
# https://github.com/electron-userland/electron-builder/issues/4263
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||
@@ -112,5 +122,17 @@ script:
|
||||
fi
|
||||
|
||||
# Prepare the Electron app and build it
|
||||
cd ElectronClient
|
||||
USE_HARD_LINKS=false npm run dist
|
||||
#
|
||||
# If the current tag is a desktop release tag (starts with "v", such as
|
||||
# "v1.4.7"), we build and publish to github
|
||||
#
|
||||
# Otherwise we only build but don't publish to GitHub. It helps finding
|
||||
# out any issue in pull requests and dev branch.
|
||||
|
||||
cd packages/app-desktop
|
||||
|
||||
if [[ $TRAVIS_TAG = v* ]]; then
|
||||
USE_HARD_LINKS=false npm run dist
|
||||
else
|
||||
USE_HARD_LINKS=false npm run dist -- --publish=never
|
||||
fi
|
||||
|
||||
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 480 B |
|
Before Width: | Height: | Size: 855 B After Width: | Height: | Size: 855 B |
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
27
Assets/TinyMCE/IconPack/gulpfile.js
Normal file
@@ -0,0 +1,27 @@
|
||||
const iconPackager = require('@ephox/oxide-icons-tools').iconPackager;
|
||||
const clean = require('gulp-clean');
|
||||
const gulp = require('gulp');
|
||||
const fs = require('fs');
|
||||
|
||||
gulp.task('icon-packager', function() {
|
||||
const contents = fs.readFileSync('package.json');
|
||||
const name = JSON.parse(contents).iconPackName;
|
||||
|
||||
return gulp.src('src/svg/**/*.svg')
|
||||
.pipe(iconPackager({ name }))
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
gulp.task('deploy', function() {
|
||||
fs.copyFileSync(`${__dirname}/dist/icons/Joplin/icons.js`, `${__dirname}/../../../packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/icons.js`);
|
||||
return Promise.resolve();
|
||||
});
|
||||
|
||||
gulp.task('clean', function() {
|
||||
return gulp.src('./dist', {
|
||||
read: false,
|
||||
allowEmpty: true,
|
||||
}).pipe(clean());
|
||||
});
|
||||
|
||||
gulp.task('default', gulp.series('clean', 'icon-packager', 'deploy'));
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -27,7 +27,7 @@ module.exports = function(grunt) {
|
||||
// },
|
||||
|
||||
shell: {
|
||||
command: 'tsc',
|
||||
command: 'tsc --project tsconfig.json',
|
||||
},
|
||||
|
||||
rollup: {
|
||||
@@ -125,7 +125,7 @@ module.exports = function(grunt) {
|
||||
// { src: ['changelog.txt'], dest: 'dist', expand: true },
|
||||
{
|
||||
src: ['dist/joplinLists.js'],
|
||||
dest: '../../../ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/plugins/lists.js',
|
||||
dest: '../../../packages/app-desktop/gui/NoteEditor/NoteBody/TinyMCE/plugins/lists.js',
|
||||
},
|
||||
],
|
||||
},
|
||||
13
Assets/TinyMCE/JoplinLists/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# TinyMCE Joplin Lists Plugin
|
||||
|
||||
**As of 2020-11-02 this module no longer builds (a ton of TypeScript errors). No idea why since nothing was changed but should be investigated if modifying this plugin is ever needed.**
|
||||
|
||||
This is based on https://github.com/tinymce/tinymce/tree/59748a11303fb7cf00fdb8c9392dcb082ee9d965/modules/tinymce/src/plugins/lists
|
||||
|
||||
But with support for Joplin checkboxes.
|
||||
|
||||
## Building
|
||||
|
||||
Use `npm i && npm run build` to build the plugin, which will also copy the compiled version to the right packages/app-desktop sub-directory.
|
||||
|
||||
To test the plugin, use `npm run buildAndStart`, which will build the plugin and start the desktop application.
|
||||
54
Assets/TinyMCE/JoplinLists/package.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "joplin-tinymce-lists",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run lint && npm run build",
|
||||
"lint": "tslint src/**/*.ts",
|
||||
"build": "grunt",
|
||||
"test": "bedrock-auto -b phantomjs -d src/test/ts/",
|
||||
"test-manual": "bedrock -d src/test/ts/",
|
||||
"start": "grunt webpack",
|
||||
"buildAndStart": "yarn build && cd .. && cd .. && cd .. && cd packages/app-desktop && npm start"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Tiny Technologies Inc.",
|
||||
"devDependencies": {
|
||||
"@ephox/agar": "latest",
|
||||
"@ephox/bedrock": "latest",
|
||||
"@ephox/mcagar": "latest",
|
||||
"@ephox/swag": "latest",
|
||||
"@ephox/tslint-rules": "latest",
|
||||
"awesome-typescript-loader": "^5.2.1",
|
||||
"grunt": "^1.0.4",
|
||||
"grunt-contrib-clean": "^2.0.0",
|
||||
"grunt-contrib-concat": "^1.0.1",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
"grunt-contrib-uglify": "^4.0.0",
|
||||
"grunt-shell": "^2.1.0",
|
||||
"grunt-tslint": "^5.0.2",
|
||||
"grunt-webpack": "^3.1.3",
|
||||
"load-grunt-tasks": "^4.0.0",
|
||||
"tinymce": "latest",
|
||||
"ts-loader": "^5.3.0",
|
||||
"tslib": "^1.9.3",
|
||||
"tslint": "^5.11.0",
|
||||
"typescript": "^3.1.6",
|
||||
"webpack": "^4.25.1",
|
||||
"webpack-livereload-plugin": "^2.1.1"
|
||||
},
|
||||
"files": [
|
||||
"lib/main",
|
||||
"lib/demo",
|
||||
"lib/test",
|
||||
"src",
|
||||
"tsconfig.json",
|
||||
"readme.md",
|
||||
"LEGAL.txt",
|
||||
"LICENSE.txt"
|
||||
],
|
||||
"main": "./lib/main/ts/api/Main.js",
|
||||
"module": "./lib/main/ts/api/Main.js",
|
||||
"types": "./lib/main/ts/api/Main.d.ts",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
@@ -48,7 +48,7 @@ const listState = function (editor: Editor, listName, options:any = {}) {
|
||||
// dependent on how the checkbox is styled, so if the style is changed, this might need
|
||||
// to be updated too.
|
||||
// For the styling, see:
|
||||
// ReactNativeClient/lib/joplin-renderer/MdToHtml/rules/checkbox.ts
|
||||
// packages/app-mobile/lib/joplin-renderer/MdToHtml/rules/checkbox.ts
|
||||
//
|
||||
// The previous solution was to use "pointer-event: none", which mostly work, however
|
||||
// it means that links are no longer clickable when they are within the checkbox label.
|
||||