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

What does the logging to production.log and production_errors.log?

$
0
0

Caleb Richard wrote:

I'm looking for the code involved in discourse's logging functionality. I'd like to hook into it in order to modify it. What logs to production.log? If it helps, my eventual goal is to log to syslog.

Thank you,
Caleb Richard

Posts: 1

Participants: 1

Read full topic


Restrict Google OAuth2 to a domain

$
0
0

Tiago Cruz wrote:

Hello guys!

I'm using Google OAuth2 integration, and it's working very well, but Is possible to restrict only google users from "mydomain.com" instead of all users from universe? smile

Thanks a lot!

Posts: 1

Participants: 1

Read full topic

Docker/Discourse upgrade issues

$
0
0

Perseo wrote:

After an update of Docker and Discourse, I have begun to present some problems since currently my forum looks like this:

Screenshot

I have cleared my browser cache, I have done what is indicated in these thread: Empty site after 0.9.9.13 upgrade and honestly I have no idea what has happened by which offer all possible information.

(I am going to divide the topic into 2 parts by the limitations to add more than 2 links)

Posts: 13

Participants: 3

Read full topic

Why isn't Hebrew usernames allowed?

$
0
0

Microssoft wrote:

I see that one cant create a Hebrew username, i understand that at some sites this would be confusing, but is there anyway if the site is only for Hebrew speakers, is there any problem to allow it?

Coming form phpBB where Hebrew usernames are allowed...

Posts: 5

Participants: 4

Read full topic

Once you switch to desktop view on mobile there is no way to switch back

$
0
0

Sam Saffron wrote:

Once you click on the "Desktop view" on mobile the menu is no longer accessible in both landscape and portrait on an iPhone 5

We need a way to switch back if people click it by mistake for v1.

cc @awesomerobot

Posts: 1

Participants: 1

Read full topic

How to make ALL new messages queue to Unread tab of a particular moderator?

$
0
0

Anton wrote:

Some moderators I want to review and edit ALL messages.
How to have such a queue for ALL messages that they haven't reviewed yet?

Posts: 1

Participants: 1

Read full topic

‘Operation not permitted’ messages when updating Discourse via admin/docker

$
0
0

Mark Kraakman wrote:

Hi,

New install of docker + discourse.
When using admin/docker and clicking "Upgrade to the Latest Version" the following errors show up:

error: unable to unlink old 'lib/validators/upload_validator.rb' (Operation not permitted)
error: unable to unlink old 'lib/validators/username_setting_validator.rb' (Operation not permitted)
error: unable to unlink old 'lib/version.rb' (Operation not permitted)
warning: unable to unlink log: Operation not permitted
fatal: cannot create directory at 'log': Operation not permitted

Full version: http://pastebin.com/Kf4zwbyP

Installation manual used: https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md
The only difference is: It's not on DO but on a VPS of my own.

Permissions:

root@server2:/var/docker# ls -all
total 72
drwxrwxr-x 11 root root  4096 Jul 28 17:05 .
drwxr-xr-x 14 root root  4096 Jul 28 17:05 ..
drwxrwxr-x  2 root root  4096 Jul 28 17:05 bin
drwxrwxr-x  2 root root  4096 Jul 29 08:24 cids
drwxrwxr-x  2 root root  4096 Jul 29 08:29 containers
drwxrwxr-x  8 root root  4096 Jul 28 17:05 .git
-rw-rw-r--  1 root root    63 Jul 28 17:05 .gitignore
drwxrwxr-x  9 root root  4096 Jul 28 17:05 image
-rwxrwxr-x  1 root root 12529 Jul 28 17:05 launcher
-rw-rw-r--  1 root root  7765 Jul 28 17:05 README.md
drwxrwxr-x  2 root root  4096 Jul 28 17:05 samples
drwxrwxr-x  2 root root  4096 Jul 28 17:05 scripts
drwxrwxr-x  3 root root  4096 Jul 28 17:52 shared
drwxrwxr-x  2 root root  4096 Jul 28 17:05 templates

docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): d84a070
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): d84a070

docker info
Containers: 4
Images: 16
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Dirs: 24
Execution Driver: native-0.2
Kernel Version: 3.2.0-63-generic

Any help appreciated!

Posts: 1

Participants: 1

Read full topic

Posts in the flagged posts page don't link to the posts concerned

$
0
0

PJH wrote:

I'm sure, previously, clicking the title of the post on the flags page took you to the post being flagged - at the moment it's simply linking to the topic (i.e. the post is missing from the URL):

Mouse was over the Google Safe Search is a barrier to ornithology -> Beer discussion -> Tea Discussion link at the top.

