# Development

**URL:** https://meta.discourse.org/c/dev/7.md?page=110

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 111

---

## [How to install import script gem dependencies?](https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229)

<div class="topic-metadata">

**Author:** [@tobiasmuehl](https://meta.discourse.org/u/tobiasmuehl)\
**Replies:** 2\
**Last updated:** [October 31, 2016, 9:02am UTC](https://meta.discourse.org/t/how-to-install-import-script-gem-dependencies/52229 "2016-10-31T09:02:49Z")

</div>

Some import scripts are using external dependencies, and those seem to work just fine. When trying to add my own Gemfiles, I’m always presented with /usr/local/lib/ruby/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active\_…

---

## [Code reading help. ES6, plugin-outlet \`\_connectorCache\`, custom-html \`\_customizations\`, appEvents](https://meta.discourse.org/t/code-reading-help-es6-plugin-outlet-connectorcache-custom-html-customizations-appevents/112217)

<div class="topic-metadata">

**Author:** [@Young\_Nam](https://meta.discourse.org/u/Young_Nam)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 11:55am UTC](https://meta.discourse.org/t/code-reading-help-es6-plugin-outlet-connectorcache-custom-html-customizations-appevents/112217 "2019-03-22T11:55:44Z")

</div>

I got a few questions regarding plugin-outlet, custom-html, appEvents in mount-widget.js and ES6. I’ve included some code snippets, and that’s why this post looks too long. It’s code from Discourse source code, not mine…

---

## [Lock down sassc version](https://meta.discourse.org/t/lock-down-sassc-version/101665)

<div class="topic-metadata">

**Author:** [@Ori\_Pekelman](https://meta.discourse.org/u/Ori_Pekelman)\
**Replies:** 4\
**Last updated:** [March 20, 2019, 5:33pm UTC](https://meta.discourse.org/t/lock-down-sassc-version/101665 "2019-03-20T17:33:04Z")

</div>

Currently if you would bundle update you would end up with sassc (2.0.0) which breaks on precompiling assets with Error: error C function image-url: initialised constant SassC::Script::String Locking down the sassc gem…

---

## [SASSC error whenever I run db:migrate and rails server](https://meta.discourse.org/t/sassc-error-whenever-i-run-db-migrate-and-rails-server/112069)

<div class="topic-metadata">

**Author:** [@SURGE](https://meta.discourse.org/u/SURGE)\
**Replies:** 9\
**Last updated:** [March 20, 2019, 5:32pm UTC](https://meta.discourse.org/t/sassc-error-whenever-i-run-db-migrate-and-rails-server/112069 "2019-03-20T17:32:09Z")

</div>

uninitialized constant SassC::Script::String

---

## [Running raw SQL in rails console](https://meta.discourse.org/t/running-raw-sql-in-rails-console/112015)

<div class="topic-metadata">

**Author:** [@csmu](https://meta.discourse.org/u/csmu)\
**Replies:** 2\
**Last updated:** [March 19, 2019, 10:31pm UTC](https://meta.discourse.org/t/running-raw-sql-in-rails-console/112015 "2019-03-19T22:31:57Z")

</div>

How do you run raw SQL in the rails console?

---

## [Why GNU License?](https://meta.discourse.org/t/why-gnu-license/2531)

<div class="topic-metadata">

**Author:** [@diego](https://meta.discourse.org/u/diego)\
**Replies:** 45\
**Last updated:** [March 18, 2019, 1:09pm UTC](https://meta.discourse.org/t/why-gnu-license/2531 "2019-03-18T13:09:58Z")

</div>

tl;dr: Discourse software is released under the terms of the GNU General Public License (GPL-2.0-or-later). This documentation informs about the reasons and implications of this choice. Remember: “There is only one versi…

---

## [API not accepting MarkDown Tables](https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726)

<div class="topic-metadata">

**Author:** [@dpaulus](https://meta.discourse.org/u/dpaulus)\
**Replies:** 6\
**Last updated:** [March 15, 2019, 7:23pm UTC](https://meta.discourse.org/t/api-not-accepting-markdown-tables/111726 "2019-03-15T19:23:44Z")

</div>

We use the hosted solution. Description of Problem: Use the API to make posts. This has worked perfectly for the last 4 months (the last being Monday 3/11/19) until today. I created a couple very simple test to narro…

---

## [Setting up a solid workflow for custom theme development](https://meta.discourse.org/t/setting-up-a-solid-workflow-for-custom-theme-development/103841)

<div class="topic-metadata">

**Author:** [@Graphiwiz](https://meta.discourse.org/u/Graphiwiz)\
**Replies:** 11\
**Last updated:** [March 14, 2019, 10:28pm UTC](https://meta.discourse.org/t/setting-up-a-solid-workflow-for-custom-theme-development/103841 "2019-03-14T22:28:50Z")

</div>

Hello everyone! I’m new here but I’d like to give Discourse a try before deciding what platform to build my community on, since I consider this the most exciting prospect out there. Currently I’m having trouble setting…

---

## [Hands-free Discourse - An accessibility component w/ head tracked pointers](https://meta.discourse.org/t/hands-free-discourse-an-accessibility-component-w-head-tracked-pointers/111546)

<div class="topic-metadata">

**Author:** [@labofoz](https://meta.discourse.org/u/labofoz)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 7:43am UTC](https://meta.discourse.org/t/hands-free-discourse-an-accessibility-component-w-head-tracked-pointers/111546 "2019-03-14T07:43:15Z")

</div>

handsfree-discourse This component uses head tracking through a webcam to control a cursor. Tilt head up/down to scroll the page. Smile :blush: or smirk to one side :smirk: to click (click doesn’t work in FireFox ye…

---

## [How Discourse handle high HTTP request?](https://meta.discourse.org/t/how-discourse-handle-high-http-request/111261)

<div class="topic-metadata">

**Author:** [@saiqulhaq](https://meta.discourse.org/u/saiqulhaq)\
**Replies:** 2\
**Last updated:** [March 12, 2019, 5:03am UTC](https://meta.discourse.org/t/how-discourse-handle-high-http-request/111261 "2019-03-12T05:03:20Z")

</div>

I just take a look at the source code, there is no Rails #stale? method on controller to return 304 or cache the entire page based on record cache key Sorry to bother you, I’m just curious about this

---

## [Increase header size when using Graceful theme](https://meta.discourse.org/t/increase-header-size-when-using-graceful-theme/314568)

<div class="topic-metadata">

**Author:** [@LlamaSensei](https://meta.discourse.org/u/LlamaSensei)\
**Replies:** 8\
**Last updated:** [March 12, 2019, 1:00am UTC](https://meta.discourse.org/t/increase-header-size-when-using-graceful-theme/314568 "2019-03-12T01:00:52Z")

</div>

We’ve been modifying the CSS from this theme a bit, & we’re trying to identify how to increase the banner at the top of the screen. Any tips on how to do this?

---

## [Install plugin from private Git repository?](https://meta.discourse.org/t/install-plugin-from-private-git-repository/111250)

<div class="topic-metadata">

**Author:** [@Muthukkumar](https://meta.discourse.org/u/Muthukkumar)\
**Replies:** 5\
**Last updated:** [March 11, 2019, 4:53am UTC](https://meta.discourse.org/t/install-plugin-from-private-git-repository/111250 "2019-03-11T04:53:45Z")

</div>

Hi All, I have read all the commands in Install Plugins in Discourse. But I didn’t get the result what I am looking for. I am having one issue while cloning the plugin form Azure repo. Could some one help me to fix that…

---

## [Discourse plugin tests are failing](https://meta.discourse.org/t/discourse-plugin-tests-are-failing/111199)

<div class="topic-metadata">

**Author:** [@Sudaraka](https://meta.discourse.org/u/Sudaraka)\
**Replies:** 2\
**Last updated:** [March 10, 2019, 9:12am UTC](https://meta.discourse.org/t/discourse-plugin-tests-are-failing/111199 "2019-03-10T09:12:44Z")

</div>

I am trying to run tests for a single plugin using bundle exec rake plugin:spec\["discourse-details"\] But its failing with the error An error occurred while loading ./plugins/discourse-presence/spec/presence\_manager\_sp…

---

## [Plugin development: missing settings in app.SiteSettings](https://meta.discourse.org/t/plugin-development-missing-settings-in-app-sitesettings/111080)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 1:05pm UTC](https://meta.discourse.org/t/plugin-development-missing-settings-in-app-sitesettings/111080 "2019-03-08T13:05:05Z")

</div>

I found two settings which, although available in the Settings admin panel and in site\_settings.yml, seem to be missing in app.SiteSettings: export default { name: 'my-plugin', initialize(container, app) { conso…

---

## [Connecting to Droplet](https://meta.discourse.org/t/connecting-to-droplet/111045)

<div class="topic-metadata">

**Author:** [@verilog15](https://meta.discourse.org/u/verilog15)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 1:41am UTC](https://meta.discourse.org/t/connecting-to-droplet/111045 "2019-03-08T01:41:26Z")

</div>

Hello, I’m trying to install Discourse on localhost to play around. I succsfully did all the steps in the Install Discourse on Ubuntu or Debian for Development guide. I connected to http://localhost:9292/ and it says: …

---

## [Checking unattended posts via the API](https://meta.discourse.org/t/checking-unattended-posts-via-the-api/109166)

<div class="topic-metadata">

**Author:** [@bitce](https://meta.discourse.org/u/bitce)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 1:38pm UTC](https://meta.discourse.org/t/checking-unattended-posts-via-the-api/109166 "2019-03-07T13:38:48Z")

</div>

Hi guys! My goal is to create a pipeline that would run in a CI system to make sure that we aren’t forgetting or leaving threads without replies. Is there an ‘easy’ way to do this? What I mean to ask is if there is a w…

---

## [Preventing the JS to dynamically load the Hyperlink](https://meta.discourse.org/t/preventing-the-js-to-dynamically-load-the-hyperlink/110683)

<div class="topic-metadata">

**Author:** [@JustinBack](https://meta.discourse.org/u/JustinBack)\
**Replies:** 3\
**Last updated:** [March 5, 2019, 6:11am UTC](https://meta.discourse.org/t/preventing-the-js-to-dynamically-load-the-hyperlink/110683 "2019-03-05T06:11:50Z")

</div>

Hello everybody, Currently designing a mix between SSO and GitHub auth. When SSO is enabled all other login methods disappear, thats why I use a widget to add a GitHub button to the navbar, however the JS likes to catc…

---

## [Correct method for updating category group permission level via API](https://meta.discourse.org/t/correct-method-for-updating-category-group-permission-level-via-api/108984)

<div class="topic-metadata">

**Author:** [@plosprawrs](https://meta.discourse.org/u/plosprawrs)\
**Replies:** 2\
**Last updated:** [March 1, 2019, 10:24am UTC](https://meta.discourse.org/t/correct-method-for-updating-category-group-permission-level-via-api/108984 "2019-03-01T10:24:34Z")

</div>

Hello, We are creating a group via API, for instance, SAMPLE-CATEGORY-001 We are creating a category via API, category SAMPLE-CATEGORY-001 We are trying to make the category tied to the group permission upon creation W…

---

## [OpenIdAuthenticator plugin fails](https://meta.discourse.org/t/openidauthenticator-plugin-fails/110186)

<div class="topic-metadata">

**Author:** [@VojtechMyslivec](https://meta.discourse.org/u/VojtechMyslivec)\
**Replies:** 2\
**Last updated:** [February 27, 2019, 12:02am UTC](https://meta.discourse.org/t/openidauthenticator-plugin-fails/110186 "2019-02-27T00:02:53Z")

</div>

Hello, I use simple Auth plugin based on OpenIdAuthenticator called discourse-mojeid. It worked for both registration and login until Discourse version 2.1.6, however after upgrade to Discourse 2.2.1 I can not use it fo…

---

## [Creating users through RESTFUL Users API - Users.json got wiped](https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362)

<div class="topic-metadata">

**Author:** [@ka0sdev](https://meta.discourse.org/u/ka0sdev)\
**Replies:** 4\
**Last updated:** [February 28, 2019, 5:11pm UTC](https://meta.discourse.org/t/creating-users-through-restful-users-api-users-json-got-wiped/110362 "2019-02-28T17:11:55Z")

</div>

Hi there, I’m trying to create new users using the RESTful Users API using below code: This was working flawless yesterday, and now all of a sudden when going to my \<discourse-url\>/users.json All I see is: {"errors…

---

## [Remove 'Our Admins' profiles](https://meta.discourse.org/t/remove-our-admins-profiles/110244)

<div class="topic-metadata">

**Author:** [@christian\_01](https://meta.discourse.org/u/christian_01)\
**Replies:** 1\
**Last updated:** [February 27, 2019, 3:06pm UTC](https://meta.discourse.org/t/remove-our-admins-profiles/110244 "2019-02-27T15:06:46Z")

</div>

Would someone please advise me how to remove/hide the ‘Our Admins’ profiles that appear on the ‘About’ page please? https://businesscomputingworld.co.uk/about Much obliged, and thank you for your time.

---

## [Show all tags in drop-down on one page?](https://meta.discourse.org/t/show-all-tags-in-drop-down-on-one-page/110012)

<div class="topic-metadata">

**Author:** [@Dev\_Work](https://meta.discourse.org/u/Dev_Work)\
**Replies:** 8\
**Last updated:** [February 26, 2019, 8:05pm UTC](https://meta.discourse.org/t/show-all-tags-in-drop-down-on-one-page/110012 "2019-02-26T20:05:50Z")

</div>

---

## [Batch processing to search and replace in all posts](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**Replies:** 6\
**Last updated:** [August 17, 2016, 10:24am UTC](https://meta.discourse.org/t/batch-processing-to-search-and-replace-in-all-posts/33621 "2016-08-17T10:24:55Z")

</div>

Is there a simple Ruby script somewhere that can be easily tweaked to do a search and replace in all posts? I’ve migrated from MyBB and there are some tiny formatting tweaks that need to be made, e.g. replace \[hr\] with -…

---

## [Twitter AccessToken](https://meta.discourse.org/t/twitter-accesstoken/109789)

<div class="topic-metadata">

**Author:** [@HiedaNaKan](https://meta.discourse.org/u/HiedaNaKan)\
**Replies:** 1\
**Last updated:** [February 22, 2019, 10:21am UTC](https://meta.discourse.org/t/twitter-accesstoken/109789 "2019-02-22T10:21:38Z")

</div>

How can I get the AccessToken of the user-bound Twitter?

---

## [API GET for Category User notification\_level](https://meta.discourse.org/t/api-get-for-category-user-notification-level/109701)

<div class="topic-metadata">

**Author:** [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**Replies:** 5\
**Last updated:** [February 22, 2019, 12:59am UTC](https://meta.discourse.org/t/api-get-for-category-user-notification-level/109701 "2019-02-22T00:59:02Z")

</div>

I see discussion about setting notification\_level via the API. What about reading values? For example, I can set a value with: PUT {{base\_url}}/category/14/notifications.json?api\_key={{api\_key}}&api\_username={{api\_user…

---

## [Logster 2.1.0 causes segfault running unicorn in discourse\_dev docker image](https://meta.discourse.org/t/logster-2-1-0-causes-segfault-running-unicorn-in-discourse-dev-docker-image/109265)

<div class="topic-metadata">

**Author:** [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**Replies:** 11\
**Last updated:** [February 21, 2019, 7:39pm UTC](https://meta.discourse.org/t/logster-2-1-0-causes-segfault-running-unicorn-in-discourse-dev-docker-image/109265 "2019-02-21T19:39:34Z")

</div>

Since Bump logster to 2.1.0 (#7000) · discourse/discourse@1c00e8a · GitHub, attempting to run unicorn in the discourse\_dev docker image results in a segfault: discourse\_dev \> unicorn …

---

## [Changing sidekiq job urgency](https://meta.discourse.org/t/changing-sidekiq-job-urgency/109564)

<div class="topic-metadata">

**Author:** [@merefield](https://meta.discourse.org/u/merefield)\
**Replies:** 5\
**Last updated:** [February 21, 2019, 1:49pm UTC](https://meta.discourse.org/t/changing-sidekiq-job-urgency/109564 "2019-02-21T13:49:38Z")

</div>

If you’ve ever used Topic List Previews, you may have noticed there’s a delay before the Topic List image preview includes the preview image. The topic list image seems to be dependent on the sidekiq job PullHotlinkedIm…

---

## [Sidekiq is unexpectedly paused](https://meta.discourse.org/t/sidekiq-is-unexpectedly-paused/106666)

<div class="topic-metadata">

**Author:** [@MHR](https://meta.discourse.org/u/MHR)\
**Replies:** 15\
**Last updated:** [February 21, 2019, 5:55am UTC](https://meta.discourse.org/t/sidekiq-is-unexpectedly-paused/106666 "2019-02-21T05:55:04Z")

</div>

We have a setup for both Topic Event / Post Event webhooks, which was working fine. But suddenly it stopped working and on any Topic Event or Post Event no webhook was sent. We have checked for Discourse log also but t…

---

## [Trying to understand how infinite scrolling works in Discourse](https://meta.discourse.org/t/trying-to-understand-how-infinite-scrolling-works-in-discourse/109653)

<div class="topic-metadata">

**Author:** [@Goop](https://meta.discourse.org/u/Goop)\
**Replies:** 5\
**Last updated:** [February 21, 2019, 4:17am UTC](https://meta.discourse.org/t/trying-to-understand-how-infinite-scrolling-works-in-discourse/109653 "2019-02-21T04:17:12Z")

</div>

Would someone please explain how Discourse does infinite scrolling? It has already been described to me by devs that to disable it is extremely difficult and would take months of danger-prone changes to so, but I’m not …

---

## [Posting single question mark reply limitations](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078)

<div class="topic-metadata">

**Author:** [@Roragok](https://meta.discourse.org/u/Roragok)\
**Replies:** 18\
**Last updated:** [February 8, 2019, 11:41pm UTC](https://meta.discourse.org/t/posting-single-question-mark-reply-limitations/108078 "2019-02-08T23:41:56Z")

</div>

Hey guys, I am interesting in making a lightweight plugin that removes posting limitations. My forum would love to reply to a post with just a single ?. However that gets caught in the filter. I was hoping someone co…

[Previous page](https://meta.discourse.org/c/dev/7.md?page=109)

[Next page](https://meta.discourse.org/c/dev/7.md?page=111)
