Branch: refs/heads/master Home: https://github.com/jenkinsci/sidebar-link-plugin Commit: b0fac407183bf196a6ad6f13c1f468c318f2b7f4 https://github.com/jenkinsci/sidebar-link-plugin/commit/b0fac407183bf196a6ad6f13c1f468c318f2b7f4 Author: Kalle Olavi Niemitalo <k...@iki.fi> Date: 2022-02-12 (Sat, 12 Feb 2022)
Changed paths: M pom.xml Log Message: ----------- pom: Disable resource filtering Fix <https://github.com/jenkinsci/sidebar-link-plugin/issues/28> Commit: 2df9a3c1484760c08fbc5d845d8ae0d51b3c1696 https://github.com/jenkinsci/sidebar-link-plugin/commit/2df9a3c1484760c08fbc5d845d8ae0d51b3c1696 Author: Kalle Olavi Niemitalo <k...@iki.fi> Date: 2022-02-13 (Sun, 13 Feb 2022) Changed paths: M src/main/resources/hudson/plugins/sidebar_link/SidebarLinkPlugin/config.jelly Log Message: ----------- Reference startUpload view via descriptorByName Because SidebarLinkPlugin nowadays extends GlobalConfiguration rather than Plugin, Jenkins maps ${rootURL}/plugin/sidebar-link/* only to static resources and not to Jelly views like startUpload.jelly. Form validation generates URLs that use "descriptorByName", so let's use that for the upload iframe as well. (Descriptor.getDescriptorUrl would return that string, but the risk of bugs seems lower if I just hardcode it.) Commit: e92770a7a8096eedbc706be6efadb5d88362652e https://github.com/jenkinsci/sidebar-link-plugin/commit/e92770a7a8096eedbc706be6efadb5d88362652e Author: Kalle Olavi Niemitalo <k...@iki.fi> Date: 2022-02-13 (Sun, 13 Feb 2022) Changed paths: M src/main/resources/hudson/plugins/sidebar_link/SidebarLinkPlugin/startUpload.jelly Log Message: ----------- Use l:layout in startUpload.jelly layout.jelly will add data-crumb-header and data-crumb-value attributes to the head element, and include behavior.js, which should then add the anti-CSRF crumb as a hidden field to the HTML form. Fix JENKINS-55710 Commit: 4f35c1a0811634117f73779fcdb24bdb4c3f98c8 https://github.com/jenkinsci/sidebar-link-plugin/commit/4f35c1a0811634117f73779fcdb24bdb4c3f98c8 Author: Kalle Olavi Niemitalo <k...@iki.fi> Date: 2022-02-13 (Sun, 13 Feb 2022) Changed paths: M src/main/resources/hudson/plugins/sidebar_link/SidebarLinkPlugin/startUpload.jelly Log Message: ----------- Fix URL of file upload action action="upload" in startUpload.jelly attempted to call the SidebarLinkPlugin.doUpload method, but that was renamed to doUploadLinkImage in commit 3ef9756887ffd2c0b013795452db3455b7cca45f during the CasC work, so we need to use action="uploadLinkImage". Commit: 8ab8e97220cdc914602eb0af4cf01487135c151e https://github.com/jenkinsci/sidebar-link-plugin/commit/8ab8e97220cdc914602eb0af4cf01487135c151e Author: Damian Szczepanik <damianszczepa...@users.noreply.github.com> Date: 2022-02-17 (Thu, 17 Feb 2022) Changed paths: M pom.xml M src/main/resources/hudson/plugins/sidebar_link/SidebarLinkPlugin/config.jelly M src/main/resources/hudson/plugins/sidebar_link/SidebarLinkPlugin/startUpload.jelly Log Message: ----------- Merge pull request #36 from KalleOlaviNiemitalo/disable-resource-filtering JENKINS-55710, #28 - Fix icon upload iframe in global config Compare: https://github.com/jenkinsci/sidebar-link-plugin/compare/345e07cb2cc1...8ab8e97220cd -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/sidebar-link-plugin/push/refs/heads/master/345e07-8ab8e9%40github.com.