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

Question regarding future updates

0
0

Brendan wrote:

My apologies if this ground has been tread many times before. I haven't been able to find much via search (or I just suck... totally possible).

I have recently successfully installed Discourse on my server (successfully! yay!) via the unsupported method on a CentOS 6.5 VPS that can't run Docker due to, as far as I can tell, container limitations.

My question is regarding future updates. I have written a really simple/small bash script that, with my limited understanding of how Discourse operates, should(?) work.

Is this all that's required for an update?

  1. Pull latest code
  2. Run rake db:migrate to update db
  3. Run rake assets:precompile to recompile assets
  4. Restart discourse

Posts: 4

Participants: 2

Read full topic


`./launcher` hangs constantly

0
0

Dan Chao wrote:

I've been doing quite a bit of setting up/tearing down discourse via ./launcher, and I've noticed that various stages of either bootstrap or start hang, for no apparent and without any logs. I would then just quit the process and try again until it works.

Does anybody else have this issue? Just this morning, ./launcher bootstrap app was hanging after the first line:

Calculated ENV: -e HOME=/root -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GC_MALLOC_LIMIT=40000000 -e RUBY_HEAP_MIN_SLOTS=800000 -e DISCOURSE_DB_SOCKET= -e DISCOURSE_DB_HOST=####### -e DISCOURSE_DB_PORT= -e DISCOURSE_DEVELOPER_EMAILS=####### -e DISCOURSE_DB_PASSWORD=####### -e DISCOURSE_DB_POOL=15 -e DISCOURSE_HOSTNAME=###### -e DISCOURSE_DB_USERNAME=###### -e DISCOURSE_DB_NAME=Discourse -e DISCOURSE_REDIS_HOST=###### -e DISCOURSE_SMTP_ADDRESS=####### -e DISCOURSE_SMTP_PORT=587 -e DISCOUSRE_SMTP_DOMAIN=###### -e DISCOURSE_SMTP_USER_NAME=###### -e DISCOURSE_SMTP_PASSWORD=######

I subbed out all the identifying information in my configs, but I'd see that in my shell and it would just hang, until I stopped the process.

This is just one of many times that my setup hangs.

I'm setting this up via Docker on an EC2 box, and run these commands as root. I can also verify that all my configs are correct.

Posts: 1

Participants: 1

Read full topic

Search box hides under menu while searching

0
0

Jakob Borg wrote:

On 0.9.9.6, when I use the search box it hides under the top menu while searching. Z-order issue?

Posts: 1

Participants: 1

Read full topic

How to connect to PosgreSQL databases running on Vagrant with PgAdminIII?

0
0

Germansokolov13 wrote:

I am trying to connect to PosgreSQL databases running on Vagrant with PgAdminIII. I am using 192.168.10.200 as an ip-address I peeked in the Vagrantfile, 5432 as a port I found in /etc/postgresql/9.1/main/postgresql.conf and localhost as a host name. PgAdminIII says that I need to type a password which I don't know. I tried to run psql command in terminal and use /password to set new password. My password was accepted but it still doesn't fit for connecting. What do I do wrong?

Posts: 1

Participants: 1

Read full topic

Make invitation email text customizable by admin

0
0

Tobias Eigen wrote:

Would it be possible to make the invitation email text customizable? Depending on how the permissions are set up on the forum, the text as it is now may not reflect reality or make sense. I also would like to have this be a plain text email that shows the URL in cleartext and so can't be mistaken for a phishing email.

Here's what it looks like now on my forum - but when you click on "Visit Kabissa" it does not take the user to the post but to the forum homepage... and they do have to log in before they can post a reply.

Posts: 1

Participants: 1

Read full topic

Allow inviter to write a short message when inviting someone to join a topic discussion

0
0

Tobias Eigen wrote:

Continuing the discussion from Make invitation email text customizable by admin:

I am currently grappling with the invitation emails which are sent out by my discourse and think that it would help to make the emails more palatable/interesting to the invitee if the inviter could write a few lines of text explaining why they are inviting them. The other part of the answer might be to let admins customize their email so that it includes more info about the site and makes sense in their context.

As it is, I now send out two emails when inviting someone to join a topic - one in gmail to warn the person that the invitation is coming and to give context, and another via the invite system.

I do see how this might open up our site to potential spamming.

Posts: 1

Participants: 1

Read full topic

Restore fails ("EXCEPTION: No such file or directory")

0
0

Zach Alexander wrote:

I've tried rebuilding, rexporting and reimporting, and I still get this error:

