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
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
Abe Jellinek
d82981d601
Fix item tree jumping to top on focus without selection ( #2347 )
2022-03-02 14:55:01 -05:00
Adomas Ven
b38d7107d8
HTML Tree: Add a dotted border to pivot rows ( #2375 )
2022-03-02 05:41:59 -05:00
Dan Stillman
c0ab16e79d
Merge pull request #2354
...
Add sync reminders
2022-03-02 05:25:38 -05:00
Dan Stillman
706233c974
Sync reminders changes ( #2354 )
...
- Adjust text
- Add "Learn More" button with link to sync documentation for
set-up-sync notification
- Show "Don't Show Again" for set-up-sync even on first display
- Don't perform any action when clicking unlinked text
- Use yellow/orange background instead of blue for notification bar
- Prevent text from wrapping out of the bar at narrow window widths
- Use local variable for observer id
2022-03-02 05:20:34 -05:00
Abe Jellinek
b0f09b3a86
Sync reminders changes ( #2354 )
...
- Always wait seven days, standardize casing
- Enable auto-sync without opening preferences
- Implement suggestions
2022-03-02 05:20:22 -05:00
Fletcher Hazlehurst
1a3f6301b7
Add syncing reminders ( #2354 )
...
There are two:
- Sync never set up (no username in DB) / set up, but unlinked
- Sync set up but auto-sync disabled and sync not completed in 30 days
Checks are trigged on item adds.
2022-03-02 05:19:10 -05:00
Abe Jellinek
939ee6159d
Use XRegExp in getSortTitle()
...
Fixes #2372
2022-03-01 16:37:13 -08:00
Dan Stillman
1cc03492c4
Split annotations on sync error
...
Follow-up to b7f26c47c1
2022-03-01 05:09:15 -05:00
Dan Stillman
a10fcfd58e
Speed up comparison of items with huge numbers of tags
...
Can cause a freeze while syncing items with 1000s of tags
2022-03-01 02:45:07 -05:00
Martynas Bagdonas
b7f26c47c1
Split annotation if position data exceeds the limit
2022-02-28 20:10:20 +02:00
Abe Jellinek
b54466f089
Fix error restoring top-level notes & attachments
...
Fixes #2369
2022-02-28 08:18:59 -07:00
Martynas Bagdonas
003b3db281
Implement custom keyboard navigation ( #2317 )
2022-02-23 13:00:57 -05:00
Dan Stillman
1743360de7
Merge pull request #2366 from AbeJellinek/short-title-column
...
Add Short Title item tree column
2022-02-22 15:40:45 -05:00
Abe Jellinek
2e74bdd2ad
De-duplicate column strings and use getString()
2022-02-22 10:59:07 -08:00
Dan Stillman
8d81705831
Move Duplicate Item in items list context menu
...
Move below Add to Collection and Remove from Collection
2022-02-21 23:16:49 -05:00
Dan Stillman
c192dacc76
Merge new English strings
2022-02-21 21:53:36 -05:00
Dan Stillman
0e0bd0586b
Update assignProps
call in createUnsavedDataObject()
2022-02-21 21:22:46 -05:00
Abe Jellinek
f333585d98
Add items to collection via context menu ( #2360 )
2022-02-21 19:36:37 -05:00
Dan Stillman
90531ea2a4
Fix notifier test after 078e3bb079
2022-02-21 19:22:29 -05:00
Abe Jellinek
198ae65b4a
Fix Import placing items in feeds/uneditable libraries
2022-02-21 15:40:19 -08:00
Abe Jellinek
fb98fe5d2c
Add Short Title item tree column
2022-02-21 14:50:43 -08:00
Dan Stillman
9cdcb2fd7c
Fix DB timeout test after 078e3bb079
2022-02-21 16:58:57 -05:00