Commit graph

1941 commits

Author SHA1 Message Date
SamTV12345
1e3a61e5fb
feat(pad-settings): added possibility to delete pad by the creator (#6730) 2024-10-28 21:56:10 +01:00
Stefan Müller
645e289d2d
Fix revision loading for timeslider having revision count multiple of 100 (#6652) 2024-09-10 20:01:32 +00:00
Stefan Müller
113884d071
Fix timeslider datetime is wrong on new changes (#6651) 2024-09-10 20:01:19 +00:00
SamTV12345
4891243c27
Added support for alternative update servers. (#6645) 2024-09-09 20:47:45 +02:00
SamTV12345
a61f634586
Fixed document not accessible in iframe (#6642)
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-09-09 11:26:12 +02:00
SamTV12345
504d04d668
Readded text shortcut (#6634) 2024-09-05 18:46:46 +02:00
JannikStreek
f8225b3e2a
fix github plugin installation (#6584) 2024-08-23 15:20:28 +02:00
SamTV12345
1e91efc16c sec: Fixed unsafe jquery plugin 2024-08-18 20:21:54 +02:00
SamTV12345
7f05e2b399 Added more tests. 2024-08-18 18:49:58 +02:00
SamTV12345
28e04bdf71
Feat/changeset ts (#6594)
* Migrated changeset

* Added more tests.

* Fixed test scopes
2024-08-18 12:14:24 +02:00
SamTV12345
7e3ad03e2f
Moved to ts (#6593)
* Moved to ts

* Fixed type check

* Removed js suffixes

* Migrated to ts

* Fixed ts.

* Fixed type check

* Installed missing d ts
2024-08-17 20:14:36 +02:00
SamTV12345
a63c27df0f Unified installation process 2024-08-06 17:47:47 +02:00
SamTV12345
fe7aa6f40d Fixed undefined html10n 2024-07-24 19:59:23 +02:00
SamTV12345
32a4068468 Fixed index html page 2024-07-23 18:14:49 +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
634ffab3ba
Bumped JQuery to 3.7.1 (#6506) 2024-07-10 20:06:24 +02:00
SamTV12345
166724dc13
fix: Silent disconnect of pad (#6498) 2024-07-07 20:34:54 +02:00
Helder Sepulveda
d5552b037c
On Ctrl+Click bring the window back to focus (#6456) 2024-06-16 19:27:05 +02:00
SamTV12345
ec9e8eda64 Revert "Fix document not scrolling in iOS (all browsers) (#5599)"
This reverts commit 2301fdda8a.
2024-06-04 08:39:10 +02:00
Ali Sherief
2301fdda8a
Fix document not scrolling in iOS (all browsers) (#5599)
* Fix document not scrolling in iOS (all browsers)

This patches a bug where users cannot scroll a document on iOS,
because iOS does not allow iframes to be scrolled.

See https://davidwalsh.name/scroll-iframes-ios for details.

* trigger GitHub actions

---------

Co-authored-by: John McLear <john@mclear.co.uk>
2024-06-03 22:45:28 +02:00
Satoshi Yazawa
3a1ef560ec
Upgrade live-plugin-manager to 1.0.0 (#6396)
* Upgrade the live-plugin-manager

* Fix migration scripts to skip checking for the system directory of live-plugin-manager

* Updated lockfile

* Improved handling of install.

---------

Co-authored-by: yacchin1205 <968739+yacchin1205@users.noreply.github.com>
Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
2024-06-01 14:05:53 +02:00
SamTV12345
63e9b2d4eb
Fixed api header authorization (#6399) 2024-05-22 21:16:19 +02:00
SamTV12345
70a536cad1 Fixed timeout when idling. 2024-04-28 12:55:32 +02:00
SamTV12345
8c42fbf045 Fixed timeout when idling. 2024-04-28 12:47:50 +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
alongdate
2d01f6027f
chore: fix some typos in comments (#6343)
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 19:12:58 +02:00
SamTV12345
8a66b04b68
chore: Added client credentials grant for API calling from services. (#6325)
* chore: Added client credentials grant for API calling from services.

* chore: Added authentication documentation
2024-04-13 10:32:23 +02:00
SamTV12345
92a4b9a622
chore: Bumped live plugin manager (#6311) 2024-04-05 18:53:04 +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
ad3393d2fe
Added hostrequire undefined to always install all subdependencies. (#6241) 2024-03-18 19:44:16 +01:00
SamTV12345
9e6549db2e
Fix uncaught error. Symlink not working with scoped packages (#6233) 2024-03-17 19:37:41 +01:00
SamTV12345
324ac44ad3
Feat/local install (#6232)
* Added local install

* Fixed installing plugin.

* Added output for other use case.

* Fixed installation.
2024-03-16 14:50:34 +01:00
SamTV12345
65046a3ff2 Added node workspace. 2024-03-15 20:59:28 +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
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
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
Denys Halenok
4f53142d7f
Don't install all dependencies from node_modules (#6173) 2024-02-20 11:16:20 +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
Kalepu Satya Sai Teja
726cef8492
Fix: #5001 Don't wrap URLs (#5887) 2024-02-11 11:22:17 +01:00
SamTV12345
361b38ae50
Added pnpm (#6148)
* Added pnpm

* Removed cache for npm.

* Fixed.

* Added pnpm

* Fixed install script.

* Fixed windows script.

* Fixed.

* Fixed.

* Fixed install.

* Only install direct dependencies.

* Only install direct dependencies.

* Only install direct dependencies.

* Fixed windows build.

* fixed.

* fixed deploy.

* Fixed docker build.

* Fixed windows deploy

* Fixed docker build

* Fixed healthcheck.

* fixed.

* Fixed detection of live plugin managers dependencies.

* fixed.

* Remove Node 19 as it is not supported.

* Fixed.

* Fixed installDeps.sh

* Fixed.

* Fixed windows install.

* Fixed cypress path.

* Fixed.

* Run etherpad in background.

* Install cypress.
2024-02-11 09:51:42 +01:00
SamTV12345
96c81906cb Fixed typo in function call. 2024-02-10 11:36:09 +01:00
Winston Sung
e718acaaf8
Fix Accept-Language detection (#6144)
fixes #6129

Bug: #6129
Bug: #6144
Follows-Up: #3882
Change-Id: Ie3fcec84948fde36fa12448d5eabaf05f79f1283
2024-02-10 11:27:02 +01:00
SamTV12345
630e1f7ebb Fixed base plugin install path. 2024-01-31 12:20:20 +01:00
SamTV12345
a7f81e824a Fixed installing of local packages. 2024-01-30 22:27:31 +01:00
Stefan
9c14a4f7db
Live plugin manager (#6018)
* Added plugin live view.

* Implemented PoC for managing plugins with live-plugin-manager

* Add migration for plugins installed in node_modules and load plugins on start

* Create installed_plugins.json even if no plugin is installed

* Reload plugins and hooks after all (un)installs are done

* Add installed_plugins.json to gitignore

* Only write plugins to json file in Dockerfile

* Install live-plugin-manager

* Also persist plugin version

* Do not call hooks during migration of plugins

* Fix install of plugins in Dockerfile

* Revert Dockerfile changes

* Fixed package-lock.json

---------

Co-authored-by: SamTV12345 <40429738+samtv12345@users.noreply.github.com>
Co-authored-by: Hossein M <marzban98@gmail.com>
2024-01-14 11:54:57 +01:00
Stefan
d12119d3be
Handle exception during loading of plugins (#6074) 2023-12-17 11:05:32 +00:00
Denys Halenok
bc302538c0
Don't access jQuery through parent.parent (#5943) 2023-09-22 20:53:24 +02:00
SamTV12345
ae7800eada Fixed color wheel. 2023-08-17 14:31:36 +02:00
SamTV12345
b56d75b1e9
Use parse instead of parseJSON. (#5869) 2023-08-08 19:12:41 +02:00
SamTV12345
a096f1ae33
Update jQuery to 3.7 and fix admintests (#5868)
* jQuery: Migrate to `.on()`, `.off()`, `.trigger()`

This avoids methods that are deprecated in newer versions of jQuery.

* jQuery: avoid `.removeAttr`, prefer `.prop`

* helper.edit: wait up to 10 seconds for ACCEPT_COMMIT

* Chat: disabled attribute is boolean

* Chat: avoid inline onclick handler to support jQuery 3.4+

* jQuery: update to version 3.6.0

* Update to 3.7

* Removed deprecated event.

* Revert change to focus on padeditor.ace

---------

Co-authored-by: webzwo0i <webzwo0i@c3d2.de>
2023-08-08 18:26:25 +02:00