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

Looking for resource on EmberJS integration with Rails

$
0
0

@tenzan wrote:

I apologise in advance this is not directly related to Discourse.

I just wanted to ask what online resource you could recommend to read about EmberJS integration with Rails...

Thanks.

Posts: 14

Participants: 4

Read full topic


Help needed - A plugin code causing discourse instance crash

$
0
0

@rahul1 wrote:

I have written a plugin which display latest 5 topics as per the category of topic on topic pages for web spiders but after sometime my discourse instance automatically gets crash and website got down then I have to restart the docker then again it will run for sometime and crash again randomly and there is no error related to my plugin in error logs

I would really thankful if somebody can point out how can I fix this problem, here is my code snipped:

I have created a plugin file under:
/plugins/show-latest-links/app/views/connectors/topic_header/latest_category_topics.html.erb

My Code Snipped:

Posts: 9

Participants: 3

Read full topic

More Descriptive Topic Titles under "Latest"?

$
0
0

@ATokar wrote:

Forgive me if this has been brought up before or if this is in the works already (I would love to know if it is) but what about having more information displayed with each topic title under "Latest" (for example)?

While I'm a fan of Discourse's super clean mobile style, I think it might benefit from including a preview of the latest post with each topic title...I find TapaTalk's method quite effective which is...

Username posted in Forum Name
Topic Title
Subject Preview

Now I'm not suggesting Discourse implement that exact format but I would really like to see a quick summary of the latest post under "Latest" or under something else like "Preview" (for a lack of a better name) or under any relevant top menu option...Simply seeing topic titles and only a number (or word) to indicate new posts doesn't seem like the most efficient way to see what's happening in a Discourse-powered community...Especially when accessing via mobile...I find TapaTalk's current "TIMELINE" stream very effective at providing just enough of the right info for me to understand what's going on and to decide whether or not to read more...Thoughts?

Posts: 1

Participants: 1

Read full topic

Keyboard shortcuts for the autocomplete search results

$
0
0

@dandv wrote:

Continuing the discussion from Keyboard shortcuts wish list:

The search box can be activated with / and the autocomplete is really nice. I wish there was a way to navigate through the autocomplete results, e.g. with the up/down arrows.

Posts: 7

Participants: 2

Read full topic

Is it possible to avoid 'Access-Control-Allow-Origin' using token?

$
0
0

@Matthieu wrote:

First, I'm certainly not a web-dev so maybe that I will say is completely non-sense and probably it does but it is how we learn.

I'm trying to embed discourse content on a webpage and I'm facing the 'Access-Control-Allow-Origin' problem.
I saw there is some sort of plugin to configure the discourse instance to allow it:

Yet I also saw it is possible to add authorization in the header when doing an HTTP get request.

Is there any way to specify somehow a private authorization key so I can load the content without having to change the X-Frame-Options for everyone doing http request to my forum?

For info, here is the way I'm getting data:

app.service('discourse', function($http) {
  delete $http.defaults.headers.common['X-Requested-With'];
  this.getData = function(callbackFunc) {
      $http({
          method: 'GET',
          url: 'https://forum.poppy-project.org/t/birth-of-poppy-ergo-jr-and-support-for-low-cost-xl-320-motors/1052.json',
          params: 'limit=10, sort_by=created:desc',
          headers: {'Authorization': 'Token token=xxxxYYYYZzzz'}
       }).success(function(data){
          // With the data succesfully returned, call our callback
          callbackFunc(data);
      }).error(function(){
          alert("error while trying to fetch data");
      });
   }
});

Posts: 1

Participants: 1

Read full topic

/shared folder not mounted in Docker container

$
0
0

@hongquan wrote:

Hi. I setup Discourse with Docker 1.6.2 (build 7c8fca2). It tried on my localhost first, then did in production server. But on my localhost, from container I can see /shared folder, while in production server, I cannot found.

$ ./launcher enter app
root@prodhk-app:/var/lib/docker/aufs/mnt/c97af5f16febf4ae5e0f01a47750381373f3003f0fad79eddab6b89074a7a389# ls /
bin   home            lib64       nonexistent  run      sys  vmlinuz
boot  initrd.img      lost+found  opt          sbin     tmp  vmlinuz.old
dev   initrd.img.old  media       proc         selinux  usr
etc   lib             mnt         root         srv      var

How can I solve this? I need the shared folder to backup the database.

