Commit graph

174 commits

Author SHA1 Message Date
Nenad Vujicic
b0ad96ebd4 Removed unused translation keys in users.*
Removed users.new.tou (added 9649b19 and has never been used), users.terms.decline replaced with users.terms.cancel and together with users.terms.continue started being used at /users/terms.html.erb (both were added at 9a9e13a and removed at 1be8d59)
2024-09-24 16:03:23 +02:00
Tom Hughes
fe96c0a524 Replace creation_ip with creation_address 2024-09-15 19:38:21 +01:00
Nenad Vujicic
8d77891fd6 Show friend options only when user is logged in
Fixes #5199. Displays "Add Friend" and "Unfriend" links (buttons) on user profile page only if user is logged-in.
2024-09-14 22:48:31 +02:00
Anton Khorev
cb65cd9adc Guess translation scope from controller name if not provided 2024-09-10 10:51:50 +03:00
Anton Khorev
7633657ecb Pass translation scope instead of keys to shared pagination 2024-09-10 10:37:36 +03:00
Anton Khorev
52324cba89 Disable turbo on all links inside pagination frames except older/newer 2024-08-23 15:00:55 +03:00
Tom Hughes
edddaab122 Use turbo for pagination 2024-08-20 14:44:10 +01:00
Anton Khorev
be9d93640c Remove former .auth-container wrapper divs 2024-07-09 17:56:49 +03:00
Tom Hughes
625e7c3296 Merge remote-tracking branch 'upstream/pull/4954' 2024-07-07 10:47:56 +01:00
Anton Khorev
8ee3d67831 Set "login/signup" page width equal to "about" page width 2024-07-05 14:38:25 +03:00
Anton Khorev
46d2b4c652 Remove padding around tabs on blocked signup page 2024-07-05 13:55:02 +03:00
Emin Kocan
ea7b19c8fa separate translatable messages for privacy policy link in sign up form 2024-07-01 18:35:43 +02:00
Emin Kocan
9e99fa05c9 add _section_divider component utilizing hr tags 2024-06-27 18:52:56 +02:00
Nenad Vujicic
a4d3d324ec Add note and diary comments counts to the user profile
Fixes #1643
2024-06-07 21:20:42 +02:00
Nenad Vujicic
c471a16dd6 Add last edited date to user profile
Fixes #3437
2024-06-06 18:33:20 +01:00
Nenad Vujicic
523d36bbaa Fixed "or divider" issue described in #4773 by adding mb-2 below "or" divider 2024-05-30 12:02:35 +02:00
Nenad Vujicic
e3bac9e6e5 Fixed "Tab alignment" for "Sign up" button issue described in #4773 and #4826 2024-05-24 11:44:33 +02:00
Andy Allan
532dd10b18
Merge pull request #4756 from tomhughes/text-muted
Replace deprecated text-muted class with text-body-secondary
2024-05-22 12:32:38 +01:00
Andy Allan
8a5c9a8052
Merge pull request #4758 from tomhughes/login-referer
Stop using the session to persist the referer during login
2024-05-22 12:09:31 +01:00
Tom Hughes
161fc8ac47 Replace deprecated text-muted class with text-body-secondary 2024-05-22 11:58:32 +01:00
Tom Hughes
8da173e0f5 Make the login and signup screens focus on the first input
Fixes #4814
2024-05-19 19:37:30 +01:00
Anton Khorev
20a6e0fab6 Use bg-body in "log in / sign up to access" messages 2024-05-12 17:58:21 +03:00
Tom Hughes
74cc88fce4 Stop using the session to persist the referer during login 2024-05-06 10:55:07 +01:00
Milan Cvetkovic
c486dd5532 Rename verified_email to email_hmac parameter in /users/new 2024-04-29 11:32:54 +00:00
Milan Cvetkovic
9649b192c0 Add preferred provider social signup
- Add preferred provider for authorization to login and signup pages.
  To use, the 3rd party application would have to add `preferred_provider=...`
  parameter to OAuth2 authorization request.
