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

Discourse Version 1.5

$
0
0

@codinghorror wrote:

Focus

  • change right gutter to show larger progress bar, and other relevant UI elements
  • move right gutter in/out links below posts

Codename

Start date

tbd

Planned release date

tbd

Posts: 1

Participants: 1

Read full topic


Testing dark theme on Meta

$
0
0

@erlend_sh wrote:

Continuing the discussion from Discourse Version 1.4:

Is this still planned?

Posts: 2

Participants: 2

Read full topic

Create an Emoji's category?

$
0
0

@Steven wrote:

Hello everyone,

I'dl like to know if it's possible to add a category for the emojis. Like you did with smiley face, dog, house, #.

For my forum, I'd like to add some flags but they're mixed with other uploaded emojis in the poop category, and it's not great for my OCD stuck_out_tongue

It would be a flag category between the # and the poop category for example.

I know how to ssh the app, and how to create a plugin with github, so if i have a lead, i won't bother you a lot.

Thanks !

Posts: 2

Participants: 2

Read full topic

Add support to convert more standard smileys to emojis

$
0
0

@swisspol wrote:

If you type :), it converts automatically to :smile: which is very neat. Could we get a few others that are common like like ;), :P, :/ and :(?

IMO this would help a number of people as the discoverability of the corresponding emojis is quite hard. E.g. I have no clue what is the emoji for :P.

Posts: 3

Participants: 3

Read full topic

Slow instance - possibly passenger related?

$
0
0

@Patrick_David wrote:

I run a small discoures instance over at discuss.pixls.us. We've only got about 55 users, with 70-ish topics and ~350 posts at the moment. It's all running on a 2GB droplet at digital ocean.

I notice that after a few hours or so, the site starts to load very slowly (40-60+ seconds at best - sometimes worse). After poking around a bit, I noticed a while back that passenger-status was showing the queue stuck at 100 requests when the site was almost completely non-responsive. This was fixed by touching restart.txt.

When the site begins to feel very sluggish again, touching restart.txt would begin rolling shutdowns of passenger processes, and immediately the site becomes snappy again.

I'm on v1.4.0.beta1 +34.

Is this something anyone else may have noticed?

Posts: 3

Participants: 3

Read full topic

Badges performance board

$
0
0

@meglio wrote:

Is there a way to collect a list of users orded by a score that's calculated like this:

  1. Count number of badges awarded with "gold, silver and bronze" factor (.e.g. gold = x3, silver = x2, bronze = x1).
  2. If two users have the same score, compare the total time it took them to get that score (as we have time when a badge was granted, per badge).

I suppose there should be a way to do it through a sql-query, but how do I display it through API then?

Posts: 1

Participants: 1

Read full topic

I just ugraded to the latest version and now the admin console is blank

How to configure pre-staging of posts?

$
0
0

@mik01aj wrote:

Continuing the discussion from Discourse Version 1.3:

What are you referring to? I use Discourse 1.4.0.beta3 and couldn't find it anywhere in the settings. Also couldn't find any more information here on the forum.

Posts: 2

Participants: 2

Read full topic


More weight for flags casted by trusted users

$
0
0

@probus wrote:

I believe flags from trusted users should have more weight than flags from new users. Trusted users should have better judgement and knowledge of the forum rules than new users and the system should reflect that. For example, flags could have double weight for TL3 users and immediately hide inappropriate/spam posts for TL4 users.

Posts: 1

Participants: 1

Read full topic

Automatic cool down period after receiving multiple flags on multiple posts

$
0
0

@probus wrote:

I'd like the automatic moderation to work a little more effectively.

If a user receives multiple flags from multiple posts, we could automatically inflict a cool down period of some sort. Now the only automatic action is to lock the topic, which stops the conversation from everyone and doesn't stop the same user posting (the same stuff) on other topics.

The cool down period could be a temporary suspension for x minutes or put their posts to the approval que until a moderator resolves the flags.

Posts: 1

Participants: 1

Read full topic

One-time install, domain and hosting

$
0
0

@AlexTemina wrote:

Hi, I am thinking on creating a website with a discourse forum.

I don't have anything at all, no domains, no hostings... I am thinking about using one-time install plan, but I'm not sure what it's in the package.
do I get a domain? I saw when registering that I cannot put a domain, but a subdomain for the foum.
What if, apart from the forum, I want to have a portal with news, tutorials and more? it would directly be connected with the forum, too.

Posts: 1

Participants: 1

Read full topic

API to call any SQL: either pass SQL directly OR predefine in GUI and give it a nickname

$
0
0

@meglio wrote:

It would cover a lot of custom embedding cases if we were able to make an API call and pass in just any SQL, and get JSON results back.

One good use-case is integrating with WordPress.

First, install a plugin that fetches JSON and provides a simple templating language to render the JSON data the way you need:
https://wordpress.org/plugins/json-content-importer/

Next, let the plugin make an API call and pass an SQL query IN and gett a JSON result OUT. This would allow to extract whatever data you need directly from the database.


Now, to get it even further, a simple SQL API section in the settings might be helpful. It would allow us to create custom SQL queries and assign names to them. Then through API we could just use the SQL name instead of passing the whole sql:

/custom_sql.json?name=abc

Fairly, the implementation does not sound as difficult from the programming point of view.
Anyone interested? Should be a plugin or part of core functionality?

Posts: 13

Participants: 4

Read full topic

How can I set cookie/session for my forum from external website?

$
0
0

@Mohit_Gupta wrote:

how can i set cookie/session for my forum from my external website so that user user can be directed to his profile in forum with just a click on my website ?

Posts: 2

Participants: 2

Read full topic

Delete Post from a Topic Using discourse API

$
0
0

@User143 wrote:

Is it possible to delete post from a Topic using Discourse API?

Corresponding user can only delete their POST.

Posts: 7

Participants: 4

Read full topic

Need Discourse customization and plugin

$
0
0

@Richard_ wrote:

We need two Discourse themes and some Discourse customizations, including a plugin. We have to get started on the work asap, so if this interests you, please contact me soon. This is a sweet project, btw.

You can click on my profile and send me a message, or reply to this message. I am not sure I am allowed to leave my email in this message. Either way, we will get in contact with each other so we can discuss the details.

Posts: 1

Participants: 1

Read full topic


Hide custom user field from registration form

$
0
0

@meglio wrote:

Is it possible to create a custom user field that will be accessible in user profile page, but hidden in the registration form?

Use-case

in my community, there are little people and they often know each other. They'd like us, mods and admins, to be able to call them, so I'd create a phone customer field. However, I don't want it to be displayed on the registration form, because some people might think it's compulsory, which prevents from registration.

Posts: 10

Participants: 4

Read full topic

Discourse doesn't deliver webpages, fresh install on Linode Ubuntu 14.04

$
0
0

@austinjp wrote:

Hi there. I'm new to Discourse and new to Docker.

I've got a Linode running Ubuntu 14.04 LTS. It functions as a basic webserver with Apache listening on port 80 and serving a handful of PHP+MySQL websites.

I have an existing site host.com and I'd like to get Discourse running at subdomain.host.com. Since Apache is listening on host.com:80 I've tried setting Discourse to run at subdomain.host.com:8080

Unfortunately when I point my browser at subdomain.host.com:8080 it produces a "connection refused" error.

DNS isn't an issue, subdomain.host.com:80 delivers Apache's default webpage.

Installation and config

To install Docker then Discourse I followed the installation instructions on GitHub.

I edited the file containers/app.yml thusly so traffic incoming on host port 8080 is redirected to container port 80:

templates:
  - "templates/cron.template.yml"
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/sshd.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.socketed.template.yml"

## which TCP/IP ports should this container expose?
expose:
  - "8080:80"
# Removed:  - "2222:22" # fwd host port 2222 to container port 22 (ssh)
# Removed:  - "80:80"   # fwd host port 80   to container port 80 (http)

Running ./launcher bootstrap app or ./launcher rebuild app plus ./launcher start app complete without errors, and I confirm all looks okay with docker ps (trimmed):

root@www:/var/discourse# docker ps
CONTAINER ID        IMAGE                 COMMAND        ...    PORTS                  NAMES
ab********00        local_discourse/app   "/sbin/boot"   ...    0.0.0.0:8080->80/tcp   app

However, when I point Chrome at subdomain.host.com:8080 it gives me ERR_CONNECTION_REFUSED.

Confirmed with telnet subdomain.host.com 8080 from my Windows desktop:

C:\dir\dir>telnet subdomain.host.com 8080
Connecting To subdomain.host.com...Could not open connection to the host,
on port 8080: Connect failed

Discourse is failing to listen on port 80, but succeeds on port 22 after I re-enabled in app.yml and rebuild:

me@my-linode:/$ ./launcher enter app
root@www-app:/# apt-get-install telnet
...
root@www-app:/# telnet localhost 80
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
root@www-app:/# telnet localhost 22
Trying ::1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
^]
telnet>

