thenetcircle/dino

View on GitHub

Showing 809 of 809 total issues

Avoid too many return statements within this function.
Open

                return False, ECodes.MISSING_ATTACHMENT_CONTENT, 'no content on attachment for object'
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, None, None
      Severity: Major
      Found in dino/validation/events/create/limit_length.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return False, ECodes.NOT_BASE64, 'object.content is 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 'room name already exists for the channel'
            Severity: Major
            Found in dino/db/manager/rooms.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return environ.env.db.get_muted_users_for_room(room_id, encode_response=True)
              Severity: Major
              Found in dino/rest/resources/muted.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return ''
                Severity: Major
                Found in dino/environ.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, 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
                      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.ROOM_ALREADY_EXISTS, 'a room with that name already exists'
                        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.NO_SUCH_USER, 'no such user'
                            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_ONLINE, 'user is not online'
                              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

                                  Avoid too many return statements within this function.
                                  Open

                                                  return _def_keys
                                  Severity: Major
                                  Found in dino/environ.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                        return False, 'acl "%s" did not validate for target acl "%s": %s' % (
                                    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, 'rooms are not the same'
                                        Severity: Major
                                        Found in dino/validation/acl.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language