Skip to content

Add ts-standard static analysis tool#131

Closed
anthony-tom1 wants to merge 61 commits into
mainfrom
test-ts-standard
Closed

Add ts-standard static analysis tool#131
anthony-tom1 wants to merge 61 commits into
mainfrom
test-ts-standard

Conversation

@anthony-tom1

Copy link
Copy Markdown

No description provided.

marcuswu5 and others added 30 commits February 3, 2026 23:06
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
Anonymous posts will now display as anonymous to non-moderator users. Makes progress on #5 and closes #3
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
- 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
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
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
marcuswu5 and others added 29 commits February 25, 2026 20:32
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
- Fixes npm test error with matchWords
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.
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)
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.

6 participants