Dan Stillman
42b4b173f3
Store lastCompatibleVersion
during schema initialization
...
Otherwise switching back to release from beta doesn't show the last-used
version if the beta hasn't gone through at least one
compatibility-breaking schema update.
2021-06-21 01:16:18 -04:00
Abe Jellinek
e285415451
Make resolveURL available to translators ( #2101 )
2021-06-18 15:18:44 -04:00
Martynas Bagdonas
47f897fe8c
Use two lines for extracted annotation header and fix title extraction
...
Fixes #2095
2021-06-18 13:03:25 +03:00
Martynas Bagdonas
b5edc0d9c1
Reorganize note-editor toolbar
2021-06-17 14:07:09 +03:00
Dan Stillman
7a4b27e774
Merge pull request #2071 from jryans/feed-processor
...
Import feed processor
2021-06-17 03:27:36 -04:00
J. Ryan Stinnett
eaa01901ef
Wire up new feed processor to Zotero's feed reader
...
This connects the new feed processor to Zotero's existing feed reader. The new
feed processor assumes a content window environment, so a sandbox in a parent
window is used to load it.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
af6029b854
Convert feed processor to native URLs
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
be80598c6b
Convert feed processor data away from XPCOM
...
This changes the feed processor XPCOM array and property bags to native arrays
and objects.
2021-06-16 20:59:57 +01:00
J. Ryan Stinnett
088483b776
Fix lint issues in feedReader.js
2021-06-16 20:59:57 +01:00
Tom Najdek
f1414731da
Blur active field in switchCreatorMode #2087 ( #2088 )
2021-06-14 17:33:55 -04:00
Abe Jellinek
f83559feb8
Correct creator fields in OpenURL ( #2079 )
...
There is no isInstitution field, so OpenURL search was producing invalid
data for items with institutional authors. Instead we use the name field
in API JSON and the isInstitution flag in internal JSON.
2021-06-14 14:49:49 -04:00
qqobb
5359db39d0
Run JavaScript: Improve await
regex ( #2083 )
...
Tests: https://regex101.com/r/eQYCIp/1
2021-06-12 02:44:39 -04:00
Tom Najdek
864b135da4
Mendeley import: Simplify filename logic #2067 ( #2085 )
2021-06-11 13:35:09 -04:00
Martynas Bagdonas
3beb858275
Upgrade note-editor schema to v3:
...
- No longer store `text` property in highlight annotation
- Remove `text` property when modifying a note
2021-06-09 17:48:55 +03:00
Martynas Bagdonas
43bd1af3e9
Prepare read-only check for group library annotations
2021-06-08 10:10:21 +03:00
Martynas Bagdonas
87ef6ceacc
Fix notesList more button notes count
2021-06-04 18:27:43 +03:00
Martynas Bagdonas
6d0067b806
Do not escape existing HTML entities when citing note
2021-06-04 11:49:11 +03:00
Dan Stillman
2fd46157f3
Enable Basque locale
2021-06-04 02:16:20 -04:00
Dan Stillman
3cfc31c445
Add TODO to pass libraryID in advanced search autocomplete
...
This will probably conflict with an open PR, but that should be fixed to
do the same.
2021-06-04 02:15:16 -04:00
Dan Stillman
07eda894f3
Don't trigger 'redraw' event on attachment download 404
...
There's no need to refresh the attachments column of the item row if
nothing was downloaded.
Also remove some unnecessary logging
2021-06-03 23:39:52 -04:00
Martynas Bagdonas
a5fe49b866
Remove sync buttons from PDF reader toolbar
...
Fixes #2045
2021-06-02 20:39:44 +03:00
Martynas Bagdonas
a418d5ae8d
Fix RTL mode in pdf-reader, note-editor, contextPane
2021-06-01 11:37:07 +03:00
Dan Stillman
1bf7b1e88e
Fix updating of attachment title in right-hand pane when changed
...
https://forums.zotero.org/discussion/88225/attached-file-name-doesnt-change-immediately-at-5-0-97-beta-2-8b1b2ee56
2021-05-31 03:26:06 -04:00
Martynas Bagdonas
ded077dc8e
Use Zotero.appName for localization in note-editor
...
Fixes #2073
2021-05-27 13:38:09 +03:00
Dan Stillman
6be797bc14
Fix additional imported Mendeley annotation color (" #000 ")
...
This is going to start redacting people's PDFs until we change the
default opacity.
2021-05-27 05:30:39 -04:00
Martynas Bagdonas
cf344335ed
Use item display title for PDF reader tabs
2021-05-25 19:48:35 +03:00
Martynas Bagdonas
bb40928720
Localize formatted citations in notes
...
Fixes #2040
2021-05-25 13:07:24 +03:00
Martynas Bagdonas
faec1f1dee
Provide filename for recognizer server
2021-05-25 10:30:54 +03:00
Martynas Bagdonas
b2acb5e339
Fix missing title in PDF reader standalone window
2021-05-21 17:20:12 +03:00
Martynas Bagdonas
eb085f2bbe
Reorganize View
menu, add checkmarks, introduce Go
menu
...
Fixes #2037
Fixes #1997
2021-05-21 17:20:11 +03:00
Martynas Bagdonas
39b56a66dc
Fix blank standalone PDF reader window issue
2021-05-21 15:44:38 +03:00
Martynas Bagdonas
a7c6979e75
Add space between items in multi-item citation
2021-05-21 15:24:56 +03:00
Dan Stillman
cdf1f3c856
Mendeley import: Use bytes for path/filename limits on Windows
...
It's not totally clear how it's calculated, but it doesn't seem to be
just characters.
And make the path limit 255, which is the File Explorer limit, even if
the filesystem can allow up to 260.
2021-05-21 03:02:41 -04:00
Abe Jellinek
06660d04f0
Scaffold: Update year and add spacing in template ( #2066 )
2021-05-21 00:53:19 -04:00
Dan Stillman
bec42fe2a5
Handle multibyte characters in Zotero.File.truncateFileName()
...
Filesystems care about byte length, not character length, so treat
maxLength as the byte length limit and truncate accordingly.
This will also now remove entire emoji characters without corrupting
them.
2021-05-20 19:25:57 -04:00
Dan Stillman
b511e452a8
Mendeley import: Only limit paths to 260 characters on Windows
2021-05-20 19:25:15 -04:00
Tom Najdek
7582147dd5
Mendeley Import: Prevent tmp path > 260 chars
2021-05-20 12:53:34 +02:00
Tom Najdek
63205a73e8
Improve truncateFileName
logic for edge cases
2021-05-20 12:41:49 +02:00
Tom Najdek
89d81cee41
Mendeley import: Sanitize names of fetched files
2021-05-20 12:41:44 +02:00
Tom Najdek
faf094f0aa
Mendeley import: shorten tmp file path
2021-05-20 11:18:23 +02:00
Martynas Bagdonas
5497598c63
Localize pdf-reader and note-editor
2021-05-20 10:49:03 +03:00
Dan Stillman
861d5787d8
Mendeley online import: Fix error if downloaded file doesn't exist
...
If a file attached to an item with a URL wasn't found in the temp
directory, it would trigger an error that stopped the sync. (I'm not
sure how a file wouldn't exist.)
2021-05-20 03:15:15 -04:00
J. Ryan Stinnett
d3d2212a0f
Start tab title tooltips on mousemove
...
By changing to `mousemove` to start the tab title tooltip, the behavior matches
applications like Firefox more closely: you can always get the latest tooltip
back after changing state by nudging the mouse (without having to exit and
re-enter anything).
2021-05-18 14:43:09 +01:00
J. Ryan Stinnett
b27ac6649e
Hide tab title tooltips whenever the tab bar changes
...
This hides tooltips (such as the tab title tooltip) whenever the tab bar state
changes, such as when adding or removing a tab, to ensure we don't leave any
tooltips behind that no longer match reality.
Fixes https://github.com/zotero/zotero/issues/2060
2021-05-18 14:42:56 +01:00
J. Ryan Stinnett
5b7e01dff6
Rename tab event handlers to clarify target
2021-05-18 13:31:32 +01:00
Dan Stillman
e7f93cb548
Fix appearance of error report text in dark mode on Linux
...
Closes #2021
2021-05-16 05:08:44 -04:00
Dan Stillman
3815197b92
Don't allow site-specific Quick Copy setting without domain
...
And remove existing blank entry in schema update step
Closes #2053
2021-05-16 05:08:44 -04:00
Dan Stillman
3880687d2b
Merge pull request #2039 from HollandeP/master
...
Made About page text visible across default Linux themes
2021-05-16 04:15:17 -04:00
Dan Stillman
2799dfef5b
Clarify sync-to-empty-database warning
...
Closes #1959
2021-05-15 15:09:33 -04:00
Dan Stillman
3aa355a8b4
Add Zotero.DB.path property
2021-05-15 15:09:33 -04:00