First time here? Check out the FAQ!

powlo's profile - activity

2021-01-30 11:56:36 -0500 received badge Great Answer ( source )
2016-07-22 06:55:15 -0500 received badge Nice Question (source)
2016-06-11 04:59:52 -0500 received badge Popular Question (source)
2016-06-11 04:59:52 -0500 received badge Famous Question (source)
2016-06-11 04:59:52 -0500 received badge Notable Question (source)
2016-06-02 13:18:51 -0500 asked a question How to run Askbot Tests

I have the latest version of askbot from github in a directory called "askbot-devel". I've then run python setup.py develop and the "askbot-setup.exe" to create the site ("askbot-site") alongside the askbot-devel directory.

If I navigate to askbot-site and run

./manage.py test

or

./manage.py test askbot

It ends with

Ran 0 tests in 0.000s

Python 2.7.11, Django 1.8.13

Apologies if I'm missing the obvious.

2016-05-04 08:43:51 -0500 commented question extra.css missing

What version of Askbot are you using? Can you provide steps to reproduce the error?

2015-10-05 10:58:35 -0500 marked best answer Suggestion: Make askbot.org/doc/ community edited wiki

It would be good if the Askbot docs were presented as a wiki so developers could put notes against paragraphs and so on. I think Django uses something like this on their docs pages. It could be hidden from view by default to prevent viewers being hit by a barrage of comment tags.

There are several typos, style changes and more important missing functionality documentation that I'd like to put in. Askbot needs a mechanism to manage these submissions.

It looks like the documentation shown on this site comes from the git controlled source so I could just make changes and then do a git pull request. However this mechanism would lack any discussion around a documentation issue and those only interested in deploying and not coding might be locked out.

2015-04-24 16:21:24 -0500 received badge Taxonomist
2015-01-20 02:23:30 -0500 received badge Famous Question (source)
2014-04-19 18:06:38 -0500 received badge Notable Question (source)
2014-03-05 05:03:55 -0500 received badge Notable Question (source)
2014-02-26 09:31:45 -0500 received badge Famous Question (source)
2013-08-23 13:29:55 -0500 commented answer Errors while trying to rename or delete unused tags

https://github.com/ASKBOT/askbot-devel/pull/160

I can't really comment on whether you should delete questions. Maybe if your database is too big?

ETA: It sounds like you need a feature to disable user created tags. Is that right?

2013-08-22 07:30:12 -0500 received badge Nice Answer ( source )
2013-08-21 23:07:59 -0500 received badge Necromancer ( source )
2013-08-21 11:16:45 -0500 answered a question Errors while trying to rename or delete unused tags

Firstly, this command only deletes tags whose Questions have been deleted, ie removed from the database. If the Question has been marked deleted (ie not visible to users but still visible to administrators in the backend interface) then tags pointing to this question are still valid, so the tag will not be deleted.

So that's possibly why you see the "Did not find any" message.

That being said, the way the database transactions are handled could be improved. I'll submit a patch.

I was able to recreate the problem by having no tags in the db. However, it may also occur under other circumstances, eg if some exception occurs during command execution.

2013-08-19 10:45:37 -0500 answered a question Update identica code to work with pump.io

