thenetcircle/dino

View on GitHub

Showing 809 of 809 total issues

Avoid too many return statements within this function.
Open

            return False, ECodes.NO_SUCH_ROOM, 'no room found for actor.url (room uuid to whisper in)'
Severity: Major
Found in dino/validation/request.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return False, None
    Severity: Major
    Found in dino/db/rdbms/handler.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return True, None
      Severity: Major
      Found in dino/validation/acl.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return True, None
        Severity: Major
        Found in dino/validation/acl.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return False, ECodes.NO_SUCH_ROOM, 'target room %s does not exist' % room_id
          Severity: Major
          Found in dino/validation/request.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return False, ECodes.NOT_ALLOWED, 'user {} is not allowed to {} the room'.format(str(user_id), action)
            Severity: Major
            Found in dino/validation/request.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return False, ECodes.NO_SUCH_ROOM, 'not allowed to kick super users or global mobs'
              Severity: Major
              Found in dino/validation/request.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return True, None
                Severity: Major
                Found in dino/validation/acl.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return False, ECodes.INVALID_ACL_TYPE, 'invalid acl type "%s"' % acl.object_type
                  Severity: Major
                  Found in dino/validation/request.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return True, None
                    Severity: Major
                    Found in dino/validation/acl.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return False, ECodes.INVALID_ACL_VALUE, 'invalid acl value "%s" for type "%s": %s' % \
                      Severity: Major
                      Found in dino/validation/request.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return False, 'session values [%s] not in allowed values [%s]' % (session_values, ','.join(acl_values))
                        Severity: Major
                        Found in dino/validation/acl.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return False, ECodes.NOT_BASE64, 'object.content needs to be base64 encoded'
                          Severity: Major
                          Found in dino/validation/request.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                return False, ECodes.NOT_ALLOWED, \
                            Severity: Major
                            Found in dino/validation/request.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return False, ECodes.NO_SUCH_CHANNEL, 'no channel found for actor.url (room uuid to whisper in)'
                              Severity: Major
                              Found in dino/validation/request.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return True, None, None
                                Severity: Major
                                Found in dino/validation/request.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return False, ECodes.MISSING_TARGET_DISPLAY_NAME, 'got blank room name, can not create'
                                  Severity: Major
                                  Found in dino/validation/request.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return False, ECodes.NOT_BASE64, 'invalid room name, not base64 encoded'
                                    Severity: Major
                                    Found in dino/validation/request.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return True, None, None
                                      Severity: Major
                                      Found in dino/validation/request.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return True, str((time-now).seconds)
                                        Severity: Major
                                        Found in dino/db/rdbms/handler.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language