I'd fully expect that link to go to (in this instance) http://what.thedailywtf.com/t/google-safe-search-is-a-barrier-to-ornithology-beer-discussion-tea-discussion/1572/129 to save me having to search the whole thread for the post.

Posts: 3

Participants: 2

Read full topic


Let's sort out singular vs plural for Russian (and actually all the other languages)

$
0
0

Anton wrote:

Dear developers,

Could we please sort out this once and for all,
so we could carry proper translation for Russian language.

The problem here is that there are 3 modifications in Russian language. Examples below are for the translation of the Topic term.

A. 1, 21, 31, 41, 51, 61, ... ... тема (the suffix is a)

B. 2, 3, 4, [22, 23, 24], [32, 33, 34], [42, 43, 44]... темы (the suffix is ы)

C. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, [25, 26, 27, 28, 29, 30], [35, 36, 37, 38, 39, 40], [45, 46, 47, 48, 49, 50]... тем (no suffix)

I have seen in Transifex there are 3 translation options for plurals: one, few and many.
Are they all in use?

If yes, then we probably could assign one -> A, few -> B and many -> C.
However, it will be confusing for translators because one is actually one, while the case A includes all numbers with the last digit = 1 (except 11).

NB. If we solve this, it will also apply to Ukrainian language.

The proper solution could be the following:

Allow for a custom function to be specified in the translation YML file.
That function should return a key that should be used.
Then we will name keys accordingly for Russian translators, for example:

  • 1_or_21
  • 2_or_22
  • 5_or_55

That will make it very clear for any translator, because all they'll have to do is to use some %{count} keeping in mind that its possible values are 1 or 21, 2 or 22, and 5 or 55.

We can avoid input of functions by allowing keys to be calculated by simple boolean/mathematical expressions in YML file, for example:

plural_keys:
  1_or_21: n==1 || (n > 20 &&  n % 10 == 1)
  2_or_22: n == 2 || n == 3 || n == 4 ||   (n > 20 &&  (n % 10 == 2 || n % 10 == 3 || n % 10 == 4) )
  5_or_55: default

This could well solve possible problems with other languages. Especially the number of keys needed and the intuitiveness of their names. Just define your language-dependent keys and use them through translation. It seems as boolean+math definitions are more than enough to describe any possible case.

I am also aware of the post below, and some cases in that thread would greatly become much simpler with what I proposed above.

Posts: 2

Participants: 1

Read full topic

JS-less user interface

$
0
0

heinrich5991 wrote:

Has it been considered to show a more user-friendly UX to people without JS?
I'm mainly talking about the most basic features of a forum, such as registering, logging in and posting, all of which seem to be impossible as of now.

Posts: 17

Participants: 8

Read full topic

Feature, bring me to where I was

$
0
0

Roderick Vincent wrote:

It would be better if Discourse could remember where I am when clicking a topic and could bring me back exactly where I was instead of the top of the page after I click "back" in the browser

Posts: 9

Participants: 5

Read full topic

Routes and ember app serving

$
0
0

Hugo Almeida wrote:

I'm trying to understand the discourse inner working of serving the ember app while keeping the routes.

So lets say we're accessing a topic for the first time with a link for example https://meta.discourse.org/t/welcome-to-meta-discourse-org/1

My understanding is:

Now, here is where i stop understanding, could you point me to the places where the action is happening?

My guess is after, or while the page loads, ember bootstraps, and either detects the html present and renders accordingly or it looks at the url and load the route for it.

Does it look at the html rendered in the <noscript> tags?

I would like to understand better how ember app takes control of the process after the rendering. I see no {{outlets}} or simple stuff.

Posts: 4

Participants: 2

Read full topic

Discourse as a comments engine - linking imported blog posts to existing discourse topics?

$
0
0

Thomas Wilson wrote:

I'm in the process of porting over my old site to a combination of ghost (for news) and discourse (for our forums). I'd like to use discourse as the comments engine for ghost (similar to the current set up), but want to understand exactly how the embedded javascript works.

If I have my news topics already imported to discourse (complete with comments), how can I ensure my ghost blog picks up the correct topic from discourse (we run a separate import script for ghost)? Is there a specific field I need to keep synchronised between the two systems?

I assume there's a field (probably the blog post's URL?) I can set in the discourse site's database to indicate if a given post is a companion topic? I'd like to avoid thousands of duplicate topics if possible smile.

Thanks!

Posts: 1

Participants: 1

Read full topic

I can't get the emoji images to display in my Discourse site

$
0
0

Ben M wrote:

I'm hosting my own Discourse server and have everything working except I get the browser's placeholder rectangle when the Emoji images should be. The URLs in the browser look like

