59 Commits
Author SHA1 Message Date
gyf9835andgaoyifeng 04a5903596 fix(web): repair tabby-web-container boot (compiler order, pluginModules, pluginName tagging) (#11915)
* fix(web): register @angular/compiler before other @angular packages

tabby-web-container's preload registered @angular/compiler after
@angular/cdk and @angular/cdk/clipboard. Because the module argument to
Tabby.registerModule is evaluated eagerly, requiring @angular/cdk/clipboard
pulls in @angular/common before the compiler has run.

@angular/common and @angular/cdk are shipped as partially compiled
(\u0275\u0275ngDeclare*) fesm bundles and this webpack config does not run the
Angular Linker over them, so they rely on the JIT fallback, which reads
ng.\u0275compilerFacade - published by @angular/compiler when it is evaluated:

  Error: The injectable 'PlatformLocation' needs to be compiled using the
  JIT compiler, but '@angular/compiler' is not available.

This aborts the whole bundle, leaving window.bootstrapTabby undefined, so
every plugin then fails with 'Attempted to require @angular/common' and the
web UI stays blank. Affects tabby-web-container 1.0.197-nightly.1 and
1.0.231-nightly.0; 1.0.189-nightly.2 (Angular 12) is unaffected.

Registering @angular/compiler first publishes the facade before anything
else is required.

* fix(web): expose window.pluginModules to the plugin-provided services

tabby-core's ConfigService.enabledServices() iterates over
window['pluginModules'] to collect providers contributed by plugins - this
is what ThemesService uses to apply the current theme. entry.ts only kept
pluginModules as a local variable, so the global was never set and
bootstrapping threw:

  TypeError: window.pluginModules is not iterable
    at ConfigService.enabledServices (tabby-core/dist/index.js)
    at ThemesService.applyThemeVariables

Publish the array on window before building the root module.

* fix(web): tag plugin modules with their name

loadPlugins()/loadPlugin() returned the module from webRequire() as-is, but
bootstrap() reads `packageModule.pluginName` and tabby-core keys
ConfigService.servicesCache by that field:

  this.servicesCache[module.pluginName] = module.\u0275inj.providers...

Since pluginName was never set, every plugin landed on the single key
"undefined" and each one overwrote the previous, leaving enabledServices()
with only the last loaded plugin's providers. Symptomatically the SSH
connection type disappeared from the "new connection" menu once tabby-telnet
started loading after tabby-ssh.

It stayed hidden because enabledServices() returns true for services it does
not recognise, so only plugins that consult the cache for a decision broke.

Tag the module in both entry points.

---------

Co-authored-by: gaoyifeng <work@gyf.name>
2026-11-24 00:21:28 +01:00
Eugene 89c94478d4 bump minor deps (#11676)
Package-Build / Lint (push) Canceled after 0s
CodeQL / Analyze (javascript) (push) Canceled after 0s
Docs / build (push) Canceled after 0s
Package-Build / macOS-Build (arm64, aarch64-apple-darwin) (push) Canceled after 0s
Package-Build / macOS-Build (x86_64, x86_64-apple-darwin) (push) Canceled after 0s
Package-Build / Linux-Build (amd64, x64, ubuntu-24.04, x86_64-unknown-linux-gnu) (push) Canceled after 0s
Package-Build / Linux-Build (arm64, arm64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu, aarch64-linux-gnu-) (push) Canceled after 0s
Package-Build / Linux-Build (armhf, arm, ubuntu-24.04, arm-unknown-linux-gnueabihf, arm-linux-gnueabihf-) (push) Canceled after 0s
Package-Build / Windows-Build (arm64, aarch64-pc-windows-msvc) (push) Canceled after 0s
Package-Build / Windows-Build (x64, x86_64-pc-windows-msvc) (push) Canceled after 0s
* bump minor deps

* .
2026-09-12 22:12:52 +02:00
Eugene d33ba48302 clean up the plugin manager 2026-07-13 10:41:19 +02:00
dependabot[bot] 1d42d772dd Bump browserify-sign from 4.2.1 to 4.2.2 in /web (#9179)
Signed-off-by: dependabot[bot] <support@github.com>
2026-07-12 00:28:22 +02:00
Eugene 2bc621c10e bumped plugins 2026-02-01 21:35:09 +01:00
Eugene 81e0d0b5bc Update polyfills.ts 2025-12-26 00:13:45 +01:00
Eugene Pankov 1112766ac0 fixed #8404 - missing SFTP progressbar 2023-05-15 22:55:05 +02:00
Eugene Pankov 20479e9f27 bumped plugins 2023-04-23 10:22:38 -07:00
Eugene Pankov dc8ddfcd15 #8282 - updated package.json files 2023-04-23 08:40:17 -07:00
Eugene 1e5cfd1d4b bootstrap 5 WIP (#7891)
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
2023-02-26 20:42:31 +01:00
Eugene Pankov 9ceb6b4416 bumped plugins 2023-01-29 13:21:51 +01:00
Eugene Pankov 2f5c6fafa9 run patch-package from the prepare script 2023-01-29 12:35:06 +01:00
Eugene Pankov 010c18a07b updated contributors 2023-01-29 10:46:35 +01:00
Eugene Pankov 1b1445bf20 new tabby-web release 2022-11-07 22:57:40 +01:00
Eugene Pankov b017588537 defer tempfile cleanup 2022-09-27 23:12:59 +02:00
dependabot[bot] fab5feb29d Bump minimist from 1.2.5 to 1.2.6 in /web
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 10:48:01 +00:00
Eugene Pankov 194342d6fa bumped plugins, added serialport mocks 2022-02-07 16:36:20 +01:00
Eugene Pankov ad9ad4d418 v1.0.171-nightly.2 2022-02-07 15:58:55 +01:00
Eugene Pankov 1bbf9d4294 bumped plugins 2022-02-07 15:33:34 +01:00
Eugene Pankov 8f4e28fba4 bumped plugins 2022-01-31 16:37:43 +01:00
Eugene Pankov 0dd460a6d7 bumped plugins 2022-01-14 13:04:57 +01:00
Eugene Pankov f308fd481d bumped plugins 2021-12-06 09:19:32 +01:00
Eugene Pankov 34adf767eb ensure patch-package runs on web 2021-12-01 10:04:09 +01:00
Eugene Pankov 9856249c88 fixed #5000 - native socksv5 connection support in ssh and connection mode UI overhaul 2021-11-28 18:21:26 +01:00
Eugene Pankov 14098177e4 bumped plugins 2021-11-14 16:23:29 +01:00
Eugene Pankov a16c397843 bumped plugins 2021-10-31 18:21:04 +01:00
Eugene Pankov 3da6f6ffa6 bump 2021-10-27 13:03:48 +02:00
Eugene Pankov a9515d38d1 bumped plugins 2021-09-06 23:38:58 +02:00
Eugene Pankov de3aab4996 web related fixes 2021-08-25 01:25:40 +02:00
Eugene Pankov 1ae8d9c643 removed hterm - #4295 2021-08-08 22:06:08 +02:00
Eugene Pankov 923b559857 bumped plugins 2021-08-01 10:17:53 +02:00
Eugene Pankov a6c535414f switched to webpack asset modules 2021-07-31 19:28:01 +02:00
Eugene Pankov 94819019ec bumped plugins 2021-07-29 21:20:41 +02:00
Eugene Pankov 61853428de bumped plugins 2021-07-27 20:46:56 +02:00
Eugene Pankov bb34e21791 plugins bump 2021-07-27 20:40:28 +02:00
Eugene Pankov e30d2cd85b added CDK polyfills 2021-07-24 16:30:55 +02:00
Eugene Pankov be4cc804a2 allow dragging other tabs into existing split tabs - fixes #1347 2021-07-21 22:59:58 +02:00
Eugene Pankov 4e42dfd46b plugin version bump 2021-07-17 00:54:38 +02:00
Eugene Pankov dbe7b8cf56 plugin version bump 2021-07-17 00:52:07 +02:00
Eugene Pankov a82a65ed46 plugin version bump 2021-07-16 23:59:45 +02:00
Eugene Pankov 82f3b61b5e bump 2021-07-12 21:29:28 +02:00
Eugene Pankov d1a6baf858 bump 2021-07-11 23:03:55 +02:00
Eugene Pankov ff18926bf9 WSA wip 2021-07-11 22:59:39 +02:00
Eugene Pankov 37e564130e web preload progress callback 2021-07-11 16:31:00 +02:00
Eugene Pankov 7db3335938 bump, include source maps in releases 2021-07-11 16:12:36 +02:00
Eugene Pankov c1051379c1 add tabby-web-demo to the repo 2021-07-11 16:00:59 +02:00
Eugene Pankov 3db98aa421 expose more plugin loader apis 2021-07-08 22:03:41 +02:00
Eugene Pankov a62752efec bumped package versions 2021-07-08 16:07:45 +02:00
Eugene Pankov 0ad32fa79d moved profile settings view to settings plugin, web entry cleanup 2021-07-07 01:22:50 +02:00
Eugene Pankov 89f369abe6 es2021 compilation 2021-07-06 09:40:54 +02:00