Commit graph

592 commits

Author SHA1 Message Date
joshua stein 7abb4636dd reduce access required for privileged tags to just moderator 2014-01-12 13:28:07 -06:00
joshua stein ccae78bf34 if user is not logged in, prevent downloading application.js
saves a lot of time for users downloading and processing jquery and
other code that is never used when logged out
2014-01-12 13:28:07 -06:00
joshua stein 7850fd2054 bump copyright to 2014 2014-01-12 13:28:07 -06:00
joshua stein 637b14a8b9 Merge pull request #97 from Mongey/master
direct invited users back to root URL via get instead of post
2014-01-11 15:56:20 -08:00
Conor Mongey a069749c65 Fix issue #96. Direct users back to root URL via get instead of post 2014-01-10 23:52:40 +00:00
Serge Paquet 2c906efa7e simplify and optimize Filters controller and template 2014-01-09 01:44:03 -05:00
Serge Paquet e2c266af4b simplify Comment#arrange_for_user method 2014-01-08 23:48:24 -05:00
Serge Paquet 5988038071 make Comment#ordered_for_story_or_thread_for_user work on query scope 2014-01-08 23:48:24 -05: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 cd7cb552e7 story detail: don't mock non-users by showing a discuss link
fixes #91
2014-01-08 22:20:56 -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 9bab78634e don't show endless comment link pages
stop when there are no more comments
2014-01-08 20:42:25 -06:00
joshua stein 2f824a73a3 shrink story hotness window, things are moving faster now 2014-01-08 20:42:25 -06:00
joshua stein 53a6d87ead speed up traffic decrementer 2014-01-08 20:42:25 -06:00
joshua stein 9a6cccfde0 grey out meta tag 2014-01-08 20:42:24 -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
joshua stein a9a5a900f9 Merge pull request #88 from oa414/master
README: add password_confirmation field in initial administrator user
2014-01-07 18:59:44 -08:00
Linxiangyu 6551f49bde README: add password_confirmation field in initial administrator user
Please enter the commit message for your changes. Lines starting
2014-01-08 10:49:04 +08:00
joshua stein 345388079e Merge pull request #83 from srgpqt/sphinx
upgrade thinking-sphinx gem; requires sphinx >= 2.0.6
2014-01-07 10:17:31 -08:00
joshua stein 1c3597004f Merge pull request #81 from srgpqt/master
simplify user tree controller action and template
2014-01-07 09:57:09 -08:00
joshua stein e6db99c956 disable autocomplete for text fields that shouldn't use it
new password on settings form and user invitation form (would be
another e-mail address, not the stored user's)

closes #85
2014-01-07 11:42:21 -06:00
joshua stein c576f86e4d in moderation auto-message, tell the user it's automated 2014-01-07 11:42:21 -06:00
joshua stein 1452e1c34d rip out default filtered tags 2014-01-07 11:42:21 -06:00
joshua stein d959977ca1 color 'ask' tag specially 2014-01-07 11:42:21 -06:00
joshua stein 9b5ab9b978 try really hard to convert inbound mail to utf8 2014-01-07 11:42:21 -06:00
joshua stein 831b576325 only show invitation queue link if there are any pending 2014-01-07 11:42:21 -06:00
joshua stein ce495470c6 double max comment edit time to 90 minutes 2014-01-07 11:42:20 -06:00
Serge Paquet 709b0bff98 upgrade thinking-sphinx gem 2014-01-07 05:52:29 -05:00
Serge Paquet b8652d80cc simplify user tree controller action and template 2014-01-04 03:14:41 -05:00
joshua stein a4657cdb83 Merge pull request #77 from srgpqt/master
add Search#page_count method to simplify things
2014-01-03 06:32:54 -08:00
Serge Paquet a46194d1be add Search#page_count method 2014-01-02 12:16:14 -05:00
joshua stein fb0b756f41 sync db schema with production 2014-01-02 10:56:02 -06:00
joshua stein fcd2c10c08 Merge pull request #76 from srgpqt/master
add karma column to users table, move out of keystore
2014-01-02 08:53:51 -08:00
joshua stein cc59b4b475 story guidelines toggler was moved to application.js 2014-01-02 10:10:25 -06:00
joshua stein 50aa8434f9 Merge pull request #59 from imwally/master
add story submission guidelines to the edit page
2014-01-02 08:09:05 -08:00
Serge Paquet 3757b279ff add karma column to users table 2014-01-01 16:03:01 -05:00
joshua stein db80320897 README: rails 3 -> 4 2013-12-31 16:02:53 -06:00
joshua stein 4448dca2ba sync schema with production after rails upgrade 2013-12-31 16:01:39 -06:00
joshua stein bcef7acaf6 set config.i18n.enforce_available_locales to avoid a deprecation warning 2013-12-31 16:00:55 -06:00
joshua stein 581a1ab7b8 log/.gitkeep -> log/.keep 2013-12-31 16:00:40 -06:00
joshua stein bfeddf0d94 Merge pull request #74 from srgpqt/rails4
upgrade to rails v4.0.2
2013-12-31 13:55:23 -08:00
Serge Paquet 9b0294c471 upgrade to rails v4.0.2 2013-12-30 17:40:52 -05:00
joshua stein 8a76402c1b Merge pull request #75 from srgpqt/master
replace some raw sql with database-agnostic activerecord queries
2013-12-30 13:47:53 -08:00
Serge Paquet b42189f45b replace some raw sql with database-agnostic activerecord queries 2013-12-30 16:23:59 -05:00
joshua stein f8f35c6177 Merge pull request #73 from srgpqt/jquery-fixes
move inline js from story submission page into application.js
2013-12-29 08:09:54 -08:00
Serge Paquet 3c63f930cd more jQuery.fn.live fixes for the "submit story" page 2013-12-28 22:17:08 -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
joshua stein db81f5ff3b Merge pull request #72 from srgpqt/jquery-fixes
fix javascript errors caused by using deprecated/removed jQuery.fn.live
2013-12-28 09:53:37 -08:00
joshua stein 1e7dc17b56 set hotness with score+1 so a single downvote doesn't kill it 2013-12-28 11:52:52 -06:00
joshua stein 4fe74ab2e4 add "low quality" story downvote option, reorder 2013-12-28 11:52:52 -06:00