tilde.news/spec/models
Peter Bhat Harkins 9fff6ae927 enable mod_userdir
diff of `rails routes`:

12,13d11
<                              GET      /newest/:user(.:format)                        home#newest_by_user
<                              GET      /newest/:user/page/:page(.:format)             home#newest_by_user
32d29
<                 user_threads GET      /threads/:user(.:format)                       comments#user_threads
120,122c117,132
<                            u GET      /u(.:format)                                   users#tree
<                         user GET      /u/:username(.:format)                         users#show
<                user_standing GET      /u/:username/standing(.:format)                users#standing
---
>                   users_tree GET      /users(.:format)                               users#tree
>                         user GET      /~:username(.:format)                          users#show
>                user_standing GET      /~:username/standing(.:format)                 users#standing
>                              GET      /~:user/stories(/page/:page)(.:format)         home#newest_by_user
>                 user_threads GET      /~:user/threads(.:format)                      comments#user_threads
>                     user_ban POST     /~:username/ban(.:format)                      users#ban
>                   user_unban POST     /~:username/unban(.:format)                    users#unban
>          user_disable_invite POST     /~:username/disable_invitation(.:format)       users#disable_invitation
>           user_enable_invite POST     /~:username/enable_invitation(.:format)        users#enable_invitation
>                            u GET      /u(.:format)                                   redirect(302, /users)
>                              GET      /u/:username(.:format)                         redirect(302, /~%{username})
>                              GET      /@:username(.:format)                          redirect(302, /~%{username})
>                              GET      /u/:username/standing(.:format)                redirect(302, ~%{username}/standing)
>                              GET      /newest/:user(.:format)                        redirect(302, ~%{user}/stories)
>                              GET      /newest/:user(/page/:page)(.:format)           redirect(302, ~%{user}/stories/page/%{page})
>                              GET      /threads/:user(.:format)                       redirect(302, ~%{user}/threads)
125,128d134
<                     user_ban POST     /users/:username/ban(.:format)                 users#ban
<                   user_unban POST     /users/:username/unban(.:format)               users#unban
<          user_disable_invite POST     /users/:username/disable_invitation(.:format)  users#disable_invitation
<           user_enable_invite POST     /users/:username/enable_invitation(.:format)   users#enable_invitation
2023-08-29 07:49:02 -05:00
..
category_spec.rb Add tests for categories 2020-08-20 14:01:16 -04:00
comment_spec.rb subtract comment/story karma if mod removes 2020-12-14 12:07:40 -06:00
domain_spec.rb Domains: web editing, transparency in tracker banning (#1119) 2022-08-31 13:23:33 +00:00
email_parser_spec.rb replace abandoned Machinist gem with FactoryBot 2018-06-14 08:34:59 -05:00
hat_request_spec.rb Add validation for comments, hats, hat requests (#749) 2019-10-02 06:32:02 -07:00
hat_spec.rb /hats: only show email to users (#868) 2020-08-19 03:45:29 +00:00
invitation_request_spec.rb test specific Invitation and InvitationRequest field validations (#763) 2019-10-09 07:30:24 -07:00
invitation_spec.rb test specific Invitation and InvitationRequest field validations (#763) 2019-10-09 07:30:24 -07:00
keystore_spec.rb Add validations into models (#745, #766) 2020-02-05 09:15:25 -06:00
markdowner_spec.rb enable mod_userdir 2023-08-29 07:49:02 -05:00
message_spec.rb Add validations into models (#745, #766) 2020-02-05 09:15:25 -06:00
mod_note_spec.rb Add validations into models (#745, #766) 2020-02-05 09:15:25 -06:00
moderation_spec.rb add one_foreign_key_present validator to moderation model (#827) 2020-03-02 18:50:26 -08:00
replying_comment_spec.rb Enable rubocop rspec (#703) 2019-07-17 06:21:09 -07:00
search_spec.rb extract story text cache for fast migrations 2020-08-25 07:51:09 -05:00
story_repository_spec.rb rename: repo variable to isolate use to single test 2022-11-07 16:35:52 +01:00
story_spec.rb quick fix to #1174 to prevent 500s 2023-07-27 08:53:08 -05:00
story_text_spec.rb extract story text cache for fast migrations 2020-08-25 07:51:09 -05:00
tag_spec.rb wrap story/somment creation in a transcation (#899) 2020-08-09 16:50:06 +00:00
user_spec.rb tests, frontend for previous 2022-05-25 09:31:16 -05:00
vote_spec.rb memoize story/comment score/flags more efficiently 2020-08-08 16:40:28 -05:00