joshua stein
a31ecc80ac
change tags.hotness_mod to float
2015-07-24 00:51:11 -05:00
amalrik
440d060820
added seed to populate initial data.
2015-05-10 12:17:57 -03:00
joshua stein
d286eab325
add option to show user avatars on stories and comments
...
just because
2015-03-12 23:23:15 -05:00
joshua stein
f9b309d342
separate story hiding from voting
...
A story downvote is considered a flag, just meaning the story has
problems and not necessarily that the user wants to ignore it. By
moving hiding out of Vote and into a new HiddenStory model, a user
can now both downvote/flag and hide separately, or just one or the
other.
2015-02-11 11:37:03 -06:00
joshua stein
6aba206eba
post_to_twitter: start logging twitter ids now for an upcoming change
2015-01-27 12:14:26 -06:00
joshua stein
231111cb86
drop extra pushover user fields
...
extra pushover data is now stored in the subscription, we don't need
it
user keys to subscription keys can be migrated by using
https://pushover.net/api/subscriptions#migration
2015-01-15 13:23:31 -06:00
joshua stein
9c73c87d28
add story cache showing for manually-specified unavailable stories
2015-01-06 17:31:09 -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
dfe6db4849
revert 85cb7c20
, give up on planet rss aggregation
2014-08-31 20:35:41 -05:00
joshua stein
962b7e8d59
add per-tag story hotness modifiers
2014-08-31 20:27:54 -05: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
73b8df5eb7
implement story merging
...
closes #137
2014-04-08 17:51:12 -05:00
joshua stein
ca3ae40e29
rename stories.short_id index to avoid conflict in non-mysql dbs
...
this was never added from a migration anyway, so this is just for a
rake:schema:load
2014-02-27 11:31:39 -06:00
joshua stein
95202f21b2
add Tag.active scope to deprecate tags without removing them
2014-02-21 10:57:30 -06:00
joshua stein
89cdf1101a
add a story-only mailing list mode
...
closes #131
2014-02-19 12:49:12 -06:00
joshua stein
71eeb6c7d2
be a good pushover user and let the user specify a sound
...
- move pushover particulars into User model
- Pushover class rescues errors, don't need to do it from User
2014-01-21 01:21:02 -06:00
Serge Paquet
d74a2c448f
add postgresql support
2014-01-14 21:42:27 -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
287be48187
add stuff to deal with banning users
2014-01-12 15:09:32 -06:00
joshua stein
4ff4d53ae9
update db schema from production: story_cache shortened to mediumtext
...
re #87
2014-01-08 22:41:40 -06:00
joshua stein
d578482e3b
move story comment counts out of keystore
...
it would be nice to use AR's built-in counter cache, but the
comments count has to reflect something custom so stick with what
was there
2014-01-08 22:20:56 -06:00
joshua stein
1452e1c34d
rip out default filtered tags
2014-01-07 11:42:21 -06:00
joshua stein
fb0b756f41
sync db schema with production
2014-01-02 10:56:02 -06:00
Serge Paquet
3757b279ff
add karma column to users table
2014-01-01 16:03:01 -05:00
joshua stein
4448dca2ba
sync schema with production after rails upgrade
2013-12-31 16:01:39 -06:00
Serge Paquet
9b0294c471
upgrade to rails v4.0.2
2013-12-30 17:40:52 -05:00
joshua stein
e63e45af2b
record and show which comments were posted by e-mail, for no particular reason
2013-12-28 12:00:29 -06:00
Serge Paquet
8fbf76b484
use activerecord query interface instead of deprecated finder methods
2013-12-25 16:43:50 -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
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
c9571dabaf
back out 9ece666
removing utf8mb4 hacks, no longer needed
2013-05-26 12:32:54 -05:00
joshua stein
6deadc731a
designate certain tags as media types, require a tag other than those
...
just tagging something "video" doesn't make it appropriate for
submission, it still requires a categorization tag
2012-11-12 11:02:18 -06:00
Robert J Samson
7fd75a7f3a
More descriptive method and attribute names
2012-09-19 20:28:09 -04:00
Robert J Samson
5ada55f10d
Add a 'private' attribute to tags to allow for admin / mod specific tags
...
Private tags would allow admins to create tags that only admins could
use, and that regular users could not filter. The best example use case
for this is an 'announements' tag for site announements that all users
should see.
2012-09-19 16:44:57 -04:00
joshua stein
b2315a5728
add private rss feeds for logged-out users by passing a token
...
create a random rss_token for each user and append it to the rss
urls. when adding the user-specific feed url to a feed reader, the
user's tag filters will be applied before generating the rss view,
giving the same list of stories that the user sees while logged in.
2012-09-18 10:43:05 -05:00
Robert J Samson
ec1bcb9704
Added mentions in comments using @username convention. @username is linked to user profile in comment text, and notifications are available via email and pushover (with notification preferences) when a user is mention.
2012-09-10 13:40:33 -04:00
joshua stein
c093431898
allow tags to be filtered by default for new and non-logged-in users
2012-09-06 13:44: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
joshua stein
43444f179b
implement traffic counter that adjusts redness of lobsters logo
2012-08-24 11:42:23 -05:00
joshua stein
3640e1e7a3
comment deleting and undeleting
2012-08-24 11:41:37 -05:00
joshua stein
b8b3d97718
not used
2012-08-24 11:41:36 -05:00
joshua stein
6e17272e9d
story pagination
2012-08-24 11:41:35 -05:00
joshua stein
b128c818c9
add indexes on things that are searched by
2012-08-24 11:41:35 -05:00
joshua stein
342d6ff911
move markeddown html into sql so it doesn't have to be generated every time
...
it's unlikely to change and if it does, we can just re-generate
everything in sql at once
2012-08-24 11:41:35 -05:00
joshua stein
358a88a87b
sync schema with production
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
95ef42d872
move confidence and hotness into sql tables for proper sorting
2012-08-24 11:41:34 -05:00
joshua stein
4a221aa2d3
current production schema
2012-08-24 10:57:42 -05:00