Ante Salinovic
7f5e592589
Fix page layout shift across all browsers.
2013-10-23 13:35:34 +11:00
joshua stein
0373bcdadb
fix moderation log pagination
2013-10-18 16:05:46 -05: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
66f433176a
add an invitiation request queue
...
the user tree is pretty big to look through now, so let users submit
a request for an invitation, which logged-in users can browse and
instantly send invites to
2013-10-18 15:49:20 -05:00
joshua stein
3aa412087a
show story downvote summary to everyone
2013-10-18 14:58:23 -05:00
joshua stein
fce8c73fda
wait 2 minutes before mailing out new comments to allow edits
2013-08-23 21:53:48 -05:00
joshua stein
6b17bbd9a5
Merge pull request #61 from llelf/master
...
markdown needs 4 spaces, not 3, to convert to <pre>
2013-08-07 11:24:40 -07:00
Anton Nikishaev
5f8ccdaac8
Fix markdown formatting help
2013-08-07 22:15:27 +04:00
joshua stein
249dd85ec3
allow non-logged-in users to define tag filters
...
when not logged in, store the filters in a long-lasting cookie and
do not cache the home page
for that one guy on hacker news that complained about lobste.rs not
having this
2013-08-05 02:19:55 -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
f639fd21e5
tweak invitation e-mail subject and text
...
"welcome to <site>" makes it sound like you already got signed up,
say "you have been invited to <site>" instead
2013-08-05 01:03:50 -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
2d18a3529d
check for recently submitted urls before showing the story submission page
...
this is already done after submitting, which turns it into an
upvote, but now it will catch it when hitting the page from the
bookmarklet so the user doesn't have to fill out tags and stuff
first just to find out it's already submitted.
since this requires no confirmation, don't count it as an upvote
automatically, just redirect to the story page
2013-07-29 15:31:57 -05:00
joshua stein
5c0dad2c4a
strip spaces from urls as they are assigned
2013-07-19 22:07:03 -05:00
joshua stein
ccb8094da1
change some before_create's to before_validation, :on => :create
...
random tokens need to be filled in before validation, otherwise the
validation is just checking a blank value
2013-07-19 22:05:00 -05:00
Wally
ef217e382c
moved story submission guidelines and toggle js to _form.html.erb
2013-07-18 09:49:36 -04:00
Wally
c385b3241c
added story submission guidelines to edit page
2013-07-17 16:12:42 -04:00
Wally
22302a8cd5
fixed formatting on list and added missing </li> tags
2013-07-17 16:10:51 -04:00
joshua stein
4f8c302edb
close bug #57 : make :focus'd elements stand out
2013-07-05 16:12:46 -05:00
joshua stein
b710f85797
don't mail out deleted stories or comments
2013-07-03 22:40:59 -05:00
joshua stein
0ac51b9f8c
include oauth gem for a cli tool
2013-07-03 22:40:37 -05:00
joshua stein
ca62e5b43f
try to fetch story cache twice if it fails the first time
2013-07-03 22:11:12 -05:00
joshua stein
c8d9c66061
let diffbot take a long while
2013-07-03 22:11:01 -05:00
joshua stein
2858fea247
tweak display of user profile data a bit
2013-07-01 16:01:05 -05:00
joshua stein
eeda7668b6
on user pages, show their most commonly used tag
2013-07-01 15:53:43 -05:00
joshua stein
301fc79268
alpha user methods
2013-07-01 15:53:43 -05:00
joshua stein
1ae4c141a3
before cramming utf8 data into us-ascii, replace "smart" quotes and things
2013-07-01 14:28:39 -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
7e71908f3d
try not to re-wrap comments posted by e-mail at 72 chars
2013-06-30 00:54:03 -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
0325b026c1
rss_token and mailing_list_token have to be set before create, duh
2013-06-30 00:54:03 -05:00
joshua stein
7e0fc989d1
move countinual comment logging to model
...
comments can come in from other places than the controller now
2013-06-30 00:54:02 -05:00
joshua stein
fd41bfa566
start on mailing list interface
2013-06-30 00:54:02 -05:00
joshua stein
ee6a27beb3
disable tripwire when starting sphinx
2013-06-30 00:54:02 -05:00
joshua stein
b1e9e359a3
block all spiders by default, allow major ones
2013-06-30 00:54:02 -05:00
joshua stein
ed512cc065
move comment thread_id generation to Comment
2013-06-30 00:54:02 -05:00
joshua stein
7ff7b676e5
use cast() magic when passing score to sphinx
...
fixes problem with mysql/mariadb 5.5
2013-06-30 00:54:02 -05:00
joshua stein
78603d8349
unique mailing list tokens for everyone!
2013-06-30 00:54:01 -05:00
joshua stein
b641d0232d
sort of merge cache branch but don't do anything automatically
...
allow manual caching of story text using diffbot, if an api key is
configured and Story#fetch_story_cache! is called
2013-06-30 00:54:01 -05:00
joshua stein
68690647ab
user newer-style validation methods, add banned usernames
2013-06-21 20:37:15 -05:00
joshua stein
e727c65f03
production is running mariadb in case anyone cares
2013-05-26 12:56:31 -05:00
joshua stein
127e78df1d
change dev database.yml to reflect utf8mb4
2013-05-26 12:39:52 -05:00
joshua stein
2fff1059b1
production is running ruby 1.9.3-p429 now
2013-05-26 12:38:56 -05:00
joshua stein
c9571dabaf
back out 9ece666
removing utf8mb4 hacks, no longer needed
2013-05-26 12:32:54 -05:00
joshua stein
bdc1f36360
get rid of rvmrc, it was never being used
...
closes #55
2013-05-19 15:00:07 -05:00
joshua stein
1e413eee3a
add missing spinner.gif that select2 references
2013-05-09 11:34:33 -05:00
joshua stein
0ff4ef2484
Tag has_many taggings, and delete them on destroy
2013-03-30 11:37:38 -05:00
joshua stein
04218c8f6c
explicitly to_s the tag description before sending to CGI.escape
...
fixes a problem with tags with no description, raised in issue 50
2013-03-29 16:20:52 -05:00
joshua stein
5e357f5684
allow moderators to edit story urls if they ever had one
2013-03-26 12:23:47 -05:00
joshua stein
4cae9d38ae
show the tag description as the tag link title
2013-03-23 21:09:41 -05:00