Add ts-standard static analysis tool#131
Closed
anthony-tom1 wants to merge 61 commits into
Closed
Conversation
Main purpose of this commit is to show how we can access the user id in our plugin so that filtering can be applied later as in #3
Setting the uid to -1 will cause the post to return as anonymous without returning any errors Still need to create test files helps with #3 Anonymous posts have display issues that need to be resolved
Feature/post filtering plugin lgtm - aiden
demo version button for anonymous post creation with checkbox state data-anonymous-post boolean for toggle
Refactor Categories.create: simplify conditionals to reduce complexity
Feature/frontend4anonymouspost
- Adds a new “Contains” option to the search match dropdown (theme + i18n) - Preserves existing “match all” and “match any” word-based behavior - Implements case-insensitive substring matching for bookmarks and dbsearch backends - MongoDB uses regex-based matching; Postgres uses ILIKE - Redis backend behavior remains unchanged
- Renames the label for the match-contains option in en-US search.json
- Adds match-contains field with value "Match contains" in en-GB search.json
Feature: Add "Match contains" dropdown option for substring search
unnecessary readme
Implemented latex compatibility with plugin
…abase config. Also already did endtoend tests
…hes) - Move fuzzy logic into src/search/fuzzy.js - Add test/search-fuzzy.js with Mocha unit tests - Wire search.js to use fuzzy module for bookmarks fuzzy match - Modify test/mocks/databasemock.js to use port 4568 for tests
- Fix test/api.js by including relative_path in API request URLs - Prevent 307 redirects when a base path is configured (e.g., in CI).
…d the files src/posts/create.js public/src/app.js
Add unit tests to Latex plugin
Feature: Add "Fuzzy match" search dropdown option for typo tolerance
…e composer DOM and adds it to the data being sent to the server. anonymous field in the composerData is set to 1 if it is anonymous, otherwise 0 as integers.
… from the composer DOM and adds it to the data being sent to the server. anonymous field in the composerData is set to 1 if it is anonymous, otherwise 0 as integers." This reverts commit e07bb55.
Linked Backend, DB, and Frontend for Anonymous Post Creation Fails CI due to issues with Coveralls
addresses #23
Bug/anonymous fix
Removes redundant (tokenLength <= 2) conditional branch, as the logic is already accounted for by (tokenLength <= 5)
- Highlights matched characters in search results when "Fuzzy match" is selected. - For every input search, similar words in post results are highlighted. - Uses Levenshtein minimal edit distance algorithm to determine word similarity
…13/nodebb-spring-26-kernel-panic into fix-fuzzy-search-highlight
- Fixes npm test error with matchWords
…13/nodebb-spring-26-kernel-panic into fix-fuzzy-search-highlight
Fix: Add dynamic word highlighting for fuzzy search
- Includes information about how users can utilize the fuzzy search feature - Includes instructions for running fuzzy search unit tests using Mocha
feat: add respondents list to topic sidebar (close issue #20)
Removed the feature template section from the User Guide.
Looks good to me!
Linux vm installation
Fix dependencies issues for VM
- Installed ts-standard using npm (package.json, package-lock.json) - Added run output to show that the ts-standard tool ran successfully (ts_standard_output.txt)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.