Activity for Monica Cellio
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292993 |
Post edited: |
— | 15 days ago |
Edit | Post #293061 |
Post edited: container name |
— | 18 days ago |
Edit | Post #293061 | Initial revision | — | 18 days ago |
Question | — |
Using Docker in a dev environment: ongoing maintenance? 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 understand Docker; I just followed some instructions to get an environment that has fewer challenges than ru... (more) |
— | 18 days ago |
Edit | Post #292993 | Initial revision | — | about 1 month ago |
Answer | — |
A: Setting up Single-Sign-On Not a complete answer (I'm not fluent in SSO), but the developer who implemented SSO created this wiki page about setup. We had failed to incorporate that into our installation doc -- now linked from there. Thanks for the report. (more) |
— | about 1 month ago |
Edit | Post #292951 |
Post edited: it was a slightly earlier commit, actually |
— | about 1 month ago |
Edit | Post #292951 | Initial revision | — | about 1 month 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) |
— | about 1 month ago |
Comment | Post #287795 |
Related: https://collab.codidact.org/posts/292887
(more) |
— | about 1 month ago |
Edit | Post #281127 |
Post edited: fixed variable that crept in |
— | 2 months ago |
Edit | Post #281111 |
Post edited: fixed variable that crept in |
— | 2 months ago |
Edit | Post #281130 |
Post edited: fixed variable that crept in |
— | 2 months ago |
Edit | Post #288600 |
Post edited: moving the contact link out of the footer (doesn't apply on other networks) and putting it here |
— | 3 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) |
— | 3 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) |
— | 3 months ago |
Edit | Post #292564 | Initial revision | — | 3 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) |
— | 3 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) |
— | 4 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) |
— | 4 months ago |
Edit | Post #292409 |
Post edited: |
— | 4 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) |
— | 4 months ago |
Edit | Post #292409 |
Post edited: added specific connection command that worked |
— | 4 months ago |
Edit | Post #292409 | Initial revision | — | 4 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) |
— | 4 months ago |
Edit | Post #292052 |
Post edited: fixed formatting problem that interfered with image example |
— | 5 months ago |
Edit | Post #292032 |
Post edited: fixed duplicate title... |
— | 5 months ago |
Edit | Post #292032 |
Post edited: replace generic slug with our network's policy |
— | 5 months ago |
Edit | Post #291895 | Initial revision | — | 6 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) |
— | 6 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) |
— | 6 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) |
— | 6 months ago |
Edit | Post #291874 |
Post edited: |
— | 6 months ago |
Edit | Post #291874 | Initial revision | — | 6 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) |
— | 6 months ago |
Edit | Post #291665 | Initial revision | — | 7 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) |
— | 7 months ago |
Comment | Post #291608 |
Thank you! I've gotten confused by routes too. (more) |
— | 7 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) |
— | over 2 years ago |
Edit | Post #287042 | Initial revision | — | over 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) |
— | over 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 |