Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

General Q&A about setting up the Codidact (QPixel) platform or contributing to the open-source project. For questions about the network hosted at codidact.com, see Codidact Meta.

Filters (None)
60%
+1 −0
How can I add post types to a category?

I ran earlier into this in a slightly different way, now I redid the whole QPixel setup but the problem persists: I added a first category to a development instance and wanted to create a first po...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 3y ago by Monica Cellio‭

Question support installation
60%
+1 −0
How to fix NoMethodError: undefined method `id' for nil:NilClass when visiting the QPixel homepage?

Following the set up guide I was able to start rails server and got my very first QPixel page served (see screenshot): Unfortunately it was a 500 Server Error, which I did not expect and which w...

1 answer  ·  posted 4y ago by Trilarion‭  ·  edited 4y ago by Trilarion‭

Question support installation
60%
+1 −0
Cannot find definition of function that returns a path

I want to find the place in the codebase where a path is defined, but searching for the function that creates it gives no results apart from the usage of that function. For example, see thread.htm...

1 answer  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by trichoplax‭

Question support
60%
+1 −0
How do I force db:seed to forget previous context and load only what is in the flags YAML file?

In my dev environment I'm editing the flags in db/seeds/post_flag_types.yml. After editing I run rails db:seed, which adds my new flag. Fine so far. However, I had a typo in the name, so I edite...

2 answers  ·  posted 1y ago by Monica Cellio‭  ·  last activity 1y ago by Monica Cellio‭

Question development
60%
+1 −0
No route matches [POST] "/users/<>/auth"

I'm trying to get QPixel working, but I'm stuck at SSO. I'm using Microsoft Entra ID as IDP. Every time I try to login, I get this error: No route matches [POST] "/users/saml/auth"

0 answers  ·  posted 2y ago by Sandman‭  ·  edited 1y ago by Andreas‭

Question support sso
60%
+1 −0
How do I add a new route (URL)?

I was thinking about taking a try at an issue that would add a new sub-page to the user profile. I understand that as part of this I need to add a "route" for the new URL and somehow wire that up ...

1 answer  ·  posted 1y ago by Monica Cellio‭  ·  last activity 11mo ago by trichoplax‭

Question development
60%
+1 −0
How does a view know it should show the category bar?

Pages that are "in" a category show the category bar at the top, like this: An individual suggested edit should logically be "in" a category too, but isn't shown that way: I'm trying to figur...

1 answer  ·  posted 11mo ago by Monica Cellio‭  ·  last activity 11mo ago by trichoplax‭

Question support development category
55%
+3 −2
Do we currently have users with a name length > 40 characters on Codidact?

Title says it all. Need somebody with database access for it. Is needed for discussion in a Github issue.

0 answers  ·  posted 4y ago by Trilarion‭

Question discussion
50%
+0 −0
How to show border using classes while there's another border attribute in css? Should I use style attribute that moment?

Speaking to the comment, classes is better style attribute. But, if someone already have written something in CoDesign then how can I use class for that? e.g. I had used $tgt.addClass('has-border-...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by ArtOfCode‭

Question co-design design classes style
50%
+0 −0
Meta: Should Collab have Categories?

When creating a new post in the Q&A Category, I'm asked whether I want to create a question or a wiki article. Are these both stored in the Q&A Category for historical reasons, perhaps due ...

1 answer  ·  posted 3y ago by trichoplax‭  ·  last activity 3y ago by trichoplax‭

Question discussion
50%
+0 −0
How to solve Lost connection to MySQL server at 'reading initial communication packet', system error: 0

after rails db:create Lost connection to MySQL server at 'reading initial communication packet', syste m error: 0 Couldn't create 'qpixel_dev' database. Please check your configuration....

2 answers  ·  posted 4y ago by Gate_sprit‭  ·  last activity 4y ago by Gate_sprit‭

Question installation
50%
+0 −0
How to fix NameError (undefined local variable or method `background' for #<#<Class) in avatar_helper.rb?

I'm setting up a QPixel instance. I just created a new category and I realized in the rails s output a NameError in avatar_helper.rb: Started GET "/users/1/avatar/40.png" for 127.0.0.1 at 2022-01-...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by Trilarion‭

Question support installation
50%
+0 −0
How to fix ActionView::Template::Error (No route matches {:action=>"new", :controller=>"posts", :post_type=>nil} when visiting the moderator page? [closed]

In a fresh development instance I went to http://localhost:3000/mod and got a 500 Server Error related to ActionView::Template::Error (No route matches {:action=>"new", :controller=>"posts",...

1 answer  ·  posted 4y ago by Trilarion‭  ·  edited 4y ago by Trilarion‭

Question support installation
50%
+0 −0
How to fetch single column for children?

How to get specific children's column? For questions, I can use @post.last_edited_at or, something just like this. But, I was thinking to fetch a single column for all child. <% post.children.l...

1 answer  ·  posted 4y ago by deleted user  ·  last activity 4y ago by luap42‭

Question posts answers data backend
50%
+0 −0
How to deal with OpenSSL::Cipher::CipherError when editing QPixel's credentials

On Ubuntu 20.04 (WSL) I wanted to provide an arbitrary, non-empty Stripe API key and following this answer by Art edit the credentials accordingly. export EDITOR=vim bin/rails credentials:edit ...

1 answer  ·  posted 4y ago by Trilarion‭  ·  last activity 4y ago by ArtOfCode‭

Question support installation
How do I write a new test case?

We have some limited automated testing already, particularly around core features. This guide covers how to create new tests. Who can write tests? Anyone who's comfortable with a little bit of re...

posted 5y ago by ArtOfCode‭  ·  edited 5y ago by ArtOfCode‭

Wiki guide tests new-contributors code-contributions
Codidact/QPixel Installation Guide

This post aims to provide a step-by-step tutorial regarding the installation/operation of Codidact/QPixel server locally (development mode) or on a network (in production mode). The "official" ins...

posted 2y ago by zetyty‭  ·  edited 2y ago by zetyty‭

Wiki guide installation development production