[2014-06-10 16:03:24] 'zach' has started the restore!
[2014-06-10 16:03:24] Marking restore as running...
[2014-06-10 16:03:24] Making sure /var/www/discourse/tmp/restores/default/2014-06-10-230324 exists...
[2014-06-10 16:03:24] Copying archive to tmp directory...
[2014-06-10 16:03:42] Unzipping archive...
[2014-06-10 16:04:21] Extracting metadata file...
[2014-06-10 16:04:21] EXCEPTION: No such file or directory
[2014-06-10 16:04:21] /var/www/discourse/lib/import/importer.rb:166:in `load_file'
/var/www/discourse/lib/import/importer.rb:166:in `extract_metadata'
/var/www/discourse/lib/import/importer.rb:32:in `run'
/var/www/discourse/lib/backup_restore.rb:160:in `block in start!'
/var/www/discourse/lib/backup_restore.rb:157:in `fork'
/var/www/discourse/lib/backup_restore.rb:157:in `start!'
/var/www/discourse/lib/backup_restore.rb:19:in `restore!'
/var/www/discourse/app/controllers/admin/backups_controller.rb:69:in `restore'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/abstract_controller/base.rb:189:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:113:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in `block in halting'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `block in instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `instrument'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/abstract_controller/base.rb:136:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionview-4.1.1/lib/action_view/rendering.rb:30:in `process'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal.rb:195:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_controller/metal.rb:231:in `block in action'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:80:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:48:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/mapper.rb:45:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:71:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:676:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/omniauth-1.2.1/lib/omniauth/builder.rb:59:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/var/www/discourse/lib/middleware/anonymous_cache.rb:119:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/flash.rb:254:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/message_bus-0.9.4/lib/message_bus/rack/middleware.rb:55:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/query_cache.rb:36:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/logster-0.0.10/lib/logster/middleware/reporter.rb:23:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:38:in `call_app'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:22:in `call'
/var/www/discourse/config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
/var/www/discourse/config/initializers/silence_logger.rb:26:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-mini-profiler-0.9.1/lib/mini_profiler/profiler.rb:300:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/engine.rb:514:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/application.rb:144:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in `public_send'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in `method_missing'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:572:in `process_client'
/var/www/discourse/lib/middleware/unicorn_oobgc.rb:95:in `process_client'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:666:in `worker_loop'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:521:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.2/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
[2014-06-10 16:04:21] Trying to rollback...
[2014-06-10 16:04:21] There was no need to rollback
[2014-06-10 16:04:21] Notifying 'zach' of the end of the restore...
[2014-06-10 16:04:21] Cleaning stuff up...
[2014-06-10 16:04:21] Removing tmp '/var/www/discourse/tmp/restores/default/2014-06-10-230324' directory...
[2014-06-10 16:04:21] Unpausing sidekiq...
[2014-06-10 16:04:21] Marking restore as finished...
[2014-06-10 16:04:21] Finished!

Using Docker and the latest version (0.9.9.7).

Posts: 4

Participants: 3

Read full topic

How to center text?


Accidentally Created Two Identical Categories. Something Broke

0
0

jcan wrote:

I must have clicked the create button when making a new category twice or something. Both categories show up in "All categories" page, with the same name, so they have the same URL. When I click on EDIT on one of the category's pages it doesn't open the edit dialog, so I don't know how to delete them.
Anyone know how to resolve this?

Posts: 10

Participants: 4

Read full topic

Hide the header while scrolling down

0
0

Adam Capriola wrote:

