1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/lib
2024-11-09 23:58:15 +00:00
..
commands Mobile: Resolves #10763: Support permanent note deletion on mobile (#10786) 2024-09-21 13:05:27 +01:00
components Mobile: Resolves #10763: Support permanent note deletion on mobile (#10786) 2024-09-21 13:05:27 +01:00
countable Desktop: Resolves #8083: Improved word count when em-dash is used 2023-06-05 18:35:34 +01:00
debug All: Add support for sharing notebooks with Joplin Server (#4772) 2021-05-13 17:57:37 +01:00
hooks Desktop: Multiple window support (#11181) 2024-11-08 15:32:05 +00:00
images All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
lib All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
locales Update translations 2024-07-01 17:39:00 +02:00
migrations Mobile: Support building for web (#10650) 2024-08-02 14:51:49 +01:00
models Desktop: By default disable pasting colors in RTE, and added option to enable it 2024-11-09 23:58:15 +00:00
renderers Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
rnInjectedJs All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
services Revert "Desktop: Add OneNote Importer (#10642)" 2024-11-09 13:42:37 +00:00
testing Chore: Refactoring: Prefer empty array to KeychainServiceDriverDummy (#11216) 2024-10-26 21:02:34 +01:00
themes Desktop: Fix errors found by automated accessibility testing (#11246) 2024-11-09 12:50:06 +00:00
utils Plugins: Added a renderMarkup command to render MD or HTML markup to HTML 2024-10-27 21:19:38 +00:00
vendor Server: Resolves #5738: Check for time drift when the server starts 2021-11-17 18:41:25 +00:00
.gitignore Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00:00
array.ts Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
ArrayUtils.test.js Tools: Apply rule github/array-foreach 2023-06-30 09:39:21 +01:00
ArrayUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
AsyncActionQueue.test.ts Chore: AsyncActionQueue: Support changing which tasks can be skipped (#10506) 2024-06-04 09:54:06 +01:00
AsyncActionQueue.ts Chore: AsyncActionQueue: Support changing which tasks can be skipped (#10506) 2024-06-04 09:54:06 +01:00
BaseApplication.ts Desktop: Multiple window support (#11181) 2024-11-08 15:32:05 +00:00
BaseModel.test.ts Desktop,Mobile: Fixes #11065: Improve performance when there are many selected items (#11067) 2024-09-21 12:53:16 +01:00
BaseModel.ts Revert "Desktop: Add OneNote Importer (#10642)" 2024-11-09 13:42:37 +00:00
BaseSyncTarget.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
Cache.js Tools: Apply eslint rules "no-console" and "id-denylist" 2023-02-16 10:58:24 +00:00
callbackUrlUtils.test.ts Desktop: Security: Prevent calling arbitrary commands via x-callback-url 2023-06-14 15:51:35 +01:00
callbackUrlUtils.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
ClipperServer.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
clipperUtils.ts Chore: Webclipper: Migrate build system to Webpack 5 (#9670) 2024-01-06 12:15:10 +00:00
CssUtils.ts Plugins: Add support for loading application chrome and note CSS from the plugin 2021-07-23 11:05:21 +01:00
database-driver-better-sqlite.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
database-driver-node.js Desktop: Upgrade Electron from v10 to v14 2021-10-01 19:35:27 +01:00
database.test.js Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
database.ts Mobile: Support building for web (#10650) 2024-08-02 14:51:49 +01:00
determineBaseAppDirs.ts Desktop: Resolves #9857: Back up to a subdirectory of the home directory by default (#9942) 2024-02-22 21:30:21 +00:00
dom.ts Desktop: Fixes #11129: Improve performance by allowing note list background timers to be cancelled (#11133) 2024-09-27 15:25:55 +01:00
downloadController.ts Chore: Improve logs to help debugging (#10432) 2024-05-17 09:42:16 +01:00
DropboxApi.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
envFromArgs.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
errors.ts Api: Add capability of limiting downloads (#9788) 2024-03-09 10:45:21 +00:00
errorUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
EventDispatcher.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
EventDispatcher.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
eventManager.test.js Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
eventManager.ts Desktop: Multiple window support (#11181) 2024-11-08 15:32:05 +00:00
file-api-driver-amazon-s3.js Chore: Add no-throw-literal and prefer-promise-reject-errors eslint rules (#10371) 2024-04-25 13:32:37 +01:00
file-api-driver-dropbox.js Mobile: Simplify Dropbox sync workarond (#10415) 2024-05-12 10:01:02 +01:00
file-api-driver-joplinServer.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api-driver-local.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
file-api-driver-memory.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api-driver-onedrive.js All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
file-api-driver-webdav.js Desktop,Mobile,Cli: Fixes #10608: WebDAV synchronisation not working because of URL encoding differences (#11076) 2024-09-23 18:19:51 +01:00
file-api-driver-webdav.test.ts Desktop,Mobile,Cli: Fixes #10608: WebDAV synchronisation not working because of URL encoding differences (#11076) 2024-09-23 18:19:51 +01:00
file-api-driver.test.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api.test.ts Desktop, Cli, Mobile, Server: Optimise synchronisation by making delta call return whole items 2023-12-23 13:13:50 +00:00
file-api.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
folders-screen-utils.ts All: Fixes #10189: After deleting the last note from the conflicts folder, the application state is invalid 2024-04-27 09:54:47 +01:00
fs-driver-base.ts Mobile: Support building for web (#10650) 2024-08-02 14:51:49 +01:00
fs-driver-dummy.js All: Improved S3 sync error handling and reliability, and upgraded S3 SDK (#5312) 2021-11-24 23:03:03 +00:00
fs-driver-node.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
fsDriver.test.ts Windows: Fixes #10525: Prevent notes with titles that differ only in case from being overwritten when exporting (#10541) 2024-06-11 07:41:23 +01:00
geolocation-node.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
HtmlToMd.ts Desktop: Fixes #10733: Fix not-yet-created images lost while editing with the Rich Text Editor (#10734) 2024-07-16 19:25:23 +01:00
htmlUtils2.test.ts Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
htmlUtils.test.ts Desktop: Fixes #9264: Preserve indentation from plain text when pasting on Rich Text Editor (#9828) 2024-03-02 15:43:38 +00:00
htmlUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
import-enex-html-gen.js Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
import-enex-html-gen.test.js Tools: Apply eslint rule multiline-comment-style with checkJSDoc option 2023-06-30 09:55:56 +01:00
import-enex-md-gen.test.ts Deskop, Cli: Fixes #10125: ENEX does not import correctly when title of note matches the name of the attachment 2024-03-18 16:00:39 +00:00
import-enex-md-gen.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
import-enex.ts Chore: Migrate mime-utils.js to TypeScript (#10536) 2024-06-04 09:50:18 +01:00
initLib.ts Chore: Trying to fix logger (#8610) 2023-08-04 10:57:54 +01:00
InMemoryCache.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
InMemoryCache.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
jest.config.js Tools: Moved lib-specific tests under lib package 2021-05-21 15:17:21 +02:00
jest.setup.js Chore: Apply changes from mobile plugins to lib/ and app-desktop/ (#10079) 2024-03-09 11:03:57 +00:00
JoplinDatabase.ts Chore: Migrate SQL queries in preparation for web support (#10670) 2024-07-01 19:56:40 +02:00
JoplinError.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
JoplinServerApi.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
locale.test.ts All: Fixes #10581: English: Use the plural form of a localization for negative and zero items (#10582) 2024-06-14 19:37:26 +01:00
locale.ts All: Fixes #10581: English: Use the plural form of a localization for negative and zero items (#10582) 2024-06-14 19:37:26 +01:00
makeDiscourseDebugUrl.test.ts Desktop: Include more information when auto-generating import error report 2023-12-16 13:12:00 +00:00
makeDiscourseDebugUrl.ts Desktop: Include more information when auto-generating import error report 2023-12-16 13:12:00 +00:00
markdownUtils2.test.ts Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
markdownUtils.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
markdownUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
markJsUtils.js Desktop: Fixes #9958: Highlight partial matches in search results 2024-02-19 10:01:54 +00:00
markupLanguageUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
mime-utils-types.js Desktop: Resolves #8175: Add support for AVIF image format 2023-06-05 18:23:41 +01:00
mime-utils.ts Chore: Migrate mime-utils.js to TypeScript (#10536) 2024-06-04 09:50:18 +01:00
mimeUtils.test.js Chore: Migrate mime-utils.js to TypeScript (#10536) 2024-06-04 09:50:18 +01:00
net-utils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
ntp.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
ObjectUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
onedrive-api-node-utils.js Tools: Add eslint rule prefer-await-to-then 2022-09-30 17:32:00 +01:00
onedrive-api.test.ts Desktop,Mobile,Cli: Resolves #9706: Don't log OneDrive Authorization tokens (#9707) 2024-01-18 11:20:33 +00:00
onedrive-api.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
package.json Revert "Desktop: Add OneNote Importer (#10642)" 2024-11-09 13:42:37 +00:00
parameters.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
parseUri.js Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
path-utils.ts Chore: Refactor renderer package: Limit dependency on @joplin/lib and improve type safety (#9701) 2024-01-18 11:20:10 +00:00
pathUtils.test.js Chore: Refactor renderer package: Limit dependency on @joplin/lib and improve type safety (#9701) 2024-01-18 11:20:10 +00:00
pluginCategories.json Chore: Seperate allPossibleCategories to @joplin/lib (#6754) 2022-09-09 15:05:08 +01:00
PoorManIntervals.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
randomClipperPort.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
react-logger.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
README.md Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
reducer.test.ts Desktop: Multiple window support (#11181) 2024-11-08 15:32:05 +00:00
reducer.ts Desktop: Multiple window support (#11181) 2024-11-08 15:32:05 +00:00
registry.test.ts Chore: Increase strength of Settings types (#10605) 2024-06-25 15:01:39 +02:00
registry.ts Desktop, Mobile: Fixes #10645: Show notification in case Joplin Cloud credential is not valid anymore (#10649) 2024-07-01 17:31:58 +02:00
reserved-ids.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
resourceUtils.js Desktop, Mobile: Fixes #5687: Fixed issue with parts of HTML notes not being displayed in some cases 2021-11-09 18:33:28 +00:00
RotatingLogs.test.ts All: Allow modifying a resource metadata only when synchronising (#9114) 2023-10-24 10:46:33 +01:00
RotatingLogs.ts Chore: Desktop: Fixes #8598 - Recent logs appear to be deleted (#8605) 2023-08-08 11:18:59 +01:00
shim-init-node.test.ts Desktop,CLI: Fixes #10653: Change Resource filetype detecting strategy (#10907) 2024-11-07 13:46:08 +00:00
shim-init-node.ts Revert "Desktop: Add OneNote Importer (#10642)" 2024-11-09 13:42:37 +00:00
shim.ts Chore: Fix CI (#11281) 2024-10-28 22:07:49 +00:00
string-utils-common.js Chore: Refactor string-utils to TypeScript (#9869) 2024-02-07 14:16:54 +00:00
string-utils.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
string-utils.ts Desktop: Resolves #11063: Improve the performance of GoToAnything (#11064) 2024-09-16 22:20:44 +01:00
Synchronizer.ts All: Resolves #10407: Added feature flag to disable sync lock support (#10925) 2024-08-23 12:16:19 +01:00
SyncTargetAmazonS3.js All: Enable ignoreTlsErrors and custom certificates for S3 sync (#8980) 2023-10-05 10:56:25 +01:00
SyncTargetDropbox.js Desktop: Add Sync Wizard dialog 2021-08-16 15:20:14 +01:00
SyncTargetFilesystem.ts Mobile: Support building for web (#10650) 2024-08-02 14:51:49 +01:00
SyncTargetJoplinCloud.ts Desktop, Mobile: Fixes #10645: Show notification in case Joplin Cloud credential is not valid anymore (#10649) 2024-07-01 17:31:58 +02:00
SyncTargetJoplinServer.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
SyncTargetMemory.js All: Allow uploading items in batch when synchronising with Joplin Server 2021-06-18 17:17:25 +01:00
SyncTargetNextcloud.js Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
SyncTargetNone.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
SyncTargetOneDrive.ts Mobile: Support building for web (#10650) 2024-08-02 14:51:49 +01:00
SyncTargetRegistry.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
SyncTargetWebDAV.js Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
TaskQueue.test.js Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
TaskQueue.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
theme.ts Desktop: Accessibility: Improve settings screen keyboard navigation and screen reader accessibility (#10812) 2024-08-02 14:49:15 +01:00
time.ts Desktop: Use relative time in note list for today and yesterday 2024-06-20 14:01:13 +01:00
timeUtils.test.js Tools: Add prefer-arrow-callbacks to ESlint rules (#7810) 2023-02-20 15:02:29 +00:00
tsconfig.json All: Resolves #483: Add trash folder (#9671) 2024-03-02 14:25:27 +00:00
types.ts Clipper: Fix process stopping because one resource can't be created (#10337) 2024-04-25 13:53:34 +01:00
urlUtils.test.js Desktop: Fixes #10551: Watch resources for changes when opened from the Rich Text Editor (#10554) 2024-06-10 22:31:38 +01:00
urlUtils.ts Desktop: Fixes #10551: Watch resources for changes when opened from the Rich Text Editor (#10554) 2024-06-10 22:31:38 +01:00
uuid.ts Chore: Add function exports to lib/uuid module (#9560) 2023-12-20 19:05:59 +00:00
versionInfo.test.ts Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
versionInfo.ts Linux: Move keychain support behind an off-by-default feature flag (#11227) 2024-10-17 22:58:03 +01:00
WebDavApi.js iOS: Fixes #2153: Fix sync issue with Stackstorage 2023-09-14 12:47:25 +01:00
welcomeAssets.js Doc: Auto-update documentation 2024-02-02 18:16:38 +00:00
WelcomeUtils.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00

@joplin/lib

Library shared between all applications.

  • It should not have dependencies to any other @joplin package to avoid dependency cycles.
  • Binary packages should be passed via dependency injection from the parent packages, for example like it is done in shim-init-node. This is because each app might need to compile the binary package in a specific way, so doing it from /lib would cause issues.
  • It should not include the react or react-native packages because React in particular breaks when there's more than one instance of it in node_modules. React is passed via dependency injections so that some hooks can be shared.