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
94985923a7
Removed comments in settings test. ( #6431 )
...
* Removed comments in settings test.
* Fixed admin tests.
2024-06-05 21:36:05 +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
6a2ffe6aaf
Added error handling if an unknown language code is entered. ( #6102 )
2024-01-13 16:23:21 +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
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
SamTV12345
6ee4d3daaa
Fixed password with only numbers being rejected.
2023-07-02 17:48:16 +02:00
webzwo0i
ed5e8997d7
Fix: Plugin locales should overwrite core's locales
2023-06-20 13:51:01 +01: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
023e58cfe6
express-session: Set a finite cookie lifetime
2022-01-17 21:45:56 -05:00
Richard Hansen
ec10700dff
express-session: Don't save uninitialized sessions
...
This should avoid frivolous session records, such as when the user
gets a 404 (unless login was required to see the 404).
2022-01-17 21:45:56 -05:00
Richard Hansen
7255dd7ef0
express-session: Inherit proxy trust from Express
2022-01-17 21:45:56 -05:00
Richard Hansen
945e6848e2
SessionStore: Delete DB record when session expires
...
This only deletes records known to the current Etherpad instance --
old records from previous runs are not automatically cleaned up.
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
75637708c0
express: Move up cookie-parser
middleware
...
This makes it possible for the `preAuthorize` and `preExpressSession`
hooks to easily read or set cookies.
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
Richard Hansen
66ce2b50a9
openapi: Convert Promise.catch()
to catch
block
2022-01-02 19:17:20 -05:00