It has an API (https://github.com/e14n/pump.io/blob/master/API.md) but seems to have problems. The user I created was created, but I was bounced with a "Server Error" message. Only when I tried to create the account again did I get "user already exists".

2013-07-24 21:34:45 -0500 received badge Famous Question (source)
2013-06-27 09:55:31 -0500 received badge Popular Question (source)
2013-03-11 15:37:00 -0500 received badge Famous Question (source)
2013-01-28 08:16:44 -0500 received badge Popular Question (source)
2012-09-06 20:40:37 -0500 received badge Famous Question (source)
2012-09-02 14:34:06 -0500 received badge Good Answer ( source )
2012-07-14 13:59:07 -0500 commented answer Askbot not sending email

Strange that removing the middleware didn't fix it. You can always try giving ASKBOT_LANGUAGE a value.

2012-07-08 10:00:49 -0500 answered a question Askbot not sending email

You could test the send mail by changing the EMAIL_BACKEND to a file, or console.

See here: https://docs.djangoproject.com/en/dev/topics/email/#email-backends

2012-07-07 11:02:37 -0500 commented answer Incorrect karma awarded when an administrator marks accepted answer for another user's question

If i understand the problem correctly, I think it's open to debate as to whether it's a bug. Some people might want to reward their admins for essentially keeping the site clean and up-to-date. And it's also possible that admins might want to reward users for answering their own posts. Making it an option allows site maintainers to set it up how they want. Generally though, I agree, and think that most people would have these set to zero.

2012-07-07 10:55:28 -0500 edited question Incorrect karma awarded when an administrator marks accepted answer for another user's question

I noticed a question on my hosted site that the asker had posted his own (comprehensive) answer for. However, he did not mark the answer as accepted.

Having administrator privileges, I went ahead and marked the answer as accepted.

Whether or not it was my place to do so is another matter; for now we'll just assume it was justified for the purpose of establishing context to describe this issue (:

When I refreshed the page, I noticed that the user had gained 15 karma for his answer being marked as accepted. However, this is not correct; because the user answered his own question, he should not have gotten a karma bonus for the accept.

Also, I noticed that I got 2 karma for accepting the answer, even though it wasn't my question.

2012-07-07 10:16:16 -0500 answered a question Incorrect karma awarded when an administrator marks accepted answer for another user's question

I think there are two points here that can become feature requests:

There should be an entry under "Karma Loss and Gain" in the admin interface field which allows the admin to set the karma awarded to a user:

  • for accepting their own answer.

  • for accepting an answer to a question which is not their own.

2012-07-02 11:26:14 -0500 received badge Enthusiast
2012-06-30 11:29:44 -0500 received badge Famous Question (source)
2012-06-30 11:28:39 -0500 commented answer How to @refer to users with username that contains empty space?

@john-smith doesn't seem to work. @john smith (case insensitive) does.

2012-06-29 11:25:26 -0500 answered a question User registration control

You can limit the logins available through /settings/LOGIN_PROVIDERS/, eg if you only want Facebook logins or Yahoo logins, then enable those and disable all others.

However, I don't believe that Askbot offers any user moderation-before-view, only post moderation, and there is no admin controlled filter that can be applied to user registration email addresses (ie Only Allow: *@MyCompany.com, Block: *@dodgywarez.com)

Both of these things would be a feature request. (Unless someone with more knowledge proves me wrong...!)

2012-06-29 09:43:14 -0500 answered a question How to @refer to users with username that contains empty space?

I just tried to reproduce this and I can @refer to users that have a space in the title. The url to the users profile should convert the " " to a "-", so "John Smith" becomes http://<site>/users/<user_id>/john-smith/. The user referred to also needs to exist. There can't be a space between the @ and the first character. Comments are not processed dynamically, ie if you @refer to someone that doesn't exist, then at the user so they do exist, the original comment will not pick up that the new user exists and can be legitimately @referred to.

I'm using the latest version from github, v0.7.43. So it's possible that there has been a fix added. What version of askbot are you using?

And what are you seeing when you try to @refer to a user with a space in the user name?

2012-06-26 09:15:44 -0500 commented answer South Migration: 'cannot change name of input parameter "thread_id"'?

Thanks for that Fitoria it fixed the problem. Is the init_postgresql documented anywhere? I couldn't see it in the online docs. Perhaps a check for postgresql, and a reminder to call the init function, should be part of the askbot automation script? The version of askbot I'm using is that latest git master. And I'm using postgresql v9.1.4.

2012-06-25 23:11:32 -0500 received badge Nice Answer ( source )
2012-06-25 12:21:49 -0500 answered a question Suggestions for antispam measures?

Is the problem spambots or human spammers? Doesn't Askbot have a Captcha for certain reputation levels?

Also, perhaps you could disable url conversion for a certain reputation level.

This could be applied to both posts and profiles.

A more complex solution might be to have urls hidden in low rep posts (and profiles) pending approval from a moderator.

2012-06-25 12:05:27 -0500 asked a question South Migration: 'cannot change name of input parameter "thread_id"'?

Hi,

I tried rebuilding my db running ./manage.py syncdb and then ./manage.py migrate but I get this error output:

(askbot.org)paulo@merlin:~/workspace/askbot-deploy$ ./manage.py migrate askbot
relation "askbot_badgedata" does not exist
LINE 1: ..."."slug", "askbot_badgedata"."awarded_count" FROM "askbot_ba...
                                                             ^

Running migrations for askbot:
 - Migrating forwards to 0125_add_show_tags_field_to_user.
 > askbot:0022_init_postgresql_full_text_search
 - Migration 'askbot:0022_init_postgresql_full_text_search' is marked for no-dry-run.
 ! Error found during real run of migration! Aborting.

 ! Since you have a database that does not support running
 ! schema-altering statements in transactions, we have had 
 ! to leave it in an interim state between migrations.

! You *might* be able to recover with:   (migration cannot be dry-run; cannot discover commands)
 ! The South developers regret this has happened, and would
 ! like to gently persuade you to consider a slightly
 ! easier-to-deal-with DBMS (one that supports DDL transactions)
 ! NOTE: The error which caused the migration to fail is further up.
Error in migration: askbot:0022_init_postgresql_full_text_search
Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/management/commands/migrate.py", line 107, in handle
    ignore_ghosts = ignore_ghosts,
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/__init__.py", line 219, in migrate_app
    success = migrator.migrate_many(target, workplan, database)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 235, in migrate_many
    result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 310, in migrate_many
    result = self.migrate(migration, database)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 133, in migrate
    result = self.run(migration)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 107, in run
    return self.run_migration(migration)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 81, in run_migration
    migration_function()
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/south/migration/migrators.py", line 57, in <lambda>
    return (lambda: direction(orm))
  File "/home/paulo/workspace/askbot-devel/askbot/migrations/0022_init_postgresql_full_text_search.py", line 23, in forwards
    setup_full_text_search(script_path)
  File "/home/paulo/workspace/askbot-devel/askbot/search/postgresql/__init__.py", line 19, in setup_full_text_search
    cursor.execute(fts_init_query)
  File "/home/paulo/.virtualenvs/askbot.org/local/lib/python2.7/site-packages/django/db/backends/util.py", line 34, in ...
(more)
2012-05-04 10:49:41 -0500 received badge Good Question (source)
2012-04-30 17:14:55 -0500 commented answer Should added comments bump question to the top of the recently active list?

You can always select the "Unanswered" questions tab.

2012-04-30 11:31:50 -0500 received badge Good Answer
2012-04-30 08:07:13 -0500 received badge Nice Answer