Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e827edc
Adjust Incoming Server to Thunderbird 102
thsmi Jun 10, 2022
7e6226b
Fix fragment parsing warning
thsmi Jun 10, 2022
e67fddb
Load accounts tab lazily
thsmi Jun 19, 2022
359c635
Activate additional locales
thsmi Jun 19, 2022
511f5be
Fix handling external urls
thsmi Jun 30, 2022
e8ac331
Update to code mirror 6 (#784)
thsmi Jul 23, 2022
a03589a
Merge branch 'master' into 763-does-not-work-with-thunderbird-102-b1
thsmi Jul 23, 2022
e09b410
Merge branch 'master' into 763-does-not-work-with-thunderbird-102-b1
thsmi Jul 23, 2022
edcca5a
Fix hickup in the build script
thsmi Jul 23, 2022
0639599
Add missing i18n string and fix existing
thsmi Jul 23, 2022
56cc4df
Add some more missing i18n strings
thsmi Jul 24, 2022
50b3631
Adjust to TB115 api changes
thsmi Oct 7, 2023
a0bcbd9
Use TCPSocket Component instead of raw transports.
thsmi Dec 28, 2023
677b582
Port should be an integer
thsmi Dec 26, 2024
40cbd1a
Add error management and cert override logic
thsmi Dec 26, 2024
d58554d
Merge branch 'master' into 893-does-not-work-with-tb-115
thsmi Dec 29, 2024
b283942
Update package lock file
thsmi Dec 29, 2024
027dcf4
Fix linter error
thsmi Dec 29, 2024
47bdcc6
Fix external url handler logic
thsmi Jan 3, 2025
22fee6f
Address linter warning
thsmi Jan 3, 2025
397be74
Fix ui glitches in dark mode
thsmi Jan 3, 2025
6541f59
Allow pinning syntax error notification
thsmi Jan 3, 2025
e0b3d54
Fix unit test
thsmi Jan 3, 2025
dccfd5e
Manifest Version 3 compatibility.
thsmi Jan 8, 2025
a883fd4
Fix linter warnings.
thsmi Jan 8, 2025
e4baf6a
Update deprecated bootstrap
thsmi Jan 13, 2025
cea38ff
Resync with rework parser branch
thsmi Jan 14, 2025
55015fd
Merge branch 'master' into 893-does-not-work-with-tb-115
thsmi Mar 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions gulp/gulpfile.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ function packageLicense() {
* a stream to be consumed by gulp
*/
function packageCodeMirror() {
return common.packageCodeMirror(
`${BUILD_DIR_APP}/libs/CodeMirror`);
return common.packageCodeMirror(BUILD_DIR_APP_LIBS);
}

/**
Expand Down
32 changes: 18 additions & 14 deletions gulp/gulpfile.common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,21 @@ import logger from 'gulplog';
import { readdir, unlink, rmdir, readFile, writeFile } from 'fs/promises';
import { createWriteStream, existsSync } from 'fs';

import { rollup } from 'rollup';
import { nodeResolve } from '@rollup/plugin-node-resolve';

import path from 'path';
import yazl from 'yazl';

const JSON_INDENTATION = 2;

const BASE_DIR_BOOTSTRAP = "./node_modules/bootstrap/dist";
const BASE_DIR_CODEMIRROR = "./node_modules/codemirror";

const BASE_DIR_COMMON = "./src/common";
const BASE_DIR_BUILD = "./build";

const FILE_CODEMIRROR = "./CodeMirror/codemirror.mjs";

const DIR_LIBSIEVE = "./libSieve";
const DIR_MANAGESIEVEUI = "./managesieve.ui";

Expand Down Expand Up @@ -74,27 +78,27 @@ async function clean() {
}

/**
* Copies the codemirror sources into the build directory.
* Calls rollup to bundle and deploy the codemirror sources into the build directory.
*
* @param {string} destination
* where to place the codemirror sources
*
* @returns {Stream}
* a stream to be consumed by gulp
*/
function packageCodeMirror(destination) {
async function packageCodeMirror(destination) {

return gulp.src([
BASE_DIR_CODEMIRROR + "/addon/edit/**",
BASE_DIR_CODEMIRROR + "/addon/search/**",
BASE_DIR_CODEMIRROR + "/lib/**",
BASE_DIR_CODEMIRROR + "/mode/sieve/**",
BASE_DIR_CODEMIRROR + "/theme/eclipse.css",
BASE_DIR_CODEMIRROR + "/theme/material-darker.css",
BASE_DIR_CODEMIRROR + "/LICENSE",
BASE_DIR_CODEMIRROR + "/package.json"
], { base: BASE_DIR_CODEMIRROR }).pipe(
gulp.dest(destination));
const input = {
input : path.join(BASE_DIR_COMMON, FILE_CODEMIRROR),
plugins : [nodeResolve()]
};

const output = {
file: path.join(destination, FILE_CODEMIRROR),
format : "es"
};

await (await rollup(input)).write(output);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions gulp/gulpfile.testing.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import app from "./gulpfile.app.mjs";
import wx from "./gulpfile.wx.mjs";
import path from 'path';

const BUILD_DIR_TEST = path.join(common.BASE_DIR_BUILD, "test/");
const BUILD_DIR_TEST = path.join(common.BASE_DIR_BUILD, "test/unittests/");

/**
* Packs the unit test for the standalone application.
Expand Down Expand Up @@ -78,7 +78,7 @@ async function packageWxTests() {
*/
async function packageTestSuite() {

const BASE_PATH = "./tests";
const BASE_PATH = "./tests/unittests";

await gulp.src([
BASE_PATH + "/**"
Expand Down
4 changes: 2 additions & 2 deletions gulp/gulpfile.web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import common from "./gulpfile.common.mjs";
import path from 'path';

const BUILD_DIR_WEB = path.join(common.BASE_DIR_BUILD, "web/");
const BUILD_DIR_WEB_LIBS = path.join(BUILD_DIR_WEB, '/static/libs');

const BASE_DIR_WEB = "./src/web/";
const BASE_DIR_WX = "./src/wx/";
Expand Down Expand Up @@ -42,8 +43,7 @@ function packageLicense() {
*/
function packageCodeMirror() {

return common.packageCodeMirror(
path.join(BUILD_DIR_WEB, "/static/libs/CodeMirror"));
return common.packageCodeMirror(BUILD_DIR_WEB_LIBS);
}

/**
Expand Down
3 changes: 1 addition & 2 deletions gulp/gulpfile.wx.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ function packageLicense() {
* a stream to be consumed by gulp
*/
function packageCodeMirror() {
return common.packageCodeMirror(
`${BUILD_DIR_WX}/libs/CodeMirror`);
return common.packageCodeMirror(BUILD_DIR_WX_LIBS);
}

/**
Expand Down
Loading