abaevbog
506f3b14e3
Allow dragging items, collections, and searches into trash ( #5033 )
...
Fixes : #1943
2025-02-13 02:58:25 -05:00
Abe Jellinek
5978353d57
Fix faulty siblings-of-type check in setAutoAttachmentTitle() ( #5045 )
2025-02-12 22:29:49 -05:00
Adomas Ven
8dbc6177ce
Macos integration progress bar ( #5016 )
...
* Display the progress bar on macOS integration commands more
Avoid displaying before Add/Edit Citations, Add Note and Doc Prefs
since that brings Zotero window to the foreground along with the
relevant dialog, but display the progress bar after confirming those
dialogs, which will bring Zotero to the front, but is still better than
no progress indication.
Display the progress bar for Refresh, Doc Prefs, Unlink and Add/Edit
Bibliography
* Fix progress bar indeterminate state not being visible and not working.
- Update _progressMeter.scss for fx115+
- Some adjustments/resizing to progress bar display in quick format
2025-02-12 08:43:11 +02:00
Abe Jellinek
98a5b7eaec
Local API: Handle out-of-repo styles correctly ( #5032 )
2025-02-07 07:43:28 -05:00
Abe Jellinek
d25b96643c
Zotero.Styles: Serialize init() and remove Zotero.Promise.coroutine()
2025-02-07 07:43:28 -05:00
Dan Stillman
7256072c5b
Merge new English strings
2025-02-05 05:10:14 -05:00
Dan Stillman
083b4f69c9
Pretty-print zoteroTypeSchemaData.js
...
We should get rid of this, but in the meantime, pretty-print it (though
it will need to be generated in a new data directory to be consistent).
2025-02-05 03:27:33 -05:00
Dan Stillman
5d5c043161
Fix sync not downloading queued objects on first sync of session
...
`firstInSession` wasn't being properly set, so previously failed data
objects weren't being retried until a manual sync. Local files also
weren't being scanned for changes for three hours, but that's probably
better in the age of DB-stored annotations, so leave that off for now
and address properly in #5025 .
2025-02-05 02:06:15 -05:00
Martynas Bagdonas
553f0f3994
Implement reader appearance popup with custom themes support
...
Implements #4949 , #5005
2025-02-04 13:43:50 +02:00
Dan Stillman
3d75801a84
Don't open new copies of runJS/scaffold/csledit
...
Possible we'll get complaints about no longer being able to open
multiple copies of at least runJS and csledit, and we can reconsider if
so, but reopening the existing window is certainly the intended
behavior.
2025-01-31 00:58:37 -05:00
Dan Stillman
7466fa479f
fx128: Further tweaks to "Check for Updates…" code
...
Don't use internal interface if we can help it
Relevant Mozilla changes:
https://bugzilla.mozilla.org/show_bug.cgi?id=1875502#c60
2025-01-29 01:07:51 -05:00
Dan Stillman
eb776f8e6e
fx128: Fix "No updates found" if update was already downloaded
...
Previously fixed for fx115 in #3148 , but `nsIUpdateManager` changed in
fx128
https://forums.zotero.org/discussion/121482/zotero-7-1beta-does-not-find-updates
2025-01-29 00:46:00 -05:00
Abe Jellinek
51349a5a97
Local API: Read headers case-insensitively
2025-01-28 10:45:08 -05:00
Abe Jellinek
2a7f4fb2a5
Local API: Return everything when since=0
...
Addresses #5011 (option A)
2025-01-28 10:39:43 -05:00
Abe Jellinek
2aee7ae8d5
RemoteTranslate: Fix updated tests not inheriting defer
2025-01-28 10:07:11 -05:00
Abe Jellinek
65393d09eb
Check editability based on tab when adding attachments ( #4936 )
...
And make `get[Selected/Sorted]Items()` and `canEdit[Library/Files]()` tab-aware
2025-01-28 01:00:17 -05:00
Abe Jellinek
a7fff8cada
Local API: Add /fulltext endpoints ( #5004 )
2025-01-28 00:58:12 -05:00
Abe Jellinek
6cdae37e5b
Local API: Fix 500 error when attachment has unparseable path ( #5010 )
2025-01-28 00:54:29 -05:00
Abe Jellinek
48b50064e9
Item box: Fix missing Copy/Paste menuitems on URL fields ( #5001 )
2025-01-28 00:48:41 -05:00
Abe Jellinek
be023c3a95
RemoteTranslate: Fix error when creating test
2025-01-27 15:23:51 -05:00
Dan Stillman
71d697801e
Fix banner style issues
...
- Fix background color on post-upgrade banner
- Add drop shadow between stacked banners (e.g., post-upgrade banner and
Mac Word banner, which will generally appear together on an upgrade
and have the same background color)
- Align right edge of buttons in post-upgrade and Mac Word
- Unify other spacing and font sizes
2025-01-27 07:34:31 -05:00
Dan Stillman
7a467b8bfa
Fix selectItems() not selecting non-top-level item in trash
...
https://forums.zotero.org/discussion/comment/484380/#Comment_484380
Adds `Zotero.Item#isInTrash()` that returns true if the item or any of
its ancestors is in the trash (i.e., `.deleted == true`)
2025-01-27 04:02:10 -05:00
Dan Stillman
814e59f694
Use commas in file size in over-quota error
2025-01-27 04:02:10 -05:00
Dan Stillman
39cbf5e520
Fix double URL launch via keyboard in sync error panel
...
Space bar or Enter are (now?) equivalent to `click` on a button
2025-01-27 04:02:10 -05:00
Abe Jellinek
465cc89ad6
Scaffold: Use native checkboxes in select dialog
2025-01-24 15:04:52 -05:00
Abe Jellinek
9510eef69a
Scaffold: Fix select dialog overflow (again!)
...
And restore button spacing.
2025-01-24 15:04:43 -05:00
Abe Jellinek
679b1df116
Update translate submodule
2025-01-24 14:10:31 -05:00
Abe Jellinek
3a816fad55
Scaffold & RemoteTranslate: Improve defer handling
...
- Use extracted delay routine
- Pass defer into newTest()
2025-01-24 12:10:33 -05:00
Abe Jellinek
5f983d71c1
RemoteTranslate: Improve page readiness checks
...
Treat page as immediately ready after readyState == 'complete', or give
it 100ms after 'interactive'. This is rough, but 'interactive' isn't
always fully ready and 'complete' sometimes never happens.
2025-01-24 12:10:15 -05:00
Abe Jellinek
79092fadcd
Update translate submodule
2025-01-24 12:02:43 -05:00
Abe Jellinek
b6ca3eac37
Remove dead contentType branch
...
Already handled in isCachedMIMEType().
2025-01-23 17:56:32 -05:00
Dan Stillman
ec280c5bdf
Item#fromJSON(): Don't process any Extra rows in strict mode
...
And enable migration of Extra rows to valid fields in non-strict mode,
but since that's only used by translators now, that probably won't do
anything
Fixes #3422
2025-01-22 03:16:22 -05:00
Dan Stillman
8642091d8e
Don't auto-select item after sync on upload error
...
Bug from 2017
2025-01-22 03:14:07 -05:00
Dan Stillman
e3387bbe96
Adjust debug line if file not available for uploading
...
Files can be missing locally and flagged for uploading, so not just a
files still being saved
2025-01-22 03:10:40 -05:00
Dan Stillman
a2f3b28b48
Remove unnecessary code after ec50539e80
...
`getBaseIDFromTypeAndField()` now returns the field itself if it's
already a base field
2025-01-22 01:06:03 -05:00
Abe Jellinek
00c0679333
Add key to Advanced Search menuitem
...
Fixes #4978
2025-01-21 11:06:35 -05:00
Dan Stillman
296edc3fdd
Unset Mozilla environment variables when launching files and URLs ( #4983 )
...
Fixes #4981
2025-01-21 05:40:27 -05:00
Tom Najdek
a4414cc2f0
Remove last few legacy icons #3691 ( #4996 )
2025-01-21 05:37:56 -05:00
windingwind
67da025e3f
Fix attachments box race condition ( #4997 )
...
fix : #4611
Since the attachment preview already has a task queue,
don't skip render calls when rendering
2025-01-21 05:27:33 -05:00
Dan Stillman
810062a1af
Remove reference to Zotero for Firefox in incompatible-DB error
2025-01-21 05:17:36 -05:00
Dan Stillman
850431af93
Fix display of button bar in sync error panel
2025-01-21 05:17:36 -05:00
Adomas Venčkauskas
94650e2ee9
Fix integration session breaking when an error is thrown during getDocument()
2025-01-20 12:11:50 +02:00
windingwind
998315dd58
Fix menu popup dblclick on MacOS ( #4989 )
2025-01-17 13:00:01 -05:00
Abe Jellinek
e11d93f0bc
Restore whitespace in search Collection condition menu ( #4990 )
2025-01-16 23:13:06 -05:00
Abe Jellinek
c8051aa3f8
Scaffold: Make Defer checkbox interactive
2025-01-16 11:07:45 -05:00
Abe Jellinek
0bdae76e49
Scaffold: Cleanup
2025-01-16 10:39:05 -05:00
Dan Stillman
484eb1f1d7
Fix ids showing instead of creator names for creator autocomplete
...
https://forums.zotero.org/discussion/121089/beta-author-suggestions-broken-only-suggest-numbers-instead-of-names
Related Mozilla bugs (though I don't see a change that would be directly
responsible for this):
https://bugzilla.mozilla.org/show_bug.cgi?id=1886064
https://bugzilla.mozilla.org/show_bug.cgi?id=1910073
2025-01-13 02:36:28 -05:00
windingwind
524660e10b
Fix dense call to setItemDownloadPercentage freezes app ( #4979 )
2025-01-11 03:17:56 -05:00
Dan Stillman
b86305f40e
Fix json[c.field] is undefined sync error
...
Fix error if local note or attachment is added to a parent item while
the remote version was added to a collection. Now, the new local parent
item will be added to any collections the remote child item was added
to.
Fixes #2934
2025-01-09 03:11:01 -05:00
Dan Stillman
c44d845c8c
Indent some switch case statements
...
For current style
2025-01-09 03:11:01 -05:00