Commit a7d8c71
* UFAL/fix: DOI Organizer creates duplicate dc.identifier.doi metadata (ufal#1368) (#1350)
(cherry picked from commit e9392ae on dtq-dev)
v9 adaptations:
- DOIIdentifierProviderTest: the two new tests' 'new Date().getTime()' rewritten to
'Instant.now().toEpochMilli()' — v9-base's Date->Instant migration removed the
java.util.Date import, so the clean cherry-pick would not compile (known tripwire,
sync plan card e9392ae).
Fulfils CLARIN_V9_POST_SNAPSHOT_SYNC_ACCEPTANCE.md §5 / e9392ae (BE-1, Vlna 1).
* UFAL/Obtain special groups from user context when new token is generated (on token refresh) (ufal#1378) (#1347)
(cherry picked from commit 74f5862 on dtq-dev)
v9 adaptations / additions:
- ClarinShibbolethSpecialGroupsIT.java added verbatim from the zcu backport branch
head b7d3c78 (origin/zcu-pub/backport-1347-shib-special-groups) — the regression
IT exists only on the 7.6 customer backport branches, not on dtq-dev; fix sourced
from 74f5862 (canonical), test from b7d3c78 per the sync plan card.
- No code adaptations: the pick applied conflict-free (method bodies only, jakarta
imports untouched); Context.getSpecialGroups null-guard included.
Fulfils CLARIN_V9_POST_SNAPSHOT_SYNC_ACCEPTANCE.md §5 / 74f5862 (BE-1, Vlna 1).
* [Port to dtq-dev] Issue 1364: tgz file preview fix (#1338)
(cherry picked from commit 15b296a on dtq-dev)
v9 adaptations / conflict resolution:
- FilePreviewIT.java: single conflict resolved toward the v9-base deletion of
testPreviewWithSyncStorage + SyncBitstreamStorageServiceImpl import/SYNC_STORE_NUMBER
(that class does not exist on v9-base); the commit's modernization hunk for that
test dropped, everything else applied (testUnauthorizedPassword removed, -p args
dropped, checkHandlerMessages helper + testPreviewWithForce added). Resulting file
contains exactly 6 tests.
- Intentional semantics change carried from the fork commit: the file-preview CLI no
longer requires -p/--password; EPerson resolved from context or -e email, consistent
with other DSpace CLI scripts. Admin-only operations stay guarded server-side.
Fulfils CLARIN_V9_POST_SNAPSHOT_SYNC_ACCEPTANCE.md §5 / 15b296a (BE-1, Vlna 1).
---------
Co-authored-by: Ondřej Košarko <ko_ok@centrum.cz>
1 parent e738a32 commit a7d8c71
12 files changed
Lines changed: 435 additions & 95 deletions
File tree
- dspace-api/src
- main/java/org/dspace
- authenticate/clarin
- content
- core
- ctask/general
- identifier
- scripts/filepreview
- test/java/org/dspace
- curate
- identifier
- scripts/filepreview
- dspace-server-webapp/src/test/java/org/dspace/app/rest
- security
Lines changed: 17 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
338 | 336 | | |
339 | 337 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
349 | 342 | | |
350 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
351 | 348 | | |
352 | 349 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 350 | | |
357 | 351 | | |
358 | 352 | | |
359 | 353 | | |
360 | | - | |
361 | | - | |
| 354 | + | |
| 355 | + | |
362 | 356 | | |
363 | | - | |
364 | 357 | | |
365 | 358 | | |
366 | 359 | | |
367 | | - | |
368 | | - | |
| 360 | + | |
| 361 | + | |
369 | 362 | | |
370 | 363 | | |
371 | 364 | | |
| |||
1291 | 1284 | | |
1292 | 1285 | | |
1293 | 1286 | | |
1294 | | - | |
| 1287 | + | |
1295 | 1288 | | |
1296 | 1289 | | |
1297 | 1290 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
690 | 695 | | |
691 | 696 | | |
692 | 697 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
| 1072 | + | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
1078 | 1088 | | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
1079 | 1092 | | |
1080 | 1093 | | |
1081 | 1094 | | |
| |||
Lines changed: 33 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
50 | | - | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| 52 | + | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
84 | 80 | | |
85 | 81 | | |
86 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
90 | | - | |
91 | | - | |
| 89 | + | |
| 90 | + | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
| 103 | + | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
| |||
162 | 171 | | |
163 | 172 | | |
164 | 173 | | |
| 174 | + | |
165 | 175 | | |
166 | 176 | | |
167 | 177 | | |
| |||
176 | 186 | | |
177 | 187 | | |
178 | 188 | | |
179 | | - | |
180 | | - | |
| 189 | + | |
| 190 | + | |
181 | 191 | | |
182 | 192 | | |
183 | 193 | | |
184 | 194 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
189 | 200 | | |
190 | 201 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
196 | 205 | | |
197 | | - | |
| 206 | + | |
198 | 207 | | |
199 | 208 | | |
200 | 209 | | |
201 | | - | |
202 | 210 | | |
203 | 211 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
149 | 157 | | |
150 | 158 | | |
151 | 159 | | |
| |||
233 | 241 | | |
234 | 242 | | |
235 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
236 | 258 | | |
237 | 259 | | |
238 | 260 | | |
| |||
0 commit comments