First time here? Check out the FAQ!

Samuel's profile - activity

2020-08-08 16:32:34 -0500 received badge Notable Question (source)
2019-09-16 03:09:30 -0500 received badge Notable Question (source)
2018-02-05 00:06:35 -0500 received badge Famous Question (source)
2017-12-06 12:31:46 -0500 received badge Notable Question (source)
2017-12-06 12:31:46 -0500 received badge Popular Question (source)
2017-11-22 04:11:51 -0500 received badge Popular Question (source)
2017-01-12 19:00:19 -0500 received badge Famous Question (source)
2015-10-15 15:04:43 -0500 received badge Popular Question (source)
2015-10-05 10:58:35 -0500 marked best answer as an administrator I should be able to mark an answer as the correct one even if I am not the requester

The workaround consisting in using the django admin UI that brings the possibility to manipulate the attributes of the objects is not efficient enough for our usage.

2015-10-05 10:58:34 -0500 marked best answer greeting for anonymous user is displayed on the sign out page

It is not relevant to display a message to the user saying "First time here?" when he logs out. A minor bug but a bug anyway ;-) I guess a condition testing if the current page is the logout one or something like that is missing in the method ConnectToSessionMessagesMiddleware.process_request in middleware/anon_user.py

I think that it should be better to replace the logout page by the home page with the message saying "you have been successfully logged out" in the orange message bar on the top of the page.

2015-10-05 10:58:33 -0500 marked best answer Cannot delete a user in the django admin UI : table follow_follow does not exist

When I try to delete a user with the UI, I get the following exception. I thought I had already successfully tested this feature. I confirm that the table follow_follow does not exist in my database.

Did I set up something wrong or is it a bug?

/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02:37:46,022 MSG: pagesize.py:process_exception:43   File "/data/local/virtualenv/askbot/lib/python2.6/site-packag
    response = callback(request, *callback_args, **callback_kwargs)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 225, in wrapper
    return self.admin_site.admin_view(view)(*args, **kwargs)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/sites.py", line 186, in inner
    return view(request, *args, **kwargs)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 926, in changelist_view
    response = self.response_action(request, queryset=cl.get_query_set())
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/options.py", line 711, in response_action
    response = func(self, request, queryset.filter(pk__in=selected))
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/actions.py", line 35, in delete_selected
    deletable_objects, perms_needed = get_deleted_objects(queryset, opts, request.user, modeladmin.admin_site, levels_to_root=2)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/contrib/admin/util.py", line 114, in get_deleted_objects
    obj._collect_sub_objects(collector)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/base.py", line 565, in _collect_sub_objects
    for sub_obj in delete_qs:
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 107, in _result_iter
    self._fill_cache()
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 696, in _fill_cache
    self._result_cache.append(self._iter.next())
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/query.py", line 239, in iterator
    for row in self.query.results_iter():
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/sql/query.py", line 284, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/models/sql/query.py", line 2347, in execute_sql
    cursor.execute(sql, params)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 84, in execute
    return self.cursor.execute(query, args)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/data/local/virtualenv/askbot/lib/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue

/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02:37:46,022 MSG: pagesize.py:process_exception:44 <class '_mysql_exceptions.ProgrammingError'>
/data/local/virtualenv/askbot/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2011-06-03 02 ...
(more)
2015-10-05 10:58:33 -0500 marked best answer hide "Still have trouble signin?" if ldap is activated

If ldap is activated the possibility to recover your account by email just be hidden.

2015-10-05 10:58:33 -0500 marked best answer hide "select another login method above" if only local login is activated

hide "select another login method above" if only local login is activated.

2015-10-05 10:58:33 -0500 marked best answer local and ldap login not possible when login form always visible

With the following parameter :

Always display local login form and hide "Askbot" button. = true

it is not possible to login with the local and ldap methods. I have not tested the other ways. And it works when this option is unchecked.

2015-10-05 10:57:11 -0500 marked best answer hide OpenID mentions when LDAP is activated

I think that LDAP is used only into companies. In my case that I imagine to be the most frequent one in companies, if LDAP is used there is no other provider activated.

So I would like to remove the panel on the right explaining why OpenID is good for me.

I think that I can do it myself by creating a custom skin and updating the file templates/authopenid/signin.html but in my opinion it should be done natively if ldap is activated.

2015-03-16 05:50:32 -0500 received badge Notable Question (source)
2014-09-03 20:36:38 -0500 received badge Notable Question (source)
2014-05-09 03:43:00 -0500 received badge Popular Question (source)
2014-03-28 13:05:56 -0500 received badge Notable Question (source)
2013-12-11 10:49:36 -0500 received badge Famous Question (source)
2013-12-09 14:03:57 -0500 received badge Notable Question (source)
2013-12-09 14:03:57 -0500 received badge Popular Question (source)
2013-12-08 06:24:01 -0500 received badge Famous Question (source)
2013-11-05 16:15:02 -0500 received badge Famous Question (source)
2013-10-09 03:38:04 -0500 received badge Popular Question (source)
2013-09-18 02:50:16 -0500 received badge Notable Question (source)
2013-08-07 17:50:25 -0500 received badge Popular Question (source)
2013-07-22 13:02:21 -0500 received badge Popular Question (source)
2013-05-06 12:30:08 -0500 received badge Famous Question (source)
2013-04-02 17:47:45 -0500 received badge Famous Question (source)
2013-02-15 02:53:18 -0500 received badge Popular Question (source)
2013-02-15 02:53:18 -0500 received badge Famous Question (source)
2013-02-07 03:18:26 -0500 received badge Popular Question (source)
2012-12-30 22:03:13 -0500 received badge Great Question (source)
2012-10-05 11:03:06 -0500 received badge Favorite Question (source)
2012-10-05 07:14:31 -0500 received badge Good Question (source)
2012-09-03 22:04:00 -0500 received badge Good Question (source)
2012-08-27 02:34:30 -0500 received badge Famous Question (source)
2012-08-09 08:42:10 -0500 received badge Nice Question (source)
2012-08-03 22:30:56 -0500 received badge Famous Question (source)
2012-07-30 09:17:12 -0500 received badge Famous Question (source)
2012-07-26 09:52:47 -0500 received badge Famous Question (source)
2012-07-24 23:42:37 -0500 received badge Taxonomist
2012-07-22 06:09:06 -0500 received badge Famous Question (source)
2012-07-09 12:15:47 -0500 received badge Famous Question (source)
2012-07-07 16:01:04 -0500 received badge Famous Question (source)
2012-06-27 09:29:19 -0500 received badge Famous Question (source)
2012-06-26 06:34:42 -0500 received badge Famous Question (source)
2012-06-21 10:44:14 -0500 received badge Famous Question (source)
2012-06-21 07:38:35 -0500 received badge Famous Question (source)