Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60642 articles
Browse latest View live

Transifex integration progress

$
0
0

Neil wrote:

Progress on integrating with Transifex today!

All config/locales/client.*.yml and config/locales/server.*.yml files are now in sync between Transifex and the Discourse repo. So now everyone can work on translations at Transifex and we can pull them in without the need for pull requests.

https://www.transifex.com/projects/p/discourse-pt-br/

There's still some work to do, and some issues are bound to come up, but this is the way to a less painful process to get Discourse localized and keep it up-to-date.

Next Steps

I'll write a script to help do the pulling. It needs these things:

  • Transifex's "download for use" files remove all comments. Add the comment at the top of every file, as a minimum. I'll open a support ticket with Transifex to see if there's a way to keep the comments instead.
  • Rename the root elements of the fr, es, ko, and pt files. On Transifex, they are fr_FR, es_ES, ko_KR, and pt_PT, and that's what Transifex sends back as the root element in the yml, which breaks things. I18n in Rails doesn't recognize those as valid locales.

Files to add to Transifex next:

  • yml files in plugins/poll/config/locales
  • yml files in vendor/gems/discourse_imgur/locale

Files to sync with Transifex and start pulling:

  • all public/*.html

To investigate:

  • html.erb files in app/views/static. Transifex treats .html.erb files as html, breaking the erb. Maybe we won't integrate these files with Transifex at all. They very rarely change.

Posts: 8

Participants: 4

Read full topic


Debugging reply-by email?

$
0
0

Victor Ng wrote:

Is there a way to properly debug reply-by email?

I've got my reply-by email address set to: vasectomydiscourse+%{reply_key}@gmail.com

but I don't seem to see replies coming into my server.

I'm not familiar with how any of the queueing or event handling works in Discourse, so I'm pretty sure this is going to be easy, but I don't know where to start. The logs in the admin page don't show anything that looks useful. Is there anywhere else I can look?

Posts: 14

Participants: 4

Read full topic

Validation emails still say example.com

POP3 polling stopped? How to verify and resolve?

$
0
0

Michael Downey wrote:

Hi there. It seems like POP3 polling has stopped for some reason -- e-mails in my designated mail account are not being read/processed/deleted. Is there any way I can verify this? There's nothing in the "Logs" section of the admin UI to look at. Finally, how does one go about getting it going again?

FWIW, I'm using the Docker-on-DigitalOcean install.

Thanks in advance!

Posts: 25

Participants: 7

Read full topic

Flagged PMs send Notification to Mods but can't be found

$
0
0

Mittineague wrote:

Continuing the discussion from No notifcation on @mention in a private message when set to tracking:

While testing our new forum @ralphm Flagged a PM
I saw Notification, but could find no sign of them anywhere, neither Admin -> Flags Old or New, nor Admin -> Logs -> Staff Actions

Posts: 9

Participants: 3

Read full topic

Email Configuration through the web

$
0
0

tehMati wrote:

I was playing around with a self-hosted model, and While I was arguing with the email configuration, I repeatedly wished that these were settings I could change in the admin interface. Having to repeatedly make edits to my docker container was a massive pain. I'm not sure how feasible this is, as I don't know much about how the architecture works, but being able to alter these settings on the fly would be a huge plus, especially for troubleshooting.

Also, on that subject, I had to google extensively in order to manually promote my first user to admin, because I wasn't able to get the email working at the outset. It'd be pretty nice to have some defaults enabled, so that discourse could be up and configurable while troubleshooting.

Just providing my thoughts from first-time setup. With any luck, this will turn out super-useful.

Posts: 3

Participants: 3

Read full topic

Some code cleanup with post serialziation

$
0
0

Kane York wrote:

This topic is problems that I found in my initial foray into the code trying to start on a "Download archive of my posts" implementation.


In PostStreamSerializerMixin#posts, p.topic is assigned after the PostSerializer is created, and I don't see a topic: attribute used nor delivered inside the PostSerializer.

In PostStreamSerializerMixin#posts, the highest post number is calculated, but never used.

In PostStreamSerializerMixin#posts, object.posts.each_with_index is called, but idx is never used.


(To follow along here, paste the content of https://meta.discourse.org/t/welcome-to-meta-discourse-org/1.json here: http://jsonprettyprint.com/)

In the output of PostSerializer, the following construct is repeated several times:

          {
            "id": 4,
            "count": 0,
            "hidden": false,
            "can_act": true,
            "can_clear_flags": false
          },

I don't really see the need for all this repetition.
Additionally, the fairly small content of the actual users who liked a post is hidden behind a network round-trip: https://meta.discourse.org/post_actions/users.json?id=48940&post_action_type_id=2
Even the extreme case isn't really that big: https://meta.discourse.org/post_actions/users.json?id=1&post_action_type_id=2

I can see a case for both including the post action user list in the serialized post, and for slimming down the action_summary object. That would need some work on both sides to make sure that the client can still render it all.

A refactor of this code is needed anyway if the desired "500 incoming visits from buzzfeed.com" is to be implemented.


Posts: 1

Participants: 1

Read full topic

Trust level security groups don't include higher levels

$
0
0

Kane York wrote:

Reproduction:

  • Create a new Discourse instance
  • Create a new, non-admin user, and assign them Trust Level 4
  • Log in as that user - they cannot see the [Lounge] category

Or:

  • Create a new category accessible to trust_level_2
  • Assign someone Trust Level 3 or 4
  • Log in as that user - they cannot access that category

[SEE ALSO: https://meta.discourse.org/t/a-post-in-category-definition-for-howto-requires-moderator-attention/14030 @codinghorror ]





I suggest that the current TL groups are changed to mean "that trust level and any above it", as right now the category permissions are one-dimensional (Create/Reply/See), and it doesn't make sense for someone to lose privileges through some mistake of the forum admins as they advance in rank.

Posts: 3

Participants: 2

Read full topic


Text runs together when linked post contains a link

Chinese translations with counts

$
0
0

Neil wrote:

Continuing the discussion from German Translation Sync between GH and Transifex:

I see your problem now. In our client.zh_TW.yml file, we have translations for things like less_than_x_seconds:

    dates:
      tiny:
        half_a_minute: "< 1 分鐘"
        less_than_x_seconds:
          one:   "< 1 秒鐘"
          other: "< %{count} 秒鐘"

But they're missing from Transifex.

So I tried pushing our client.zh_TW.yml file to Transifex, which was successful, but those translations are still missing.

@samuelchan22 Any idea what's wrong?

EDIT: It seems like Transifex has these translations, but isn't displaying them. I pushed them, and when I pull from Transifex, they come back.

Posts: 13

Participants: 4

Read full topic

Installation on AWS using RDS

$
0
0

Yavor Atanasov wrote:

Hey guys,

I've been looking at different topics here and your docs on github, but I can't seem to find any details on running Discourse on AWS using RDS. I can see you have a "recommended" and pretty straight forward way of running Discourse with Docker and there are community AMIs as well. I am not particularly worried about how the application itself will be running, whether in a container of some sort (docker) or directly on the host. I am more worried about resilience and scalability - I'd like to run the app on stateless EC2 instances within an Autoscaling group and persisting in RDS (as PostgreSQL is supported now). Persisting on locally running PostgreSQL is flakey as instances come and go (we have Chaos Monkey killing them at random as well) and it does not scale.

Do you have an updated view or recommendation on how to go about installing Discourse on AWS using RDS?

Obviously, if there is not an answer to this, I will contribute here as part of my installation journey to achieve the setup we require.

Posts: 3

Participants: 2

Read full topic

WordPress Plugin Question - Widget for Home Page?

$
0
0

Briancguy wrote:

Hi,
Does the current WordPress plugin offer the ability to show on the home page of my site the most recent posts in our Discourse plugin? Is there an easy way to do this - similar to how we have a Twitter widget that shows the most recent X number of posts we've done in Twitter?

Posts: 8

Participants: 4

Read full topic

Unable to SSH into Docker container

$
0
0

James Potter wrote:

First I couldn't get SSL working, so I've been trying to SSH into my container for some debugging. But that's not working either despite messing around with a few different methods.

When I run ./launcher ssh app it does nothing and times out after a few minutes. Same if I SSH in manually with ssh -p 2222 root@localhost -v (it gets to the key exchange and sits there, then eventually times out).

I'm starting to suspect that there's some root cause of all this. If I run ./launcher logs app I get this, ad infinitum:

./run: line 4: exec: rsyslogd: not found
./run: line 4: exec: rsyslogd: not found
./run: line 4: exec: rsyslogd: not found
./run: line 4: exec: rsyslogd: not found
./run: line 4: exec: rsyslogd: not found

Anyone know what's up? I followed the Docker install guide to the letter and I'm running in a Digital Ocean droplet.

Posts: 12

Participants: 3

Read full topic

Changing unconfigured email in an existing install?

$
0
0

dFuup wrote:

Hi,
i have a discourse server that i didnt install myself. i can see in /admin/email that it is not configured.
i want to change the smtp server and port.
How can i do ? i cant from the web UI ?
i can connect with ssh to edit files, but I see in the forum sometimes discourse.conf, sometimes app.yml (which i havent). I changed discourse.conf and restart but nothing change.

regards,
dFuup

Posts: 2

Participants: 2

Read full topic

Sidebar links are created to PMs

$
0
0

Kane York wrote:

Continuing the discussion from Trust level security groups don't include higher levels:

I linked to a PM in my post, and it shows up on the sidebar:

I thought those links weren't supposed to be generated if the target post couldn't be seen for someone who could see the original.

Posts: 3

Participants: 2

Read full topic


Discourse Architecture Description - Hendlebars?

$
0
0

Yourbuddyconner wrote:

I'm on a team of CS students working on implementing the post archive feature on Discourse. However, we're having difficulty grasping exactly how Discourse is set up because it's not your traditional Rails application.

We're most confused about where the handlebars templates get called to be rendered. We realize that they need to be called with context in order to have the handlebars code executed, but it's unclear exactly where that context is coming from. Is any of this documented? If not, can anyone help explain what's going on?

Posts: 3

Participants: 3

Read full topic

How to build a community?

$
0
0

Graeme Stuart wrote:

Hi,

I have a very small discourse forum (forum.smartspaces.dmu.ac.uk) that I set up in January as part of an energy saving project in Leicester in the UK. The project is a collaboration between the City Council and my University and involves 25 public buildings around the city (a pool of thousands of potential users). The forum is intended as a tool for building a community of like-minded people who work in or with these buildings.

We have already gathered a small group. After nearly three months there are now about 20 users registered, including some key people such as the energy managers and people directly working in sustainability but also some early adopters from buildings where there is already strong awareness of energy issues. About half of the users are actually directly involved in the project and half have joined based on our efforts so far. I have spoken to some users who are very comfortable with the concept of a forum but others who were sceptical at first and had to be 'encouraged' to contribute (and are now posting independently).

What I want to know is, how do I build a community around this small core? How do I keep the existing users engaged in the forum whilst also attracting new users? How do I support the disparate individuals and groups scattered amongst the thousands of building users to coalesce into a community around the forum? Importantly, how do I reach out to building users who may not be used to the concept of an online forum? The target audience don't know they need a forum yet (I am certain some of them do need one). Many potential users will never have used one before and those who have may have prejudices based on their experiences.

An empty site is not very interesting so its obvious that in these early stages I need to seed the site with as many interesting discussions as possible. I have done a bit of this but I had to slow down because the site was just me talking to myself. I think this was enough to demonstrate the functionality of the tools to my colleagues and it did start a few short conversations.

We are now at the stage where we have half a dozen users who regularly post and create topics. But, just as the earliest posts were all me, it is beginning to feel like everything is a conversation between the same individuals. This may mean we are talking about a very limited range of subjects and I am worried this may put new user off. We are mostly energy geeks and professionals, we want to attract normal people.

I think we need a critical mass of users if the forum is to become a valuable resource for a wider user base. Is there any target size I should be aiming for? I have a target of 50 active users in the next few months. I also think that attracting the right kind of users and the right mix of users is important. I want a range of perspectives from senior managers, financial people, energy experts (covered), security guards, cleaners, sceptics, obsessives and people who can link out via twitter or wherever to lots of potential users. People who are going to start good topics and have different opinions. This is difficult when the number of users is so small and becomes easier with more users.

Does anyone have any advice or want to share their experiences? Is meta the right place for this discussion? Its not the usual feature request or bug report.

Posts: 9

Participants: 8

Read full topic

Error connecting?

Chinese search issues

$
0
0

Leung Aaron wrote:

Now the Chinese search function fails to work completely. I had tested from a previous built from Bitnami, and the search works well, but now in the 0.9.8.5 and even the 0.9.8.7 version, it is completely broken , and I could just only search by english keywords.

There is also one issue that I am very concerned about : Will there be compatibility problems if I backup from an older version, than restore to a newer version? I tried to restore from a 0.9.8.5 backup file after upgraded to 0.9.8.7 , but it seems to fail to restore successfully.

Please have a look in these matters, thanks!

Posts: 25

Participants: 7

Read full topic

Master branch on GitHub: stable/in development?

Viewing all 60642 articles
Browse latest View live




Latest Images