windingwind
5ebd6c4141
Try to fix unstable attachments pane test
2024-05-29 21:27:13 +08:00
Martynas Bagdonas
e96426d18c
Adjust fulltext test
2024-05-28 17:32:03 +03:00
Martynas Bagdonas
97c37de7f7
Update reader and pdf-worker submodules and partially disable one test
2024-05-28 17:18:56 +03:00
windingwind
fe3dae2d15
Refactor AttachmentPreview render and discard ( #4161 )
2024-05-28 00:05:29 -04:00
Abe Jellinek
3176516b79
Feeds: Fix error parsing items with rights information
...
- 59afef6
added a duplicate assignment to item.rights that was putting
a TextConstruct(!!!!) in the item JSON field instead of a string
- info.rights was being set to a TextConstruct (preexisting issue!)
2024-05-23 14:20:44 -04:00
Abe Jellinek
92bb96ac49
Feeds: De-prioritize prism:copyright
...
Seems to be more used for copyright owner names than license
information, which is probably what we want in that field when it's
available.
2024-05-23 14:16:38 -04:00
abaevbog
9325f773cc
fix tagsbox enter glitch ( #4160 )
...
The 'blur' event needs to be dispatched by editable-text
before its state is reset (not after) because tagsbox uses
.initialValue in the 'blur' handler.
followup to 101e6d55d5
Fixes : #3575
2024-05-23 00:16:36 -04:00
Dan Stillman
721f54fe49
Disable tagsbox test again due to CI failures ( #3575 )
2024-05-22 23:22:05 -04:00
Dan Stillman
debe5590f2
Temporarily disable intermittently failing tests ( #4139 )
2024-05-22 23:02:56 -04:00
Abe Jellinek
59afef6c2e
Feeds: Refactor to move field extraction to FeedProcessor ( #4158 )
...
And support more PRISM fields.
2024-05-22 18:29:58 -04:00
Dan Stillman
14c6d26f20
Clarify comment for numDistinctFileAttachmentsForLabel()
test
2024-05-19 00:54:13 -04:00
Dan Stillman
47bf4de08a
Add test for numDistinctFileAttachmentsForLabel()
filter function
2024-05-19 00:52:36 -04:00
windingwind
bc47ee46c8
Fix item pane buttons after CEification
...
Fixes #4115
2024-05-15 06:45:10 -04:00
windingwind
9a23031c12
Rename ItemPaneHeader CE localName to item-pane-header
...
Closes #4114
2024-05-15 06:45:09 -04:00
windingwind
91c0c28b5d
Fix attachments & annotation box refresh bugs and add tests ( #4031 )
...
Fixes #3993
Fixes #3995
Closes #4082
2024-05-15 06:45:01 -04:00
Dan Stillman
07e8f0a01d
Try to make numDistinctFileAttachmentsForLabel()
test more reliable
2024-05-15 06:09:40 -04:00
Dan Stillman
0c8d3f0829
Improve counting of file attachments for Show File and Export PDFs
...
If a parent item and its primary attachment are selected, it should
still say "Show File" rather than "Show Files". This adds the
questionably named `Zotero.Items.numDistinctFileAttachmentsForLabel()`
to try to figure out if we're operating on 0, 1, or >1 items.
Follow-up to #4124
2024-05-15 05:50:47 -04:00
Dan Stillman
9783cc57c4
Add test for placement of creator rows in Info pane
2024-05-11 04:09:12 -04:00
Bogdan Abaev
be1c890051
After new item creation, focus title in itemBox ( #4113 )
...
When item is created manually, title field in itemBox
will be focused instead of the title in the itemPane as before.
If the itemBox is collapsed, it will be opened.
Added 'open' setter to item pane section for brevity
Fixes #4111
2024-05-11 04:09:05 -04:00
Abe Jellinek
59b1d75b98
Item pane header customization ( #3791 )
2024-05-10 08:23:26 -04:00
Dan Stillman
85f58cc97d
Fix Utilities.Internal.md5Async() on missing files and empty strings
...
https://forums.zotero.org/discussion/114208/zotero-7-beta-bug-report-consistent-error-when-syncing
2024-05-08 01:16:37 -04:00
Abe Jellinek
8f2bf50cec
Try to prevent ConcurrentCaller from failing CI ( #4097 )
2024-05-07 19:38:44 -04:00
Abe Jellinek
bd9048861c
HiddenBrowser: Test download blocking
...
9b7d3edbb3
2024-05-07 11:17:30 -04:00
Abe Jellinek
da1eb6fda9
Feeds: Prefer content to summary when available
2024-04-30 02:14:57 -04:00
Dan Stillman
81ed1f6ebb
Strip line and paragraph separators in filenames
...
And don't fail on existing filenames with these characters in
`Item::attachmentFilename`
https://forums.zotero.org/discussion/114025/pdf-files-renaming-casuing-syncing-issue
2024-04-28 07:51:25 -04:00
Abe Jellinek
a5393ca0e5
Merge: Keep external annotations on master, don't erase on other
...
PDFWorker only re-imports external annotations when the file changes on
disk. Keep annotation items corresponding to external annotations so
that they don't disappear after the merge (and then come back when the
file is edited).
Tweaks behavior introduced in 2aa34a6
.
https://forums.zotero.org/discussion/113943/zotero-7-beta-merging-pdf-files-leaves-ghost-external-annotations
2024-04-25 16:35:09 -04:00
Dan Stillman
704d90cd83
Use startHTTPServer()
in FeedReader test
2024-04-20 06:41:57 -04:00
Dan Stillman
9ffb430207
Return baseURL
from startHTTPServer()
test support function
...
Since it should almost always just be `http://localhost:${port}/ `
2024-04-20 06:41:57 -04:00
Abe Jellinek
8b13f717b4
SAXXMLReader: Handle non-UTF-8 encodings ( #3846 )
2024-04-20 06:41:51 -04:00
Abe Jellinek
f7dc68c7f4
Render RSS description as HTML ( #3956 )
2024-04-18 06:39:17 -04:00
abaevbog
2835d6fe83
tag selector focus edits, fix windowing breakage ( #3984 )
...
* tag selector focus edits
- no tabstop on the tag selector scrollable area
- change tag selector's role from default "grid" to "group".
"grid" is not quite correct semantically and leads to
voiceover suggesting irrelevant commands.
- move all keyboard handling logic to tagSelectorList.jsx.
Tabbing through tag selector is now handled in ZoteroPane,
so the only logic left there is arrow navigation
between tags, and there's no reason to not have it
together with the tags list.
- a workaround to deal with focused tags when windowing
kicks in. When a tag is focused, record its index.
Each time tags are re-rendered, if the saved index is not
among rendered tags, refocus it, otherwise, move focus
to the tags list.
2024-04-18 08:39:36 +03:00
Dan Stillman
4fe0ebc63b
Fix skipBundledFiles
not being passed to Zotero.reinit()
in tests
...
Making tests much slower
Regression from 2051f08b4c
2024-04-16 06:09:59 -04:00
abaevbog
c7c3784413
fix focus test breakage after zotero@6859614 ( #3977 )
...
- edits to zoteroPaneTest.js focus tests to expect the updated focus
sequence: selected tab -> tabs menu -> sync button -> collectionTree
toolbar -> collectionTree -> tags selector -> itemTree toolbar
- updated tags selector keydown handling to explicitly handle all
tab/shift-tab events using moveFocus. It is more readable and explicit
focus handling for all components is required for programmic tab/shiftTab
events dispatched in tests to actually move focus
Fixes : #3975
2024-04-14 02:16:16 -04:00
Dan Stillman
2e8073ab9d
Disable failing tabbing tests
...
To be fixed in #3975
2024-04-13 03:54:58 -04:00
Abe Jellinek
5263c79ea8
BlockingObserver: Re-enable in CI
2024-04-11 22:59:48 -04:00
Dan Stillman
b44757ad3c
CI: Re-enable retractions tests
...
See #3962
2024-04-11 06:09:12 -04:00
Dan Stillman
bef389e110
CI: Temporarily disable BlockingObserver test due to #3962
2024-04-11 05:58:51 -04:00
Dan Stillman
02a48c5a84
Add test for importing BibTeX from the clipboard
2024-04-10 07:13:47 -04:00
windingwind
49923780ca
fx115: replace text/unicode with text/plain in clipboard code ( #3945 )
2024-04-09 17:47:40 -04:00
Dan Stillman
38dc364f57
CI: Temporarily disable retractions tests due to failure in fx115
2024-04-08 03:11:23 -04:00
Dan Stillman
b3d07a5ddf
Remove initPDFToolsPath()
call
2024-04-06 16:16:04 -04:00
Dan Stillman
20d6cde85f
Remove obsolete initPDFToolsPath()
in tests
2024-04-06 04:38:33 -04:00
windingwind
b2ad17d604
CEify itemPane
2024-03-30 00:58:57 -04:00
Dan Stillman
5730bf690e
fx115: Don't try to spy on IOUtils function in test
...
Since it doesn't work
2024-03-30 00:58:55 -04:00
Dan Stillman
03d414f3bd
fz115: Update SingleFile tests to expect <html style>
...
Which I guess we get now instead of `<html>`?
2024-03-30 00:58:54 -04:00
Dan Stillman
920461cd9d
fx115: Update lots of OS.File/OS.Path uses
2024-03-30 00:58:54 -04:00
Dan Stillman
33db3c28fc
fx115: Restore test runner
2024-03-30 00:58:53 -04:00
Abe Jellinek
63f54d3184
FileHandlers: Fall back when _getSystemHandler() fails
...
Continue to Zotero.launchFile() as intended.
https://forums.zotero.org/discussion/113179/pdfs-will-not-open-in-system-reader-when-double-clicked
2024-03-27 13:23:54 -04:00
Abe Jellinek
65db66eb33
Add tests for shortTitle tag closing
2024-03-22 13:14:52 -04:00
Tom Najdek
16fa1ac893
Fix attachment icon remains after deleting attachment. Fix #3779
2024-03-08 15:22:15 +01:00