Peter Bhat Harkins
d7ed1adaee
bump to Ruby 4.2
2017-10-03 14:59:58 -04:00
joshua stein
5dc824a04a
jcs/lobsters -> lobsters/lobsters
2017-10-01 13:38:20 -05:00
joshua stein
9693da5d82
sync_twitter_users: add script to sync twitter list
2017-09-29 18:28:42 -05:00
Andrew Shu
f04cce4c3b
Comment tree lines ( #400 )
...
* comments: move folder button to left of vote arrow
* comments: monospace and lighten folder button
* comments: show parent-child and sibling tree lines
* comments: offset tree line for downvote arrow
* comments: extend tree line if no score
* comments: narrow tree indentation to prior width
* comments: hide tree lines on mobile
2017-09-28 15:39:10 -05:00
joshua stein
aa4a9bc8d4
bump TRAFFIC_DECREMENTER
2017-09-25 22:06:07 -05:00
joshua stein
c35ba56a9a
User#recent_threads: only show undeleted comments
2017-09-25 22:06:07 -05:00
Robert Lord
808877dfc2
Update delete, reply, edit links to be tabable ( #397 )
...
Currently the delete, reply, and edit links on comments are skipped over when
using the tab key to flip through the various links. Adding a tabindex allows
tab to navigate to these links.
2017-09-25 21:27:13 -05:00
Andrew Shu
2460dcd2f9
story: query moderation exists instead of count ( #398 )
2017-09-25 19:27:26 -05:00
Andrew Shu
22bb4cb069
comments: query where NOT EXISTS instead of NOT IN ( #399 )
2017-09-25 19:27:01 -05:00
joshua stein
1f5d2d4587
Markdowner: html doc might have no body
...
In the case of some bogus markdown, like just "<script>..." text
2017-09-20 09:16:45 -05:00
joshua stein
d42685f4e2
avatars: add manual expiry function to settings page
2017-09-08 10:31:55 -05:00
joshua stein
8311cb31d2
Gemfile.lock: update aftet 8128ff15b7
2017-09-08 10:31:06 -05:00
joshua stein
d869f98fcf
add issue template for github
2017-08-31 09:01:56 -05:00
joshua stein
7028e702b7
gitignore: ignore public/avatars
2017-08-31 08:59:05 -05:00
joshua stein
56fc1522a4
post_to_twitter: cope with code 186
...
This happens when the tweet is too long because a URL of a story is
not a valid URL, causing it to be interpreted as text, and going
over 140 chars.
2017-08-31 08:59:05 -05:00
Adrian Scott
505c89ec45
README: add step of installing Nodejs, so uglifier works ( #387 )
2017-08-22 09:49:26 -05:00
Adrian Scott
8128ff15b7
added "json" to Gemfile ( #386 )
2017-08-22 09:48:16 -05:00
joshua stein
30057c7416
Comment#score_for_user: show nothing when the user can't downvote
...
the upvote with dash looked weird, so only show a mark when there's
something below it (downvote). change dash to a tilde to look more
in flux.
2017-07-27 08:14:30 -05:00
joshua stein
9e9c29433b
story: do comment auto-resizing on root-level comment box
...
the javascript for dynamic reply textboxes does this itself
2017-07-21 12:37:48 -05:00
joshua stein
41bed64c8f
css: apply line-height to textareas and stuff too
...
makes comment replyboxes have same layout as comments
2017-07-21 12:30:32 -05:00
joshua stein
c4c022b6ad
settings: show disabled invite reason
2017-07-20 11:09:56 -05:00
joshua stein
e3bdeeea61
layout: define html lang
2017-07-20 10:59:49 -05:00
joshua stein
2b02e718a5
avatar caching
2017-07-20 10:44:46 -05:00
joshua stein
60f2bbd8c1
User: wrap some multi-step actions in transactions
2017-07-19 08:57:18 -05:00
joshua stein
7ec69ff509
User: disable_invite_by_user_for_reason! should save user record
2017-07-19 08:57:18 -05:00
joshua stein
a0b769e28a
README: show a test database made in mysql, since sqlite won't work
2017-07-17 12:32:38 -05:00
joshua stein
9a11ab8684
header_links: don't show /saved to non-users
2017-07-14 21:03:55 -05:00
joshua stein
54eef91d2e
fix placemwnt of the hidden count
...
closes #379
2017-07-13 19:14:58 -05:00
joshua stein
359e63a0ed
home: find_user_from_rss_token for saved, too
2017-07-13 16:32:19 -05:00
joshua stein
53aac5f807
schema: sync with production
2017-07-13 16:00:08 -05:00
joshua stein
6dfaef5e5b
move /saved to header, /filters to /settings
2017-07-13 15:59:14 -05:00
joshua stein
b46640ca81
layout: move header links logic to helper
2017-07-13 15:56:32 -05:00
joshua stein
0ad6dffbe7
add story saving
2017-07-13 15:38:33 -05:00
joshua stein
ed3d0ebec9
move story deletion/moderation to edit screen
2017-07-13 15:13:33 -05:00
Daniel Gustafsson
1b6ea267c1
Add tableheader for invite deletion ( #378 )
...
Commit b592aae9
allowed the Delete option for non-moderators, but
didn't remove the corresponding moderator-check on the <th></th>
to extend the grey tableheader bar over the new option.
2017-07-12 14:36:42 -05:00
joshua stein
dfff2ffe88
gravatar has ssl on www now
...
Their website doesn't mention secure.gravatar.com, so don't use it
2017-07-11 12:04:05 -05:00
joshua stein
76c68b7095
Message: subject max length is 100
2017-07-11 12:04:05 -05:00
timetoplatypus
f074e08308
Fixes misspelling in the "Request a Hat" page ( #377 )
2017-07-11 12:03:45 -05:00
joshua stein
d14ae625ed
README: quite sad
2017-07-06 16:26:10 -05:00
joshua stein
70c6685284
Story: stories from banned users are gone
2017-06-27 18:32:52 -05:00
joshua stein
b592aae90e
invitations: allow users to delete requests too
...
Log actions so I can see if users are abusing this and whether the
threshold for deleting needs to be higher than that for
seeing/accepting.
2017-06-27 13:23:08 -05:00
joshua stein
8c362eea0c
Story#description_or_story_cache: don't remove if nothing was truncated
2017-06-27 13:14:43 -05:00
joshua stein
a69a72f9ad
login: if user save fails, don't worry about it
...
some users with ridiculous passwords fail validation now, and this
isn't the time to let them fix it
2017-06-22 12:54:03 -05:00
joshua stein
088ce21b2c
User: mods can always see invitation requests
...
closes #371
2017-06-22 12:53:42 -05:00
joshua stein
381c6e3fca
comments: arrange threads for @user, not @showing_user
...
from Cakez0r on irc
2017-06-19 10:33:04 -05:00
joshua stein
dc998b54d4
unbreak rendering html from controllers in rails 5
...
render :plain was not including the layout, and sending a text/plain
mime type
2017-06-18 17:41:11 -05:00
joshua stein
b51fb156be
routes: add a /moderators shortcut to the user tree
2017-06-18 11:37:56 -05:00
joshua stein
a1a9b0d288
routes: bbs stuff doesn't need to be here anymore
2017-06-18 11:37:56 -05:00
joshua stein
351ed8f43d
Story: add merge_story_short_id so editing a merged story shows it
2017-06-18 11:31:16 -05:00
joshua stein
734726f762
gitignore: add more javascript bullshit that litters the directory now
2017-06-18 11:22:38 -05:00