Commit graph

152 commits

Author SHA1 Message Date
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
Jordi Gutiérrez Hermoso 593222dacb Give textareas a default background colour.
My default background colour for textareas is inherited from my OS
colours, which is a dark grey. Thus setting a foreground colour
without setting a background colour makes it impossible for me to type
in textareas. This patch should fix that.
2015-01-12 10:21:14 -05:00
joshua stein d01e9f3c3f better links for search result pagination
closes #69
2015-01-11 12:59:42 -06:00
joshua stein d2e06ed127 css: color media tags blue, add announce to red tags 2015-01-06 17:31:44 -06:00
joshua stein 9c73c87d28 add story cache showing for manually-specified unavailable stories 2015-01-06 17:31:09 -06:00
joshua stein 439f5702ee show a byline for for merged stories 2015-01-01 18:54:26 -06:00
joshua stein 3e5473229d fix code line height in comments 2015-01-01 10:25:36 -06:00
joshua stein 31d4e97858 implement hats
https://lobste.rs/s/bkeYe9/about_lobsters/comments/ZD2tL3#c_ZD2tL3
2014-11-14 14:12:29 -06:00
joshua stein f161af71b1 minor spacing nit 2014-11-14 12:48:00 -06:00
joshua stein dfe6db4849 revert 85cb7c20, give up on planet rss aggregation 2014-08-31 20:35:41 -05:00
Fredrik Wallgren 94716a0dcb Fix comment preview length bug. 2014-08-16 16:27:11 +02: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 452c75908d change story downvoting to be called "flag", but still count as a downvote
been in production for a while
2014-07-02 10:04:48 -05:00
joshua stein 416a5de6e4 fade out downvoted comments less dramatically 2014-06-30 17:13:07 -05:00
joshua stein 664e3c77e2 when not logged in, show comment box but disabled 2014-05-06 21:29:44 -05:00
joshua stein 993e1e84ae when not logged in, show comment box but disabled 2014-04-14 23:14:08 -05:00
joshua stein 73b8df5eb7 implement story merging
closes #137
2014-04-08 17:51:12 -05:00
joshua stein 3f67827b09 add some explanatory text on /recent 2014-04-06 20:26:50 -05:00
joshua stein f647e62f5f constrain textarea resizing to vertical 2014-03-24 18:54:52 -05:00
joshua stein 7f9c227ed0 bring back story downvoting, remove low quality option
story hiding is still here, so hopefully this will result in less
bogus story downvotes
2014-03-24 10:26:06 -05:00
joshua stein d729d0ad99 move story voter arrow down and tighten up list since downvote is gone 2014-03-03 22:03:21 -06:00
joshua stein 9535b05490 remove story downvoting, add story hiding
stories should either be reported for spam (coming later), upvoted,
or left alone rather than being downvoted for being uninteresting.
since users don't like leaving uninteresting things alone, they can
now hide stories from their view without affecting the story's
score.

hiding is implemented as a Vote with its vote set to 0 and the
reason set to "H"

add a /hidden url which shows all of a user's hidden stories

while i'm here, simplify Vote guts and add some tests to make sure
all the flip-flopping stuff works right
2014-03-03 17:20:21 -06:00
joshua stein 5d5b920f5b mobile story list: make comment links easier to click on 2014-02-08 14:28:27 -06:00
joshua stein 9d1a1bdcf9 lighten highlighted comments a bit 2014-02-03 14:37:22 -06:00
joshua stein 6ef2596eed project tag renamed to show 2014-01-30 09:42:46 -06:00
joshua stein d277011a0f tighten up comment tree spacing just a tad 2014-01-20 22:29:02 -06:00
Serge Paquet 42ce1e3b4c rebuilt comment tree DOM structure as valid HTML 2014-01-20 16:52:19 -05:00
Serge Paquet 41c9dfad5d fix DOM structure when replying to or updating comments 2014-01-20 16:52:19 -05: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 f1f6b3c7e0 alert the user when submitting a long-ago-submitted story
show the user a link to the previous story and let them know they
can submit it again if they want to (just by submitting the form
again)
2014-01-13 00:10:31 -06:00
joshua stein 22b77573a5 prevent new users from downvoting
don't show downvote arrows for logged-out and new users

