SamTV12345
e973382e05
Added caching of files.
2024-08-06 18:25:31 +02:00
Helder Sepulveda
c8797efaf2
Adding a layoutType ( #6559 )
...
This will allow end users to change the console output to not output colors
2024-08-05 21:28:48 +02:00
SamTV12345
550a29f3e6
Added new command to setup etherpad. Fixed Dockerfile
2024-07-23 17:43:32 +02:00
SamTV12345
8a1a03eca1
Fixed ueberdb2 build. ( #6533 )
2024-07-22 21:28:52 +02:00
SamTV12345
b1139e1aff
Dropped require-kernel and etherpad-yamsl ( #6520 )
...
* Dropped require-kernel and etherpad-yamsl
* Removed tests
---------
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-07-18 10:06:33 +02:00
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
SamTV12345
b84b4c0878
Removed lightningcss ( #6509 )
...
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-07-12 11:16:07 +02:00
SamTV12345
16c5b33549
fix: Fallback to websocket and polling when unknown(old) config is present for socket io ( #6497 )
2024-07-07 19:25:14 +02:00
SamTV12345
426174d491
Feat/lightningcss ( #6427 )
...
* Added lightning css for minification of css
* Added esbuild for minification
* Upgraded to Node 22
* Fixed.
* Temporary change branch
* Rebased changes.
2024-06-03 22:32:06 +02:00
Helder Sepulveda
0b0d882477
Increase the maxHttpBufferSize ( #6409 )
2024-06-01 13:17:02 +02:00
SamTV12345
63e9b2d4eb
Fixed api header authorization ( #6399 )
2024-05-22 21:16:19 +02:00
SamTV12345
556c3c8e5b
Readded support for apikey ( #6382 )
2024-05-14 22:36:16 +02:00
webzwo0i
8a76d2c680
chore: add docs how to obtain bearer token ( #6328 )
...
* chore: add docs how to obtain bearer token
* Added configurable ttl to settings
---------
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2024-04-29 17:04:00 +02:00
SamTV12345
0b80e256b4
Added proxy support for axios. ( #6334 )
2024-04-16 19:11:05 +02:00
SamTV12345
820d728ce6
fix: Add local issuer by default.
2024-04-03 20:19:20 +02:00
reallylowest
ed1c5dd184
chore: remove repetitive words ( #6290 )
...
Signed-off-by: reallylowest <sunjinping@outlook.com>
2024-04-01 16:47:51 +02:00
SamTV12345
fb56809e55
Feat/oauth2 ( #6281 ): Added oauth to API paths
...
* Added oauth provider.
* Fixed provider.
* Added auth flow.
* Fixed auth flow and added scaffolding vite config.
* Added working oauth2.
* Fixed dockerfile.
* Adapted run.sh script
* Moved api tests to oauth2.
* Updated security schemes.
* Removed api key from existance.
* Fixed installation
* Added missing issuer in config.
* Fixed dev dependencies.
* Updated lock file.
2024-03-26 17:11:24 +01:00
SamTV12345
bf7cd11b59
Added env configuration for plugins
...
* Added env.
* Added tree config.
* Added tree.
* Fixed settings test.
* Added test cases.
2024-03-21 18:50:02 +01:00
SamTV12345
d7869f5014
Fixed cache server not working due to wrong ( #6236 )
2024-03-17 23:28:58 +01:00
SamTV12345
db46ffb63b
Feat/admin react ( #6211 )
...
* Added vite react admin ui.
* Added react i18next.
* Added pads manager.
* Fixed docker build.
* Fixed windows build.
* Fixed installOnWindows script.
* Install only if path exists.
2024-03-09 23:07:09 +01:00
SamTV12345
295a2a758b
Added backend in typescript. ( #6185 )
2024-02-23 19:48:55 +01:00
SamTV12345
4bd27a1c79
Moved more classes to ts. ( #6179 )
2024-02-22 11:36:43 +01:00
Hossein Marzban
b2be2ca714
Migrate Socket.IO from Version 2 to Version 3 🚀 ( #6152 )
...
* feat :migrate socket.io 2 -> 3
* fix: backend test
* fix: ts error
* rm
* reset the test timeout
* Updated cli client.
* Updated lock file.
* Use updated load tester.
---------
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2024-02-17 21:36:26 +01:00
SamTV12345
ead3c0ea38
Added typescript to etherpad
...
* Fixed determining file extension.
* Added ts-node
* Fixed backend tests.
* Fixed frontend test runs.
* Fixed tests.
* Use script approach for starting etherpad.
* Change directory to src.
* Fixed env.
* Change directory
* Fixed build arg.
* Fixed docker build.
* Fixed.
* Fixed cypress file path.
* Fixed.
* Use latest node container.
* Fixed windows workflow.
* Use tsx and optimized docker image.
* Added workflow for type checks.
* Fixed.
* Added tsconfig.
* Converted more files to typescript.
* Removed commented keys.
* Typed caching middleware.
* Added script for checking the types.
* Moved SecretRotator to typescript.
* Fixed npm installation and moved to types folder.
* Use better scripts for watching typescript changes.
* Update windows.yml
* Fixed order of npm installation.
* Converted i18n.
* Added more types.
* Added more types.
* Fixed import.
* Fixed tests.
* Fixed tests.
* Fixed type checking test.
* Fixed stats
* Added express types.
* fixed.
2024-02-05 21:13:02 +01:00
SamTV12345
51def0eba6
fix: The log level is now respected again. ( #6076 )
2023-12-17 22:13:13 +01:00
SamTV12345
d5fc948705
Removed tidy html. ( #6039 )
2023-11-15 19:27:34 +01:00
SamTV12345
c7cb2e663c
Fixed documentation of Cli.js
2023-10-29 08:55:54 +01:00
SamTV12345
f649b1e6f7
Fix/log4js ( #5766 )
...
* Updated log4js
* Updated log4js version.
* Removed requests and moved to axios.
* Fixed startup.
* Fixed windows dependency install.
* Fixed import export rate limiter.
* Fixed all log levels.
2023-10-22 18:26:58 +02:00
Stefan
f9a3a6aaae
Improve update check ( #5945 )
...
* Send etherpad version in update check request
* Cache etherpad informations for one hour
* Change format of User-Agent
* Improve exception handling
2023-09-25 13:05:33 +02:00
Richard Hansen
2bb431e7e5
express-session: Implement and enable key rotation ( #5362 ) by @rhansen
...
* SecretRotator: New class to coordinate key rotation
* express-session: Enable key rotation
* Added new entry in docker.adoc
* Move to own package.Removed fallback as Node 16 is now lowest node version.
* Updated package-lock.json
---------
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2023-07-03 22:58:49 +02:00
DanielHabenicht
675c0130b9
allow option to make pad names case-insensitive ( #5501 ) by @DanielHabenicht
...
* New option to make pad names case-insensitive
fixes #3844
* fix helper.gotoTimeslider()
* fix helper.aNewPad() return value
* Update src/node/utils/Settings.js
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
* remove timeout
* rename enforceLowerCasePadIds to lowerCasePadIds
* use before and after hooks
* update with socket specific test
* enforce sanitizing padID for websocket connections
- only enforce for newly created pads, to combat case-sensitive pad name hijacking
* Added updated package.json file.
---------
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2023-07-03 20:52:49 +02:00
SamTV12345
049231e4af
Feature/axios ( #5776 )
...
* Move from deprecated request package to axios.
* Fixed package.json
* Another check.
* Fixing npm - hopefully the last.
* Remove double parsing of JSON.
* Bump bundled npm to also get rid of request in the bundled npm.
* Revert "Bump bundled npm to also get rid of request in the bundled npm."
This reverts commit b60fa4f435
.
2023-06-27 21:20:53 +02:00
John McLear
1e98033632
Security: Fix revision parsing ( #5772 )
...
A carefully crated URL can cause Etherpad to hang.
2023-06-26 18:17:06 +01:00
Richard Hansen
2facf3a0c5
ExportEtherpad: New importEtherpad
, exportEtherpad
hooks
2022-05-06 02:54:34 -04:00
Richard Hansen
44fd70491d
ImportEtherpad: Batch database writes
2022-05-05 20:49:52 -04:00
Richard Hansen
c1652fd695
ImportEtherpad: Process records in batches
...
This enables ueberdb to combine multiple queries into a single message
to the database backend.
2022-05-05 20:49:52 -04:00
Richard Hansen
10117bc988
ImportEtherpad: Use a real ueberdb object for the temp Pad
...
Now plugin authors have access to the full set of DB operations.
2022-05-05 20:49:52 -04:00
Richard Hansen
6a183db850
ExportEtherpad: Parallelize record reads
2022-05-05 19:33:21 -04:00
Richard Hansen
88c0ab8255
ExportEtherpad: Support custom subkeys
2022-05-05 19:33:21 -04:00
Richard Hansen
78b44daaa8
ExportEtherpad: Fix exportEtherpadAdditionalContent
hook docs
...
When exporting, only records like `comments:padId` are supported, not
records like `comments:padId:foo`.
2022-05-05 19:33:21 -04:00
Richard Hansen
936185e3b6
ExportEtherpad: Use Pad API to collect data
2022-05-05 19:33:21 -04:00
Richard Hansen
4a6e77839e
ExportEtherpad: Process pad record separately
...
to improve readability.
2022-05-05 19:33:21 -04:00
Richard Hansen
56a60a34fb
ExportEtherpad: Simplify attribute pool iteration
2022-05-05 19:33:21 -04:00
Richard Hansen
3004bc1583
ExportEtherpad: Invert conditions to improve readability
...
Also delete unnecessary comments.
2022-05-05 19:33:21 -04:00
Richard Hansen
06f0318dc4
Stream: New utility library for iterables
2022-04-15 19:14:59 -04:00
Richard Hansen
daee90d2af
lint: Close function args on same line as final arg
2022-02-21 14:53:48 -05:00
Richard Hansen
c8211f2898
lint: Run eslint --fix
2022-02-21 14:36:58 -05:00
Richard Hansen
3b8549342a
Pad: Plumb author ID through mutation operations
2022-02-19 14:55:42 -05:00
Richard Hansen
9db3424403
deps: Bump rehype and rehype-minify-whitespace
2022-01-27 01:27:10 -05:00
Richard Hansen
692749d1cf
express-session: Extend session lifetime if user is active
2022-01-17 21:45:56 -05:00