Etilène Jourdier
0f2df0b9ef
display an encouragement to contribute after many anonymous notes
...
create a counter of anonymous notes in a cookie, read by new note controller to display an encouragement to contribute in the already existing anonymous warning if the anonymous visitor has already created at least 10 anonymous notes. Cookie deleted on log-in and sign-up after email validation
2025-01-13 14:36:21 +03:00
Anton Khorev
606b5c1b6a
Use resourceful routes for terms view/accept/decline
2025-01-08 22:19:35 +03:00
Anton Khorev
b8247478f4
Use resourceful routes for granting/revoking user roles
2024-11-06 18:38:26 +03: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
Andy Allan
ffda8d7ac5
Merge pull request #4680 from tomhughes/validate-page-numbers
...
Add parameter validation to pagination
2024-05-15 17:43:04 +01:00
Tom Hughes
74cc88fce4
Stop using the session to persist the referer during login
2024-05-06 10:55:07 +01: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
Tom Hughes
e3c43e4a1a
Add validation for before/after parameters to pagination concern
2024-04-11 10:08:20 +01:00
Anton Khorev
274a516bc6
Make "include" and "limit" keyword args of pagination method
2024-03-26 04:41:07 +03:00
Anton Khorev
addf99f191
Move common pagination code to mixin
2024-03-26 02:36:28 +03:00
Tom Hughes
c3a14b195b
Generate email change token before changing the address
2024-02-27 20:53:51 +00:00
Tom Hughes
4dff06a629
Use rails tokens for signup confirmations
2024-02-24 13:53:05 +00:00
Tom Hughes
ad2739347b
Use rails tokens for email changes
2024-02-24 13:52:35 +00:00
Tom Hughes
0b1cf53fb9
Drop non-functional check for nil email
2023-09-02 11:51:43 +01:00
Anton Khorev
f5c20527aa
Move email-related methods to mixin
2023-09-02 13:43:41 +03:00
Anton Khorev
2d39ba7954
Render unknown user with concerns code in notes controller
2023-08-21 17:30:23 +03:00
Anton Khorev
4ceebefefa
Move user lookup and error render to concerns
2023-08-21 17:29:55 +03:00
Tom Hughes
d6da1499fc
Avoid putting ActionController::Parameters objects in the session
2022-01-11 19:43:43 +00:00
Tom Hughes
d2337810a3
Remove redundant OpenID URL expansion code
...
It was only used for Google who have long since dropped OpenID support.
2022-01-04 12:02:02 +00:00
Andy Allan
a8e8ba1a64
Refactor the account edit/update pages out into a separate accounts controller
2021-12-08 15:17:50 +00:00
Tom Hughes
99546ae0a1
Specify the controller when redirecting a failed login
...
This ensures that third party logins, whose callback is processed
by the users controller, go to the right place.
2021-10-24 10:38:35 +01:00
Andy Allan
094d6c8bb9
Move confirmation methods into ConfirmationsController
2021-04-07 16:05:32 +01:00
Andy Allan
f18baae22e
Refactor login/logout into sessions controller
...
Certain controller methods are shared with oauth-based logins, and these have been
moved to a concern.
2021-03-24 11:32:46 +00:00