Posts: 4

Participants: 2

Read full topic

Code Blocks on an iPad Mini 2

$
0
0

@cpradio wrote:

Okay, so first off, I don't own an iPad, nor do I have one readily available for testing, hence my silly question.

How does one create code blocks from an iPad? I've been told be a user attempting to do such, that there are no backticks on the iPad virtual keyboard, and entering 4 spaces before each line of code gets truncated, so there are no longer 4 spaces...

What options does this person have?

Posts: 4

Participants: 3

Read full topic

How to install a private git repository plugin?

$
0
0

@Pon_Athithan wrote:

Hello,
I am trying to install a private git repository plugin (I have added server ssh key in my git), I have changed the container/app.yml file after that when I run the ./launcher rebuild app code getting following error

FAILED
--------------------
RuntimeError: cd /var/www/discourse/plugins && git clone https://github.com/user/private-repository-plugin.git failed with return #<Process::Status: pid 281 exit 128>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params {"cd"=>"$home/plugins", "cmd"=>["mkdir -p plugins", "git clone https://github.com/discourse/docker_manager.git", "git clone https://github.com/user/private-repository-plugin.git "]}
ed4a91b3fcec15f08adcface02d5b0cada4294430fdb610ccd9ce0a7a25c361e
FAILED TO BOOTSTRAP

Please let me know what I am doing wrong in here.

Posts: 3

Participants: 2

Read full topic


Wiki post sample

$
0
0

@rnovino wrote:

sorry this might be a stupid question but is there any sample of a wiki post here so I can check how it actually works thanks in advance smile

Posts: 3

Participants: 3

Read full topic

Performance deleting post in large topic

$
0
0

@boomzilla wrote:

Deleting or restoring a post in a large topic (the one I saw this happen with had about 56K posts) caused performance problems for nearly 10 minutes.

I was getting 504 timeouts during that period.

Posts: 4

Participants: 2

Read full topic

Auto correct correct capitalisation

$
0
0

@gingerling wrote:

Hi,

the correct capitalisation of phpList is ... well, phpList... but we get a lot of PHPList PHPlist phpLIST Phplist PhpList phplist ... I think I got them all.

Any way to make discourse auto-correct?

A
x

Posts: 2

Participants: 2

Read full topic

Plugin installation issue with omniauth-ldap

$
0
0

@Steven_Arnott wrote:

Trying to install the plugin from https://github.com/cevanwells/discourse-active_directory

Getting the following from the bootstrap:

I, [2015-06-16T16:19:03.281356 #38]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
Gem::LoadError: Could not find 'net-ldap' (~> 0.3.1) among 172 total gem(s)
Checked in 'GEM_PATH=/var/www/discourse/vendor/bundle/ruby/2.0.0', execute `gem env` for more information
/var/www/discourse/lib/plugin/instance.rb:292:in `gem'
/var/www/discourse/plugins/discourse-active_directory/plugin.rb:6:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:228:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:228:in `activate!'
/var/www/discourse/lib/discourse.rb:103:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:100:in `each'
/var/www/discourse/lib/discourse.rb:100:in `activate_plugins!'
/var/www/discourse/config/application.rb:166:in `<class:Application>'
/var/www/discourse/config/application.rb:19:in `<module:Discourse>'
/var/www/discourse/config/application.rb:18:in `<top (required)>'
/var/www/discourse/Rakefile:5:in `require'
/var/www/discourse/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
I, [2015-06-16T16:19:12.408834 #38]  INFO -- : gem install omniauth-ldap -v 1.0.4 -i /var/www/discourse/plugins/discourse-active_directory/gems/2.0.0 --no-document --ignore-dependencies
Successfully installed omniauth-ldap-1.0.4
1 gem installed

Any suggestions as how to fix this?

Posts: 2

Participants: 2

Read full topic

Understandability of notification UI

$
0
0

@mik01aj wrote:

From what I've seen, some of my users don't really understand what notifications mean. For example, seeing this:

They don't know that means that it's a like and not a reply. They don't know that @ means "you were mentioned".

And there's one more thing that even I (that forum's admin) don't understand: .
What does this tennis large_blue_circle mean?

I think there's a lot to improve in the notification UI. Imho Facebook is a good example here. Their notification messages are very clear. Imho StackExchange notification system is ok, too.

Posts: 3

Participants: 3

Read full topic

Import images doesn't work for Photobucket

$
0
0

@norbauer wrote:

I'm sure every forum maintainer knows of the issue of broken links from images that people used using Photobucket BBCode. This occurs even though I have the import images setting turned on my settings.

The issue is things like this...

I'm trying to create an archival site that is a sort of repository of community knowledge. So ephemeral images like this are a big problem for us.

Is there any way to either a) ban Photobucket images or b) import them automatically into the forum's storage as with other image links? I'm currently using a hosted version of the software, so customizing my Rails code unfortunately isn't an option.

