Commit Graph

1120 Commits

Author SHA1 Message Date
joshua stein 10e9dac74e step two of settings migration: delete old columns
closes #245
2017-02-25 14:25:59 -06:00
Christian Wesselhoeft bd7cdcc1a7 Hide number input spinner buttons for TOTP inputs (#343)
* Use number_field_tag for TOTP inputs

* Hide number input spinner buttons for TOTP inputs
2017-02-25 14:15:12 -06:00
joshua stein 78b1991d71 word-wrap: break-word on comments and story text
helpful on mobile to avoid horizontal scrolling
2017-02-24 12:59:30 -06:00
joshua stein dbd84f1e03 add TOTP-based two-factor authentication option 2017-02-24 12:58:42 -06:00
joshua stein f3e964bdb6 moderations: shorter date/time, don't wrap 2017-02-24 10:28:42 -06:00
joshua stein 08daf1af0a revert localization changes
This is nowhere near completed, it's only in one other language, and
it makes it harder for me to change things.
2017-02-24 10:25:42 -06:00
Michael Bernstein 2641a9bb40 Change migration value in Schema (#339) 2017-01-30 10:15:42 -06:00
Jose Soto 22e04c0b90 Submit comment with ctrl+enter or cmd+enter
Submit comment with ctrl+enter or cmd+enter

closes #273
2017-01-19 21:26:57 -06:00
joshua stein 56d3749341 here be dragons 2017-01-19 13:51:43 -06:00
joshua stein 8fbdc02078 step one of moving user settings to a single column
see #245
2017-01-19 12:02:51 -06:00
Ajmal Afif 835f6cabe0 Update copyright to year 2017 (#336) 2017-01-19 10:04:20 -06:00
joshua stein f397ab1d54 users: don't cache full page, just inner content
otherwise the previous user's header is cached and shown to the next
user
2017-01-16 12:27:19 -06:00
Christian Wesselhoeft b1193f5cff Prevent comment textarea from exceeding width of container (#335) 2017-01-13 12:19:20 -06:00
joshua stein 148a63fd61 let spiders crawl all over us 2017-01-05 15:44:58 -06:00
joshua stein c24bb107a0 users: do dumb caching of these big user trees 2017-01-05 15:44:58 -06:00
joshua stein 0f6a68d604 comments: when showing user threads, always load votes
closes #334
2017-01-05 15:44:58 -06:00
Blake Hyde 5fd0cc8034 Tiny refactor for blue lobsters (#333) 2017-01-05 09:36:49 -06:00
joshua stein 49f6b3ae35 User: sort BANNED_USERNAMES 2016-12-29 11:19:39 -06:00
joshua stein b26c5091bb search: catch sphinx errors gracefully and show an error
rather than sending me 114 emails at 3 in the morning
2016-12-29 11:18:13 -06:00
joshua stein 734e287760 point cache links at archive.org
closes #331
2016-12-15 08:57:46 -06:00
joshua stein a9dd563d60 Comment: regardless of confidence, negative thread-leaders go to the bottom 2016-12-08 10:49:16 -06:00
joshua stein 4c0aa94527 when highlighting a comment, force it and its parents to show 2016-12-07 18:41:17 -06:00
joshua stein 5770514a89 Comment: fix an off-by-one 2016-12-07 18:32:37 -06: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 3c56d51da3 Comment: cap downvotes to -5, only collapse when it reaches that 2016-11-29 17:55:15 -06:00
joshua stein fccbb74649 layout: link to hats (for all) when no hat requests present 2016-11-29 09:49:54 -06:00
joshua stein c8d2582fcd mail_new_activity: use updated_at, to give time after initial edits 2016-11-29 09:49:54 -06:00
joshua stein 6bbc049c1f Story: look through self.taggings since it's eager loaded in list views
avoids a tags query for every story on the page
2016-11-29 09:38:30 -06:00
joshua stein 335e1fd0c4 User: experiment with a minimum karma required to downvote comments 2016-11-03 16:20:39 -05:00
joshua stein 1637ee8117 mail_new_activity: hat is in From header, no need to add in body 2016-11-03 16:20:07 -05:00
joshua stein de4df43c7c not using tor anymore, add some more bot UAs 2016-11-03 16:19:39 -05:00
joshua stein 092ba42fd9 mail_new_activity: declare mime version for whatever reason
closes #320
2016-10-31 14:39:14 -05:00
Peter Bhat Harkins d8e31fb000 Auto-tag Twitch as video (#324) 2016-10-31 14:30:42 -05:00
joshua stein ef0601f65b remove comment downvoting 2016-10-30 13:10:49 -05:00
joshua stein cf6ac62827 decrement traffic faster 2016-10-30 13:10:29 -05:00
joshua stein 5c2437d645 css: bump up font sizes a hair 2016-09-22 13:36:26 -05:00
joshua stein 955c52b5bb clamp pagination
avoids a sql error when trying to offset a huge number
2016-08-19 00:00:18 -05:00
joshua stein b5f6ab36a8 don't count deleted comments towards user's comment count 2016-08-19 00:00:18 -05:00
joshua stein 5f04c3e52e start_searchd: use system default ruby 2016-08-19 00:00:18 -05:00
joshua stein 64a2411bea post_to_twitter: handle 226 errors
Twitter rejects certain tweets with particular content that it
thinks is spam, and since it doesn't change over multiple
submissions, just skip them.
2016-08-19 00:00:18 -05:00
joshua stein c602b01965 Story: revert cb300450f, using newest created_at of all merged
This behavior is confusing.
2016-08-19 00:00:18 -05:00
Eric Case 108baedb39 Typo fix: "has mention" -> "mentioned" (#322) 2016-08-16 12:08:12 -05:00
SiDevesh 66833bdba5 Fix error when a tag has no stories yet (#321) 2016-08-16 12:07:57 -05:00
Marc Ignacio e58a8c843b Fix spec failure due to leaky ActiveRecord abstraction of booleans (#311) 2016-07-05 12:04:02 -05:00
chaica 9506b1ce10 I18n moderations (#301)
* translate moderation view, controller and model

* support for i18n in the moderation controller

* support for i18n in the moderation model - use interpolation for variables inside strings

* support for i18n in controller model - localize time and date string format for printing time and date of the moderation action
2016-07-05 10:02:14 -05:00
joshua stein a5d880f431 unbreak schema after aa0ffeb3
closes #310
2016-07-05 09:59:14 -05:00
joshua stein 6a637dfe83 signup: also send total users to countinual now that they're being tracked 2016-06-28 09:53:44 -05:00
joshua stein 68a9a871ea user profile: inactive users don't need further qualifiers 2016-06-22 15:30:44 -05:00
joshua stein 13529cf296 comment: move 'on:' label before score summary 2016-06-22 15:30:44 -05:00
joshua stein f2602432c9 separate can_invite? and banned_from_inviting? 2016-06-22 15:30:44 -05:00