Commit graph

1036 commits

Author SHA1 Message Date
joshua stein 64a2411bea post_to_twitter: handle 226 errors
Twitter rejects certain tweets with particular content that it
thinks is spam, and since it doesn't change over multiple
submissions, just skip them.
2016-08-19 00:00:18 -05:00
joshua stein c602b01965 Story: revert cb300450f, using newest created_at of all merged
This behavior is confusing.
2016-08-19 00:00:18 -05:00
Eric Case 108baedb39 Typo fix: "has mention" -> "mentioned" (#322) 2016-08-16 12:08:12 -05:00
SiDevesh 66833bdba5 Fix error when a tag has no stories yet (#321) 2016-08-16 12:07:57 -05:00
Carl Chenet 7af03b4ff4 i18n of invitation form view (used by settings view) 2016-07-09 14:32:34 +02:00
Carl Chenet 04777f3e6f i18n of settings controller 2016-07-09 14:31:32 +02:00
Carl Chenet 160579bfa2 i18n of settings view 2016-07-09 14:31:09 +02:00
Carl Chenet 518ce147da localize settings (controller, view), invitation form and activerecord error message about passwords not matching 2016-07-09 14:29:55 +02:00
Carl Chenet 7e50558d73 localize settings (controller, view) and invitation form 2016-07-09 14:29:04 +02:00
Marc Ignacio e58a8c843b Fix spec failure due to leaky ActiveRecord abstraction of booleans (#311) 2016-07-05 12:04:02 -05:00
chaica 9506b1ce10 I18n moderations (#301)
* translate moderation view, controller and model

* support for i18n in the moderation controller

* support for i18n in the moderation model - use interpolation for variables inside strings

* support for i18n in controller model - localize time and date string format for printing time and date of the moderation action
2016-07-05 10:02:14 -05:00
joshua stein a5d880f431 unbreak schema after aa0ffeb3
closes #310
2016-07-05 09:59:14 -05:00
joshua stein 6a637dfe83 signup: also send total users to countinual now that they're being tracked 2016-06-28 09:53:44 -05:00
joshua stein 68a9a871ea user profile: inactive users don't need further qualifiers 2016-06-22 15:30:44 -05:00
joshua stein 13529cf296 comment: move 'on:' label before score summary 2016-06-22 15:30:44 -05:00
joshua stein f2602432c9 separate can_invite? and banned_from_inviting? 2016-06-22 15:30:44 -05:00
joshua stein 0a4df290ab user profile: show when story submissions are disabled too 2016-06-22 15:30:44 -05:00
joshua stein b2182f5ca7 Story: in checking for previous duplicates, fetch moderated ones
this will block a moderated story from being submitted again inside
the window

closes #291
2016-06-22 15:30:44 -05:00
joshua stein cb300450fb Story: use newest created_at of all merged stories for calculating hotness
we already take their points, but if they have a much newer
created_at and we've been moved off the front page, points won't
save us.  use their created_at to be fresher.

should fix #300
2016-06-22 15:30:44 -05:00
joshua stein 641cc4cc1f README: refer to bundle, not bundle19 2016-06-22 15:30:44 -05:00
joshua stein d8c7f98cfd prevent users with much negative karma from submitting new stories 2016-06-22 15:30:44 -05:00
joshua stein ac3347b9cc 1 in 2 million! 2016-06-18 19:25:57 -05:00
joshua stein 4a80080abb unbreak fr locale file 2016-06-18 19:15:15 -05:00
joshua stein b10da3e495 cleanup broken html for new message count, add pluralized version 2016-06-14 11:18:25 -05:00
joshua stein 30b8c18e3e css: make highlighted comment background match tags 2016-06-13 11:05:30 -05:00
joshua stein b391a8d527 speed up traffic decrementer 2016-06-10 16:35:32 -05:00
joshua stein 884208a7b7 fix hat request link from locale fallout 2016-06-10 16:35:24 -05:00
joshua stein 3bebdb80a7 User: clear deleted_at when unbanning, since we probably set it 2016-06-10 16:31:13 -05:00
joshua stein 71fb5bdaf3 t(), remove bbs link 2016-06-10 16:28:00 -05:00
joshua stein 01b5f334ca en: "Recents" back to "Recent" 2016-06-10 16:27:47 -05:00
chaica c962520680 I18n support for layout/application.html view (#294)
* i18n support for layout/application.html view

* i18n english strings for layout/application.html

* i18n french strings for layout/application.html
2016-06-10 17:24:02 -04:00
joshua stein 30166dd120 Merge pull request #293 from nyanpasu/master
Allow admin/moderator to disable user from inviting
2016-06-10 17:20:48 -04:00
joshua stein d3a826d80e Story: fix saving old stories with inactive tags 2016-06-01 14:36:09 -05:00
joshua stein ba8a39ee93 new story: re-order guidelines in order that i have to deal with them 2016-06-01 14:36:09 -05:00
joshua stein 647d7d5da8 new story: make bookmarklet look less like a button
closes #276
2016-06-01 14:36:09 -05:00
nyanpasu 99f78ad10c Send pm instead of email on invite disable 2016-05-19 09:01:27 +08:00
nyanpasu 19526c2d3f Don't delete user after disabling invites 2016-05-19 09:01:27 +08:00
nyanpasu 39b911963e Remove redundant return 2016-05-16 11:55:16 +08:00
nyanpasu aa0ffeb37b Allow admin/moderator to disable user from inviting 2016-05-16 02:40:46 +08:00
joshua stein 6537e7dc36 clean up tests 2016-05-09 09:52:47 -05:00
joshua stein d1c9aeaaa3 Story: make title_as_url output shorter urls 2016-05-04 14:40:06 -05:00
joshua stein 4c5cf4a542 require a minimum karma to suggest story title/tag suggestions 2016-05-02 17:57:19 -05:00
joshua stein 21a5152acf post_to_twitter: only count extensions with letters as domains 2016-05-02 17:56:56 -05:00
joshua stein 98ab3796b3 add simple @titles for about, chat, privacy 2016-05-02 17:56:16 -05:00
joshua stein 66e42cf674 Merge pull request #289 from DRMacIver/master
Add RSS and JSON feeds for newest by user
2016-04-29 13:03:08 -04:00
David R. MacIver 0f38779d7a Add RSS and JSON feeds for newest by user 2016-04-29 17:41:14 +01:00
joshua stein d8c240dc46 switch to an image-less user tree, properly hide lines on last branch 2016-04-27 16:26:18 -05:00
joshua stein db3c62597c strikethrough in markdown does not work, so don't advertise it
but it's just temporary, so comment it out until issue #288 is
resolved
2016-04-27 12:50:31 -05:00
joshua stein b204775e8f Story: don't allow a story to be merged into itself 2016-04-25 13:24:50 -05:00
Peter Bhat Harkins 336882a8fd README: Add sample crontab (#287)
Add sample crontab
2016-04-23 21:20:55 -04:00