Abe Jellinek
1bf0fd7d57
Scaffold: Manage blank lines before test cases automatically
2024-05-15 12:42:00 -04:00
Abe Jellinek
634e27c621
Scaffold: Don't use cookie sandbox by default
...
Instead, just set an empty cookie sandbox when running tests without
"Remember cookies" enabled. The cookie sandbox doesn't remember cookies
set in JS, which breaks some sites in the Scaffold browser.
https://forums.zotero.org/discussion/114239/z7-beta77-scaffold-bugs-report
2024-05-07 15:11:03 -04:00
Abe Jellinek
19ab6b6643
Scaffold: Fix duplicate text in test status label
2024-05-07 14:30:56 -04:00
Abe Jellinek
387210e139
Scaffold: Fix Open URL
2024-05-07 14:28:50 -04:00
Abe Jellinek
655575eb77
Monaco / Scaffold: Use LF line endings on all platforms
...
https://forums.zotero.org/discussion/114239/z7-beta77-scaffold-bugs-report
2024-05-07 12:10:57 -04:00
Abe Jellinek
fde33e7100
fx115: Scaffold: Center Open window (ex-sheet)
2024-04-22 15:02:30 -04:00
Abe Jellinek
c031e1fbbd
Scaffold: Disable sticky headers in Tests editor
2024-04-12 13:21:17 -07:00
Abe Jellinek
6ebb15778b
fx115: Fix Scaffold richlistboxes and load dialog sizing ( #3968 )
2024-04-11 22:53:59 -04:00
Dan Stillman
920461cd9d
fx115: Update lots of OS.File/OS.Path uses
2024-03-30 00:58:54 -04:00
Dan Stillman
e76c6c6a1a
fx115: Update loadURI() calls to take nsIURI and remove loadURIWithFlags
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1810141
https://bugzilla.mozilla.org/show_bug.cgi?id=1444760
2024-03-30 00:58:53 -04:00
Dan Stillman
c36f40735c
fx115: Change FilePicker to Mozilla ESM style
...
var { FilePicker } = ChromeUtils.importESModule('chrome://zotero/content/modules/filePicker.mjs');
2024-03-30 00:58:53 -04:00
Dan Stillman
2051f08b4c
fx115: Move Zotero
object initialization to zotero.mjs
2024-03-30 00:58:53 -04:00
Abe Jellinek
4f0e9bb9bb
Scaffold: Enable syntax highlighting/formatting in Test Input
2024-03-26 16:36:05 -04:00
Abe Jellinek
a7044db15e
Scaffold: Remember cookies set in browser by default
...
Making this configurable - it's worth testing translators to make sure
that they *aren't* dependent on some specific cookie configuration,
apart from obvious cases like login-gated sites.
2024-03-26 14:22:08 -04:00
Abe Jellinek
bef7ecd409
Scaffold: Print attachment URLs
...
Useful for debugging. This doesn't apply to tests.
2024-03-22 12:44:30 -04:00
Abe Jellinek
ff96de8723
Scaffold: Remove id field from returned items
...
Generates confusing diff output and isn't necessary.
2024-03-22 11:41:14 -04:00
Abe Jellinek
cee1e3a596
Scaffold: Update copyright year automatically
2024-03-18 12:20:22 -04:00
Abe Jellinek
5489b6cc4b
Scaffold: Show current Git branch in title ( #3834 )
2024-03-12 01:33:03 -04:00
Abe Jellinek
0e251b4975
Scaffold: Fix tests losing defer: true on update
2024-01-31 14:30:34 -05:00
Abe Jellinek
7944253bed
Scaffold: Update HiddenBrowser to use object-oriented API
...
Fixes updating tests.
2024-01-31 14:27:21 -05:00
Abe Jellinek
ba0475810c
Scaffold: Implement new toolbar
...
New icons and new scaffold.scss go into chrome://zotero/skin. The separate root
for Scaffold is mostly a historical relic, and adding special cases to build
scripts, SCSS mixins, and so on would just make things complicated.
2024-01-24 04:03:36 -05:00
Abe Jellinek
1dd3812e00
Deprecate setFontSize(), replace with new Zotero.UIProperties
...
This new XPCOM module handles font size and UI density and automatically keeps
registered roots up to date when prefs change. Roots receive a
UIPropertiesChanged event after their properties are updated.
2024-01-24 03:39:09 -05:00
Abe Jellinek
a37dd2462a
Disable error reporting in Scaffold
2024-01-23 12:06:40 -05:00
Abe Jellinek
071bf06995
Scaffold: Use standard ESLint options ( #3498 )
2023-12-27 05:29:12 -05:00
Abe Jellinek
345bbcf50c
Scaffold: Prompt to save before resetting
...
Now that Scaffold remembers and automatically loads the last edited translator
(65048fd624
), it needs to be easier to create a
new translator without saving (and bumping the lastModified date on) the
translator you had open.
2023-07-31 09:44:20 -04:00
Abe Jellinek
65048fd624
Scaffold: Automatically load last opened translator
2023-06-24 15:00:57 -07:00
Abe Jellinek
c124ca9738
Scaffold: Fix test creation
...
Fixes #3167
2023-06-15 16:18:57 -07:00
Abe Jellinek
c07eccb468
Scaffold: Improve perceived translation speed
...
When translators do a lot of logging.
https://github.com/zotero/translators/pull/3022#issuecomment-1517291971
2023-04-21 13:38:42 -04:00
Abe Jellinek
0612a9e6f5
fx-compat: Run translation and SingleFile in [hidden] browser
...
And replace loadDocuments().
2023-04-14 11:44:44 -04:00
Abe Jellinek
b1595cdd1d
Scaffold: Support the detectedItemType
test field ( #3023 )
2023-03-14 10:21:10 -04:00
Abe Jellinek
4865f8afca
Scaffold: Await more async functions
...
Might help prevent a deadlock I experienced when switching back to Zotero after
changing a translator file externally (although I can't reproduce it).
2023-01-23 12:32:30 -05:00
YFdyh000
bb5fe45f31
Show fieldLocalizedName in Scaffold - List All Fields ( #2965 )
2023-01-17 10:39:02 -05:00
Abe Jellinek
76f844da2f
Scaffold: Autocomplete translator IDs in setTranslator() calls
2022-11-01 16:36:44 -04:00
Abe Jellinek
1aebad3c19
Scaffold: Fix copying JSON test data
...
Previously only copied '[object Object]'.
2022-11-01 16:04:24 -04:00
Abe Jellinek
500f187a60
Scaffold: Remove useless debug
2022-09-13 11:20:41 -07:00
Abe Jellinek
52e8fa8995
Prune Monaco distribution, fix JS acting like TS in Scaffold
...
We don't need most of the bundled languages or localizations, so they were just
taking up disk space pointlessly.
2022-09-12 14:06:17 -07:00
Abe Jellinek
7d3e95e050
Fix Scaffold load error when fontSize pref is set
2022-08-11 02:25:43 -04:00
Abe Jellinek
5e6dc290b6
fx-compat: Scaffold: Read ESLint output from stdin
...
Need to update your zotero/translators clone to get linting working again.
2022-07-19 16:26:17 -04:00
Abe Jellinek
14f79018ad
fx-compat: Scaffold: Fix "undefined" attributes
2022-07-19 14:44:28 -04:00
Abe Jellinek
916627b590
fx-compat: Scaffold: Fix indentation using spaces
2022-07-11 13:03:48 -04:00
Abe Jellinek
f81b4b071f
fx-compat: Correct create[XUL]Element[NS]() calls
...
This fixes the dictionary manager and various other places where a XUL
element was being created with createElement(), and also simplifies a lot
of createElementNS(HTML_NS, ...) calls.
This might cause some minor regressions but everything tested has
worked. Not touching preferences (#2659 ) or bindings.
2022-06-29 11:14:40 -04:00
Abe Jellinek
9c837b3361
Improve Monaco integration and use in csledit
...
And remove timedtextarea.xml. Fixes #2665 .
2022-06-28 15:05:16 -04:00
Abe Jellinek
9a2e98360a
fx-compat: Scaffold: Update Monaco
...
Now that we can. Quite a bit faster and more customizable.
2022-06-08 17:38:59 -05:00
Abe Jellinek
e537018e71
fx-compat: Initial fix for Scaffold
...
Not working:
- Web tests (hidden browser is broken)
- Test Updated status text
- Various platform menu things (code copied from ZP and will use whichever
approach we settle on there)
2022-06-08 17:16:50 -05:00
Abe Jellinek
dea9fc5e88
Scaffold: setInterval -> activate listener
2022-04-07 19:50:13 -07:00
Abe Jellinek
fbaa1c6e61
Fix huge Scaffold toolbar icons on Win/Linux
2022-04-05 14:50:05 -07:00
Abe Jellinek
27c9086222
Scaffold: Show "defer" value in test list
2022-03-30 14:49:42 -07:00
Abe Jellinek
ed31a11fce
Scaffold: Sanitize items for display more accurately
2022-03-09 11:42:16 -08:00
Abe Jellinek
5409ae3313
Overhaul Scaffold ( #2293 )
2022-03-02 22:36:04 -05:00
Abe Jellinek
c5067edd2d
Fix Scaffold failing to initialize ( #2200 )
2021-09-09 05:17:35 -04:00