It would seem that turning on the setting to import all external images should just automatically do this for photobucket links as well as everything else, so I'm calling this a bug for that feature, but of course feel free to recategorize as a feature request. smile

Posts: 3

Participants: 3

Read full topic

Favicons are gone because URLs are wrong

$
0
0

@gerhard wrote:

I just noticed that the favicons here on meta are gone.
Looks like the URLs are wrong. I guess the https://meta-discourse.global.ssl.fastly.net should be removed. wink

<link rel="icon" type="image/png" href="https://meta-discourse.global.ssl.fastly.net//discourse-meta.s3-us-west-1.amazonaws.com/original/3X/e/1/e1fc4c5714ea45bc473feea787021d39f7133d22.png">
<link rel="apple-touch-icon" type="image/png" href="https://meta-discourse.global.ssl.fastly.net//discourse-meta.s3-us-west-1.amazonaws.com/original/3X/e/1/e1fc4c5714ea45bc473feea787021d39f7133d22.png">

Posts: 2

Participants: 2

Read full topic


Better support for Auto-Submitted: auto-replied

$
0
0

@watchmanmonitor wrote:

Related to discussions like this:

Auto-response email replies to Digests are processed as new topic:

I just found 244,276 emails in the POP inbox which one of my non-hosted forum watches.

but the one I smelled as the best clue for discourse not to reply on is:

Auto-Submitted: auto-replied

The emails sent log is full of

postmaster@exchange.microsoft.com	email_reject_auto_generated
discuss@domain.com			email_reject_auto_generated

How can we prevent the loop?

Posts: 6

Participants: 3

Read full topic

Is there a criteria for the Users Directory?

$
0
0

@AstonJ wrote:

When I got to /users not all of the registered users are showing - is there some criteria that has to be met before they appear? There are people who have posted who are not showing in the list too.

Posts: 1

Participants: 1

Read full topic

Should the crowd plugin not mention where to add setting for docker installs?

$
0
0

@Steven_Arnott wrote:

Why does the crowd plugin talk about discourse.conf which is not editable in a docker install. You only find out about app.yml settingsL DISCOURSE_CROWD_SERVER_URL, DISCOURSE_CROWD_APPLICATION_NAME and DISCOURSE_CROWD_APPLICATION_PASSWORD when searching the meta posts. This should be updated.

Posts: 2

Participants: 2

Read full topic

@group and notifications

$
0
0

@AstonJ wrote:

I think it would be really handy to @group-name in a topic and they all receive a notification. A bit like Gitter's @/all which alerts everyone who is a member of that chat/room.

Anyone else think it's a good idea, or can think of any drawbacks?

Posts: 2

Participants: 2

Read full topic

Onebox support for new Google Photos

$
0
0

@ky_metro wrote:

Google+ Photos was a default for many of us with Android and Auto-Backup turned on... all your photos end up in one place online, free storage, etc etc.... I've been in the habit of opening them on the Google page, and dragging the photo into Discourse. The photo URL used to look something like this:

https://lh3.googleusercontent.com/-DDzM12G2Qwc/VWlw-u8s6RI/AAAAAAABlio/PjSwWb_IOJQ/w1556-h875-no/IMG_20150529_201713.jpg

This oneboxes just fine:

Now we have Google Photos (they dropped the Plus).... and they've changed the way photo URLs work.

Same photo, new Google Photos URL:

https://lh3.googleusercontent.com/phrNeuu1TAms_KKKEAL_xECSZpxQFFWkP5mHcCBZG2hU=w1716-h965-no

This will not onebox, as it's not ".jpg" . I have no idea how to extract the raw jpg location from that string. It appears to be a completely different storage location and id, and contains photo size information at the end.

Can someone smarter than me please look into adding/fixing this?

Posts: 1

Participants: 1

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images