5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-24 01:07:05 +00:00
Commit Graph

105 Commits

Author SHA1 Message Date
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
Peter Bhat Harkins
9a7ad7db6f config for non-ajax forms 2022-08-31 08:47:05 -05:00
Peter Bhat Harkins
a475d9b593 tests, frontend for previous 2022-05-25 09:31:16 -05:00
Peter Bhat Harkins
7dde75aa05 find mod message even if attrs also changed; fix #1069 2022-03-09 18:59:20 -06:00
Peter Bhat Harkins
d6cb285df0 only show title h1 on useful pages
Most pages don't need a big h1 because it's clear from the subnav, clear from
the content, or users use them frequently enough to learn and be comfortable.
2022-02-26 13:08:07 -06:00
Peter Bhat Harkins
d68f1c4c6d remove @heading and legend; some subnav 2022-02-19 18:01:20 -06:00
Peter Bhat Harkins
44aeec72cb syntax fix 2022-01-21 22:33:02 -06:00
Peter Bhat Harkins
b20794249e copy fix 2022-01-21 21:53:13 -06:00
ugla
8e0f47fa9e
Allow gemini and gopher homepage URLs (#944) 2022-01-22 03:52:22 +00:00
Peter Bhat Harkins
21524de9ed better flash + error messages
We had a confused meta thread today when a screenshot of a user deleting their
account was thought to be a ban.
2020-10-13 21:02:17 -05:00
Alessandro Minali
142edb664e
Remove 'dynamic_form' (#888)
Old, unmaintained dep for trivial code.
2020-08-19 13:58:43 +00:00
Peter Bhat Harkins
0b67cd2de9 link /filters; improve that form 2020-08-11 08:36:02 -05:00
Peter Bhat Harkins
20c1590753 memoize story/comment score/flags more efficiently 2020-08-08 16:40:28 -05:00
Peter Bhat Harkins
426a0d989f standing page: more info 2020-06-02 09:07:02 -05:00
Peter Bhat Harkins
2faf43091e show flagged users their standing against other users 2020-06-01 20:27:55 -05:00
Peter Bhat Harkins
67627c0cc2 puma config for dev 2020-06-01 19:14:04 -05:00
Peter Bhat Harkins
feea257c64 tag links as ugc rather than nofollow 2020-03-02 20:10:55 -06:00
Peter Bhat Harkins
485b80fddd typo 2020-01-28 20:22:57 -06:00
Peter Bhat Harkins
db6424d879 css cleanup 2020-01-20 20:35:52 -06:00
Peter Bhat Harkins
3f69c0eb60 warn heavily flagged users 2020-01-20 17:40:11 -08:00
Thomas Dziedzic
2d1887cb35 set action_view.form_with_generates_remote_forms to default (true) (#687) 2019-07-02 06:55:22 -07:00
Peter Bhat Harkins
cad643a28e need to pass this 2019-06-18 12:52:25 -05:00
Peter Bhat Harkins
37de6a2fa4 keybase instructions only on /settings 2019-06-18 09:16:33 -05:00
Peter Bhat Harkins
1ecd82c1d0 keybase unlinking 2019-06-12 20:33:18 -05:00
Peter Bhat Harkins
6d9bd0f013 move alongside other integrations; doc commands 2019-06-12 16:43:20 -05:00
Gus Caplan
4fc391e97d Add keybase integration (#661) 2019-06-12 06:08:57 -07:00
Martin Tournoij
860d95d59b Add homepage field (#671)
Using URI.parse with IDN/non-ASCII URLs won't work, and as far as I can
find there is no stdlib way of doing it. This regexp should be good enough
and not reject any valid URLs.

Closes #669
2019-05-08 14:17:10 +00:00
Peter Bhat Harkins
b10d659de4 fix hidden_fields for form_with 2018-12-22 11:38:51 -06:00
Abdullah Samman
089f3475ba Migrate deprecated form_tag and form_for to form_with
See next commit for note on running view style checks.
2018-12-09 09:51:30 -06:00
Jason Schweier
18167b36a5 better handling of deleted stories + comments on user views 2018-11-07 08:28:50 -06:00
Peter Bhat Harkins
aad6f521cf finish rounding out notes 2018-07-19 11:05:19 -05:00
Peter Bhat Harkins
67b2fe381f mod notes for collaboration
Bunch of extraneous Rails 5.2 churn in db/schema.rb that I'm accepting here.
2018-07-11 10:51:23 -05:00
Peter Bhat Harkins
de9b5ccfcb mod: recent moderations on user page 2018-07-11 08:32:39 -05:00
Peter Bhat Harkins
44d7126910 mod dashboard: list most-downvoted commenters by stddev 2018-07-10 11:37:28 -05:00
jtopgi
0bf1f973a1 Single 'reason' field for user administration
Resolves #492, closes #494

Co-authored-by: Peter Bhat Harkins <peter@push.cx>
2018-05-30 10:32:36 -05:00
Peter Bhat Harkins
0e55e37d5a highlight deletion button 2018-05-15 09:29:32 -05:00
Peter Bhat Harkins
cc81559610 Fix feed validation errors
W3C's feed validator service said:
1. Author should be an email address
2. Don't use relative links in <description>
3. Include a link with rel="self"
2018-04-04 09:48:25 -05:00
Peter Bhat Harkins
eba7fed3dd hat doff styling 2018-01-24 10:32:14 -06:00
Peter Bhat Harkins
0217ca7f5e add hat doffing to deactivate hats 2018-01-24 10:22:18 -06:00
Andrew Shu
a1154fdf45 user: show Self Promoter state to mods 2017-10-23 13:15:58 -07:00
joshua stein
9aa5749cab users: move hats down to other personal things 2017-04-19 22:16:29 -05:00
joshua stein
53269c497d user trees: hide moderator karma, as done on profiles 2017-04-19 22:02:01 -05:00
joshua stein
d699e871b1 user tree: users with no parents don't descend from anything 2017-04-19 21:26:25 -05:00
joshua stein
23811403cc users/show: wrap hats in a div, for fancy people with many hats 2017-04-18 14:06:10 -05:00
joshua stein
ddfe49c1cc user profile: show twitter info here too 2017-04-13 15:32:33 -05:00
joshua stein
d9c0951c01 User: show github username in profile 2017-03-24 16:31:25 -05:00
joshua stein
f40a97a50f factor out avatar <img> code to show 2x version everywhere
closes #352
2017-03-23 16:36:40 -05:00
Chris Jones
7376958084 Update views with email entry to use email_field (#350) 2017-03-14 11:32:40 -05:00
joshua stein
de41a95465 user show: link 'invitation' to tree, anchored at that user
Makes it easier to see the context of the user's invitation
2016-12-04 15:31:25 -06:00
joshua stein
68a9a871ea user profile: inactive users don't need further qualifiers 2016-06-22 15:30:44 -05:00