Commit Graph

2513 Commits

Author SHA1 Message Date
William Karsten f44e0b278f Clean up stray blank lines & errors 2022-09-28 08:31:14 -05:00
William Karsten 2e313e08ef Refine TomSelect with styling and options 2022-09-28 08:27:58 -05:00
William Karsten fbf9e8ada8 Create first stage changes to the css for TomSelect 2022-09-28 08:27:58 -05:00
William Karsten 7a69a880d3 Fix the number of tag options displayed when submitting a story 2022-09-28 08:27:58 -05:00
William Karsten aad79c8ee5 Setup TomSelect plugins autogrow & caret position 2022-09-28 08:27:58 -05:00
William Karsten 3cedbfd165 Add tomselect remove_button plugin 2022-09-28 08:27:58 -05:00
William Karsten bc9922f2ab Refactor the #story_url focusout & remove dead code 2022-09-28 08:27:58 -05:00
William Karsten c9eb86cc53 Update the #story_url focusout to use tomSelect() 2022-09-28 08:27:58 -05:00
William Karsten 01813180c8 Update tomSelect() to work with checkStoryTitle() 2022-09-28 08:27:58 -05:00
William Karsten b8f53f26ea Clean up small style errors 2022-09-28 08:27:58 -05:00
William Karsten c809053168 Change local files and routes to support TomSelect 2022-09-28 08:27:58 -05:00
William Karsten f5cce5f6b1 Add tom-select to the project 2022-09-28 08:27:58 -05:00
Ethan Wong bdaec05bc6
Fix: archive button has no hand cursor on hover (#1128) 2022-09-26 13:16:13 +00:00
Peter Bhat Harkins 8f7d98dd8d cron job to fill flagged commenters cache 2022-09-01 08:12:16 -05:00
Peter Bhat Harkins b731305b94 tweak new domain controller - copy, var names, spec 2022-09-01 07:45:18 -05:00
Peter Bhat Harkins 9a7ad7db6f config for non-ajax forms 2022-08-31 08:47:05 -05:00
Fat Shinobi f10529e727
Domains: web editing, transparency in tracker banning (#1119) 2022-08-31 13:23:33 +00:00
William Karsten 4a0846746a
Fix bug where the comment flag dropdown is out of position. (#1126) 2022-08-25 17:31:44 +00:00
William Karsten f0edc44d33
Fix duplicate url check bug + flag scrolling to top (#1124) 2022-08-24 13:38:26 +00:00
Pip f15bf560fe
Add tests for /filters page (#1122) 2022-08-24 13:31:21 +00:00
Ethan Wong 7a69fb823a
Fix incorrect dropdown menu location for the archive button (#1121) 2022-08-24 13:28:06 +00:00
Peter Bhat Harkins 3e74f10d1b check_url_dupe: don't 500 on bot hits
A couple sites hit this endpoint so they can find submitted stories; if they
seem to be resubmitting a recently-submitted story this would 500.
2022-08-12 10:26:18 -05:00
Peter Bhat Harkins 2e268e40d7 wrong place 2022-08-11 00:31:27 -05:00
Peter Bhat Harkins f3bcbb107e fit bounds 2022-08-11 00:24:47 -05:00
Peter Bhat Harkins 1d75ce2c0e workaround for facebook's MITM attack
https://lobste.rs/s/oducds/instagram_facebook_can_track_anything
2022-08-10 23:45:44 -05:00
Peter Bhat Harkins 7e0434afe8 fake tag descs 2022-08-06 07:39:57 -05:00
Ethan Wong fb4e939081
HTML fixes for the tag list page (#1117) 2022-08-05 05:18:04 +00:00
Ethan Wong f1afcf53ca
Fix wrong category edit paths for the tag list page (#1118) 2022-08-05 05:12:45 +00:00
Peter Bhat Harkins 9b6232bfbd quote entire comment, not just first line
When only the first line is quoted, it looks like that's being deliberately
emphasized by the mod. Probably has not helped much in ten years of hard
conversations.
2022-07-27 22:19:10 -05:00
Peter Bhat Harkins d8379a113f rubocop 2022-07-27 19:35:34 -05:00
William Karsten e7384bf7e5
Fix js bugs in the story functions from removing the jQuery (#1116) 2022-07-27 22:21:55 +00:00
William Karsten 73aa8cc01f
Refactor and remove jQuery from the vote function (#1113, #554) 2022-07-27 13:03:43 +00:00
Peter Bhat Harkins dfad80a322 mod always allowed to edit story URL 2022-07-26 06:39:57 -05:00
Peter Bhat Harkins cf52ab9f3f
Remove jQuery from 7 more functions (PR #1105, #554) 2022-07-20 13:55:25 +00:00
Peter Bhat Harkins 474407c3fe rubocop 2022-07-20 08:37:30 -05:00
Peter Bhat Harkins 190ce7cba5 fix bypass in rate limiting
thanks to whokilleddb for the report
2022-07-20 08:25:52 -05:00
Peter Bhat Harkins d75dcbf7ef document check_url_dupe.json for #1106 2022-07-20 08:25:52 -05:00
Peter Bhat Harkins c2c82beb0d annoy mod into noticing 2022-07-20 08:25:52 -05:00
Peter Bhat Harkins 00afd48cc9 fix /comments.rss template lookup 2022-07-20 08:25:52 -05:00
Peter Bhat Harkins 29ceb06020 fix Rails 7.0.3.1 loading user settings 2022-07-20 08:25:52 -05:00
William Karsten 216b11a062 Fix missed pull review changes 2022-07-20 08:15:12 -05:00
Saksham Jain b5c9332caf
Reason message on approve and reject hats (#1111)
Co-authored-by: Saksham Jain <saksham.jain@weinvest.net>
2022-07-20 12:55:23 +00:00
William Karsten bd35588fa1 Fix pull request changes 2022-07-19 10:49:51 -05:00
Peter Bhat Harkins cf9bb59333 bump Rails to 7.0.3.1 for CVE-2022-3224 2022-07-12 13:20:36 -05:00
Peter Bhat Harkins 179d566999
create SECURITY.md (#1107) 2022-07-08 13:37:52 +00:00
William Karsten 483b462d2d Updates comment replier to remove jQuery 2022-07-06 14:00:33 -05:00
William Karsten 651c249f1a Fix a bug where if you could only click reply buttons once 2022-07-06 11:16:24 -05:00
William Karsten c4307ba358 Fix a bug where autosize doesn't trigger when you load the page 2022-07-06 09:35:36 -05:00
Thomas Dziedzic 7a5fe3d7a9
Update to Rails 7.0 (#1100) 2022-07-06 14:01:46 +00:00
William Karsten bb4492c0ec Update disowning comments to remove jquery 2022-06-30 12:33:05 -05:00