joshua stein
0d6f4ed60c
fix story pagination and caching for logged-out users
...
use a file store so each unicorn process can share the same set of
files (using redis would probably be cleaner)
put page number into how hash when creating the cache key
2014-02-16 09:57:05 -06:00
Serge Paquet
519427586a
use Rails4-style strong parameters mass assignment protection
2014-02-02 15:41:38 -05:00
joshua stein
df75c8f787
revert to previous /newest behavior, use new stuff for /recent
...
/recent is not yet linked to from anywhere
2014-01-25 11:14:21 -06:00
Serge Paquet
981759c34f
be explicit about which route formats are accepted
2014-01-22 20:13:42 -05:00
joshua stein
e6ce3a5d68
show full story threads when highlighting a comment
...
we're not paginating (yet) so just show the whole thread like normal
and highlight the specific comment which gets scrolled to
closes #107
2014-01-20 23:30:46 -06:00
Serge Paquet
79b64c3883
use standard create/update comment routes
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
68a1f02a1c
name /u/:username route
2014-01-12 14:22:47 -06:00
joshua stein
93759f2187
map user path
2014-01-12 14:14:46 -06:00
joshua stein
40e4c10e26
fix busted PM e-mail notifications
...
do e-mail and pushover deliveries separately, catch and log errors
from each
closes #90
2014-01-08 20:42:24 -06:00
Serge Paquet
709b0bff98
upgrade thinking-sphinx gem
2014-01-07 05:52:29 -05:00
joshua stein
bcef7acaf6
set config.i18n.enforce_available_locales to avoid a deprecation warning
2013-12-31 16:00:55 -06:00
Serge Paquet
9b0294c471
upgrade to rails v4.0.2
2013-12-30 17:40:52 -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
a471eb180a
don't hardcode "Lobsters" and "lobste.rs" everywhere, use Rails.application.{name,domain}
2013-06-30 01:50:23 -05:00
joshua stein
1c0a8dfd03
move after-signup invite page into signup controller
2013-02-25 11:13:44 -06: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
464b3c3f80
add support for viewing sent private messages
2013-01-24 14:21:22 -06:00
joshua stein
ae2c0421e6
update to rails 3.2.11
...
keep ActionDispatch params parsers off
2013-01-08 15:26:12 -06:00
joshua stein
d108158d15
add json views to /newest.json and /hottest.json for issue #42
2012-12-16 20:05:27 -06:00
joshua stein
72b67b0103
move monkey patches to a separate file
2012-10-24 14:55:14 -05:00
joshua stein
64c6949edf
paginate /comments
2012-09-19 13:40:02 -05:00
joshua stein
6ae36ea492
route /newest/:user to show all stories by that user
2012-09-03 17:29:10 -05:00
joshua stein
e9e162167d
route /threads/:user to show recent threads for that user
2012-09-03 17:11:53 -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
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
d01e5e1be5
set min_infix_len to 2
2012-08-24 11:41:37 -05:00
joshua stein
abb8392c16
search engine!
2012-08-24 11:41:36 -05:00
joshua stein
75f026b182
do some short caching for guest views of story indexes
2012-08-24 11:41:36 -05:00
joshua stein
543f5c12bc
user tree
2012-08-24 11:41:35 -05:00
joshua stein
9f4e7db9a8
we're precompiling in production
2012-08-24 11:41:35 -05:00
joshua stein
9913566b6f
that as => tag was needed afterall
2012-08-24 11:41:35 -05:00
joshua stein
6e17272e9d
story pagination
2012-08-24 11:41:35 -05:00
joshua stein
f8dd75fde4
comment editing, looks weird for now but it works
2012-08-24 11:41:35 -05:00
joshua stein
a2705a835e
add tag filters
2012-08-24 11:41:34 -05:00
joshua stein
fc1c474fb3
implement private messages
2012-08-24 11:41:34 -05:00
joshua stein
03b38c2599
https only for production
2012-08-24 11:41:34 -05:00
joshua stein
216d483b98
force ssl for production
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
7406472a90
disable tls
2012-08-24 10:57:36 -05:00
joshua stein
d536eaa3b3
move monkey patch to config
2012-08-24 10:57:11 -05:00
joshua stein
ada1571a53
invitation system, user settings
2012-08-24 10:57:11 -05:00
joshua stein
f6560d37ad
shorten stories to /s/ instead of /p/
2012-08-24 10:57:11 -05:00
joshua stein
7b3cbdddee
rss feeds!
2012-08-24 10:57:10 -05:00
joshua stein
7fa3f44b27
exception notification
2012-08-24 10:56:54 -05:00
joshua stein
578c96d653
more work
2012-06-30 14:14:35 -05:00
joshua stein
95b4906e6e
working voting/scoring, threaded comments
2012-06-30 11:18:36 -05:00
joshua stein
093747b796
initial work on conversion from php tree
2012-06-16 20:15:46 -05:00