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 »

Activity for Trilarion‭

Type On... Excerpt Status Date
Answer A: What (where) are the current code standards and commit guidelines?
So far nobody else has answered. That's why I took the code standards that were stored in the old core.wiki (https://github.com/codidact/core/wiki) and combined them and re-formatted them slightly in a single CODE-STANDARDS file (https://github.com/Trilarion/qpixel/blob/updatedreadmeandinstallationin...
(more)
about 2 years ago
Question 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.
(more)
over 2 years ago
Question What (where) are the current code standards and commit guidelines?
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 not find any definition of them in the QPixel repository. What are the current code standards and ...
(more)
over 2 years ago
Answer A: How to fix NameError (undefined local variable or method `background' for #<#<Class) in avatar_helper.rb?
It was a minor regression. Fixed in https://github.com/codidact/qpixel/commit/993562804a2843d1e96764ffe6d955f9f333389d
(more)
over 2 years ago
Question How can I remove a category from a community?
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 admin but also in the admin tools only a `create category` exists.
(more)
over 2 years ago
Question 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 avatarhelper.rb: ``` Started GET "/users/1/avatar/40.png" for 127.0.0.1 at 2022-01-12 22:37:01 +0100 Started GET "/assets/codidact.png" for 127.0.0.1 at 2022-01-12 22:37:01 +0100...
(more)
over 2 years ago
Question Error undefined method `has_tags' or `id' for nil:NilClass during rails db:seed
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, skipped 5 ReactionType: Created 0, skipped 3 SiteSetting: Created 0, skipped 57 Got error ...
(more)
over 2 years ago
Question How to fix ActionView::Template::Error (No route matches {:action=>"new", :controller=>"posts", :post_type=>nil} when visiting the moderator page?
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", :posttype=>nil}, possible unmatched constraints: [:posttype]): 34: 35: 36...
(more)
over 2 years ago
Question 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 post but realized there are no post types available: Trying to create a post without a post type I...
(more)
over 2 years ago
Question 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): Screenshot of the 500 Server Error Unfortunately it was a `500 Server Error`, which I did not expect and which wasn't mentioned in the guide. Attached is part of the console ou...
(more)
over 2 years ago
Question Why have I been blocked by cloudflare while posting and how can I circumvent it?
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 the question (multiple times) but got a block by cloudflare each time instead. Screenshot of the cloud...
(more)
over 2 years ago
Question 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 ``` However, that gave an `OpenSSL::Cipher::CipherError` ``` Traceback (most recent call la...
(more)
over 2 years ago
Answer A: How to circumvent Stripe::AuthenticationError: No API key provided
As a quick fix one can remove test `should create PaymentIntent` from `DonationsControllerTest` which may backfire later on, but gets you one step further for the time being.
(more)
over 2 years ago
Question How to solve ActionView::Template::Error: Database missing time zone support for Etc/UTC in ReportsControllerTest
I ran tests (`bin/rails test`) and got ``` Error: ReportsControllerTest#testeveryrouteshouldworkformoderators: ActionView::Template::Error: Database missing time zone support for Etc/UTC - see https://github.com/ankane/groupdate#for-mysql app/views/reports/users.html.erb:17:in `appviewsrep...
(more)
over 2 years ago
Question How to solve Magick::ImageMagickError: no decode delegate for this image format in AdvertisementControllerTest#test_image_paths_should_return_png
I ran tests (`bin/rails test`) and got ``` Error: AdvertisementControllerTest#testimagepathsshouldreturnpng: Magick::ImageMagickError: no decode delegate for this image format `' @ error/constitute.c/ReadImage/572 app/helpers/advertisements/codidacthelper.rb:23:in `annotate' app/helpe...
(more)
over 2 years ago
Question How to circumvent Stripe::AuthenticationError: No API key provided
I want to setup a local QPixel instance (WSL - Ubuntu 20.04) and am following the guide by luap42. Finally I get an error `Stripe::AuthenticationError: No API key provided. Set your API key using "Stripe.apikey = ".` in DonationsControllerTest. ```Error: DonationsControllerTest#testshouldcreat...
(more)
over 2 years ago
Answer A: How to solve Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379?
Likely Redis server is not running. Start with `sudo systemctl start redis-server.service` or with `sudo service redis-server start` or with `redis-server`. Check with `redis-cli` and inserting "ping" in the prompt, receiving "PONG". See for example Redis Quickstart or How to install and config...
(more)
over 2 years ago
Question How to solve Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379?
I tried to setup a local QPixel instance (WSL - Ubuntu 20.04) and followed the guide by luap42. I finally run `rails -s` and got ```/usr/lib/ruby/2.7.0/fileutils.rb:105: warning: already initialized constant FileUtils::VERSION /var/lib/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:105: warn...
(more)
over 2 years ago
Question Is there a QPixel development roadmap somewhere or can we have one?
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 that with volunteers everything is more uncertain and may happen faster, slower or not at all, but at lea...
(more)
over 2 years ago
Question What can Co-Design learn from other CSS frameworks?
The Co-Design homepage shows the various elements of Co-Design very nicely and explains the usage. From my experience with other CSS frameworks like Bootstrap or Bulma, it's quite on par feature wise and could be used also outside of QPixel. One possible question would be, if Co-Design can still lear...
(more)
over 2 years ago
Question Desired state of code documentation
Was having a look at the QPixel code base and comments in code seem to be relatively scarce. It might be that documentation about the code is stored somewhere else with Ruby or that the general level of code documentation is relatively low currently. I also know that people have quite different views...
(more)
over 2 years ago