Activity for Monica Cellio
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292993 | Initial revision | — | 1 day ago |
Answer | — |
A: Need Help Setting Up SSO in Codidact Not a complete answer (I'm not fluent in SSO), but the developer who implemented SSO created this wiki page about setup. We've failed to incorporate that into our installation doc -- my apologies! I'll work on that. (more) |
— | 1 day ago |
Edit | Post #292951 |
Post edited: it was a slightly earlier commit, actually |
— | 7 days ago |
Edit | Post #292951 | Initial revision | — | 10 days ago |
Answer | — |
A: "Confirm my account" link shows as https in development As of this commit, there is a new environment variable, `MAILERPROTOCOL`, that accepts values of `http` or `https`. The default is `https`, but you can set this to `http` in a development environment to avoid having to manually edit the link from the confirmation message. (more) |
— | 10 days ago |
Comment | Post #287795 |
Related: https://collab.codidact.org/posts/292887
(more) |
— | 10 days ago |
Edit | Post #281127 |
Post edited: fixed variable that crept in |
— | about 1 month ago |
Edit | Post #281111 |
Post edited: fixed variable that crept in |
— | about 1 month ago |
Edit | Post #281130 |
Post edited: fixed variable that crept in |
— | about 1 month ago |
Edit | Post #288600 |
Post edited: moving the contact link out of the footer (doesn't apply on other networks) and putting it here |
— | 2 months ago |
Comment | Post #292564 |
Right -- questions start from the *question*. I think the current state is fine. Thanks for making the connection for me and future readers. (more) |
— | 2 months ago |
Comment | Post #292564 |
Thanks for the link! From the title I didn't recognize that as being about routes, so I didn't dig deeper. Oops. (more) |
— | 2 months ago |
Edit | Post #292564 | Initial revision | — | 2 months ago |
Question | — |
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 to the view that I will define. I'm new to that part of Ruby; so far I have only modified existing vi... (more) |
— | 2 months ago |
Comment | Post #292414 |
Good point; even though my *data* was still there, that user might not have survived. I recreated the user and issued the grants again. Alas, I am still getting the same rails error. I then edited `config/database.yml` to use the username/password that work on the command line, and that didn't mak... (more) |
— | 3 months ago |
Comment | Post #292414 |
I believe this command is saying to connect to the database named `qpixel_dev` (the same `yml` file also defines others, like `qpixel_test`), using the root user and prompting for a password. I no longer remember how that got set up, but somewhere along the line mysql wanted me to create a "master" ... (more) |
— | 3 months ago |
Edit | Post #292409 |
Post edited: |
— | 3 months ago |
Comment | Post #292409 |
Added, thanks. (Also, thanks for reminding me that `text` is a valid option for code fences. I tried `bash` but that didn't change the highlighting that was showing up in the output.) (more) |
— | 3 months ago |
Edit | Post #292409 |
Post edited: added specific connection command that worked |
— | 3 months ago |
Edit | Post #292409 | Initial revision | — | 3 months ago |
Question | — |
What does this failure involving mysql on Mac mean? 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. Specifically, this worked (connection command and data validation): ```text $ mysql -u root -... (more) |
— | 3 months ago |
Edit | Post #292052 |
Post edited: fixed formatting problem that interfered with image example |
— | 4 months ago |
Edit | Post #292032 |
Post edited: fixed duplicate title... |
— | 4 months ago |
Edit | Post #292032 |
Post edited: replace generic slug with our network's policy |
— | 4 months ago |
Edit | Post #291895 | Initial revision | — | 5 months ago |
Answer | — |
A: How do I force db:seed to forget previous context and load only what is in the flags YAML file? As this answer says, `db:seed` isn't the right tool here. Short of dropping the entire database as suggested in that answer, you can delete individual flags in the database. From the mysql console, get the IDs of the flags you want to remove: ```sql SELECT id, name FROM postflagtypes; ``` ... (more) |
— | 5 months ago |
Comment | Post #291876 |
Sounds good. How would I use the Rails console to delete flag reasons (the specific case that prompted this question)? (more) |
— | 5 months ago |
Comment | Post #291876 |
I was hoping to not have to recreate all my test users and posts again. Is there a less-destructive way than dropping the whole DB? Or a way to export or script creation of communities, users, etc? Thanks. (I was hoping there was a "replace" option to `seed`, or an analogous command -- guess not.... (more) |
— | 5 months ago |
Edit | Post #291874 |
Post edited: |
— | 5 months ago |
Edit | Post #291874 | Initial revision | — | 5 months ago |
Question | — |
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/postflagtypes.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 edited to fix it, ran `rails db:seed` again, and now I have two flags. Running seeds added flags it didn... (more) |
— | 5 months ago |
Edit | Post #291665 | Initial revision | — | 6 months ago |
Question | — |
Please teach me to fish: how do I navigate the edit/suggested-edit code to apply the same error check to both? 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. We already prevent you from adding those tags when you directly edit a post, so I figured -- how hard co... (more) |
— | 6 months ago |
Comment | Post #291608 |
Thank you! I've gotten confused by routes too. (more) |
— | 6 months ago |
Edit | Post #289900 | Initial revision | — | about 1 year ago |
Question | — |
Why shouldn't one run a production server in Docker? 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 other reasons not to run a production system in Docker? (more) |
— | about 1 year ago |
Comment | Post #287795 |
Oh yeah, you're right -- that banner was _right there_ and I still forgot about it. (more) |
— | almost 2 years ago |
Comment | Post #287795 |
If production systems are supposed to use `https` (I don't know if that's the case), then instead of the code trying to detect dev vs. prod (can it know?), I'd rather update the instructions for dev to say "change that". (more) |
— | almost 2 years ago |
Comment | Post #287043 |
I found some uses of `:base` for this, yes. Thanks again for the help; I submitted a PR. (more) |
— | about 2 years ago |
Comment | Post #287043 |
Oh, I should think of it as a *field* error rather than a *post* error. Thanks! I see an example there that uses `:base`, which might be a way to attach the error to the higher-level object, but rather than introduce a variant approach into the code I'll adjust the message to say something like "Ta... (more) |
— | about 2 years ago |
Edit | Post #287042 | Initial revision | — | about 2 years ago |
Question | — |
How should I fix this incorrect error message (don't quite understand the code) 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...". I figured I'd need to find and edit a string. I grepped the code and found my way to `app/models/pos... (more) |
— | about 2 years ago |
Edit | Post #286532 | Initial revision | — | over 2 years ago |
Question | — |
How does caching work in qpixel? Where are the entry points? 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 we don't check it on every page-load. How and where is caching implemented? If I want to add a new ... (more) |
— | over 2 years ago |
Edit | Post #286476 | Initial revision | — | over 2 years ago |
Question | — |
How does a newcomer to Ruby get oriented in the qpixel code? 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 realized... wait, I don't know my way around this code base at all. There are presumably conventions about wha... (more) |
— | over 2 years ago |
Edit | Post #286473 | Initial revision | — | over 2 years ago |
Answer | — |
A: How can I remove a category from a community? I believe there's no way to remove a category without direct database hackery. We didn't want to have a Meta category for Collab, but when I asked about nuking it people expressed concerns about clobbering one of the default ones (nobody was quite sure what would break). The category is here, but w... (more) |
— | over 2 years ago |
Edit | Post #285520 |
Post edited: |
— | over 2 years ago |
Edit | Post #285520 |
Post edited: |
— | over 2 years ago |