Commit graph

47 commits

Author SHA1 Message Date
Simon Vieille b83ce52312
add themes (light.css [empty], dark.css, neo_dark.css, solarized_dark.css); add theme as settings field 2020-01-29 13:35:57 +01:00
Carl Chenet 7a14242329 translate external accounts title on settings index 2018-10-17 17:56:47 +02:00
Carl Chenet 7d75f5aee9 i18 of hide dragons message in settins 2017-07-08 13:03:30 +02:00
Carl Chenet 31e06e4740 move logout link to settings - merged with i18n 2017-05-23 14:09:58 +02:00
Carl Chenet c9b5ec10e3 add twitter oauth linking 2017-05-23 10:41:09 +02:00
Carl Chenet b4f0f57df9 User: username regex is a const now 2017-05-23 10:35:14 +02:00
Carl Chenet 56135da720 remove old pushover 2017-05-20 13:58:46 +02:00
Carl Chenet 52fb11b7e4 settings: add github integration, move pushover to external - merged with i18n 2017-05-20 13:33:46 +02:00
Carl Chenet f4b9fe9ff4 Update views with email entry to use email_field - merged with i18n 2017-05-18 19:14:01 +02:00
Carl Chenet a823a31688 Require current password on password change - merged with i18n 2017-05-17 19:36:41 +02:00
Carl Chenet 787a82c88b i18n of 2FA process 2017-05-17 18:13:24 +02:00
Carl Chenet 71acdd69cc i18n of 2fa settings 2017-05-17 16:43:49 +02:00
Carl Chenet fd1148dc6b add TOTP-based two-factor authentication option 2017-05-17 11:29:54 +02:00
Carl Chenet 82a8a7155a here be dragons - merged with i18n 2017-05-17 10:23:25 +02:00
Carl Chenet 160579bfa2 i18n of settings view 2016-07-09 14:31:09 +02:00
nyanpasu aa0ffeb37b Allow admin/moderator to disable user from inviting 2016-05-16 02:40:46 +08:00
joshua stein bd1ffe171b settings: link to /threads, put delete at bottom, fix typo 2016-03-09 10:00:14 -06:00
joshua stein 6b636ac8c5 add setting to show threads on a user's submitted stories in 'Your Threads'
closes #231
2015-12-07 12:27:09 -06:00
joshua stein 73342e7d45 settings: pushover has used subscriptions for a while, not a manual key 2015-10-19 19:13:34 -05:00
joshua stein 229b2da008 settings: sort 2015-07-31 13:06:42 -05:00
joshua stein 81b3be6165 add setting to show inline story previews in story list
Closes #148
2015-07-30 17:56:09 -05:00
joshua stein d286eab325 add option to show user avatars on stories and comments
just because
2015-03-12 23:23:15 -05:00
joshua stein 31df8973a8 Pushover: switch to subscriptions
users.pushover_device and users.pushover_sound columns can be
dropped once migrated
2015-01-15 13:23:31 -06:00
joshua stein 9f5e04bbba use _path for most things instead of _url
Instead of hard-coding the scheme and host everywhere, use _path
methods to show relative URLs.

Except that our previous setting of
Rails.application.routes.default_url_options in
config.after_initialize made this moot because Rails inserts that
host into all _path helpers for some reason.  So revert that
setting.

But then anything that wants an absolute URL doesn't know the
hostname and the root_url helper throws an exception.  So make a
Rails.application.root_url shortcut to pass the per-app settings in
Rails.application to root_url.

Now we can just use _path helpers most places but still use _url
ones where we need them, such as in RSS views and e-mail templates.
2015-01-02 17:02:55 -06:00
joshua stein dfe6db4849 revert 85cb7c20, give up on planet rss aggregation 2014-08-31 20:35:41 -05:00
joshua stein 85cb7c2057 first stab at planet rss aggregation
could probably use a prettier layout and auto-posting a weblog url
to the main site (carrying tags)
2014-08-03 22:07:57 -05:00
joshua stein c09542a80a enforce a maximum username length of 25 2014-03-24 10:26:07 -05:00
joshua stein 89cdf1101a add a story-only mailing list mode
closes #131
2014-02-19 12:49:12 -06:00
joshua stein a16e99c686 avoid leaking object ids in form_fors 2014-02-12 13:28:53 -06:00
Serge Paquet 22d6ec20a7 fix pushover messages user setting 2014-02-02 14:49:34 -05:00
joshua stein 71eeb6c7d2 be a good pushover user and let the user specify a sound
- move pushover particulars into User model
- Pushover class rescues errors, don't need to do it from User
2014-01-21 01:21:02 -06:00
joshua stein e12d91cd43 allow users to delete their own accounts
not much can actually be deleted, but it can be put into a deleted
state
2014-01-13 10:12:17 -06:00
joshua stein e6db99c956 disable autocomplete for text fields that shouldn't use it
new password on settings form and user invitation form (would be
another e-mail address, not the stored user's)

closes #85
2014-01-07 11:42:21 -06:00
Serge Paquet 6dcb7bbf6b fixed mixed indent style (should be 2 soft spaces as per project guidelines) 2013-12-23 18:19:47 -05:00
joshua stein a471eb180a don't hardcode "Lobsters" and "lobste.rs" everywhere, use Rails.application.{name,domain} 2013-06-30 01:50:23 -05:00
joshua stein 2cdd385126 add front-end code to allow users to toggle mailing list reception 2013-06-30 00:54:03 -05:00
joshua stein de1dc1d430 after a new user signs up, nag them to invite someone 2013-02-22 14:52:22 -06:00
joshua stein cb8901473c add an #invite anchor to the settings url 2012-11-21 22:04:29 -06:00
joshua stein 367982adef whitespace cleanup 2012-11-21 22:04:29 -06:00
joshua stein cb5e05c461 minor cleanups after last merge 2012-09-16 15:51:25 -05:00
Robert J Samson ec1bcb9704 Added mentions in comments using @username convention. @username is linked to user profile in comment text, and notifications are available via email and pushover (with notification preferences) when a user is mention. 2012-09-10 13:40:33 -04:00
joshua stein 0abe41bd6d mention that profile e-mail addresses are gravatarized 2012-09-08 19:37:30 -05:00
joshua stein 89a32886e1 warn users about inviting strangers 2012-09-03 12:56:06 -05:00
joshua stein 43aa0047e9 simplify markdown help link 2012-08-24 11:41:36 -05:00
joshua stein fc1c474fb3 implement private messages 2012-08-24 11:41:34 -05:00
joshua stein e47a054e75 focus certain text boxes on load where appropriate; minor tweaks 2012-08-24 11:41:34 -05:00
joshua stein ada1571a53 invitation system, user settings 2012-08-24 10:57:11 -05:00