color comments from new users in green like in the user tree,
and banned users in gray
2014-01-12 23:17:09 -06:00
joshua stein 9a6cccfde0 grey out meta tag 2014-01-08 20:42:24 -06:00
joshua stein d959977ca1 color 'ask' tag specially 2014-01-07 11:42:21 -06:00
joshua stein 4914366ffe auto link invitiation request memos 2013-10-24 11:16:07 -05:00
Ante Salinovic 7f5e592589 Fix page layout shift across all browsers. 2013-10-23 13:35:34 +11:00
joshua stein aeb25d22b6 add a footer link bar, add /privacy and /about
if these templates (ignored by git) are not present, just show some
text rather than raise an error
2013-10-18 15:55:20 -05:00
joshua stein 92b794748f minor css tweaks
- ditch vendor prefixes for css 3 things, fuck old browsers
- add a shadow around user profile avatar
- whitespace
2013-08-05 01:04:27 -05:00
joshua stein dbc2e40684 move tag css class building to Tag model
add a tag_is_media class to tags with that type, use that for
matching in application.css instead
2013-08-05 01:02:48 -05:00
joshua stein 4f8c302edb close bug #57: make :focus'd elements stand out 2013-07-05 16:12:46 -05:00
joshua stein eeda7668b6 on user pages, show their most commonly used tag 2013-07-01 15:53:43 -05:00
joshua stein ff9fc0f41e make user gravatars round 2013-03-15 19:18:43 -05:00
joshua stein 9532ffc410 increase line-height for story texts 2013-03-15 19:18:43 -05:00
joshua stein d95618f08b fix spacing of labels inside span.d 2013-02-25 11:12:55 -06:00
joshua stein 97831574f1 make 'interview' and 'project' tags red 2013-02-22 11:03:42 -06:00
joshua stein 305789381c indent <pre> 2013-02-08 10:38:29 -06:00
joshua stein 8848ea8a17 Merge pull request #44 from rpwll/css-img-fix
limit width of images in story descriptions to that of the story container
2012-12-20 11:31:33 -08:00
Rhys Powell 10ad698616 Fixed an issue where images would exceed their container 2012-12-19 21:09:57 +11:00
joshua stein f7cac129b4 when comments are moderated, collapse their replies
also try to show which moderator deleted the comment and the reason
2012-12-18 21:36:32 -06:00
joshua stein b8ec2daabe only apply light link color to story list, not story detail page 2012-09-25 10:54:25 -05:00
joshua stein 8af36b2280 make visited story links a lighter blue
closes #24
2012-09-25 10:51:10 -05:00
Sam Hasler eb24304686 Highlight video tags like pdf tags 2012-09-25 17:18:34 +02:00
joshua stein d9bd724c1d button_to_function is deprecated 2012-09-19 12:37:42 -05:00
joshua stein 0663ea0fed show how many users are filtering each tag 2012-09-19 12:25:11 -05:00
joshua stein 7b1ec6fc3d some mobile css fixes 2012-09-16 15:05:48 -05:00
joshua stein e8d34910a6 put faces to names 2012-09-08 19:32:21 -05:00
joshua stein fb9c0228b0 remove red text from cancel button, make post button bold 2012-09-07 12:40:07 -05:00
joshua stein 96ee762fdf Merge pull request #3 from prezjordan/master
add cancel button for comment form
2012-09-07 10:37:45 -07:00
joshua stein 621dde2dc5 show new messages in red so it's obvious 2012-09-03 13:08:31 -05:00
joshua stein 9f0747a46b move score down 1 pixel, looks better in webkit 2012-09-03 11:30:42 -05:00
joshua stein e6c74e8251 add moderation logging
- add users.is_moderator and look at that for most things, not
is_admin

- make default user in readme be a moderator

- log moderator actions in story edits, comment
  deletions/undeletions (and later, user disabling).

- remove ability for moderators to edit comments, there's really no
  reason to.
