SamTV12345
d6d636955c
Feat/bundle js ( #6511 )
...
* Added minify
* Added POC for browser
* Moved first js files to ts
* Fixed caret positioning
* Added support for plugins
* Fixed get undefined.
* Removed require of socketio, l10n, html10n and error reporter
* Added minify
* Added POC for browser
* Moved first js files to ts
* Fixed caret positioning
* Added support for plugins
* Fixed get undefined.
* Removed require of socketio, l10n, html10n and error reporter
* Fixed popup not showing
* Fixed timeslider
* Reworked paths
* Fixed loading
* Don't generate sources map in production mode
* Non working hmr
* Added live reloading.
* Fixed timeslider when hot reloading
* Removed eval
* Fixed.
* Fixed env
* Fixed frontend tests.
* Added minifying via lightningcss
* Added minify via esbuild
* Fixed diagnostic url
* Removed lightningcss
* Fixed types
* Fixed alias
* Fixed loadtest
* Fixed
* Fixed loading ep_font_color3
* Restructure windows build
* Fixed windows build
* Fixed pnpm lock
---------
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-07-18 08:51:30 +02:00
Richard Hansen
7e698baa80
pluginfw: Improve hook function load error message
2021-03-03 11:19:37 +00:00
Richard Hansen
99ca57f3ab
lint: src/static/js/pluginfw/shared.js
2021-02-04 08:41:00 +00:00
John McLear
b3dda3b11c
lint: src/static/js/pluginfw/*.js
2021-01-30 17:00:40 -05:00
Richard Hansen
f54dcbc766
lint: Re-run eslint --fix
2020-12-16 22:09:48 +00:00
Richard Hansen
8e5fd19db2
lint: Run eslint --fix
on src/
2020-11-24 20:06:12 +00:00
Richard Hansen
d624aa936e
plugins: Fix plugin name in error messages
2020-11-13 20:30:27 +00:00
Richard Hansen
a4927095ae
CSP: Disable the indexCustomInlineScripts hook
2020-10-11 20:31:00 +01:00
Richard Hansen
da459888dc
plugins: Move plugin definitions to avoid monkey patching
...
Also document the plugin data structures.
2020-09-08 00:50:24 +01:00
Richard Hansen
442fe1e86f
pluginfw: Always include the function name in hook_fn_name
...
Plugin authors are allowed to omit the function name in the `ep.json`
parts definition. For example:
```
{
"parts": [
{
"name": "ep_example",
"hooks": {
"authenticate": "ep_example",
"authFailure": "ep_example"
}
}
]
}
```
If omitted, the function name is assumed to be the same as the hook
name. Before this change, `hook_fn_name` for the example hooks would
both be `/opt/etherpad-lite/node_modules/ep_example`. Now they are
suffixed with `:authenticate` and `:authFailure`. This improves
logging, and it makes it possible to use `hook_fn_name` to uniquely
identify a particular hook function.
2020-09-05 22:43:17 +01:00
Chad Weider
1258ed3a0d
Split client and server plugin functionality.
...
There is virtually no shared code for the client, extract it into its own
module and do away with the switches.
2012-09-11 21:16:47 -07:00