SamTV12345
0b26405201
fix(admin): Fixed updating plugins ( #6705 )
2024-10-10 18:15:48 +02:00
SamTV12345
bb3fa1f9e4
Added typing for app
2024-09-24 22:22:32 +02:00
SamTV12345
12f81cfb5e
Feat/restructure api ( #6664 )
...
* Restructured rest api
* Added swagger ui
* Added reworked rest api
* Reformatted code, excluded unnecessary newlines and removed version 2.2.2
2024-09-21 13:00:39 +02:00
Stefan Müller
1ad9418a6f
Add code for revision cleanup ( #6442 )
...
* Add initial code for revision cleanup
* Some improvements - code cleanup
* Cleanup logging
* Add button in admin backend to cleanup revisions of a specific pad
* Disable cleanup by default and show errors in admin area
* Improve cleanup code
* Load revisions for cleanup in parallel
* Consider saved revisions during pad cleanup
2024-09-14 15:54:30 +02:00
dependabot[bot]
3de6c7caef
Bump the dev-dependencies group across 1 directory with 5 updates ( #6660 )
...
* Bump the dev-dependencies group across 1 directory with 5 updates
Bumps the dev-dependencies group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) | `10.0.7` | `10.0.8` |
| [chokidar](https://github.com/paulmillr/chokidar ) | `3.6.0` | `4.0.0` |
| [sinon](https://github.com/sinonjs/sinon ) | `18.0.1` | `19.0.0` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) | `2.0.5` | `2.1.0` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react ) | `0.439.0` | `0.441.0` |
Updates `@types/mocha` from 10.0.7 to 10.0.8
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
Updates `chokidar` from 3.6.0 to 4.0.0
- [Release notes](https://github.com/paulmillr/chokidar/releases )
- [Commits](https://github.com/paulmillr/chokidar/compare/3.6.0...4.0.0 )
Updates `sinon` from 18.0.1 to 19.0.0
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0 )
Updates `vitest` from 2.0.5 to 2.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.0/packages/vitest )
Updates `lucide-react` from 0.439.0 to 0.441.0
- [Release notes](https://github.com/lucide-icons/lucide/releases )
- [Commits](https://github.com/lucide-icons/lucide/commits/0.441.0/packages/lucide-react )
---
updated-dependencies:
- dependency-name: "@types/mocha"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: chokidar
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: vitest
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: lucide-react
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fixed tsc check.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-09-13 08:36:57 +02:00
Satoshi Yazawa
8c91ab280d
Fix relative path ( #6621 )
...
Co-authored-by: yacchin1205 <968739+yacchin1205@users.noreply.github.com>
2024-08-31 14:36:21 +02:00
SamTV12345
852f282b03
sec: Fix prototype pollution in webaccess module
2024-08-18 19:57:05 +02:00
SamTV12345
3dae23a1e5
Fixed etherpad not being available from subdirectory
2024-08-17 21:13:51 +02:00
SamTV12345
c7a2dea4d1
Feat/frontend vitest ( #6469 )
...
* Added vitest tests.
* Added Settings tests to vitest - not working
* Added attributes and attributemap to vitest.
* Added more tests.
* Also run the vitest tests.
* Also run withoutPlugins
* Fixed pnpm lock
2024-08-16 22:55:42 +02:00
SamTV12345
e17aa9af96
Remove unwanted strings in hash
2024-08-08 21:41:18 +02:00
SamTV12345
f7b1311e36
Fixed sorting of other pad columns
2024-08-06 20:43:10 +02:00
SamTV12345
454fec7a9f
Create outdir if it does not exist.
2024-07-24 20:04:03 +02:00
SamTV12345
32a4068468
Fixed index html page
2024-07-23 18:14:49 +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
Helder Sepulveda
a637921160
Move away from using toast in the plugin search ( #6441 )
2024-06-10 19:00:58 +02:00
SamTV12345
f1a1b6bfd7
Added Progressive Web App support for Etherpad ( #6411 )
2024-06-01 13:14:45 +02:00
Helder Sepulveda
5e78417f39
Improve adminsetting ( #6412 )
...
- added a try/catch block around the fsp.writeFile
- replaced all the console.log with logger
2024-05-27 21:35:20 +02:00
SamTV12345
3e9c90e994
Fixed proxying Etherpad with nginx. ( #6388 )
2024-05-18 11:22:13 +02:00
SamTV12345
556c3c8e5b
Readded support for apikey ( #6382 )
2024-05-14 22:36:16 +02:00
SamTV12345
e12be96102
feat(admin): Added shoutout to admin panel ( #6346 )
...
* Added shoutout
* Added shoutout function
* Fixed test.
* Included feedback from review.
* Removed unnecessary file
2024-04-21 17:58: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
e61e8ebd9e
Fixed no Basic Auth being absent
2024-03-20 08:43:52 +01:00
SamTV12345
d7869f5014
Fixed cache server not working due to wrong ( #6236 )
2024-03-17 23:28:58 +01:00
Stefan Müller
fe106f0afc
Improve plugins docker build and fixed plugin loading when dependencies are specified ( #6164 )
...
* Install pnpm only local - not global
* Install plugins during docker build with live-plugin-manager
* Migrated installer to ts.
* Added missing workspace script.
* Fixed docker build.
* Fix Dockerfile
* Fixed installer not being yet initialized.
* Ported installer to correct install path.
* Fixed pnpm installation.
* Fixed docker build.
* Fixed plugin loading.
* Fixed plugins not being able to be loaded.
* Fix plugin installation instructions in README
* Fixed startup.
* Fixed folder not present.
* Added unlinking dependencies.
* Added deleting dependencies.
* Fixed listing plugins.
---------
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2024-03-14 16:06:32 +01:00
SamTV12345
4add6eb313
Use express for static side hosting.
2024-03-13 10:48:51 +01:00
SamTV12345
d8e0975f97
Fixed admin tests
...
* Increased timeout.
* Wait for disconnect only if no admintest.
2024-03-11 08:00:16 +01:00
SamTV12345
c2699e4528
Added playwright tests. ( #6212 )
...
* Added playwright tests.
* Added clear authorship color.
* Ported enter ts.
* Ported more tests.
* Commented helper tests.
* Fixed admin tests.
* Fixed.
* Fixed admin pages not there.
* Fixed waiting.
* Upload playwright report.
* Remove saucelabs
* Fixed waiting.
* Fixed upload artifact.
* Also install deps.
* Added retry mechanism.
* Added timeout for restart etherpad server.
* Fixed tests.
* Added frontend playwright tests.
2024-03-10 23:18:50 +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
d34b964cc2
Fixed frontend tests. ( #6210 )
...
* Fixed frontend tests.
* Use old socket io syntax.
* uSE ESM:
* Remove padvar.
* Remove cypress.
2024-03-08 18:50:29 +01:00
Hossein Marzban
4887cd952a
Revise transport
Socket.io@3/4 ( #6188 )
...
* feat :migrate socket.io 2 -> 3
* fix: backend test
* fix: ts error
* rm
* reset the test timeout
* fix: socket transports
* fix: ts
* fix: merge
* fix: merge
* resolve merge
* clean
* clean
2024-02-25 12:03:55 +01:00
SamTV12345
04cc3c8d54
Fixed websocket connection.
2024-02-24 13:40:25 +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
SamTV12345
a8ff9d5667
Fixed admin panel from not loading
2024-02-19 22:29:33 +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
9e2c4bf781
Fixed favicon not being loaded from url. ( #6113 )
...
* Fixed favicon not being loaded from url.
* Fixed tests.
2024-01-20 23:11:52 +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
SamTV12345
ff1b929eb2
Added jsdoc for the node part of etherpad. ( #5983 )
2023-10-17 12:49:56 +02:00
dependabot[bot]
4da66d19dc
build(deps): bump formidable from 2.1.2 to 3.5.0 in /src ( #5796 )
...
* build(deps): bump formidable from 2.1.2 to 3.5.0 in /src
Bumps [formidable](https://github.com/node-formidable/formidable ) from 2.1.2 to 3.5.0.
- [Release notes](https://github.com/node-formidable/formidable/releases )
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md )
- [Commits](https://github.com/node-formidable/formidable/commits/v3.5.0 )
---
updated-dependencies:
- dependency-name: formidable
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* formidable migration
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John McLear <john@mclear.co.uk>
2023-08-05 15:48:23 +02:00
SamTV12345
6ee4d3daaa
Fixed password with only numbers being rejected.
2023-07-02 17:48:16 +02: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
5520161088
deps: Upgrade formidable to 2.0.1
2022-01-28 21:34:57 -05:00
Richard Hansen
692749d1cf
express-session: Extend session lifetime if user is active
2022-01-17 21:45:56 -05:00
Richard Hansen
d3984aa621
express: Move preAuthorize
hook after express-session
...
The `ep_openid_connect` plugin needs access to session state before
authorization checks are made (to securely redirect the user back to
the start page when authentication completes). Now that the
`expressPreSession` hook exists, the rationale for moving
`preAuthorize` before the `express-session` middleware is gone.
This change undoes the following commits:
* bf35dcfc50
* 0b1ec20c5c
* 30544b564e
2022-01-14 00:44:54 -05:00
Richard Hansen
ab85db4426
webaccess: Silence prototype pollution warning
2022-01-14 00:44:54 -05:00
Richard Hansen
dcd43e9849
webaccess: Use .startsWith()
instead of .search()
2022-01-14 00:44:54 -05:00