Commit graph

52351 commits

Author SHA1 Message Date
e2691e0870
Bug 34478: Changes for tools/upload
Required some more changes for mode to op, and delete form.
Most forms did not need a POST.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:42 +01:00
bc2bb89930
Bug 34478: (follow-up) Remove check_csrf from pl files
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:41 +01:00
17ec52961c
Bug 34478: Changes for tools/stage-marc-import
First form is ajax upload, no post needed.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:40 +01:00
e50445fef2
Bug 34478: Changes for tools/import_borrowers
Removed a csrf check in script itself.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:39 +01:00
aa7a8569a4
Bug 34478: Changes for tools/viewlog (no POST, just viewing)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:38 +01:00
4f63ac9dff
Bug 34478: Changes for tools/upload-images
First upload form does not submit (ajax processing).

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:37 +01:00
03941cc684
Bug 34478: Changes for tools/scheduler
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:37 +01:00
6a366faf3f
Bug 34478: Changes for tools/holidays
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:36 +01:00
159b9bbcf2
Bug 34478: Changes for overduerules.tt (remove POST for branch selection)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:35 +01:00
e4abc27635
Bug 34478: Changes for offline_circ
Removed an unused form from process_koc.tt and an unused
op from process_koc.pl.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:34 +01:00
bb1e48267e
Bug 34478: Manual fix - change to get - reports
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:33 +01:00
fb004545c7
Bug 34478: op =~ ^cud- - Manual - cud-do_it => do_it
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:32 +01:00
0fdcd75b9f
Bug 34478: Add 'op' to circ/branchtransfers
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:31 +01:00
93e51a1103
Bug 34478: Manual fix - change to get - circ/reserveratios
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:31 +01:00
07723d6708
Bug 34478: Add 'op' to cataloguing/merge
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:30 +01:00
6c8fc9ffc9
Bug 34478: Add 'op' to cataloguing/moveitem
Bug 34478: [TO SQUASH] Add 'op' to cataloguing/moveitem

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:29 +01:00
ddbb1a4055
Bug 34478: Add 'op' to catalogue/MARCdetail
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:28 +01:00
a8cc3b3db5
Bug 34478: Add 'op' to authorities/merge
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:27 +01:00
77f43b1a63
Bug 34478: Replace forms with links - authorities/authorities
Bug 34478: [TO SQUASH] Replace forms with links - authorities/authorities

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:26 +01:00
025fcdc5ba
Bug 34478: Add 'op' to admin/marc-overlay-rules
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:26 +01:00
23ebad24b6
Bug 34478: Add 'op' to tags/review
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:25 +01:00
6ed291c842
Bug 34478: Add 'op' to admin/smart-rules
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:24 +01:00
911adb94b2
Bug 34478: (follow-up) Remove POST from sru_modmapping templates
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:23 +01:00
c7b576ad7e
Bug 34478: Remove 'Delete' link for news on the homepage
This should not be a link but a POST instead. Simply removing it for
now, we will reintroduce it later if there is a need for that.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:22 +01:00
c95e81aef5
Bug 34478: Fix circ/set-library
Why do not we simply redirect instead of POSTing?

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:21 +01:00
d8cbdef12b
Bug 34478: Manual fix - change to get - circ/branchoverdues
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:20 +01:00
4e15a40642
Bug 34478: Manual fix - change to get - circ/curbside_pickups
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:20 +01:00
9278a91bc2
Bug 34478: Manual fix - change to get - circ/article-requests
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:19 +01:00
102ae26beb
Bug 34478: Add 'op' to serials/subscription-batchedit
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:18 +01:00
833fe2d2f0
Bug 34478: Manual fix - change to get - serials/claims
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:17 +01:00
861e25443a
Bug 34478: Replace form with div - serials/serials-search
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:16 +01:00
83310f6928
Bug 34478: Manual fix - change to get - serials/acqui-search
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:15 +01:00
e285b2d0e2
Bug 34478: Replace form with div - catalogue/result / z39.50/SRU search
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:15 +01:00
69b6069309
Bug 34478: Add test to catch missing op in POST forms
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:14 +01:00
2c83be0309
Bug 34478: Add op to reports/dictionary
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:13 +01:00
cb79f321e6
Bug 34478: Add missing CSRF token to acqui/basket.tt
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:12 +01:00
1c6c66c094
Bug 34478: Remove form from preferences.tt
We don't need a form here, it's never submitted

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:11 +01:00
40b8e359f3
Bug 34478: Fix opac-tags and tags/lists
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:10 +01:00
fa84aadf36
Bug 34478: Add csrf-token in meta
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:09 +01:00
0df674ba72
Bug 34478: Fix shelf transfer
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:09 +01:00
444888911b
Bug 34478: Shorten output of xt/find-missing-csrf.t
To make it more readable.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:08 +01:00
fad58b08ba
Bug 34478: Fix xt/find-missing-csrf.t
It was reporting false positives.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:07 +01:00
93e3fed043
Bug 34478: Move compatibility code
All ILL backend retrocompatibility code has been moved to Illrequest.pm:get_op_param_deprecation for isolation and clarity

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:06 +01:00
a9adee54b8
Bug 34478: ILL INTRA: query_type => op
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:05 +01:00
38b21ff3b8
Bug 34478: ILL INTRA: delete to cud-delete
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:04 +01:00
40a1ab9db1
Bug 34478: ILL INTRA: cancel to cud-cancel
cancel -> cud-cancel

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:04 +01:00
8818055c82
Bug 34478: ILL INTRA: create -> cud-create
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:03 +01:00
a24596709a
Bug 34478: ILL INTRA: deprecation check
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:02 +01:00
78c8ab3744
Bug 34478: ILL INTRA: method -> op
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:01 +01:00
d08c23869a
Bug 34478: ILL INTRA preparation: Move function to ILLrequest.pm
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-03-01 10:58:00 +01:00