Martynas Bagdonas
fe14ee79a3
Show a few missing options in Tools menu when PDF reader tab is open
...
Fixes #2502
2022-04-27 18:20:41 +03:00
Martynas Bagdonas
41bdd36068
Add an option to disable smart quotes
...
Fixes #2524
2022-04-27 10:23:10 +03:00
Dan Stillman
a4cdaf0407
Show "Add Note from Annotations" in attachment context menu
2022-04-27 02:34:42 -04:00
Dan Stillman
c405fa76a1
Add sortNotesChronologically.reader pref for PDF reader notes list
...
And default to true. I forgot we were sorting reverse chronologically by
default in order to make it easy to open recent notes.
Follow-up to https://github.com/zotero/zotero/issues/2526 for
https://forums.zotero.org/discussion/96743/pdf-reader-two-feature-requests
2022-04-26 17:59:45 -04:00
Dan Stillman
40501c3953
Update locales from Transifex and merge new English strings
2022-04-26 17:22:39 -04:00
Martynas Bagdonas
10c8fc4c74
Implement tab duplication
...
Fixes #2566
2022-04-26 19:41:51 +03:00
Abe Jellinek
89aaa10504
Sort LC call numbers better, sort integers as integers ( #2569 )
...
* Update utilities submodule after https://github.com/zotero/utilities/pull/8
* Extract and add tests
2022-04-26 04:11:29 -04:00
Martynas Bagdonas
7a06671ecb
Fix undefined variable issue in annotation templates
2022-04-26 08:29:42 +02:00
Adomas Venčkauskas
d96ebad82a
Allow adding multiple sources at once in classic citation dialog.
...
Closes #2568
2022-04-25 13:28:00 +03:00
Adomas Venčkauskas
1be2d69f1e
Log integration invocations before other integration actions
2022-04-25 12:43:48 +03:00
Martynas Bagdonas
b8d427790c
Fix error when using a note template and checking if array is not empty
2022-04-23 14:52:24 +07:00
Adomas Venčkauskas
d9463daa66
HTML Tree: Search by typing loops instead of starting from beginning
...
Closes #2559
2022-04-22 10:58:25 +03:00
Martynas Bagdonas
c1fde1d3d9
Improve tab title visibility and adjust scroll arrow scroll step
...
Fixes #2554
Fixes #2553
2022-04-22 13:07:18 +07:00
Dan Stillman
114b48d5b8
Update locales from Transifex
2022-04-21 15:46:50 -04:00
Dan Stillman
031ff1824b
Fix middle click to close tabs ( #1993 )
2022-04-21 12:23:14 -04:00
Martynas Bagdonas
a8cb9bfddd
Restore custom note styling
...
Fixes #2560
2022-04-21 13:17:04 +07:00
Abe Jellinek
f91ca9c18a
Don't merge with a deleted master attachment
2022-04-20 11:04:24 -07:00
Martynas Bagdonas
142e3b09f8
Unload tabs ( #2500 )
...
- Keep all tabs unloaded on Zotero opening.
- Keep loaded only the last five selected tabs.
- Keep loaded only in the last 24h selected tabs.
Fixes #2383
2022-04-20 03:14:50 -04:00
Dan Stillman
578986ab1e
Fix item types not appearing in New Item submenu
...
https://forums.zotero.org/discussion/96530/a-issue-about-new-item-drop-down-menu
After a type from the submenu was selected and added to the MRU, the
submenu wouldn't be updated. Not sure how long this has been going on.
Fixes #2534
2022-04-19 23:04:18 -04:00
Martynas Bagdonas
5d442b706e
Make tab bar scrollable ( #2506 )
...
Fixes #2232
2022-04-19 18:51:32 -04:00
Adomas Ven
7b0d6951d2
Update csl validator for CSL 1.0.2 ( #2493 )
2022-04-19 18:42:48 -04:00
Dan Stillman
3f10e4c064
Bad JSON in sync cache shouldn't break syncing
...
https://forums.zotero.org/discussion/95926/zotero-not-syncing-report-id-1924846177
2022-04-19 17:49:13 -04:00
Martynas Bagdonas
5c8ea0174a
Fix empty table row height in generated report, prevent table overflow
...
Fixes #2545
2022-04-15 21:59:27 +07:00
Adomas Venčkauskas
5ca8486047
Adjust conditional clause for Windows from 76276a3
2022-04-15 11:21:07 +03:00
Adomas Venčkauskas
76276a39ce
HTML Tree: adjust row padding per OS
2022-04-15 11:15:40 +03:00
Abe Jellinek
e8ad2fab95
getSortTitle: Only strip initial punctuation clusters ( #2537 )
...
Specifically exclude @, #, and *
2022-04-15 02:08:14 -04:00
Dan Stillman
c9b39675ba
Update locales from Transifex and merge new English strings
2022-04-14 18:06:32 -04:00
Dan Stillman
498e38730b
Update translate submodule
2022-04-14 18:06:32 -04:00
Abe Jellinek
d842e7a9bc
Fix save() without transaction when saving search
2022-04-14 14:39:34 -07:00
Martynas Bagdonas
f494ab5114
Allow creating and editing tables in note-editor ( #2511 )
...
Fixes #2480
2022-04-14 17:17:32 -04:00
Adomas Venčkauskas
01506b27e9
Allow moving cursor by clicking on collection name while editing
...
Closes #2513
2022-04-14 17:03:54 +03:00
Adomas Venčkauskas
599c6821b7
Ensure columns don't resize when switching tabs
2022-04-14 16:51:13 +03:00
Abe Jellinek
1538a836b9
Show label of translator that causes import error ( #2539 )
2022-04-14 07:01:43 -04:00
Dan Stillman
08d3880d88
Don't remove relations in annotation item JSON
...
This was causing UUIDs for annotations from Mendeley imports to be
removed after a sync, resulting in annotations being duplicated on a
reimport.
2022-04-14 06:37:30 -04:00
Abe Jellinek
3792c89fbd
Allow >4 numbers after the decimal point in Dewey
...
https://github.com/zotero/zotero/pull/2538#issuecomment-1097292396
2022-04-12 15:45:50 -07:00
Abe Jellinek
ce39185fa7
Sort call numbers alphabetically, handle Dewey specially ( #2538 )
2022-04-12 17:40:25 -04:00
Dan Stillman
a72deb4648
Update locales from Transifex and merge new English strings
2022-04-12 02:57:07 -04:00
Abe Jellinek
e03c1603ca
Fix "%S" in displayed startup error message
2022-04-11 19:03:29 -07:00
Abe Jellinek
38f5551ee5
Add "Open PDF in New Window" to context menu ( #2490 )
...
Also:
* Remove Locate tooltips
2022-04-11 17:53:40 -04:00
Abe Jellinek
a5fc8b859c
Context Pane: Use getNoteTitle()
...
ad36c9fb2a (r71022779)
2022-04-11 13:36:03 -07:00
Abe Jellinek
b8b1f8be55
Disable Import actions in uneditable libraries ( #2471 )
2022-04-11 16:12:43 -04:00
Abe Jellinek
ad36c9fb2a
Context Pane: Sort notes in item tree order
...
Fixes #2526 .
2022-04-11 10:13:50 -07:00
Abe Jellinek
892c1169c8
Attachment merge: Compare link mode type
...
Actually fixes #2527 .
2022-04-11 09:30:16 -07:00
Adomas Venčkauskas
237bd8f0ce
Fix Restore Column Order in Item Tree not always working
...
Closes #2521
2022-04-11 13:55:30 +03:00
Adomas Ven
4c445554a3
Item Tree: Attempt to fix OS font scaling ( #2488 )
2022-04-11 05:16:59 -04:00
Martynas Bagdonas
2af7275968
Fix template condition evaluating to true for empty string from function
...
Fixes #2529
2022-04-11 12:22:20 +07:00
Abe Jellinek
be0b0a7151
Always autocomplete creators in hideEditor ( #2516 )
2022-04-11 00:21:14 -04:00
Abe Jellinek
47a2f3cad9
Attachment merge: Compare linkModes, improve logging
...
Using keys instead of IDs should make logs more useful.
Fixes #2527 .
2022-04-09 20:39:37 -07:00
Dan Stillman
0df8b7670d
Fix broken tag selector with colored tags that differ with normalization
...
https://forums.zotero.org/discussion/96138/lost-content-in-tag-selector
An entered character from the CJK_COMPATIBILITY_IDEOGRAPHS block (char
code 63834, or similar) was normalized to the CJK_UNIFIED_IDEOGRAPHS
block (char code 35712), which then caused an expected key not to exist.
To fix, normalize colored tag values coming from the DB.
2022-04-09 06:24:17 -04:00
Martynas Bagdonas
2112aa7271
Don't jump back to library tab when PDF recognition finishes
2022-04-08 15:31:28 +07:00
Adomas Venčkauskas
b850d16c89
Fix integration error handling code when citeproc-rs disabled.
...
Closes #2508
2022-04-08 10:41:35 +03:00
Martynas Bagdonas
bdbde99fa7
Remove alpha channel from highlight color when inserting a note
...
Fixes #2499
2022-04-08 13:00:33 +07:00
Abe Jellinek
dea9fc5e88
Scaffold: setInterval -> activate listener
2022-04-07 19:50:13 -07:00
Abe Jellinek
a40ab83b71
Fix double separator in Edit menu on Win/Linux ( #2507 )
2022-04-06 23:42:13 -04:00
Abe Jellinek
fbaa1c6e61
Fix huge Scaffold toolbar icons on Win/Linux
2022-04-05 14:50:05 -07:00
Adomas Venčkauskas
c510d91461
Fix an error that causes test failures (regression 9a5657b
)
2022-04-05 10:08:10 +03:00
Adomas Venčkauskas
5b9ac2ca53
Fix a non-terminal startup error introduced in d7b1a53
2022-04-05 10:08:10 +03:00
Dan Stillman
28ec72666f
Update locales from Transifex and merge new English strings
2022-04-04 14:02:08 -04:00
Adomas Venčkauskas
9a5657bf79
Item Tree: Fix fixed-width columns sometimes changing width
2022-04-04 16:06:51 +03:00
Martynas Bagdonas
f877476c1a
Partially disable buggy ff <64 table resizing handles in note-editor
...
Unfortunately the first opened note will still have the handles.
2022-04-01 17:09:08 +07:00
Martynas Bagdonas
3f4030ff80
Allow copying image annotations to external text fields
...
Fixes #2447
2022-04-01 17:09:08 +07:00
Abe Jellinek
a5b3d6440b
Fix next duplicates set selection after merge ( #2448 )
2022-03-31 17:46:30 -07:00
Martynas Bagdonas
3356557493
Add 'Zoom to Page Height' PDF reader option
...
Fixes #2255
2022-03-31 15:52:00 +07:00
Martynas Bagdonas
8e54f1649b
Add annotation to note at cursor position
...
Fixes #2487
2022-03-31 12:14:11 +07:00
Abe Jellinek
e922ae711a
Fix ProgressQueue titles for cases, letters, etc.
...
Handles items with an alternate field that maps to title (like cases)
and items for which the title is usually filled in by updateDisplayTitle()
(like letters).
2022-03-30 16:30:07 -07:00
Abe Jellinek
2a1ce292d2
Remove Note Font Size -> Reset restart prompt
...
+ replace empty menuitem with a divider as in the Font Size menu.
2022-03-30 14:55:48 -07:00
Abe Jellinek
27c9086222
Scaffold: Show "defer" value in test list
2022-03-30 14:49:42 -07:00
Abe Jellinek
745069c070
Don't strip punctuation before numbers
...
Fixes #2496
2022-03-30 11:58:55 -07:00
Dan Stillman
f2209974b2
Don't show "Export PDF" in reader
...
Save As already exists
2022-03-30 14:13:24 -04:00
Dan Stillman
e0097df068
Remove "Store Annotations in File" option ( #2498 )
...
This is a confusing, bad option, which was already disabled in groups,
and this removes it from personal libraries as well. People seem to be
using it mainly because they think annotations are locked into Zotero if
they don't, which is causing them to ask for this to be done
automatically on every edit, which we don't do because it would result
in constant file syncing and file conflicts [1].
We provide multiple export options for exporting PDFs with annotations,
and people can use those when sharing a file with people who don't use
Zotero. Otherwise, if storing annotations in the file is a priority,
they can use an external reader that's not designed to be tightly
integrated into Zotero.
(As a rare hack, it's of course also possible to export the PDF with
annotations, replace the original file, and import the annotations.)
[1] https://www.zotero.org/support/kb/annotations_in_database
2022-03-30 13:58:59 -04:00
Tom Najdek
56321a7a6d
Fix regression: download() fails for non-http URLs ( #2497 )
...
This fixes compatiblity with some addons that use Zotero.File.download
to extract files from their XPI bundle.
2022-03-30 12:15:40 -04:00
Tom Najdek
776769f480
Citavi import: Tweak how page label is determined ( #2494 )
...
Instead of attempting to extract `PageRange` value we now let pdf worker
always determine page label.
Also improved citavi tests and fixtures.
2022-03-30 09:34:07 -04:00
Abe Jellinek
a9d7a08a05
Fix merge interface doubling rows in master selector
...
Master choices would occasionally be doubled in the listbox. Clearing
the innerHTML instead of using removeItemAt() fixes the issue.
2022-03-28 13:24:59 -07:00
Adomas Venčkauskas
d7b1a53248
HTML Tree: Improve item tree column header alignment.
...
Addresses #2153
2022-03-28 13:32:17 +03:00
Dan Stillman
17d9f06b65
Update more try-wrapped calls to getString
2022-03-27 02:37:49 -04:00
Abe Jellinek
470d9cd7c2
Update more try-wrapped calls to getString
2022-03-25 16:49:52 -07:00
Abe Jellinek
82228a1072
Search: Use item field localization if string == key
...
91faa73b19
made getString return the key
instead of throwing on non-en-US locales, so we check if the getString
result is equal to the key even if it doesn't throw.
Fixes #2472 .
2022-03-25 16:35:01 -07:00
Abe Jellinek
a3322a9afb
Merge pull request #2397 from AbeJellinek/scaffold-sanitize-for-display
2022-03-25 11:59:05 -07:00
Martynas Bagdonas
4dcb3e7a53
Fix deletion confirmation and copying in standalone PDF reader window
...
Fixes #2462
2022-03-25 15:53:49 +02:00
Martynas Bagdonas
2f5974e1ab
Reduce probability of annotation comment/text being cleared while typing
...
Fixes #2361
2022-03-24 13:40:43 +02:00
Dan Stillman
91faa73b19
Don't throw from getString() for missing strings in non-English locales
...
Just show the key
We still merge strings before pushing betas, but this means it won't
crash for source builds, or if we forget. Not sure why we didn't do this
15 years ago.
2022-03-24 07:06:53 -04:00
Dan Stillman
1d1adbca70
Fix error merging items with missing attachment files
...
Fixes #2453
2022-03-24 06:39:47 -04:00
Dan Stillman
9d91e0d4f7
Update locales from Transifex and merge new English strings
2022-03-24 06:18:17 -04:00
Adomas Venčkauskas
f7e49630c8
Fix some more column picker brokenness
2022-03-24 11:00:16 +02:00
Adomas Venčkauskas
c87b40e5ca
Fix secondary sort submenu breakage in 8e31bf5b
2022-03-24 10:33:58 +02:00
Adomas Venčkauskas
8e31bf5b6d
Possible fix for missing More Columns submenu. Addresses #2443
2022-03-24 10:28:37 +02:00
Martynas Bagdonas
62f07a7356
Upgrade note-editor schema to v8:
...
- Allow highlight and citation nodes in headers
Fixes #2467
Related #2390
2022-03-24 10:21:04 +02:00
Adomas Venčkauskas
229f42bed2
HTML Tree: Change Cu.reportError() to Zotero.logError()
2022-03-23 13:28:46 +02:00
Martynas Bagdonas
23a4a14b44
Upgrade note-editor schema to v7:
...
- Allow ul/ol nodes to have `dir` attribute
2022-03-23 12:35:08 +02:00
Adomas Venčkauskas
c083c69be1
Fix note insertion dialog not appearing when classic mode is enabled.
...
Closes #2463
2022-03-23 11:58:06 +02:00
Adomas Venčkauskas
1b124bff2d
Actually fix quick format color issues. See cc5e110
2022-03-23 11:28:50 +02:00
Adomas Venčkauskas
0f2273ea43
Link to manual word plugin installation instructions on install failure.
...
Closes #2444
2022-03-23 11:12:42 +02:00
Dan Stillman
fcb16f628b
Fix "path.startsWith is not a function" sync error on Windows
...
`OS.Path.join()` on Windows throws if an integer is passed. Seems like
this would happen on another computer whenever an image annotation is
deleted in a group?
2022-03-23 00:01:00 -04:00
Dan Stillman
37c48dc3ee
Remove Zotero.Items.moveChildItems()
transaction requirement exception
...
Follow-up to 734057ff9b
This was supposed to allow ZotFile to continue to work but 1) it
contained a bug and 2) another transaction messed things up for ZotFile
anyway, so we'll just fix this in jlegewie/zotfile#593 .
2022-03-22 18:07:40 -04:00
Abe Jellinek
95d8b37f0a
Potentially fix ProgressWindow crash
...
The call to _window.addEventListener() might have been causing an error
when _window was null or undefined (no main Zotero window could be
found), which would prevent _windowLoading from being set to true and
the window from being added to the ProgressWindowSet, which might have
caused unpredictable behavior when positioning windows later on.
I could only briefly reproduce the issue, so this is just one idea. The
call to addEventListener on a potentially null _window was definitely a
bug but I don't know if it caused the crash.
2022-03-22 12:55:47 -07:00
Adomas Venčkauskas
cc5e1106ec
Fix quick format issues in Linux dark themes. Closes #2441
2022-03-22 14:32:15 +02:00
Adomas Venčkauskas
227b6354de
Item Tree: Reset scrollbar to top on collection change
2022-03-22 13:58:02 +02:00
Adomas Venčkauskas
25230b0fca
HTML Tree: Fix focused row losing focus sometimes not being redrawn
2022-03-22 13:58:02 +02:00
Dan Stillman
5df1017689
Correction to Scite access date fix in dc886d3cec
2022-03-22 06:01:30 -04:00
Dan Stillman
dc886d3cec
Remove access dates broken by Scite
...
A non-date value ('INVALID_SCITE_VALUE') apparently gets output as
`false` in toJSON(), which results in a sync error.
2022-03-22 05:53:24 -04:00