From 659069b0f00f4fb85aca176f713de33d274cb387 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Fri, 11 Aug 2023 10:50:19 +0200 Subject: [PATCH 1/7] nouvelle url paris saclay --- ophirofox/content_scripts/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ophirofox/content_scripts/config.js b/ophirofox/content_scripts/config.js index 897ee44..e418cdb 100644 --- a/ophirofox/content_scripts/config.js +++ b/ophirofox/content_scripts/config.js @@ -17,9 +17,9 @@ const ophirofox_config_list = [ { name: "Université Paris-Saclay", domains: ["universite-paris-saclay.fr"], - LOGIN_URL: "https://proxy.scd.u-psud.fr/login", + LOGIN_URL: "https://ezproxy.universite-paris-saclay.fr", AUTH_URL: - "https://proxy.scd.u-psud.fr/login?url=http://nouveau.europresse.com/access/ip/default.aspx?un=U031535T_9", + "https://ezproxy.universite-paris-saclay.fr/login?url=http://nouveau.europresse.com/access/ip/default.aspx?un=U031535T_9", }, { name: "Université Paris 1 Panthéon-Sorbonne", From b5df532bedea1e1d72f7b98e3238ee244514215f Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Fri, 11 Aug 2023 10:51:29 +0200 Subject: [PATCH 2/7] Update config.js --- ophirofox/content_scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ophirofox/content_scripts/config.js b/ophirofox/content_scripts/config.js index e418cdb..4353c17 100644 --- a/ophirofox/content_scripts/config.js +++ b/ophirofox/content_scripts/config.js @@ -17,7 +17,7 @@ const ophirofox_config_list = [ { name: "Université Paris-Saclay", domains: ["universite-paris-saclay.fr"], - LOGIN_URL: "https://ezproxy.universite-paris-saclay.fr", + LOGIN_URL: "https://ezproxy.universite-paris-saclay.fr/login", AUTH_URL: "https://ezproxy.universite-paris-saclay.fr/login?url=http://nouveau.europresse.com/access/ip/default.aspx?un=U031535T_9", }, From 270e8d883c474cd4c321b8941edfd091f69600b6 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Fri, 11 Aug 2023 10:53:35 +0200 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d22c55..56dfe33 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ L'extension fonctionne avec les portails universitaires suivants : - [**Europresse ENS Ulm PSL**](http://proxy.rubens.ens.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=PSLT_1), - [**Europresse ENS Lyon**](https://acces.bibliotheque-diderot.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=ENSLYONT_1), - [**Europresse ENSAM (Arts et Métiers)**](http://rp1.ensam.eu/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=AML), - - [**Europresse Université Paris-Saclay**](https://proxy.scd.u-psud.fr/login?url=http://nouveau.europresse.com/access/ip/default.aspx?un=U031535T_9), + - [**Europresse Université Paris-Saclay**](https://ezproxy.universite-paris-saclay.fr/login?url=http://nouveau.europresse.com/access/ip/default.aspx?un=U031535T_9), - [**Europresse Université Paris 1 Panthéon-Sorbonne**](http://ezpaarse.univ-paris1.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=SORBONNET_1), - [**Europresse INSA Lyon**](https://docelec.insa-lyon.fr/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=INSAT_3) - [**Europresse Bibliothèque nationale de France**](https://bnf.idm.oclc.org/login?url=https://nouveau.europresse.com/access/ip/default.aspx?un=bnf) From 1e7e86c9a4df38c15ca24968f61e88709ea80126 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Fri, 11 Aug 2023 10:57:14 +0200 Subject: [PATCH 4/7] Update manifest.json --- ophirofox/manifest.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ophirofox/manifest.json b/ophirofox/manifest.json index a3938ad..6a75f5d 100644 --- a/ophirofox/manifest.json +++ b/ophirofox/manifest.json @@ -128,7 +128,7 @@ "https://nouveau.europresse.com/Search/Reading*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Search/Reading*", "https://nouveau-europresse-com.rp1.ensam.eu/Search/Reading*", - "https://nouveau-europresse-com.proxy.scd.u-psud.fr/Search/Reading*", + "https://nouveau-europresse-com.ezproxy.universite-paris-saclay.fr/Search/Reading*", "https://nouveau-europresse-com.ezpaarse.univ-paris1.fr/Search/Reading*", "https://nouveau-europresse-com.docelec.insa-lyon.fr/Search/Reading*", "https://nouveau-europresse-com.bnf.idm.oclc.org/Search/Reading*", @@ -148,7 +148,7 @@ "https://nouveau.europresse.com/Login*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Login*", "https://nouveau-europresse-com.rp1.ensam.eu/Login*", - "https://nouveau-europresse-com.proxy.scd.u-psud.fr/Login*", + "https://nouveau-europresse-com.ezproxy.universite-paris-saclay.fr/Login*", "https://nouveau-europresse-com.ezpaarse.univ-paris1.fr/Login*", "https://nouveau-europresse-com.docelec.insa-lyon.fr/Login*", "https://nouveau-europresse-com.bnf.idm.oclc.org/Login*", @@ -169,7 +169,7 @@ "https://nouveau.europresse.com/Search/ResultMobile*", "https://nouveau-europresse-com.proxy.rubens.ens.fr/Search/ResultMobile*", "https://nouveau-europresse-com.rp1.ensam.eu/Search/ResultMobile*", - "https://nouveau-europresse-com.proxy.scd.u-psud.fr/Search/ResultMobile*", + "https://nouveau-europresse-com.ezproxy.universite-paris-saclay.fr/Search/ResultMobile*", "https://nouveau-europresse-com.ezpaarse.univ-paris1.fr/Search/ResultMobile*", "https://nouveau-europresse-com.docelec.insa-lyon.fr/Search/ResultMobile*", "https://nouveau-europresse-com.bnf.idm.oclc.org/Search/ResultMobile*", From c8bfe32858b378fd7aaa4a47762833fbcdfc7bde Mon Sep 17 00:00:00 2001 From: lovasoa Date: Fri, 11 Aug 2023 11:55:12 +0200 Subject: [PATCH 5/7] update runner --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 2db9881..c895638 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -8,7 +8,7 @@ defaults: jobs: check: name: web-ext lint and build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 From aac597f20c077c60325d67295523e66f1d9136e1 Mon Sep 17 00:00:00 2001 From: lovasoa Date: Fri, 11 Aug 2023 12:00:40 +0200 Subject: [PATCH 6/7] update runner --- .github/workflows/pr.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index c895638..88597ce 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -17,12 +17,12 @@ jobs: - run: npm install --global web-ext - run: web-ext lint --self-hosted --warnings-as-errors - run: web-ext build - - run: cp web-ext-artifacts/*zip ophirofox.xpi - uses: actions/upload-artifact@v3 id: upload with: - name: ophirofox.xpi - path: ophirofox.xpi + name: ophirofox.zip + path: web-ext-artifacts/*.zip + if-no-files-found: error - name: Create or update comment uses: peter-evans/create-or-update-comment@v3 with: @@ -30,5 +30,5 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: | Voilà l'extension à télécharger pour tester: https://github.com/lovasoa/ophirofox/pull/${{ github.event.pull_request.number }}/checks - Cliquez sur "Construction de l'extension" puis sur `ophirofox.xpi` + Cliquez sur "Construction de l'extension" puis sur `ophirofox.zip` From 0b4c90f370014d0d46df39f11f7375f1b0694e58 Mon Sep 17 00:00:00 2001 From: lovasoa Date: Fri, 11 Aug 2023 12:04:31 +0200 Subject: [PATCH 7/7] fix path --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 88597ce..ce774f6 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -21,7 +21,7 @@ jobs: id: upload with: name: ophirofox.zip - path: web-ext-artifacts/*.zip + path: ophirofox/web-ext-artifacts/*.zip if-no-files-found: error - name: Create or update comment uses: peter-evans/create-or-update-comment@v3