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)
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 ...
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...
The QPixel repository on GitHub contains the source code for the Codidact software. How can I set up a new development instance of it, so that I can work on it on my local machine?
I have successfully set up QPixel on my local machine. However, I encountered an issue with user authentication — when registering a new user, the SSO authentication doesn’t work as expected. I’ve ...
I followed the instructions to set up Docker on my developer machine and it works great. Sometimes, though, I run into problems after I've pulled updates or switched branches. I don't really unde...
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"
As instructed in the "Create administrator account" section of the QPixel Installation guide I created a second new user through the user interface (clicking "Sign Up") in my local development inst...
I’m a learner exploring Q&A tools, and after researching, I came across Codidact. I’m impressed with its features and have successfully set it up on my local machine. However, I encountered an ...
I had to reinstall mysql on my Mac, and after some thrashing I was able to again connect to my Qpixel database from the command line. The data is as expected, so it appears that mysql itself is ok...
Does anyone have experience and tips migrating to Valkey? The reason I ask is becuase Redis changed their license in the beginning of 2024 and is now closed source.
I was trying to fix what I thought was an easy bug: suggested edits can add restricted tags (the ones only moderators can apply), which creates a suggested edit that most reviewers can't approve. ...
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...
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...
If I have my "own instance of the Codidact software (QPixel) locally, on a server" (cited from here), can I easily migrate the overall database (user accounts, Q&A, etc.) to a Stack Overflow fo...
How do I migrate/import data from Stack Overflow for Teams to a custom instance of QPixel? I have a few JSON files that I need to migrate/import to QPixel, e.g. users, posts, comments etc..
QPixel's Docker documentation says that the Docker setup is intended for development environments, not production. The documentation calls out one specific issue: email doesn't work. Are there ot...
After ruby (version 3.1.2) install with RVM, when I move to the qpixel install directory (with cd qpixel command), the following warning is displayed in the terminal: Unknown ruby interpreter ve...
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...
When I tried to install QPixel with bundle install I got the following message (on Debian 11): ~/qpixel$ bundle install Bundler 2.3.15 is running, but your lockfile was generated with 2.4.13. Ins...
I always thought that the terms "Codidact" and "QPixel" refer to the same beast until I came across this post in the chat stating: [..] Should we use qpixel (quicker launch, less dev work to do)...
How to remove the following red message (see also the picture below) displayed on the top of each pages when running a local instance of QPixel? This site is in development mode! In additio...
What is a "Category" in QPixel? Does this allow you to create something equivalent to a Site Proposal in Codidact Community Proposals or is it something else?
Codidact has a guide to installing Co-Design. The section "Using a pre-built version" recommends using a CDN. I notice that the CDN recommended in the guide is different to the CDN used in the Cod...
Caching is really important for scaling. I know we cache some data -- something about tags (tags for a post?) has been discussed on meta, and I know the "new posts" silver dot (badge) is cached so...
I'm trying to install the Q&A platform using : CREATE USER root@bimberspot IDENTIFIED BY '.....'; GRANT ALL ON qpixel_dev.* TO root@bimberspot; GRANT ALL ON qpixel_test.* TO root@bimberspot;...
We have automated tests (good). Automated tests usually don't cover everything, so when there's a new version we want to test (say, on the dev server), I'd like to be able to prioritize things tha...
I'm trying to understand the root cause of a bug, HTML meta tag for description is not question specific. On any individual question page, instead of showing an excerpt of the question and top ans...
422 unprocessable error We followed the installation instructions and have a QPixel standalone instance with seems to be working. However we are not able to create the first account. The sign-up p...
In QPixel, under db/seeds/posts, there are a number of HTML files which are starting points for various help guides and documents such as Terms of Service and Code of Conduct. These can be edited ...
How to set up a Production environment We got QPixel to work on localhost but we are struggling to get it working "online". Could someone point us in the right direction? What steps are necessary ...
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 ...
When writing front end code for QPixel, is there a preferred way to check whether the user is signed in? The back end code has access to this information, and constructs the page accordingly. Some...
Does having Codidact Collab under codidact.org rather than under codidact.com with the other communities cause an additional administrative burden, for example when releasing code changes? Would t...
I followed the instructions here, but even after running rails db:seed, there aren't any categories. Console: moshi@Alpha:~/qpixel$ rails db:create Running via Spring preloader in process 11391 ...
I saw this report about a bug in an error message and figured that would be an easy fix. The incorrect error message is: "Tags can't have more than 5 tags". That should be "Posts can't have...". ...
On page /categories it's easy to create or edit a category, but I cannot find a way to delete a category again. Is the functionality not existing? Following the setup guide my user is a global adm...
I am new to Ruby (and Rails) and have just (finally) succeeded in setting up qpixel on my Mac. I headed over to our easy GitHub issues looking for something to use to get started, and then realize...
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...
The contributing guidelines are probably copied from the previous "core" project. They even link to there while mentioning code standards and commit guidelines. I wanted to update those, but could...
Title says it all. Need somebody with database access for it. Is needed for discussion in a Github issue.
When running rails db:seed I get some errors without any further explanation. CloseReason: Created 0, skipped 5 User: Created 0, skipped 1 PostFlagType: Created 0, skipped 4 PostType: Created 0...
If I make any changes to CoDesign. Then, I have to test what changes I made. Is there possible way to build local server (http://localhost/)? To test while making changes.. I have run npm install, ...
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-...
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",...
One user gave feedback that he/she would be interested in seeing some kind of roadmap for the development (of Codidact). One aspect of that would surely be a development roadmap of QPixel. I know t...
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...
This is more a meta issue, but while posting an error report (with a screenshot and lengthy (but still not too long so the post could be send) error log) here, I was not able to successfully post t...
I ran tests (bin/rails test) and got Error: ReportsControllerTest#test_every_route_should_work_for_moderators: ActionView::Template::Error: Database missing time zone support for Etc/UTC - see h...
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 ...
I ran tests (bin/rails test) and got Error: AdvertisementControllerTest#test_image_paths_should_return_png: Magick::ImageMagickError: no decode delegate for this image format `' @ error/constitu...