Commit Graph

221 Commits

Author SHA1 Message Date
Thomas Dziedzic 7a5fe3d7a9
Update to Rails 7.0 (#1100) 2022-07-06 14:01:46 +00:00
Peter Bhat Harkins 344e947374 Fix fake_data task; add CI test for it (#1087)
The test is overdue for how brittle fake_data.rb is, but as that's a slow
process that's not critical functionality, I only want it running on CI.
2022-06-01 05:57:18 -05:00
Peter Bhat Harkins a475d9b593 tests, frontend for previous 2022-05-25 09:31:16 -05:00
Peter Bhat Harkins 78deac1312
Merge branch 'master' into feature-917-category-editing 2022-05-19 05:39:33 +00:00
Peter Bhat Harkins b49b5c54d8 fix routing for domain rss feeds 2022-04-22 08:39:29 -05:00
vincentrolfs b90a2cb3c8
Make system messages deleteable (Fix #1049) 2022-04-20 13:09:37 +00:00
Peter Bhat Harkins e49e1672d7 bump deps for cve, rubocop 2022-03-23 09:35:50 -05:00
Peter Bhat Harkins d08117b3e5 tests for 57cf2989 fixing #1070 2022-03-23 07:29:31 -05:00
Peter Bhat Harkins 03480e4789 tag pages: show metadata and related tags 2022-03-17 21:37:54 -05:00
Peter Bhat Harkins 341735a329 Merge branch 'master' into nav-580 2022-02-26 21:16:06 -06:00
Peter Bhat Harkins b40633eb53 fixups, rubocop 2022-02-21 19:03:52 -06:00
Peter Bhat Harkins 92f431d1c0 better story 404 to show removal info 2022-02-20 13:50:08 -06:00
Peter Bhat Harkins 6a84f47205 /active 2022-02-19 20:37:13 -06:00
Peter Bhat Harkins d68f1c4c6d remove @heading and legend; some subnav 2022-02-19 18:01:20 -06:00
Peter Bhat Harkins dba88ba6c8 Story: rename expired -> deleted to match usage 2022-02-08 22:20:41 -06:00
Peter Bhat Harkins 37d3144a86 goof 2022-01-29 10:59:39 -06:00
Peter Bhat Harkins 8fe3a7f248 /about: explain new user restrictions; better error messages 2022-01-29 10:53:31 -06:00
Peter Bhat Harkins ddc5bbab89 commas 2022-01-22 16:35:43 -06:00
Peter Bhat Harkins 369d903365 update spec for new form structure 2022-01-22 16:26:53 -06:00
Alex 8ba4e86adb Add initial test reques spec controller search 2022-01-22 12:20:51 -06:00
Peter Bhat Harkins 9b24dab2fb cleanup 2022-01-22 12:09:26 -06:00
Peter Bhat Harkins a250c2513c redir user pages with wrong case
Fix #1005
2022-01-22 08:04:14 -06:00
ugla 8e0f47fa9e
Allow gemini and gopher homepage URLs (#944) 2022-01-22 03:52:22 +00:00
Peter Bhat Harkins 4ef573b738 roll session token on password update 2021-12-14 17:02:22 -06:00
Peter Bhat Harkins 5cda10e97d fix from 293c82e8 2021-12-14 14:18:39 -08:00
Peter Bhat Harkins 943feb73d1 note when users try to use their own invites (eg protoforce) 2021-12-14 14:11:39 -08:00
Daniel Heath e937019b28 user setting to override browser light/dark mode (#1033) 2021-12-02 01:26:59 +11:00
Peter Bhat Harkins 431e67aec3 bump to Rails 6.1.4 2021-10-26 20:54:45 -05:00
Prabu Weerasinghe 9041e3df49
Recognize Arvix html and pdf urls as duplicates (#965) 2021-10-25 22:19:45 +00:00
Brian Kung 4e549026ef
Fixes involuntary user deletion and comment disown. Closes #1004 (#1010) 2021-06-19 04:26:25 +00:00
Dorian Marié cc19708575
rake fake_data - generate old enough accounts (#981) 2021-05-18 17:11:01 +00:00
Peter Bhat Harkins 5f5fa8ef03 subtract comment/story karma if mod removes
Matches impact of the comment/story by using the vote count as a penalty.
Flags effectively count extra because they -1 when applied and -2 when the mod
removes.
2020-12-14 12:07:40 -06:00
Three Planets Software 67c67dd7de
Merge branch 'master' into feature-917-category-editing 2020-08-28 21:27:06 -04:00
Peter Bhat Harkins 7e85eb081d extract story text cache for fast migrations 2020-08-25 07:51:09 -05:00
Three Planets Software ef927af10a Add tests for categories 2020-08-20 14:01:16 -04:00
Three Planets Software 8c8fba5b87
Tag editing: use name instead of id in URLs (#898) 2020-08-20 02:51:35 +00:00
Gabriel Baldão 36677b1d06
add simplecov (#862)
100% test coverage is not a goal in and of itself.
2020-08-19 23:24:04 +00:00
Chris Jones 2ac334dba5
/hats: only show email to users (#868)
Users with hats have reported spambots.
2020-08-19 03:45:29 +00:00
Gabriel Baldão 58d1dfeab8
rename comment scope (#874) 2020-08-19 02:09:33 +00:00
Peter Bhat Harkins 03be4f828f Fix story lxrqpo throwing exceptions (#858) 2020-08-15 12:02:09 -05:00
Peter Bhat Harkins f27e66cd43 /threads/:username smoke test 2020-08-11 08:36:02 -05:00
Peter Bhat Harkins 45f2a068be clean up test data 2020-08-11 08:36:02 -05:00
Hunter Madison f377fdfffe
wrap story/somment creation in a transcation (#899)
The new reconciliation process between an object's Vote and its
memoized count requires that MariaDB can see the records in the Vote
table. Currently, we are seeing the vote be created, then the
memoization for new comments and stories to zero.

Also resolves rubocop catching pushcx being sloppy.
2020-08-09 16:50:06 +00:00
Peter Bhat Harkins 5341d7a067 add tag categories 2020-08-09 08:41:20 -05:00
Peter Bhat Harkins 20c1590753 memoize story/comment score/flags more efficiently 2020-08-08 16:40:28 -05:00
Alessandro Minali 18b9ee4478
Filter out front page posts from 'recent' (#882) 2020-07-14 00:10:31 +00:00
Peter Bhat Harkins 86fb86788e whitespace 2020-07-08 16:18:35 -05:00
Alex Pounds 3cdae3fae5 Bugfix: support token-based access for RSS feed of upvoted stories. 2020-06-30 17:17:43 +00:00
Peter Bhat Harkins cb4dd973a4 fix nesting 2020-06-20 20:18:31 -05:00
Thomas Dziedzic b32bac90b4 fix keybase spec 2020-06-13 02:12:49 +00:00