Carl Chenet
fd25aed94b
update to rails 4.2.8 - merged with i18n
2017-05-19 10:29:12 +02:00
Carl Chenet
7975da374f
step two of settings migration: delete old columns
2017-05-17 19:11:54 +02:00
Carl Chenet
82a8a7155a
here be dragons - merged with i18n
2017-05-17 10:23:25 +02:00
Marc Ignacio
e58a8c843b
Fix spec failure due to leaky ActiveRecord abstraction of booleans ( #311 )
2016-07-05 12:04:02 -05:00
joshua stein
a5d880f431
unbreak schema after aa0ffeb3
...
closes #310
2016-07-05 09:59:14 -05:00
nyanpasu
aa0ffeb37b
Allow admin/moderator to disable user from inviting
2016-05-16 02:40:46 +08:00
joshua stein
a5928b675d
implement hats list and request/approval system
...
closes #281
2016-04-06 13:19:46 -05:00
joshua stein
6b636ac8c5
add setting to show threads on a user's submitted stories in 'Your Threads'
...
closes #231
2015-12-07 12:27:09 -06:00
joshua stein
8b4dec5746
sync db schema
2015-12-03 14:57:11 -06:00
joshua stein
e3c881b81a
implement automatic tag changing in response to user suggestions
...
Right now it's just a simple check for SUGGESTION_QUORUM (currently
4) number of users agreeing on a set of new tags.
Log a moderation to the story submitter when this happens, and allow
moderations to be done by a non-specific user.
Issue #207
2015-10-15 10:04:23 -05:00
joshua stein
e940601a2f
start on automated story title and tagging suggestions
...
Rather than keep "poorly titled" and "poorly tagged" as reasons for
flagging, make the user do the work of suggesting new ones.
At some point, suggested taggings will flip to real taggings once
they reach a certain count (to be determined later). This also has
to take into account tagging sets that don't contain current tags,
for when they need to be removed.
For titles, I'm not yet sure how to handle this in an automated
fashion except for the (probably rare) case of multiple users
submitting the same exact thing, but at least collect them for now.
Issue #207
2015-10-14 20:32:24 -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
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