Thomas Dziedzic
89d6d84f9c
Rails 6 ( #723 )
2020-08-19 01:24:25 +00:00
Peter Bhat Harkins
0b67cd2de9
link /filters; improve that form
2020-08-11 08:36:02 -05:00
Peter Bhat Harkins
5341d7a067
add tag categories
2020-08-09 08:41:20 -05:00
Peter Bhat Harkins
9d5097ee70
make some tags unavabile to new users
2020-02-10 13:34:41 -06:00
Brian Kung
6104b13500
multi-tag pages and feeds
...
PR #664
Close #525
Close #542
2019-05-01 13:59:58 +00:00
Brian Kung
aea35552f9
Fix modlog for tag creation
2019-04-03 12:44:50 +00:00
Peter Bhat Harkins
6907682692
Story#filter_tags_for scope to express we're doing per-user filtering
2018-04-26 10:20:09 -05:00
Peter Bhat Harkins
494d8f9940
save tag_id in after_save
2018-04-11 09:50:08 -05:00
Peter Bhat Harkins
c500f89e7f
fixup tag
2018-04-11 09:02:05 -05:00
Peter Bhat Harkins
93fe0fdd74
link tags from modlog
2018-04-11 08:31:10 -05:00
Peter Bhat Harkins
978c1e360e
Merge branch 'master' into masongup-feature/add-tag-management
2018-04-11 08:04:53 -05:00
Peter Bhat Harkins
dcd848f00d
rubocop: Lint/DuplicateMethods could have been clearer
2018-04-11 07:43:52 -05:00
Peter Bhat Harkins
ca2694e0e3
rubocop: Rails/ApplicationRecord, 321
2018-04-11 07:41:46 -05:00
Peter Bhat Harkins
f8da135da1
rubocop: Lint/DuplicateMethods, 700
2018-04-11 07:41:46 -05:00
Peter Bhat Harkins
0458798dcd
rubocop: Layout/AlignParameters, 708
...
Seriously considered renaming vote_thusly_on_story_or_comment_for_user_because
just becaues of how many weird linewraps it causes.
2018-04-11 07:40:50 -05:00
Peter Bhat Harkins
d1b8eff479
rubocop: Layout/SpaceBeforeBlockBraces and SpaceInsideBlockBraces, 2977
2018-04-11 07:40:50 -05:00
Peter Bhat Harkins
7391847f75
rubocop: Lint/DuplicateMethods could have been clearer
2018-03-21 20:27:59 -05:00
Peter Bhat Harkins
d1ab72dfde
rubocop: Rails/ApplicationRecord, 321
2018-03-18 19:12:01 -05:00
Peter Bhat Harkins
c5ec5435b7
rubocop: Lint/DuplicateMethods, 700
2018-03-17 14:07:03 -05:00
Peter Bhat Harkins
bf4327de49
rubocop: Layout/AlignParameters, 708
...
Seriously considered renaming vote_thusly_on_story_or_comment_for_user_because
just becaues of how many weird linewraps it causes.
2018-03-17 14:06:21 -05:00
Peter Bhat Harkins
b1f83f545f
rubocop: Layout/SpaceBeforeBlockBraces and SpaceInsideBlockBraces, 2977
2018-03-16 16:41:09 -06:00
Mason Gup
214c87a5cd
Log tag creation and changes to moderator log
2017-11-05 17:31:07 -05:00
Mason Gup
a6f312e950
Fix tag range
2017-10-20 23:53:31 -04:00
Mason Gup
9a8c4e2b24
Set and test validations on Tag model
2017-10-15 22:26:54 -04:00
joshua stein
6cc5f196bf
Tag: remove accessible_to, use valid_for?
...
They do the same thing now but a scope might be too limited in the
future so just pick one now.
Closes #100
2015-07-24 00:51:11 -05:00
joshua stein
95202f21b2
add Tag.active scope to deprecate tags without removing them
2014-02-21 10:57:30 -06:00
joshua stein
20cf2bab65
show how many stories have been tagged with each on filters page
...
closes #93
closes #114
2014-01-24 13:53:10 -06:00
joshua stein
be2c706c06
fix Tag.accessible_to to allow moderators to use privileged tags
2014-01-14 11:39:56 -06:00
joshua stein
65a9a77104
Merge pull request #92 from srgpqt/filters
...
simplify and optimize Filters controller and template
2014-01-12 22:34:09 -08:00
joshua stein
7abb4636dd
reduce access required for privileged tags to just moderator
2014-01-12 13:28:07 -06:00
Serge Paquet
2c906efa7e
simplify and optimize Filters controller and template
2014-01-09 01:44:03 -05:00
Serge Paquet
b42189f45b
replace some raw sql with database-agnostic activerecord queries
2013-12-30 16:23:59 -05:00
Serge Paquet
8fbf76b484
use activerecord query interface instead of deprecated finder methods
2013-12-25 16:43:50 -05: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
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
0ff4ef2484
Tag has_many taggings, and delete them on destroy
2013-03-30 11:37:38 -05:00
joshua stein
39bb9b77de
minor cleanup
2012-09-20 10:53:11 -05:00
Robert J Samson
f3eb44972b
Check to make sure a user isn't improperly using a privileged tag when saving a Story.
2012-09-19 20:57:45 -04: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
0663ea0fed
show how many users are filtering each tag
2012-09-19 12:25:11 -05:00
joshua stein
093747b796
initial work on conversion from php tree
2012-06-16 20:15:46 -05:00