Commit graph

431 commits

Author SHA1 Message Date
Carl Chenet 0636e4abe5 i18n of invitation email. fixes #23 2016-11-26 12:46:27 +01:00
Carl Chenet 4b497e8652 i18n of invitation request public webpage 2016-11-24 17:55:26 +01:00
Carl Chenet 695adad2c3 translate title of tag page. fixes #9 2016-11-24 15:14:36 +01:00
Carl Chenet 58ddd6cc27 Fix missing translation for markdown. fixes #11 2016-11-24 14:45:39 +01:00
Carl Chenet 8ad2ab80da fix missing translation. fixes #27 2016-11-24 11:20:51 +01:00
Carl Chenet 63a2e0ab6b set traffic bubble on the main logo.fixes #28 2016-11-24 11:14:12 +01:00
Carl Chenet 519a89230a i18n of current traffic. fixes #29 2016-11-22 17:53:11 +01:00
Carl Chenet fac9efc706 translate suggest view and controller. fixes #6 2016-11-21 11:59:38 +01:00
Carl Chenet 1650a91851 translate possible uses of markdown. fixes #5 2016-11-18 16:05:51 +01:00
Carl Chenet 1bb466c4d9 add link to the logo 2016-11-17 16:08:02 +01:00
Carl Chenet ba3af3df0b add links for blog, twitter and d* 2016-11-17 15:48:20 +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
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 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 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 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 884208a7b7 fix hat request link from locale fallout 2016-06-10 16:35:24 -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 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 aa0ffeb37b Allow admin/moderator to disable user from inviting 2016-05-16 02:40:46 +08: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 94ce8cbcc0 clarify hat rules 2016-04-12 11:49:10 -05:00
joshua stein 3b14a9ba54 hats: sort hat groups without case sensitivity 2016-04-06 19:20:25 -05:00
joshua stein 92117e9947 hats: clear button 2016-04-06 19:15:31 -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
crertel c6d6413ff7 Prettier messaging
Put compose message at the top
2016-04-01 21:20:21 -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 bd1ffe171b settings: link to /threads, put delete at bottom, fix typo 2016-03-09 10:00:14 -06:00
joshua stein 192a6c8a02 give up on "discuss"
closes issue #265
2016-02-21 09:43:17 -06:00
joshua stein 869f83e285 fix @user vs @showing_user in unban section 2016-02-11 09:59:05 -06:00
joshua stein d66648ff68 moderations: show comment username to avoid a click through 2016-02-10 16:11:34 -06:00
joshua stein 28bbc9c8f7 moderators have to provide a reason for deleting others' comments 2016-02-10 08:57:38 -06:00
joshua stein 3afe1538f8 stories: show archive link to archive.is 2016-02-10 08:39:42 -06:00
joshua stein e0b7c25758 comments: show usernames in vote summaries to moderators 2016-02-10 08:38:28 -06:00
joshua stein 61b08c7dee story list detail: flip flop again, show 'no comments' for non-users
I've changed this a few times because I didn't want to show
"discuss" to non-users, but they at least need a link to the story
to copy, so show a link with "no comments" to them.
2016-02-02 11:56:10 -06:00
joshua stein 0ec9c3a2ac turn on avatars by default 2016-01-21 11:59:06 -06:00
joshua stein 9e238647e0 print any meta tags in @meta_tags in layout, add twitter ones for story pages 2015-12-31 09:13:34 -06:00
joshua stein ec92478bc9 use time_ago_in_words_label to show missing 'ago' part
pr #252
2015-12-16 12:36:23 -06:00
joshua stein de176d80dd story tags: sort by exact tag matches first, then description matches
select2 has sortResults in newer versions but so much crap changed
there that it's easier to just hack in support for this here

