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

Clean-up Global Search, Due Cards, and My Cards #3676

Merged
merged 26 commits into from
Mar 29, 2021
Merged

Conversation

jrsupplee
Copy link
Contributor

@jrsupplee jrsupplee commented Mar 28, 2021

Reorganize code to remove duplicated code.

Due cards and My Cards now use the global search code to retrieve results. This eliminates duplicated code.

Also some bug fixes and enhancements:

  • Enable paging for Due Cards
  • Add a clear search icon next to the input box
  • Do not include archived lists in the lists choices on the global search page.
  • Add constants file for search operators
  • Add an environment variable (RESULTS_PER_PAGE) to set the default number of results per page

This change is Reviewable

* use onReady and onStop callbacks when subscribing
* show an server error message when the server returns an error
* call stop() on subscriptions
@ghost
Copy link

ghost commented Mar 28, 2021

DeepCode's analysis on #238b0f found:

  • ⚠️ 1 warning 👇
  • ✔️ 1 issue was fixed.

Top issues

Description Example fixes
Unsanitized input from a function parameter flows into a member access and is used to access a property of a field assignment by name. This may allow a malicious user to access methods (e.g. toString) as opposed to regular properties of objects and cause a crash, remote code execution or more serious problems. This is known as a Prototype Pollution vulnerability. Occurrences: 🔧 Example fixes

👉 View analysis in DeepCode’s Dashboard | Configure the bot

@xet7 xet7 merged commit 4ea4913 into wekan:master Mar 29, 2021
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.

2 participants