Commit graph

764 commits

Author SHA1 Message Date
joshua stein 1c789fbae0 add /chat page 2015-10-11 13:04:16 -05:00
joshua stein 677da599f2 login: if user password hash is not at current rounds, re-encrypt it 2015-10-11 13:04:16 -05:00
joshua stein 80f7d5b095 remove or fix failing tests
Many of these fail because they were written with fancy rspec
features that don't work properly anymore and I don't care enough
about testing everything to update them.

See issue #228
2015-10-11 13:00:34 -05:00
joshua stein 696e669f60 mobile css: fix upvote/unvote/upvote still showing red arrow
closes #230
2015-10-10 20:36:48 -05:00
joshua stein 2a30511117 time_ago_in_words_label: put "ago" in the text since it's used everywhere
closes #222
2015-09-23 13:24:47 -05:00
joshua stein 22ac65d224 Merge pull request #224 from ABorgna/comment_folding
Implement comment folding in pure css
2015-09-23 13:19:16 -05:00
Agustin Borgna 803a036a26 Implement comment folding in pure css 2015-09-23 00:44:46 -03:00
joshua stein 5567bb0b7e when resetting a password, if user is deleted but not banned, undelete
Also mention on the login screen that a deleted account can be
recovered this way.

Closes #221
2015-09-06 15:00:20 -05:00
joshua stein 5a86c0a506 rename comments/index.rss to reflect that it's an erb template 2015-09-06 15:00:20 -05:00
joshua stein a73d19d667 always show vote summary for mods 2015-09-06 15:00:20 -05:00
joshua stein cbf14021ac pass :strict to RDiscount
Gives up the ability to use particular formatting inside of words in
order to prevent turning everything into a list that shouldn't be,
like a single "K." comment.

Closes #217
2015-08-12 09:25:51 -05:00
joshua stein 9c4002323d don't show story downvotes unless there are at least 3
people seem to freak out over one or two users being stupid, so make
them not stand out
2015-08-12 09:25:51 -05:00
joshua stein 5ce8976ba3 make 'authored by' link color to less bright blue 2015-08-12 09:25:51 -05:00
joshua stein 7d1231cec3 remove css hack 2015-08-12 09:25:51 -05:00
joshua stein 957e137e1f Merge pull request #216 from basiliothecat/fix_story_domain
Story: don't strip www\d* if it looks like the domain
2015-08-10 13:19:59 -05:00
Basilio the cat 3743a41868 Keep the www\d* domain for some stories
When extracting story domain, keep the facing `www\d*` domain in cases
where it's the only non top level domain (e.g. www31337.tld).
2015-08-09 22:21:22 +02:00
joshua stein ed021d4975 add conditional link to /bbs 2015-08-04 09:59:21 -05:00
joshua stein 0c4a88e284 export some more things through json 2015-08-04 09:58:47 -05:00
joshua stein 4e573b4ac6 mail_new_activity: use Story method for determining if user hid the story
Fixes #141
2015-08-03 09:49:45 -05:00
joshua stein 4c8335d32f shrink story summary to 2 lines 2015-07-31 22:43:16 -05:00
joshua stein 6dcf35dc25 my karma means nothing 2015-07-31 22:43:16 -05:00
joshua stein 3f425a7abc make story/comment avatars link to user profile 2015-07-31 13:10:44 -05:00
joshua stein 229b2da008 settings: sort 2015-07-31 13:06:42 -05:00
joshua stein 0799fe33d7 specify a width for folder/unfolder to avoid shifting 2015-07-31 13:05:33 -05:00
joshua stein 27e2f0e5e5 fix magical path to sprockets manifest for our stupid hack 2015-07-31 12:53:28 -05:00
joshua stein 3ceb309577 when collapsing comment trees, collapse the comment itself 2015-07-31 12:52:52 -05:00
joshua stein 117aaaf3db move avatars to the far left 2015-07-31 10:51:33 -05:00
joshua stein f90276acb1 Merge pull request #213 from owen/master
Truncate at end-of-string, not at every EOL
2015-07-31 10:29:49 -05:00
Owen Marshall 8fae63929d Truncate at end-of-string, not at every EOL 2015-07-31 09:03:10 -04:00
joshua stein 09f65774c2 Story#description_or_story_cache: handle truncation properly 2015-07-30 18:12:57 -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 0d61e0cf68 add "i am the author of this" checkbox for stories
Highlights username in a different color and says "authored by"
instead of just "by".

Move html class printing into a method in Story to use in the future
for friends, admin posts, etc.

Closes #171
2015-07-30 17:15:48 -05:00
joshua stein befee851c8 update to rails 4.1.12 2015-07-24 01:38:51 -05:00
joshua stein ff097813ad autosize comment textareas
closes #194
2015-07-24 01:26:58 -05:00
joshua stein 6ac294470d when replying to a comment, if text is selected, quote it
Because the browser unselects text when you click on something, make
the reply link "unselectable" with CSS and an HTML attribute for
various browsers.

Implements #206
2015-07-24 00:51:46 -05:00
joshua stein a31ecc80ac change tags.hotness_mod to float 2015-07-24 00:51:11 -05:00
joshua stein 8282181e49 Story: shrink hotness window to 24 hours 2015-07-24 00:51:11 -05:00
joshua stein 5bef185dda story list: use negative_* classes for flagged stories 2015-07-24 00:51:11 -05:00
joshua stein ecb20668ce SignupController: add an explicit action for invite 2015-07-24 00:51:11 -05:00
joshua stein 55bab8003d Story: validate url length according to db field length 2015-07-24 00:51:11 -05:00
joshua stein cbc1c50cd2 add user banning/unbanning from user view page 2015-07-24 00:51:11 -05:00
joshua stein 38ac6a4c3f Story: halve comment score weights in hotness 2015-07-24 00:51:11 -05:00
joshua stein 5989e9c808 Story: fix up bogus chars in title before saving, only 160 for now 2015-07-24 00:51:11 -05:00
joshua stein db63d22b83 use identicon for blank gravatars, makes conversations easier to follow 2015-07-24 00:51:11 -05:00
joshua stein 6eca2ed75d set ceiling for traffic counter 2015-07-24 00:51:11 -05:00
joshua stein 92c2e85b0a move folding to left side of username, move text to css 2015-07-24 00:51:11 -05:00
joshua stein 6cc5f196bf Tag: remove accessible_to, use valid_for?
They do the same thing now but a scope might be too limited in the
future so just pick one now.

Closes #100
2015-07-24 00:51:11 -05:00
joshua stein 434ad81752 Story: do url validation case insensitively 2015-07-24 00:51:10 -05:00
BennyHallett 4ddfaa8964 Fixes #181. Add comment folding as decribed in: https://lobste.rs/s/m5dlun/comment_folding 2015-07-24 00:51:10 -05:00
amalrik 440d060820 added seed to populate initial data. 2015-05-10 12:17:57 -03:00