fixes #251
2015-12-14 10:44:28 -06:00
joshua stein b21f96cb1a story submission: make tag select box match tag description too
fixes #247
2015-12-09 11:51:15 -06:00
joshua stein 850131873b link to /chat when talking about requesting invites
issue #244
2015-12-07 13:17:11 -06:00
joshua stein 6b636ac8c5 add setting to show threads on a user's submitted stories in 'Your Threads'
closes #231
2015-12-07 12:27:09 -06:00
joshua stein c05f526a57 make story description icon a link to the story page, revert c1d1a44472
i don't like showing "discuss" to logged out users, and now that we
have a story description icon that can link to the story text, back
out the change that made logged out users see discuss when they
can't discuss it.
2015-12-02 13:46:19 -06:00
joshua stein 77e2000cb3 comment: put merge icon before avatar 2015-11-18 11:35:34 -06:00
joshua stein ee363e3635 filters: link to /tags 2015-11-13 15:53:38 -06:00
joshua stein 80311fa978 message view: fix double 'ago' 2015-11-13 15:53:22 -06:00
Andrew Gwozdziewycz 760e2a3f36 Update by line for non-authored submissions.
- Use 'via' for credit instead of 'by', which implies creation.
2015-11-13 01:28:32 -08:00
joshua stein 09fd14dd93 add a tag cloud thingy
closes #236
2015-11-09 09:52:32 -06:00
David Stygstra c1d1a44472 Show comments link even if there are no comments
For stories with both text and a link that have no comments, the only
way to view the text is to either log in (no account :( ) or view the
page source and find the story ID. This commit fixes that by always
showing the comments link.
2015-11-08 12:23:52 -05:00
joshua stein e4a23f74ca change character for additional story text, add tip text 2015-11-06 08:56:28 -06:00
joshua stein 6bebed996e make description present character an actual html entity
issue #227
2015-11-05 11:58:34 -06:00
joshua stein 9d79f2c76b include both urls in srcset, use 1x/2x instead of image width
seems to work better in firefox
2015-11-05 11:58:34 -06:00
joshua stein 72fc702abe Merge pull request #227 from pushcx/patch-1
Indicate if a story has a description
2015-11-05 11:50:15 -06:00
Peter Harkins f1f09face1 move before tags, use different symbol
Pilcrow is ugly. Alternates: *, †, ‡, §
2015-11-04 10:52:27 -06:00
joshua stein 1e6b892005 show hidpi images for avatars, site load icon, and favicon 2015-11-01 19:56:30 -06:00
joshua stein d4f375ce11 story submission bookmarklet: open to lobste.rs in a new tab 2015-10-24 18:25:07 -05:00
Peter Harkins d95619ce69 I meant markeddown_description 2015-10-20 07:57:50 -05:00
joshua stein 73342e7d45 settings: pushover has used subscriptions for a while, not a manual key 2015-10-19 19:13:34 -05:00
joshua stein a337ee850e take suggestions on moderator stories, just not those with privileged tags
also allow moderators to make tag suggestions, we're people too
2015-10-17 10:38:48 -05:00
joshua stein 800aea1ca9 always show downvote summary if score is <= 0, else it's confusing
improves on 9c40023
2015-10-16 17:03:54 -05:00
joshua stein 14bf26f339 for story comments by author of story, color blue as well 2015-10-16 13:08:05 -05:00
joshua stein 3439b93b12 when editing a story, show suggested titles and tags 2015-10-15 10:23:25 -05:00
joshua stein e3c881b81a implement automatic tag changing in response to user suggestions
Right now it's just a simple check for SUGGESTION_QUORUM (currently
4) number of users agreeing on a set of new tags.

Log a moderation to the story submitter when this happens, and allow
moderations to be done by a non-specific user.

Issue #207
2015-10-15 10:04:23 -05:00
joshua stein 2ca2c94ef6 allow messages to come from system instead of a user 2015-10-15 10:01:42 -05:00
joshua stein 7974ab4090 don't take suggestions on moderator stories
This should probably only apply to stories with restricted tags,
though.
2015-10-15 09:38:26 -05:00
joshua stein e940601a2f start on automated story title and tagging suggestions
Rather than keep "poorly titled" and "poorly tagged" as reasons for
flagging, make the user do the work of suggesting new ones.

At some point, suggested taggings will flip to real taggings once
they reach a certain count (to be determined later).  This also has
to take into account tagging sets that don't contain current tags,
for when they need to be removed.

For titles, I'm not yet sure how to handle this in an automated
fashion except for the (probably rare) case of multiple users
submitting the same exact thing, but at least collect them for now.

Issue #207
2015-10-14 20:32:24 -05:00
joshua stein 1c789fbae0 add /chat page 2015-10-11 13:04:16 -05:00
Peter Harkins df96fd8a0f Indicate if a story has a description
To encourage folks to write story descriptions on links, let's mark stories with descriptions so that folks know to click through.

The pilcrow is a little visually heavy, but it seemed better than an arbitrary symbol.
2015-10-03 08:41:25 -05:00