Dan Stillman
555c937957
Update translators
2022-03-16 20:45:18 -04:00
Abe Jellinek
b1d11bf7dc
Really fix lastSync log spam
...
6b6c27029b
didn't do the trick because
library.lastSync can be false and the ?. operator doesn't catch that.
2022-03-15 10:43:17 -07:00
Abe Jellinek
6240e08ca0
Fix CI: Replace git:// URLs with HTTPS
...
GitHub dropped support for the unencrypted Git protocol today.
https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-03-15 10:24:57 -07:00
Abe Jellinek
8a235c07f1
Fix et al. regex for sorting by creator
...
\. -> \\. and apply the same escaping to general.and.
2022-03-15 10:05:09 -07:00
Martynas Bagdonas
26e4de500e
Fix overflowing itemPane and hidden contextPane for new profiles, in stacked view
...
Fixes #2305
2022-03-15 18:27:18 +02:00
Martynas Bagdonas
982b41359b
Fix oversized tagBox icons in standalone PDF reader window
...
Fixes #2143
2022-03-15 18:27:18 +02:00
Martynas Bagdonas
d02eb145d5
Fix copying over PDF reader context pane
...
Fixes #2408
2022-03-15 18:27:18 +02:00
Dan Stillman
1f2f91d2d2
Update locales from Transifex
2022-03-15 07:43:11 -04:00
Dan Stillman
ad74a28f1a
Update translators
2022-03-15 07:43:11 -04:00
Martynas Bagdonas
d4339f20bd
Don't try to modify non-editable annotation item when saving image
2022-03-15 11:04:02 +02:00
Martynas Bagdonas
769bfbc892
Fix PDF reader up/down keyboard navigation regression in RTL mode
2022-03-15 09:53:11 +02:00
Martynas Bagdonas
59caaf56ea
Fix PDF reader keyboard navigation in RTL mode
2022-03-14 17:25:28 +02:00
Adomas Venčkauskas
3b8c16c155
Adjust HTML Tree styling on Windows. Closes #2393
2022-03-14 14:58:22 +02:00
Adomas Venčkauskas
8e2790e2d2
Temporarily disable tooltip display for truncated cells ( 8de1ddc
)
...
Closes #2392 , reopens #2321
2022-03-14 14:57:59 +02:00
Adomas Venčkauskas
12cd201b48
HTML Tree: Multi-selection fixes
...
- Clarification between focused row and pivot:
- Pivot is only the row from which shift-selection pivots
- Focused row is the one with the border around it
- Fixed an issue where clicking the focused row didn't select it.
Closes #2402
- Allows to create a non-contiguous range-selection with ctrl/cmd+shift.
Closes #2403
2022-03-14 14:57:59 +02:00
Dan Stillman
3ec883a7f6
Get attachment text on-demand if not cached in Item::attachmentText
...
Follow-up to 58f515058
with a better approach: if no full-text cache
file, just get text directly without indexing. In the one existing use
of `attachmentText`, attachment merging, this is better anyway, because
we might be deleting the file, so there's no point wasting time
inserting words into the database.
2022-03-12 20:22:29 -05:00
Dan Stillman
46ff3cf4fb
Add pending test for merging items with unindexed attachments by content
...
Follow-up to 58f51505
2022-03-12 19:11:39 -05:00
Dan Stillman
58f5150583
Don't automatically index full-text content in Item::attachmentText
...
Indexing starts a transaction, which will cause `.attachmentText` to
hang if accessed within another transaction. If a caller wants to make
sure it has attachment text, it should index items first outside a
transaction.
2022-03-12 19:11:02 -05:00
Dan Stillman
6aa401bceb
Don't show annotation-only tags in tag selector
2022-03-12 03:00:40 -05:00
Martynas Bagdonas
c7972b3d38
Improve keyboard navigation in PDF reader tab ( #2395 )
2022-03-12 02:22:13 -05:00
Abe Jellinek
6b6c27029b
Fix log spam when library hasn't been synced ( #2409 )
...
This happens a lot during tests - library.lastSync is null, so
showAutoSyncReminder() throws. It doesn't fail tests but it does spam
the log.
2022-03-11 20:19:02 -05:00
Abe Jellinek
80bb40b153
Fix error when menus haven't been created
2022-03-11 14:02:07 -08:00
Abe Jellinek
52bc93adc9
Always select new items, disable File -> New Item appropriately
...
Fixes #2405 . This also fixes an issue where Cmd/Ctrl-Shift-N in a
collection like Duplicate Items would open the item type menu on top of
a blank white item pane (since the new item didn't get selected first).
2022-03-11 13:42:15 -08:00
Abe Jellinek
c9ccd758bc
Fix undefined error when new collection title is empty
2022-03-11 13:08:33 -08:00
Martynas Bagdonas
78e1e8593a
Fix note template condition evaluating to true on empty array
...
Fixes #2386
2022-03-11 17:04:47 +02:00
Abe Jellinek
ef82becf00
Merge attachments and update notes ( #2336 )
...
We follow a different merge procedure for each attachment type:
- For PDF attachments, compare by MD5. If no match, get the top 50 words
in the attachment's text and hash those, then check again for a match.
Update references to item keys in notes and annotations.
- For web (snapshot / link) attachments, compare by title and URL.
Prefer a title + URL match but accept a title-only match.
- For other attachment types, keep all attachments from all items being
merged.
Also:
- Move most merge tests from Duplicates to Items#merge(). It just doesn't
make sense to worry about the UI in these.
2022-03-09 17:26:26 -05:00
Abe Jellinek
ed31a11fce
Scaffold: Sanitize items for display more accurately
2022-03-09 11:42:16 -08:00
Tom Najdek
8e8b03e5ff
Fix Citavi import test ( #2394 )
2022-03-09 14:04:23 -05:00
Tom Najdek
1ad2056674
Add support for importing Citavi annotatons ( #2351 )
2022-03-09 04:06:44 -05:00
Dan Stillman
d65e4f7f1d
Update pdf-worker submodule
2022-03-09 04:02:51 -05:00
Dan Stillman
c7ece79f79
Fix missing creators not being removed in item.fromJSON()
...
Apparently there's been a bug for years where removing a creator
remotely hasn't caused it to be removed locally via sync...
https://forums.zotero.org/discussion/94910/desktop-app-not-correctly-syncing
2022-03-09 02:43:22 -05:00
Dan Stillman
326d3425db
Update Preprint icon
...
Journal article plus pencil, similar to manuscript (blank page plus
pencil)
Follow-up to zotero/zotero-bits#88
2022-03-08 01:05:54 -05:00
Abe Jellinek
cc47359080
Update translate submodule
2022-03-07 13:46:07 -08:00
Abe Jellinek
6ad829a7e5
Set sync reminder lastDisplayed when dismissed by sync
2022-03-07 09:39:40 -08:00
Dan Stillman
8b7afcf24c
Fix utilities_item tests after adding Preprint in 053d6a011
...
Attachments and notes are now mapped to CSL `document` (though it
shouldn't be possible to export attachments or notes to CSL JSON anyway)
2022-03-05 07:41:42 -05:00
Dan Stillman
1ce47bc404
Add Preprint item type to additional sample data for tests
2022-03-05 07:23:50 -05:00
Dan Stillman
e5558b6f3e
Remove note backup functionality
...
Closes #2191
2022-03-05 06:12:29 -05:00
Dan Stillman
32fc1cad9c
Add Preprint item type to sample data for tests
2022-03-05 06:03:44 -05:00
Dan Stillman
96347d4333
Fix error generate sample type/field data for tests
2022-03-05 06:03:44 -05:00
Dan Stillman
a1305712f3
Update locales from Transifex and merge new English strings
2022-03-05 05:35:22 -05:00
Dan Stillman
053d6a0116
Add Preprint item type
...
See zotero/zotero-bits#88
2022-03-05 02:03:29 -05:00
Dan Stillman
d750da089f
Show clearer error for SSL certificate error
...
For both startup proxy auth requests and subsequent requests to
zotero.org domains
Closes #2337
2022-03-05 02:03:29 -05:00
Dan Stillman
f6bd7269ae
Fix changing locale via keyboard on Windows
...
(And maybe Linux)
https://forums.zotero.org/discussion/94866/beta-6-0-no-shortcut-key-could-be-applied-in-language-of-advanced-setting
2022-03-05 00:48:44 -05:00
Martynas Bagdonas
3c42103848
Allow to Quick Copy annotations ( #2377 )
2022-03-04 03:52:23 -05:00
Dan Stillman
07aeff4f64
Merge pull request #2293 from AbeJellinek/new-scaffold
...
Overhaul Scaffold
2022-03-02 22:38:22 -05:00
Dan Stillman
0089794810
Update translators
2022-03-02 22:36:45 -05:00
Dan Stillman
6da38c292e
Scaffold: Tweak tooltip text for Run and Update button
2022-03-02 22:36:44 -05:00
Abe Jellinek
5409ae3313
Overhaul Scaffold ( #2293 )
2022-03-02 22:36:04 -05:00
Dan Stillman
a7cf689df2
Update locales from Transifex and merge new English strings
2022-03-02 16:39:04 -05:00
Dan Stillman
6bca245e32
Update note-editor submodule
2022-03-02 16:17:09 -05:00