<img src="http://10.164.191.59:3000/plugins/emoji/images/smile.png" title=":smile:" class="emoji" alt="smile" width="20" height="20">

The emoji images are only to be found in the plugins/emoji/public/images directory in my Discourse directory. Should they somehow have been copied to plugins/emoji/assets/images (which is where the JS and CSS are)?

I'm running in development mode on version 0.9.9.14 of Discourse on Ubuntu 13.10.

Posts: 9

Participants: 3

Read full topic

Topic Templates

$
0
0

InsaneMosquito wrote:

Before I describe what I'm seeking, I wasn't sure if this should be a feature request or a plugin request. If I've classified it incorrectly, please let me know.

Problem: Discussion boards often have topics that follow a standard form. It would be easier for users if this form could be associated with a category so that when they attempt to make a topic in that category, the basic layout appears in the text box.

Use Case 1: Technical Support Form
Basic information is generally required when troubleshooting a technical issue.

  • Operating System
  • Browser and browser version
  • Plugin version
  • etc

Use Case 2: Feature requests smile
A standard feature request makes browsing through new requests easier. It can quickly bullet a list of items explaining what is needed, why it's needed and provide possible use cases.

  • Problem trying to solve
  • Use cases
  • Brief explanation of why this would help

Use Case 3: Gaming community player report
In gaming communities, it is common to have users report other users for (perceived) rule violations on the game servers. To effectively follow up on these the administrators usually need common data.

  • Unique ID of offending player (name, steam id, minecraft name, etc)
  • Time of incident (useful to check logs)
  • Violation
  • Other players that saw the incident

Use Case 4: Buy/Sell/Trading request
On sites that facilitate informal buying/selling/trading of items, it is helpful to have a similar layout for each listing.

  • Buy/Sell/Trade
  • Item name
  • Description
  • Price/Looking for
  • Payment method desired

How this would help: In many forms, if an area is expected to confirm to a standard format, the user has two options. The first is to risk it and just post their problem. This generally results in a user being pointed to an announcement thread with the form to fill out and being told to edit or repost. The second option is to follow those instructions by copying and pasting the form into a new topic and then filling it out. Both of these actions require the user to search out the form template before they will be helped.

By providing a means for the site administrators to define a form to be associated with new topics in a category, the user doesn't have to take the step of copying/pasting the form. It is provided for them.

Posts: 14

Participants: 8

Read full topic


Discourse failing to bootstrap

$
0
0

Tanner Filip wrote:

I'm trying to bootstrap Discourse, and it throws this error:

/pups/lib/pups/exec_command.rb:85:in `spawn': cd /var/www/discourse && sudo -E -u discourse bundle exec rake db:migrate failed with return #<Process::Status: pid 185 exit 1> (RuntimeError)
    from /pups/lib/pups/exec_command.rb:55:in `block in run'
    from /pups/lib/pups/exec_command.rb:53:in `each'
    from /pups/lib/pups/exec_command.rb:53:in `run'
    from /pups/lib/pups/command.rb:6:in `run'
    from /pups/lib/pups/config.rb:85:in `block (2 levels) in run_commands'
    from /pups/lib/pups/config.rb:76:in `each'
    from /pups/lib/pups/config.rb:76:in `block in run_commands'
    from /pups/lib/pups/config.rb:75:in `each'
    from /pups/lib/pups/config.rb:75:in `run_commands'
    from /pups/lib/pups/config.rb:71:in `run'
    from /pups/lib/pups/cli.rb:31:in `run'
    from /pups/bin/pups:8:in `<main>'
9de2a95989d13cdab19d455db461fb843ed73212682b5dd32caaa1b1fcc6d878
FAILED TO BOOTSTRAP

I'm wondering if it has to do with the fact that the database and user aren't just "discourse" as it seems to do by default. Any ideas what might be wrong?

Edit: Figured it out - it wasn't able to connect to the Redis server.

Posts: 2

Participants: 1

Read full topic

When a user unpins a topic, it is still pinned in the Category page's category list

$
0
0

Brad Huber wrote:

I can repro this on try.discourse

When unpinning the "This site is a sandbox" message, it drops down to its normal chronological spot in /latest, but still maintains the top spot on /categories in the uncategorized category's summary of the latest 3 topics.

Not a huge deal for us right now. Just pointing it out so it can be addressed eventually

Posts: 1

Participants: 1

Read full topic

"Loading" shown indefinitely

Category filter text-align: center

Editing meta tags when sharing to facebook

$
0
0

Caleb Richard wrote:

Hi all,

I'd like to edit the meta tags so that when someone shares a post or topic to facebook, the user's name is displayed before the text of the post. i.e. Caleb_Richard - {post text} . What files would I look to in order to edit this?

Thanks!

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images