Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #68

Merged
merged 9 commits into from
Aug 6, 2024
Merged

Dev #68

merged 9 commits into from
Aug 6, 2024

Conversation

RedAtman
Copy link
Owner

@RedAtman RedAtman commented Aug 6, 2024

No description provided.

Adds a pre-commit hook for gitlint to enforce consistent commit message formatting. This helps maintain a clean and readable commit history.
Introduce a new `OptimisticLockingDict` class that allows for concurrent updates to shared data while ensuring optimistic locking behavior. This addresses the issue of inconsistent updates caused by simultaneous access.

The `OptimisticLockingDict` is designed to work with both threading and multiprocessing contexts, providing flexibility and scalability. Its `optimistic_update` method handles concurrent updates by checking for version conflicts and raising an `OptimisticLockingError` if necessary. The inclusion of extensive tests ensures the robustness and correctness of the implementation.

This update significantly enhances the ability to manage shared data in multi-threaded and multi-process environments, facilitating robust and reliable data sharing.
Adds markdown support through a new `title_extension_map` configuration option in the settings file. When a note's title matches a specified regex, the corresponding file type and extension are determined.  If the file type is "markdown", the `markdown` system tag is added to the note. This allows for better integration and support for markdown content within the plugin.
Adds markdown formatting and extension mapping features:

- Markdown documents are now automatically formatted on save.
- Users can define custom file extensions based on note titles, allowing for better integration with other plugins.

This change streamlines the workflow for Markdown notes, enhancing user experience and providing flexibility in file management.
Improved note list display with richer information and added Markdown support for notes.
Markdown syntax is automatically detected and formatted, improving the user experience.
Refines the isort configuration to improve import order and structure within the project. This includes:

-  Enabling `skip_gitignore` to avoid sorting imports in ignored files.
-  Specifying `src_paths` to limit sorting to relevant source code directories.
-  Updating `skip_glob` to exclude additional files from import sorting.

This ensures that imports are organized according to project conventions and improves code readability.
Add .markdownlintrc to the .gitignore file to prevent it from being committed to the repository. This file contains configuration settings for markdownlint, which is used to enforce style guidelines for Markdown files. It's not necessary to commit this file as it's specific to the local environment and can be easily recreated.
Adds a basic message structure for localization. This commit introduces a `messages.json` file which will be used to store localized messages in future development.
Dynamically generate the package name based on the current directory for easier deployment across projects. This prevents hardcoding the package name and ensures that each project deploys correctly.
@RedAtman RedAtman merged commit 8030ec2 into master Aug 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant