whobutdrew: (Default)
Drew ([personal profile] whobutdrew) wrote in [site community profile] dw_dev2009-09-06 05:40 pm
Entry tags:

Questions as opposed to problems this time

Yeah... its me again. So much for not spamming the comm, eh? :P

My site is live now. I have a couple of questions surrounding the regular operation of it.

First, is there a way to disable the username.subdomain.tld functionality, so that the site only uses http://subdomain.tld/users/username? I ask this because my site is 'hosted' through Dyndns.com. It will support the resolution of *.subdomain.tld, but only if I pay them. Since I'm a miser I'd like to avoid that if possible. Manually typing in http://subdomain.tld/users/username will work, but all of the links use http://subdomain.tld/users/username, which fail. Its all of $15/year, which I can probably swing soon enough, but if there's a way to adapt the 'old' way of doing things, I'd like to give it a shot. Answers along the lines of "You're SOL" will be accepted."

Second, and again because I love free solutions (that's why I'm here in the first place, after all...) I'm using a GMail account as an SMTP server. Will I have to keep TheSchwartz's worker-manager running in order for comment notifications and the like to work?

In a similar vein, I'm trying to download posts, comments, userpics, etc. from my pre-existing account to my server. I'm following the steps here: http://wiki.dwscoalition.org/notes/Importer_Testing

My first attempt seems to be stuck, though, even after a server reboot. The logs say that account verification has already been requested, but the queue (as visible from the webpage itself) has "ImportStatus" for the verification status, and it never progresses from there. So I suppose the question here is, is there a way to clear the queue so I can try again fresh?

If there's a better place to ask these 'usage' rather than 'installation and development' questions, point me in that direction and I'll try to stay good on my promise not to spam anymore!

You have all been a huge help, I wouldn't have made it this far without you. Thanks so much!
kraig: Salty+Zack (Default)

[personal profile] kraig 2009-09-07 03:52 am (UTC)(link)
Can't speak to the ability to break out the username.domain.name bit from the code (I imagine it's possible), but there's a reason for it - it's so that people can't steal others' cookies, which use a host.domain.name format for trust. So kraig.dreamwidth.org can't see whobutdrew.dreamwidth.org's cookies with some malicious code, but dreamwidth.org/kraig can write some malicious code to see whobutdrew's cookies, if this theoretical malicious kraig could trick poor whobutdrew into visiting a page that had it. So unless you can explicitly trust all your users, I'd hold off on your plan.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2009-09-07 04:37 am (UTC)(link)
Do you have TheSchwartz set up? The workers don't really care if its set up or not and just run anyway (but won't be able to do anything, they just won't mention it either)

See http://wiki.dwscoalition.org/notes/TheSchwartz_Setup

That page is kinda out of date, the first step needs to be "visit http://yoursite.org/tools/importer" (not use the command line tool)

Also, a status of 'ImportStatus' means the task was aborted, so either you tried to start a second import before your other one completed, or I think that could possibly happen because you don't have TheSchwartz setup.

Also step #2 is that you have to run bin/worker/import-scheduler after each step (it's a one-off thing)

Then run bin/worker/content-importer-verify --verbose, wait till it finishes, ctrl-c it
run bin/worker/import-scheduler again
run bin/worker/content-importer --verbose

and keep running bin/worker/import-scheduler in another window until your job finishes.

You will have to keep the worker-manager running -- and I'm not sure if the default config has everything you'll need (I'll look into that) -- but it won't actually use the GMail account as the SMTP server, it'll send the mail itself. There might be a way to use a different server.
ame: (Euphemia - Sweet smile of an angel.)

[personal profile] ame 2009-09-07 05:36 am (UTC)(link)
Hi! I don't know how to help you, but I am interested in helping to beta test your website. :) May I?
sophie: A cartoon-like representation of a girl standing on a hill, with brown hair, blue eyes, a flowery top, and blue skirt. ☀ (Default)

[personal profile] sophie 2009-09-07 08:45 pm (UTC)(link)
By the way, if you're interested in a totally free DNS service that supports dynamic updating, I can personally recommend http://everydns.net/ . I use them myself. You do need to know a bit more about DNS than with DynDNS, but not too much, and it's possible to download clients to update the dynamic part of your domains.

If you need help, let me know. :)
Edited 2009-09-07 20:47 (UTC)
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2009-09-08 06:51 am (UTC)(link)
Also, I forgot to say in my earlier comment -- don't worry about asking questions here! We're happy to help out, and the more people we have poking at the code and the install process, the better. :)