2012-09-02 12:18:52 -05:00
Jordan Scales d410f4f424 cancel link is now a button, js formatting consistency, removed extra styling 2012-09-02 12:51:32 -04:00
Jordan Scales 56e061db72 styling for comment reply cancel button 2012-08-30 16:50:01 -04:00
joshua stein a016086b44 increase line-height of comments to match textarea, color links gray 2012-08-24 11:42:23 -05:00
joshua stein 43444f179b implement traffic counter that adjusts redness of lobsters logo 2012-08-24 11:42:23 -05:00
joshua stein f6b252e456 a tiny bit taller textareas 2012-08-24 11:41:37 -05:00
joshua stein c34abddc3d pre overflow auto 2012-08-24 11:41:37 -05:00
joshua stein 3640e1e7a3 comment deleting and undeleting 2012-08-24 11:41:37 -05:00
joshua stein fd8ec36608 story previews 2012-08-24 11:41:37 -05:00
joshua stein abb8392c16 search engine! 2012-08-24 11:41:36 -05:00
joshua stein b01f9e9027 fixup header current page stuff 2012-08-24 11:41:36 -05:00
joshua stein dd9966c0a3 color pdf tags purpleish 2012-08-24 11:41:36 -05:00
joshua stein e0da3a7039 little spacing tweaks 2012-08-24 11:41:36 -05:00
joshua stein 43aa0047e9 simplify markdown help link 2012-08-24 11:41:36 -05:00
joshua stein be578454a9 taller line-height too 2012-08-24 11:41:36 -05:00
joshua stein f8b1cc0443 tweak comment spacing a bit 2012-08-24 11:41:36 -05:00
joshua stein 2a5b60fbb1 color root too 2012-08-24 11:41:36 -05:00
joshua stein 758d62304a move l.png to data uri 2012-08-24 11:41:36 -05:00
joshua stein a407bad2d6 better tree style 2012-08-24 11:41:36 -05:00
joshua stein 543f5c12bc user tree 2012-08-24 11:41:35 -05:00
joshua stein 54af096f60 tweak spacing a bit 2012-08-24 11:41:35 -05:00
joshua stein b86dae0331 ditch the comment vertical lines for now 2012-08-24 11:41:35 -05:00
joshua stein 038d33bf8b prevent <pre> from taking over the page, fix blockquote example in markdown help 2012-08-24 11:41:35 -05:00
joshua stein 40bc2003ab fit more on a page 2012-08-24 11:41:35 -05:00
joshua stein 6e17272e9d story pagination 2012-08-24 11:41:35 -05:00
joshua stein 08fade9e9d may as well not render the footer while there's nothing there 2012-08-24 11:41:35 -05:00
joshua stein 805b0fd1a0 fix blockquote style for comments 2012-08-24 11:41:35 -05:00
joshua stein 80f02beee8 a mobile stylesheet 2012-08-24 11:41:35 -05:00
joshua stein fc1c474fb3 implement private messages 2012-08-24 11:41:34 -05:00
joshua stein 7858dcd212 max width of 1000 seems better 2012-08-24 11:41:34 -05:00
joshua stein dd64a9c823 max-width to avoid vertical scrolling on small browsers 2012-08-24 11:41:34 -05:00
joshua stein 116d0d6978 use two blue colors for links 2012-08-24 11:41:34 -05:00
joshua stein 906564a6a0 widen page but shrink comments, story text, and comment boxes 2012-08-24 11:41:34 -05:00
joshua stein 6023a81c71 tweak some styles 2012-08-24 11:41:34 -05:00
joshua stein e535a1387f make linking to specific comments work 2012-08-24 11:41:34 -05:00
joshua stein d9b95b2a1d email and pushover reply notifications 2012-08-24 11:41:30 -05:00
joshua stein 8dd109c49f drop custom markdowner for rdiscount 2012-08-24 10:57:42 -05:00
joshua stein ada1571a53 invitation system, user settings 2012-08-24 10:57:11 -05:00
joshua stein 22ae6bc1b2 show about text properly 2012-08-24 10:57:11 -05:00
joshua stein bbaa8f554f fix markdown help display on story submission 2012-08-24 10:57:11 -05:00
joshua stein 578c96d653 more work 2012-06-30 14:14:35 -05:00