Activity for Trilarionâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #283848 |
Post edited: better formatting, removed a few unnecessary phrases |
— | almost 2 years ago |
Edit | Post #280492 |
Post edited: added link to wiki page about test cases |
— | almost 2 years ago |
Edit | Post #285866 | Initial revision | — | almost 3 years ago |
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) |
— | almost 3 years ago |
Comment | Post #285625 |
@#53922 "not data" But that's exactly what I'm interested in. I want to know something about the "data" of Codidact, that's why I need somebody with access to the production server. (more) |
— | almost 3 years ago |
Comment | Post #285625 |
I was asking for specifically for Codidact here. (more) |
— | almost 3 years ago |
Comment | Post #285625 |
Where should I input that? I do not have have access to the production server.
Otherwise I would do `select count(*) from users where len(name) > 40` or something like that.
(more) |
— | almost 3 years ago |
Edit | Post #285625 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Edit | Post #285521 |
Post edited: found an issue that might be related |
— | almost 3 years ago |
Edit | Post #285600 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Comment | Post #283622 |
Okay. I see. Not useful for me then. (more) |
— | almost 3 years ago |
Comment | Post #283622 |
Yes, but still: What was the purpose of the Discord message? Can somebody deliver a bit of context maybe? Because without, it's not very useful for others. (more) |
— | almost 3 years ago |
Edit | Post #283316 |
Post edited: streamlined a bit |
— | almost 3 years ago |
Comment | Post #283622 |
Getting an example project? Something else? (more) |
— | almost 3 years ago |
Suggested Edit | Post #283316 |
Suggested edit: streamlined a bit (more) |
helpful | almost 3 years ago |
Edit | Post #285582 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Edit | Post #285517 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285517 | Question closed | — | almost 3 years ago |
Comment | Post #285521 |
I went back to the revision of 2021-11-27 but nothing changed. Maybe I should investigate more what these errors mean. I guess a post type needs to "has_tags" in order to be used as something that one can post, but it seems that in db/seeds/post_types.yml there are five default post types defined an... (more) |
— | almost 3 years ago |
Edit | Post #285564 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285564 |
Post edited: |
— | almost 3 years ago |
Comment | Post #285564 |
Line "background = "##{Digest::MD5.hexdigest(user.username)[0...6]}FF"" got removed in the latest commit to that file: https://github.com/codidact/qpixel/commit/cb7380a5ee6a933170d94dabc4b52dcc64d10aee#diff-2695b54932747a21a39444e7981463d365d96a14b78e9510518eaee6ce4f90d8
I can probably fix it myse... (more) |
— | almost 3 years ago |
Comment | Post #285521 |
Next thing I will try is doing rails db:seed on the commit that CD is running on currently from 2021-11-27. Maybe it works there. (more) |
— | almost 3 years ago |
Comment | Post #285521 |
I also updated https://collab.codidact.org/posts/285516 with new information. It looks slightly different than before but still something is strange there. Probably related to this one here. (more) |
— | almost 3 years ago |
Edit | Post #285516 |
Post edited: updated |
— | almost 3 years ago |
Comment | Post #285521 |
I redid the setup again and the error persists. I debugged it a bit and added more information to the question body here. Are you sure, that this should not happen? I think I may be able to describe a procedure to reproduce it. Seeding isn't really covered by tests and circleci, or is it? (more) |
— | almost 3 years ago |
Edit | Post #285521 |
Post edited: added new information |
— | almost 3 years ago |
Edit | Post #285565 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Edit | Post #285517 |
Post edited: update with repeated |
— | almost 3 years ago |
Edit | Post #285564 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Comment | Post #285521 |
There are two databases qpixel_dev/qpixel_test. qpixel_dev has 50 tables and table post_types has 5 rows (started with four). I did seed the database (more than once).
I got the error somehow, so maybe somebody else could get the error too and then it's good if we collect information about it here... (more) |
— | almost 3 years ago |
Comment | Post #280451 |
QPixel contains installations instructions in the README file which are somewhat different from the answers here. I wonder what can be done to not confuse people and have preferably only a single document containing this information. Maybe this question could restrict itself to what goes beyond the R... (more) |
— | almost 3 years ago |
Comment | Post #285520 |
No need to be sorry. I'm happy that I got this far. It's almost a running instance and Art probably knows what to do. (more) |
— | almost 3 years ago |
Comment | Post #282141 |
This question is hardware centered. Maybe it would be better to focus instead on different ways to setup a development instance of QPixel and the requirements. For example, I work on a Windows computer and use [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) and are quite satisfied wi... (more) |
— | almost 3 years ago |
Edit | Post #285516 |
Post edited: |
— | almost 3 years ago |
Comment | Post #285520 |
with more information (more) |
— | almost 3 years ago |
Edit | Post #285516 |
Post edited: added info |
— | almost 3 years ago |
Edit | Post #285521 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Edit | Post #285516 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285517 |
Post edited: better title |
— | almost 3 years ago |
Edit | Post #285514 |
Post edited: |
— | almost 3 years ago |
Edit | Post #285517 | Initial revision | — | almost 3 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) |
— | almost 3 years ago |
Edit | Post #285516 | Initial revision | — | almost 3 years ago |