Commit graph

818 commits

Author SHA1 Message Date
Carl Chenet a587e2d32c i18n of controllers/comments_controllers 2016-11-15 17:26:01 +01:00
Carl Chenet 8def5c46da fix bad path to stories_controller 2016-11-15 17:14:37 +01:00
Carl Chenet 516edc5038 i18n of controllers/stories_controllers 2016-11-15 17:11:32 +01:00
Carl Chenet 286f25e712 i18n of controllers/home_controllers 2016-11-15 17:05:42 +01:00
Carl Chenet 22afc46e5e i18n of messages/show 2016-11-15 16:16:22 +01:00
Carl Chenet b38e57ac8c i18n of messages/index 2016-11-15 15:52:45 +01:00
Carl Chenet 9aec18155b i18n of users/{list,show,tree} 2016-11-15 14:40:55 +01:00
Carl Chenet 74052c7637 i18n of login/set_new_password view 2016-11-10 15:29:51 +01:00
Carl Chenet a212829528 i18n of login/forgot_password view 2016-11-10 15:20:07 +01:00
Carl Chenet 29978d3ce7 fix typo 2016-11-10 15:11:57 +01:00
Carl Chenet d6858b320d i18n of login/index view 2016-11-10 15:06:52 +01:00
Carl Chenet 63a7c3402d fix variable length 2016-11-10 15:06:23 +01:00
Carl Chenet 26d909e58f i18n of stories/edit 2016-11-10 12:10:21 +01:00
Carl Chenet ef03140149 i18n of stories/listdetail view 2016-11-10 11:47:41 +01:00
Carl Chenet 588ab40e7d i18n of comment/_comment view 2016-11-09 17:25:40 +01:00
Carl Chenet 3e3ef423f2 i18n of comments/_commentbox 2016-11-09 16:10:40 +01:00
Carl Chenet 06c58f136b i18n of stories/_form view 2016-11-09 15:50:22 +01:00
Carl Chenet c751792f9f i18n of stories/new view 2016-11-09 11:36:01 +01:00
Carl Chenet b2cbdf4521 i18n of search view 2016-11-09 11:24:21 +01:00
Carl Chenet 5b86bab8ce i18n of home view 2016-11-09 10:35:47 +01:00
Carl Chenet dd255f15be i18n of filters view 2016-11-08 17:46:43 +01:00
Carl Chenet cee4920216 Merge branch 'lobsters313' 2016-11-08 16:09:17 +01:00
joshua stein 335e1fd0c4 User: experiment with a minimum karma required to downvote comments 2016-11-03 16:20:39 -05:00
joshua stein de4df43c7c not using tor anymore, add some more bot UAs 2016-11-03 16:19:39 -05:00
Peter Bhat Harkins d8e31fb000 Auto-tag Twitch as video (#324) 2016-10-31 14:30:42 -05:00
joshua stein ef0601f65b remove comment downvoting 2016-10-30 13:10:49 -05:00
joshua stein cf6ac62827 decrement traffic faster 2016-10-30 13:10:29 -05:00
joshua stein 5c2437d645 css: bump up font sizes a hair 2016-09-22 13:36:26 -05:00
joshua stein 955c52b5bb clamp pagination
avoids a sql error when trying to offset a huge number
2016-08-19 00:00:18 -05:00
joshua stein b5f6ab36a8 don't count deleted comments towards user's comment count 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
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 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 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 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
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 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 98ab3796b3 add simple @titles for about, chat, privacy 2016-05-02 17:56:16 -05: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 b886ea1413 Clean up mysqlism (booleans are also usable as int(1)) (#285)
Clean up mysqlism (booleans are also usable as int(1))
2016-04-23 21:20:10 -04:00
Peter Bhat Harkins 540095667b Use asset_path in select2 image URLs 2016-04-15 21:34:14 -05:00
joshua stein 0e90347956 stories: include url to big icon in twitter card 2016-04-14 11:18:44 -05:00
joshua stein f05cb03b0c Merge pull request #283 from pushcx/chat-default
Don't 500 if someone hasn't added a chat template
2016-04-13 10:00:30 -05:00
Peter Bhat Harkins 01f1a71a18 Remove unused assets 2016-04-13 09:10:06 -05:00
Peter Bhat Harkins bfe7a67156 Don't 500 if someone hasn't added a chat template 2016-04-12 21:34:04 -05:00
joshua stein 239379ea51 shrink TRAFFIC_DECREMENTER 2016-04-12 11:49:36 -05:00
joshua stein 94ce8cbcc0 clarify hat rules 2016-04-12 11:49:10 -05:00
joshua stein a7d426581d Story: shrink hotness window to 22 hours 2016-04-12 11:48:47 -05:00
joshua stein 3b14a9ba54 hats: sort hat groups without case sensitivity 2016-04-06 19:20:25 -05:00
joshua stein a694b2a499 css: nowrap on hats, splitting/wrapping them looks very weird 2016-04-06 19:15:45 -05:00
joshua stein 92117e9947 hats: clear button 2016-04-06 19:15:31 -05:00
joshua stein 2e1f8d9f33 hats: don't require a logged-in user to browse hats
closes #282
2016-04-06 15:23:22 -05:00
joshua stein 1fb6eb6eb2 drop SUGGESTION_QUORUM to 2 2016-04-06 13:22:46 -05:00
joshua stein d88b03b4b3 add some more bot UAs 2016-04-06 13:22:37 -05:00
joshua stein a5928b675d implement hats list and request/approval system
closes #281
2016-04-06 13:19:46 -05:00
joshua stein e3750172c6 Revert "Prettier messaging"
This reverts commit c6d6413ff7.

I don't really like this.
2016-04-05 19:31:13 -05:00
wally fa39374d30 Fixes #272. Add runSelect2 method to call after previewStory.
The select2 code failed to run after previewing a story
submission. This fix creates a new method that can be called upon
completion of the previewStory load() call.
2016-04-05 16:10:31 -04:00
crertel c6d6413ff7 Prettier messaging
Put compose message at the top
2016-04-01 21:20:21 -05:00
joshua stein 8a62b530aa apply a basic style to #l_holder
lobste.rs is overriding this in local.css but at least other sites
can get a basic thing there.

mention in README that local css should go into a directory.
2016-03-31 14:24:57 -05:00
joshua stein c77f1d7269 rm a css file that was only for the fake hn interface years ago 2016-03-29 09:44:15 -05:00
joshua stein e85afa2425 StoryRepository: simplify 2016-03-28 17:14:55 -05:00
joshua stein 437124da4e StoryRepository: make positive_ranked honest 2016-03-28 17:14:43 -05:00
joshua stein 7b5aad85d6 css: move some lobsters-specific things to local 2016-03-24 15:13:50 -05:00
joshua stein d9ff6eb188 bring in stylesheets/local/* which are ignored in git 2016-03-24 15:08:10 -05:00
joshua stein 41ba0b20dd Hat: add css class of hat_(actual_hat_name) 2016-03-24 14:58:06 -05:00
joshua stein 84394c5de6 when comments are -1, just collapse them
avoids piling on and engaging with trolls
2016-03-24 13:55:25 -05:00
joshua stein d54427df21 make 'link' on comments use very short url 2016-03-24 13:19:26 -05:00
joshua stein e515caaea1 don't increase traffic for tor users 2016-03-22 14:07:39 -05:00
joshua stein bd1ffe171b settings: link to /threads, put delete at bottom, fix typo 2016-03-09 10:00:14 -06:00
joshua stein 2e1cf36ee0 css: apparently safari still doesn't support min-resolution
add webkit-specific thing to show high-res L logo

closes #267
2016-03-02 09:41:52 -06:00
joshua stein 192a6c8a02 give up on "discuss"
closes issue #265
2016-02-21 09:43:17 -06:00