zotero/test/tests
Abe Jellinek 44d9530ecf Add local implementation of Zotero web API (#4270)
This required some tweaks to other parts of Zotero infrastructure:
- Search:
  - Add 'includeDeleted' condition to match behavior of 'includeTrashed' API
    parameter in a single search
- Data objects:
  - Improve toResponseJSON() implementations so output better matches the web
    API
    - Add toResponseJSON() to Zotero.Tags - has to be async so it can query the
      database and generally works differently from other toResponseJSON()
      functions, but accomplishes the same task
  - Remove unused getAPIData() and apiDataGenerator() DataObject functions. They
    aren't functional and wouldn't really make implementing the local server
    easier, so now seemed like a decent time to remove them
- Server:
  - Support resolving routes using pathparser.jsm
    - Add allowMissingParams option to PathParser#add(): prevents /route from
      matching /route/:param
  - Replace the query property of the data object sent to endpoint init()s with
    searchParams, an instance of URLSearchParams - supports #getAll() for
    repeatable parameters
- URIs:
  - Make getObjectURI() public, add utilities for converting URIs to API
    endpoints and web library URLs
2024-06-12 05:45:38 -04:00
..
data Feeds: Fix error parsing items with rights information 2024-05-23 14:20:44 -04:00
.eslintrc
advancedSearchTest.js Add missing await in advanced-search test 2024-02-01 00:55:02 -05:00
annotationsTest.js Add collectionID option to EditorInstance.createNoteFromAnnotations() 2022-09-12 15:54:03 -04:00
attachmentsTest.js Trim spaces from values in getFileBaseNameFromItem (#3711) 2024-02-19 04:43:19 -05:00
bibliographyTest.js Fix test for opening the Cite prefpane when clicking Manage Styles… 2023-04-15 03:35:17 -04:00
browserDownloadTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
cachedTypesTest.js
citeprocRsBridgeTest.js
citeTest.js Reset Zotero.locale to 'en-US' after cite test 2022-08-11 03:57:20 -04:00
collectionsTest.js
collectionTest.js fix collection tree test breakage 2024-01-24 23:32:12 -05:00
collectionTreeRowTest.js Include proper test for b373291c02 for #2771 2022-08-19 12:05:30 -04:00
collectionTreeTest.js updated collection filter collapsed rows test 2024-01-24 23:32:20 -05:00
concurrentCallerTest.js Try to prevent ConcurrentCaller from failing CI (#4097) 2024-05-07 19:38:44 -04:00
creatorsTest.js
dataDirectoryTest.js Clear Zotero.skipLoading after data directory tests 2023-05-25 05:45:53 -04:00
dataObjectsTest.js
dataObjectTest.js
dataObjectUtilitiesTest.js Don't repeatedly upload relations 2022-08-22 01:15:21 -04:00
dateTest.js Update utilities submodule and date-parsing tests 2022-08-11 02:36:04 -04:00
dbTest.js
debugTest.js Test debug output logging again 2023-05-24 20:59:29 +03:00
dictionariesTest.js
duplicatesTest.js
feedItemsTest.js
feedItemTest.js Update utilities submodule and date-parsing tests 2022-08-11 02:36:04 -04:00
feedReaderTest.js Feeds: De-prioritize prism:copyright 2024-05-23 14:16:38 -04:00
feedsTest.js
feedTest.js
fileHandlersTest.js Update reader and pdf-worker submodules and partially disable one test 2024-05-28 17:18:56 +03:00
fileInterfaceTest.js Add test for importing BibTeX from the clipboard 2024-04-10 07:13:47 -04:00
fileTest.js Fix file:// URI handling in getBinaryContentsAsync() 2023-11-10 15:58:53 -05:00
folderImportTest.js Temporarily disable folder import #2862 2023-03-23 14:16:51 +01:00
fulltextTest.js Adjust fulltext test 2024-05-28 17:32:03 +03:00
groupsTest.js
groupTest.js
HiddenBrowserTest.js HiddenBrowser: Test download blocking 2024-05-07 11:17:30 -04:00
httpTest.js fx-compat: Run translation and SingleFile in [hidden] browser 2023-04-14 11:44:44 -04:00
hyphenationTest.js Fix segfault when hyphenating text in main process (#3388) 2023-09-14 02:48:50 -04:00
importExportTest.js fx-compat: Fix XMLSerializer calls 2023-05-22 01:34:41 -04:00
integrationTest.js Link Mendeley citations in documents to imported items. Closes #2622 2022-11-29 16:27:19 +02:00
intlTest.js Refactor l10n code. Remove use of react-intl. (#2975) 2023-02-10 10:26:49 +02:00
itemFieldsTest.js
itemPaneTest.js Fix item pane header (#4159) 2024-06-04 02:14:20 -04:00
itemsTest.js Clarify comment for numDistinctFileAttachmentsForLabel() test 2024-05-19 00:54:13 -04:00
itemTest.js Strip line and paragraph separators in filenames 2024-04-28 07:51:25 -04:00
itemTreeTest.js Fix item pane buttons after CEification 2024-05-15 06:45:10 -04:00
librariesTest.js
libraryTest.js
libraryTreeTest.js
lookupTest.js
mendeleyImportTest.js Mendeley importer: Fix issue with empty tags (#3018) 2023-04-06 17:10:13 +02:00
mimeTest.js Add EPUB format to Zotero.MIME 2023-08-07 16:07:52 -04:00
noteeditorTest.js Remove tags-box tests in note editor tests 2024-01-24 23:32:20 -05:00
notifierTest.js
openurlTest.js
pdfReaderTest.js Disable PDF reader tests 2023-08-07 16:27:23 -04:00
preferences_advancedTest.js Test debug output logging again 2023-05-24 20:59:29 +03:00
preferences_syncTest.js Clear sync error and start sync after logging in in prefs (#2802) 2022-10-16 15:47:54 -04:00
profileTest.js
protocolHandlerTest.js
proxyTest.js Import URL from XPCOM code instead of relying on window for Proxy code 2022-11-22 15:58:49 +02:00
quickCopyTest.js
recognizeDocumentTest.js Fix recognizeDocument test failures 2024-01-24 23:32:22 -05:00
relatedboxTest.js Fix relatedbox tests after redesign 2024-01-24 04:03:35 -05:00
relationsTest.js
RemoteTranslateTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
retractionsTest.js CI: Re-enable retractions tests 2024-04-11 06:09:12 -04:00
schemaTest.js Better way of skipping migration of Place and Date from Extra 2023-04-01 04:52:30 -04:00
searchTest.js Prevent setting search .name to empty value 2023-04-12 22:23:13 -04:00
server_connectorTest.js fz115: Update SingleFile tests to expect <html style> 2024-03-30 00:58:54 -04:00
server_localAPITest.js Add local implementation of Zotero web API (#4270) 2024-06-12 05:45:38 -04:00
serverTest.js
storageLocalTest.js fx-compat: Update conflict resolution merge window (#3090) 2023-04-29 03:13:53 -04:00
storageRequestTest.js
styleTest.js Improve test for event-title substitution 2022-08-11 03:57:25 -04:00
supportTest.js
syncAPIClientTest.js
syncedSettingsTest.js
syncEngineTest.js Fix test breakage from f68818387 2023-09-18 16:47:55 -04:00
syncEventListenersTest.js
syncFullTextEngineTest.js
syncLocalTest.js fx-compat: Update conflict resolution merge window (#3090) 2023-04-29 03:13:53 -04:00
syncRunnerTest.js fx-compat: long tag fixer (#2649) 2023-03-16 21:20:11 -04:00
tagsboxTest.js fix tagsbox enter glitch (#4160) 2024-05-23 00:16:36 -04:00
tagSelectorTest.js Match parent attachments for annotation tags 2022-08-17 03:35:28 -04:00
tagsTest.js
translateTest.js fx115: Update lots of OS.File/OS.Path uses 2024-03-30 00:58:54 -04:00
translatorsTest.js
uriTest.js
utilities_internalTest.js Fix Utilities.Internal.md5Async() on missing files and empty strings 2024-05-08 01:16:37 -04:00
utilitiesSubmoduleTest.js
webdavTest.js fx115: Update lots of OS.File/OS.Path uses 2024-03-30 00:58:54 -04:00
zfsTest.js fx115: Update lots of OS.File/OS.Path uses 2024-03-30 00:58:54 -04:00
zoteroPaneTest.js zp tab focus tests pass if run on their own (#4183) 2024-05-31 05:54:26 -04:00
zoteroTest.js