Giter VIP home page Giter VIP logo

wouso's Issues

Simulate challenge

Simulate challenge, and show possible results: minimum and maximum points earned from challenging an user, depending on self and opponent levels.

Example: Message "If you challenge a Level 5 player, you will gain 400 points, since you are Level 1"

Cpanel bug

While not being logged in, try accessing /cpanel.

Instead of a login window, a server error is returned.

I'm willing to try and fix it.

Autocomplete error on sender name.

When I try to compose a new message from message page, and put the name for sender, that name it's not auto-compiled and you will stay focus on that label.

Server administration docs

Write a section in the manual for the server admin, and document installation, repo/scripts/fastcgi.bash and cron.

Bazaar/Magic/Spells cpanel

Allow:

  • disabling spells in the market
  • marking them temporary unavailable
  • spell crud
  • spell usage statistics (see other issue: #31)

Special quest display

We need:
A game overview list of special quests (for archiving).
Show dates and time available even if the deadline passed.

Race top

Since the core refactoring, a race top isn't available (because Top History has a related_to field of PlayerGroup type, race won't fit there).

Qproposal tags need category

Currently, there are 3 tags without parent in a fixture, used by qproposal. They must be grouped under the same category.

Spell Bug

Spells name do not exist and when you want to put a spell on someone it doesn't work.

Chat errors for anonymous

Chat shouldn't be loaded for anonymous pages.

[09/Sep/2012 05:16:47] "POST /chat/chat_m/ HTTP/1.1" 302 0
ERROR:root:'AnonymousUser' object has no attribute 'get_profile'
[09/Sep/2012 05:16:48] "GET /user/login/?next=/chat/chat_m/ HTTP

Tests fail

........................................E.EEFFE...

ERROR: test_combine_messages (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 103, in test_combine_messages
self.test_message_send_more_message()
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 97, in test_message_send_more_message
self.assertEqual(last_mess[i].content, 'salut' + str(i))
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 190, in getitem
return list(qs)[0]
IndexError: list index out of range

ERROR: test_message_send_manual (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 58, in test_message_send_manual
msg.save()
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 234, in execute
return Database.Cursor.execute(self, query, params)
IntegrityError: chat_chatmessage.messType may not be NULL

ERROR: test_message_send_more_message (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 97, in test_message_send_more_message
self.assertEqual(last_mess[i].content, 'salut' + str(i))
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 190, in getitem
return list(qs)[0]
IndexError: list index out of range

ERROR: test_private_log_url (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 136, in test_private_log_url
self.assertEqual(private_log['count'], 10)
TypeError: 'NoneType' object has no attribute 'getitem'

FAIL: test_message_send_url (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 69, in test_message_send_url
self.assertEqual(len_now, len_after - 1)
AssertionError: 0 != -1

FAIL: test_message_send_url_private (wouso.interface.chat.tests.ChatTestCase)

Traceback (most recent call last):
File "/home/alex/Proiecte/wouso-django/wouso/../wouso/interface/chat/tests.py", line 82, in test_message_send_url_private
self.assertEqual(len(ChatMessage.objects.filter(destRoom__name=room['name'], destRoom__participants=self.user)), 1)
AssertionError: 0 != 1


Ran 51 tests in 7.217s

FAILED (errors=4, failures=2)
Destroying test database for alias 'default'...

Cast failed should display the real error

Currently, if a cast fails, it shows a generic message. It should give the reason, such us:

  • cast not permitted between Others and CA
  • destination is immune
  • you are cursed

Activity API

do not use difficult selects in interface.views

MultipleObjectsReturned

After these commands
./manage.py syncdb
./manage.py wousoctl --setup
./manage.py loaddata v5.game.json

I started to get this error:
Caught MultipleObjectsReturned while rendering: get() returned more than one ArtifactGroup -- it returned 2! Lookup parameters were {'name': 'Default'}

Hook activity into chat

All messages shown in activity, should also be shown inside global chat window, eventually with a different formatting.

Example:

** alexef answered Qotd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.