From 8208adde666802fab0b0e6f85ddc27228d5ff476 Mon Sep 17 00:00:00 2001 From: Kunal Marwaha Date: Sat, 28 Oct 2023 00:47:24 -0400 Subject: [PATCH] minor improvements (#506) * Add more dev notes to readme * Show user feedback that email sent --- README.markdown | 2 ++ app/assets/javascripts/scirate.js.coffee | 1 + 2 files changed, 3 insertions(+) diff --git a/README.markdown b/README.markdown index bb740c1..233b341 100644 --- a/README.markdown +++ b/README.markdown @@ -57,6 +57,7 @@ docker-compose exec web rake arxiv:oai_update and visit and you will be looking at SciRate! +It may not be possible to make new users locally. If you get stuck, you can disable the `unless verify_recaptcha` code block in `app/controllers/users_controller.rb` and it should work. ## Testing @@ -83,6 +84,7 @@ In the database, each user (in `users`) has an `account_status` column. Change t * Admins can see a dashboard `https://scirate.com/admin`, set a global alert (i.e. for announcing upcoming site maintenance), and act as other users. * A user can also have `account_status` set to `spam`. +There is also a feature to lock comments of a paper. This can be done by changing a flag in the database (there is an open issue to make this accessible in the frontend https://github.com/scirate/scirate/issues/335). ## Acknowledgements diff --git a/app/assets/javascripts/scirate.js.coffee b/app/assets/javascripts/scirate.js.coffee index 37d3eeb..3d31e32 100644 --- a/app/assets/javascripts/scirate.js.coffee +++ b/app/assets/javascripts/scirate.js.coffee @@ -217,6 +217,7 @@ setupPageLoad = -> $('#resend-confirm-email').popover( content: "Sent" ) + $('#resend-confirm-email').popover('show') # Landing page specific $('#landing').each ->