Log files

Looking through docker logs app there are a few warnings, and some port numbers that don't look right to me:

Started runsvdir, PID is 29
ok: run: redis: (pid 41) 0s
41:M 30 Jun 12:16:57.444 * Redis 3.0.1 (00000000/0) 64 bit, standalone mode, port 6379, pid 41 ready to start.
41:M 30 Jun 12:16:57.445 # Server started, Redis version 3.0.1
41:M 30 Jun 12:16:57.445 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
41:M 30 Jun 12:16:57.446 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
ok: run: postgres: (pid 40) 0s
41:M 30 Jun 12:16:57.452 * DB loaded from disk: 0.006 seconds
41:M 30 Jun 12:16:57.453 * The server is now ready to accept connections on port 6379
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
rsyslogd: invalid or yet-unknown config file command 'KLogPermitNonKernelFacility' - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
rsyslogd: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]
rsyslogd: Could no open output pipe '/dev/xconsole': No such file or directory [try http://www.rsyslog.com/e/2039 ]
2015-06-30 12:16:57 UTC [61-1] LOG:  database system was shut down at 2015-06-30 12:16:35 UTC
2015-06-30 12:16:57 UTC [40-1] LOG:  database system is ready to accept connections
2015-06-30 12:16:57 UTC [65-1] LOG:  autovacuum launcher started
supervisor pid: 43 unicorn pid: 67
41:M 30 Jun 12:21:58.015 * 10 changes in 300 seconds. Saving...
41:M 30 Jun 12:21:58.017 * Background saving started by pid 460
460:C 30 Jun 12:21:58.023 * DB saved on disk
460:C 30 Jun 12:21:58.024 * RDB: 0 MB of memory used by copy-on-write
41:M 30 Jun 12:21:58.117 * Background saving terminated with success
41:M 30 Jun 12:26:59.016 * 10 changes in 300 seconds. Saving...
41:M 30 Jun 12:26:59.018 * Background saving started by pid 786
786:C 30 Jun 12:26:59.026 * DB saved on disk

According to /bin/ps Docker appears to be proxying host port 8080 to container port 80:

root@www:/var/discourse# ps ax | grep -i dock
10647 ?        Sl     0:00 docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8080 -container-ip 172.17.0.79 -container-port 80

I confess ignorance of iptables, but hunting through similar threads I've seen clues emerge from there, so here is output from iptables -L

root@www:/var/discourse# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh
ACCEPT     all  --  anywhere             anywhere
REJECT     all  --  anywhere             127.0.0.0/8          reject-with icmp-port-unreachable
ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https
ACCEPT     tcp  --  anywhere             anywhere             state NEW tcp dpt:ssh
ACCEPT     icmp --  anywhere             anywhere
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:3000
LOG        all  --  anywhere             anywhere             limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
DROP       all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere
DROP       all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere

Chain DOCKER (1 references)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             172.17.0.79          tcp dpt:http

Chain fail2ban-ssh (1 references)
target     prot opt source               destination
REJECT     all  --  106.243.125.195      anywhere             reject-with icmp-port-unreachable
REJECT     all  --  43.255.189.23        anywhere             reject-with icmp-port-unreachable
RETURN     all  --  anywhere             anywhere

...and iptables -L -t nat

root@www:/var/discourse# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere            !127.0.0.0/8          ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  172.17.0.0/16        anywhere
MASQUERADE  tcp  --  172.17.0.79          172.17.0.79          tcp dpt:http

Chain DOCKER (2 references)
target     prot opt source               destination
DNAT       tcp  --  anywhere             anywhere             tcp dpt:http-alt to:172.17.0.79:80

Should I really be running Nginx or HAProxy as suggested in other threads? I have a feeling this should be working without that sort of thing.

Many thanks in advance.

Posts: 5

Participants: 3

Read full topic

Email address change - click link 2nd time

$
0
0

@DeanMarkTaylor wrote:

When you change your email address you receive a verification email:

Confirm your new email address for {Amazing Discourse Website} by clicking on the following link:
http://discourse.example.com/users/authorize-email/{some-long-code-here}

If the user clicks the link a 2nd time (after successfully verifying) the following message is displayed:

There was an error changing your email address. Perhaps the address is already in use?

Consider changing this error message to:

There was an error changing your email address. Perhaps the address is already in use or the email address has already been verified?

Yes, users click links in emails again thinking it's a new email.

Alternatively if possible just log the user in? If the data is no longer available because the verification code is removed after verification then just updating the message would be great.

Posts: 2

Participants: 2

Read full topic

GEO Tagging ability for topics

$
0
0

@returningfromelba wrote:

Sometimes a discussion might occur where it's important to know the 'where' of the discussion context. For example, if discussing 'illegal waste dumping' having context as to which municipality this is happening in would be very useful. This may also encourage people for form physical community (not just virutal community) by realizing that they are involved in a discussion where context is near to them.

Perhaps the tagging plugin can be leveraged for this but it would be really nice to have the option for a user to indicate which geographical areas they are interested in or live in, in order to highlight topics physicially near to them, and also to tag topics with locations that can be searched on. MySQL has nice GIS features that could be leveraged for this.

What do you guys think?

Posts: 4

Participants: 3

Read full topic

Boolean Operators in Search

$
0
0

@Er00 wrote:

I don't know whether this is just me, but often there are a few categories that the answer to my post could be in, and I'd prefer not to search the whole forum but I'd also prefer not to search each category at a time.

I've got around this for my own searches by just sucking it up and searching the whole forum then manually filtering through my results, however I'm starting to look at good ways to improve discoverability of topics for other users as we're getting a lot of duplicate threads and people are clearly struggling to find things using the search tools available (although the full page search results now are omg amazing heart).

Ideally I'd like to be able to use AND, OR, and NOT in any combination (potentially XOR but struggling to see a use case for that...). Is that a thing that'd be useful to other people?

Posts: 1

Participants: 1

Read full topic

Viewing all 60690 articles
Browse latest View live




Latest Images