- Resize 3rd party provider icons
- Add "login to authorize" heading to login and signup screens
2024-04-29 11:32:54 +00:00
Milan Cvetkovic
d0e8f72311 Add tabbed navigation for signup/login screens 2024-04-27 12:44:10 +01:00
Milan Cvetkovic
0c7c950149 Add social signin buttons to signup screen, avoid repeating round trip to auth provider. 2024-04-27 12:44:10 +01:00
Milan Cvetkovic
f8a606869e Remove email confirmation field in signup form 2024-04-27 12:44:09 +01:00
Milan Cvetkovic
1276fb944a Merge login and terms screens, assume TOU and contributor terms are accepted on /user/new form
This eliminates the need for "terms" screen after /user/new form..
Terms screen is still required for legacy users who never accepted the terms.
2024-04-27 12:44:09 +01:00
Milan Cvetkovic
64083f0264 Add globe on top of login screen, narrow login/signup screens 2024-04-27 12:44:09 +01:00
Anton Khorev
0fb635e8bc Replace border-grey css class with border-secondary-subtle
No noticeable difference (#cccccc vs #cfcfcf) and no problems with dark mode.
2024-04-06 17:11:38 +03:00
Tom Hughes
af5d76ecab Merge remote-tracking branch 'upstream/pull/4625' 2024-03-26 18:32:52 +00:00
Anton Khorev
02c5ca6972 Add links for admins from user page to user list filtered by ip/status 2024-03-26 06:12:16 +03:00
Anton Khorev
f0d05c20ae Add found users count to users page 2024-03-26 05:44:35 +03:00
Anton Khorev
9f8e4fd60a Use before/after pagination on users page 2024-03-26 05:44:35 +03:00
Anton Khorev
b8f5a495f2 Simplify remaining link_to ... user_path in views 2024-03-21 18:07:56 +03:00
Milan Cvetkovic
0bdac25fbd Fix "blocked" user signup page
- Remove `<h1>` and `<h2>` tags for main text.
- Emphasize1st paragraph with `<strong>`
2024-03-14 16:34:27 +00:00
Anton Khorev
8682b58154 Add revoke all blocks link 2024-01-07 15:15:28 +03:00
Gregory Igelmund
efc61f1315 Add basic structures for UserMute and Message muting logic
Including models, migration, controllers, views & locales.
2023-12-19 12:57:47 -05:00
Anton Khorev
caf49bb25d Show user id on profile pages to moderators and admins 2023-09-05 13:35:08 +03:00
Andy Allan
1253bdcdc5 Use bootstrap badges to implement count-number badges
This leaves bootstrap to take care of most aspects, while retaining
the current colours and font weights.
2023-08-30 18:11:56 +01:00
Anton Khorev
ca4555df43 Use Bootstrap inline lists for <dl>s on user pages 2023-08-10 19:12:25 +03:00
Andy Allan
63484a169a Rework the help text to avoid raw html in translations
Unfortunately bootstrap_form has no method for passing interpolation
values to the automatic help text system, so instead we'll use an
explicit override.
2023-04-02 10:14:00 +01:00
Andy Allan
235618b9c0 Remove html from translations for terms page 2023-03-08 16:09:27 +00:00
Andy Allan
8df3c7b12a Rework about page to avoid html in the translations 2023-02-22 10:25:51 +00:00
Andy Allan
a11e156f56 Use mail_to help to avoid handcrafting mailto links
This also reworks the user suspended page to avoid having html in
the translation strings.
2022-11-30 11:13:44 +00:00
Andy Allan
a3474de4d8 Use bootstrap utility classes for showing the new user arm
The original value was close to the 'lg' breakpoint, but the 'md'
breakpoint is fine for this too.
2022-09-14 17:32:43 +01:00
Andy Allan
934d81aa55 Bootstrap 5: Replace all form-group classes with mb-3 2022-07-20 14:42:57 +01:00
Andy Allan
e80d74ae73 Bootstrap 5: Add form-label class to hand-crafted form labels
This is done automatically for forms created by bootstrap_form
2022-07-20 14:41:56 +01:00
Andy Allan
2080696fe6 Bootstrap 5: Remove use of form-row class
This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.
2022-07-20 14:41:41 +01:00