I think having the header accessible at any point of the page without having to scroll all the way up is important, since pagination is a concept of the past and you might be at the bottom of a long topic, but the header does make the viewing window significantly smaller. (It takes up about 10% of my 13" MacBook Pro screen.)

I noticed on Medium that they started hiding their header while you scroll down (and are presumably reading), but it appears again when you start scrolling up. Here's a link to an article, just so you can see.

Perhaps this would be a good approach to adapt for Discourse?

Posts: 2

Participants: 2

Read full topic

Topic tracking breaks on split topics

0
0

Sam Saffron wrote:

When a topic is created by splitting posts from an existing topic to a new topic, the new topic isn't matching the Watched/Tracked/Muted settings from the old topic.

Also, all new posts in split topic are incorrectly marked unread

From:

Posts: 1

Participants: 1

Read full topic

Failed to bootstrap HTTP request failed

0
0

Jonathan wrote:

Continuing the discussion from Local docker install failed to bootstrap: HTTP request failed (not a yaml parsing error):

Still not working and I've checked status.github.com (All systems operational).

user@host:/var/docker$ sudo ./launcher bootstrap app
WARNING: No swap limit support
Calculated ENV: ...*yaml stuff omitted*...
cd /pups && git pull && /pups/bin/pups --stdin
error: couldn't connect to host while accessing https://github.com/SamSaffron/pups.git/info/refs
fatal: HTTP request failed
*long-string-IDK-if-safe2share-omitted*
FAILED TO BOOTSTRAP
user@host:/var/docker$

I'm not expecting anyone to know how to help me but I will add more if/when I figure out what I've done wrong.

Posts: 3

Participants: 2

Read full topic

Hiding buttons is not working correctly

0
0

Sam Saffron wrote:

I just checked in:

The reasoning is the following:

  • My personal edit button is now suppressed incorrectly, despite having ample room for it.

Its adding an enormous amount of friction for no reason. Space is not saved.

  • Keyboard shortcuts are broken, they should expand and then click on the action

I really don't want to re-enable this until both are fixed. I am concerned about burying bookmark as well.

  • Edit should not be suppressed on wiki.

cc @codinghorror @eviltrout @lightyear

Posts: 5

Participants: 4

Read full topic

How to redirect from old domain to new?

0
0

Zach Alexander wrote:

I'd like to make old.com/foo to redirect to new.com/foo.

(I'll settle for redirecting all traffic to the new.com index if I have to.)

I made and installed (via app.yml) a simple plugin that might work if this were a more conventional Rails app, but it's having no effect, perhaps because it's a complicated JS app on a complicated Rails app:

# plugin.rb
class ApplicationController < ActionController::Base
  before_action :redirect_to_canonical_domain

  def redirect_to_canonical_domain
    if request.original_url.match(/old\.com/)
      redirect_to "http://new.com"
    end
  end
end

Any ideas how I might accomplish this?

Posts: 5

Participants: 4

Read full topic

What user_actions:rebuild do?

0
0

Kkzhang wrote:

I find a rake task named user_actions:rebuild, seem that it recalculate trust-level, post, message etc.
Can anyone tell me?

If it do this job, does it send email again (to all post owner, commenter)?

Posts: 1

Participants: 1

Read full topic


Avatars not showing up on migrated forum

0
0

Dan Chao wrote:

I have a fresh install of Discourse that was migrated from an old version of a Discourse repo modified specifically for Heroku. However, most of the user avatars aren't showing up properly. All of these avatars are originally from gravatar.

The src of these images that don't show up look something like this:
http://discours.base.com/user_avatar/discourse.base.com/<username>/50/14.png

While the ones that do show up look like this
http://discourse.base.com/letter_avatar/<user>/50/1.png

How do I get these pictures to show up?

Posts: 1

Participants: 1

Read full topic

HTML-only Discourse

0
0

Helder Ribeiro wrote:

Are there any plans at all to have a html-only version of Discourse, that is, one that doesn't require Javascript? For the privacy-conscious this could be a great benefit, besides improving compatibility with older/leaner devices.

I imagine this could be done by "porting" the Ember code to something like a Rails app that would call the API instead of directly using the models. Would this be possible to implement incrementally (remove the need for JS, one controller action at a time) as a plugin or would it require a larger effort?

I know this is a long shot, just curious to know if it's at all in the plans and leaving the thread here as a meeting point should more people be interested.

Posts: 2

Participants: 2

Read full topic

Suppress updating of URL during topic navigation

0
0

Sam Saffron wrote:

This plugin demonstrates how to add a custom setting to users, that is later passed back to current user (meaning you will have access to it on every page load)

  1. It adds a user preference to disable "replaceState" during topic navigation.
  2. It ensures the setting is shipped to clients with Discourse.User.current().

https://github.com/discourse/browser_history

Important API notes:

To register custom_fields to be serialized with current user use:

DiscoursePluginRegistry.serialized_current_user_fields << "my_field"

To register additional views on the preferences page use:

Discourse.PreferencesView.registerCustomSection(MyViewClass);

Posts: 2

Participants: 2

Read full topic

Specify external gem dependencies for plugins

0
0

Dia wrote:

I'm currently writing a plugin that depends on a certain gem. Is there a way to specify gem dependencies for plugins? Essentially, I need the gem to be included in the discourse's Gemfile so that it's accessible from the plugin.

Posts: 2

Participants: 2

Read full topic

Don't remove and add images and embeds during preview

0
0

Sam Saffron wrote:

Having an embed inside a post really hurts the authoring experience

For example:

Every keystroke causes a pile of requests to youtube

The flashing is super annoying

This to me feels like a regression, we used to have a "preview" flavor image, that did not exhibit this crazy behavior.

The flashing a DoS to youtube needs to die.

cc @eviltrout

Posts: 3

Participants: 2

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images