jenkinsci / publish-over-ssh-plugin

https://plugins.jenkins.io/publish-over-ssh/
115 stars 150 forks source link

Remove usages of Prototype JavaScript framework #306

Closed basil closed 1 year ago

basil commented 1 year ago

See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified:

./src/main/webapp/js/pos.js:44:    row.show();
./src/main/webapp/js/pos.js:45:    row.next().show();
./src/main/webapp/js/pos.js:49:    row.hide();
./src/main/webapp/js/pos.js:50:    row.next().hide();
./src/main/webapp/js/pos.js:54:    $(container).getElementsBySelector('.ssh-exec-control').each(function(sshControl) {
./src/main/webapp/js/pos.js:59:    $(container).getElementsBySelector('input[name="_.usePty"]').each(function(sshControl) {
./src/main/webapp/js/pos.js:64:    $(container).getElementsBySelector('input[name="_.useAgentForwarding"]').each(function(sshControl) {
./src/main/webapp/js/pos.js:79:    $(container).getElementsBySelector('input').each(function(inputControl) {
./src/main/webapp/js/pos.js:82:    $(container).getElementsBySelector('textarea').each(function(inputControl) {

CC @gmcdonald