windingwind
5d3bcefd70
Fix titlebar and window control icons
2025-07-02 16:05:26 +02:00
Abe Jellinek
8d6a853a3f
Replace uses of Zotero.Promise.defer() as a constructor
2025-07-02 09:58:27 -04:00
Abe Jellinek
09fc93f977
Use import statements in MJS files
2025-07-02 09:52:04 -04:00
Abe Jellinek
3b5da6ce01
Fix indents
2025-07-02 09:52:04 -04:00
Abe Jellinek
183c09351c
Remove unused bare imports
2025-07-02 09:52:04 -04:00
Abe Jellinek
61f7c4fe83
Fix remaining bare importESModule() calls
2025-07-02 09:52:04 -04:00
Abe Jellinek
c43320d8dd
ChromeUtils.import() shim: Be explicit
2025-07-01 17:07:51 -04:00
Abe Jellinek
a639e74b7c
Add ChromeUtils.import() shim for plugins
...
We can decide if we want to keep this, but it's an easy change that
seems useful for dev builds.
2025-07-01 17:04:22 -04:00
Abe Jellinek
d035c94ae3
Add functional shim for Zotero.Promise.method()
...
For translation.
2025-07-01 16:51:37 -04:00
Abe Jellinek
da18a465c5
Fix other bare imports in file.js
2025-07-01 14:59:28 -04:00
Abe Jellinek
d911981e84
Fix other bare imports in utilities_internal.js
2025-07-01 14:51:30 -04:00
Abe Jellinek
3dea9429bd
Fix ctypes imports in utilities_internal.js
2025-07-01 14:51:29 -04:00
Abe Jellinek
cc19ab4155
Fix InlineSpellChecker import in editorInstance.js
2025-07-01 14:48:50 -04:00
Abe Jellinek
6f96fa9da8
ESMify EPUB and uses
2025-07-01 14:09:17 -04:00
Abe Jellinek
937ad309a7
ESMify RemoteTranslate and uses
2025-07-01 14:07:38 -04:00
Abe Jellinek
54a35ff844
Remove duplicate require.js from windows that import include.js
2025-07-01 12:18:10 -04:00
Abe Jellinek
5e64365ce1
Use ZOTERO_CONFIG as module in standalone.js and debugViewer.js
2025-07-01 12:15:02 -04:00
Abe Jellinek
f88cd2a7d7
ESMify actors
2025-07-01 12:14:36 -04:00
Abe Jellinek
19f2c88523
delayGenerator(): Use native Promise#then()
2025-07-01 12:05:48 -04:00
Abe Jellinek
54f3bcaf45
Streamer: Don't use hiddenDOMWindow
...
WebSocket is available globally.
2025-07-01 12:05:22 -04:00
Abe Jellinek
aafad2a880
ESMify/asyncify preference panes
2025-07-01 12:05:04 -04:00
Abe Jellinek
e748e705be
Load each preference pane in its own scope
...
To eliminate conflicts between top-level const/let declarations.
2025-07-01 12:04:47 -04:00
Abe Jellinek
ba5007c4e7
Update ConcurrentCaller to use native promises
2025-07-01 11:40:11 -04:00
Abe Jellinek
0d45a8b4db
Migrate Promise#filter() in collectionTree.js
2025-07-01 11:05:02 -04:00
Abe Jellinek
4ee59735cf
Migrate Promise#isPending() in zotero.js
2025-07-01 11:05:02 -04:00
Abe Jellinek
59f7f2fc03
Migrate Promise#delay() in schema.js
2025-07-01 11:05:02 -04:00
Abe Jellinek
2825151467
TEMP: Don't use hiddenDOMWindow for editable-text sizing
...
Causes an error on Linux.
2025-07-01 11:05:02 -04:00
Abe Jellinek
0d830a5185
Use ZOTERO_CONFIG as module in itemTree.jsx
2025-07-01 11:05:01 -04:00
Abe Jellinek
97b5520150
Fix error on shutdown
2025-07-01 10:43:46 -04:00
Abe Jellinek
0b74db5d8c
Fix more broken code
2025-06-30 19:06:07 -04:00
Abe Jellinek
159ed6ba68
More progress toward startup
2025-06-30 18:36:51 -04:00
Abe Jellinek
b62fd3aa04
Add working require.js, more progress toward startup
2025-06-30 17:08:33 -04:00
Abe Jellinek
3d5f5f2d23
Revert "Remove require.js"
...
This reverts commit 31701109
2025-06-30 17:08:31 -04:00
Abe Jellinek
1c4aae4842
Add Promise.defer() to Bluebird shim
2025-06-30 14:15:53 -04:00
Abe Jellinek
b090f5d4eb
Replace Bluebird with async in xpcom/
2025-06-30 13:02:56 -04:00
Abe Jellinek
8f7c760804
Remove Bluebird
...
And add a partial shim for the simplest and most useful methods. Not
sure if we actually want that, or if we should just replace it entirely
with native methods.
2025-06-30 13:02:56 -04:00
Abe Jellinek
3170110944
Remove require.js
...
But not yet calls to require().
2025-06-30 13:02:56 -04:00
windingwind
6eb8a80e12
Fix reader sidenav buttons wrongly disabled ( #5348 )
...
fix : #5332
2025-06-20 23:32:30 -04:00
Martynas Bagdonas
0b5012555d
Fix regression triggering multiple reader context menus
...
Fixes https://forums.zotero.org/discussion/124939/persistent-context-menu-in-the-snapshot-reader
Fixes https://forums.zotero.org/discussion/124938/double-context-menus-on-annotations-in-the-pdf-reader
2025-06-19 21:11:03 +03:00
Bogdan Abaev
e6ce021b5f
return tags in /connector/getSelectedCollection
...
Together with all collections and libraries.
To account for tags that may contain "," characters,
expect connector to send tags as an array. If tags
are sent as a string, it will be split by "," for
compatibility with older connector versions.
Addresses: #1706
2025-06-16 09:34:33 +03:00
Bogdan Abaev
f50e8b0b35
do not open hidden Zotero window on connector save
...
And fix regression where selecting a collection
in connector would always switch to the library tab.
It was originally added in https://github.com/zotero/zotero/pull/5020
but was lost after https://github.com/zotero/zotero/pull/5148 .
2025-06-12 08:33:22 +03:00
Dan Stillman
1c469ce1a0
Remove duplicate general-back string from 3f84856e1
2025-06-11 22:59:33 -04:00
Dan Stillman
9dbac93dc9
Remove lines inadvertently included in ee35361
...
I meant to merge the test without those lines, since I fixed the problem
from #5297 properly in ded8dca66 .
Fixes #5337
2025-06-11 21:57:59 -04:00
abaevbog
96d3f312b3
fix web link attachment row not selected on create ( #5338 )
...
Small followup to tweak 5721744386
2025-06-11 21:50:03 -04:00
Martynas Bagdonas
3f84856e1e
Update strings for reader localization with Fluent
2025-06-11 22:29:22 +03:00
abaevbog
c493a17b13
Connector server support to adding a note ( #5064 )
...
* support adding a note from connector
- pass canUserAddNote flag in ping response to tell
the connector that it should display a note field
- when the connector sends a note, create a child note item
if it does not yet exist and set its content. If the
child item for user-added notes is already created,
update it
- if the connector sends an empty note, user-added child
note item is deleted
- record child notes added by the user in _userAddedNotes
cache to distinguish between user added notes and
notes added by the connector automatically
- if the target library changes, child note items are
moved to the new library as well. _userAddedNotes
will be updated to reflect new itemIDs
- if there are multiple toplevel items being added,
the note is added to all of them
Also fix breakage when switching between collections
from different libraries. Fixes : #5331
2025-06-11 14:50:48 +03:00
Tom Najdek
e50787c94f
File renaming: Add pascal case. Fix unicode handling. ( #4876 )
2025-06-11 01:03:34 -04:00
Dan Stillman
15269763bb
Don't use Firefox user agent for files.zotero.net requests
2025-06-11 00:47:28 -04:00
Bogdan Abaev
65bc56b07b
dont exclude image annotations when creating notes
...
from multiple selected items.
Regression from 48fd23ccec
2025-06-10 22:22:33 +03:00
Dan Stillman
7a74384b42
Update locales from Transifex and merge new English strings
2025-06-10 11:06:42 -04:00