GithubHelp home page GithubHelp logo

spi-tools's People

Contributors

dependabot[bot] avatar dreamy-jazz avatar roysmith avatar tamzinhadasa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spi-tools's Issues

Unify test organization

We've got test_*.py and *_test.py styles. We should use the same style for all of them.

Points to consider: some tests need to run under manage.py because they depend on django configuration. But, raw unittest is faster. Maybe we need a convention to say which tests need django?

UserActivitiesView should limit search depth

Imagine we ask for:

count = 10
main=False
draft=True
others=False

on a user with 1 million edits but none to draft space. We'll iterate through all 1 million edits trying to find 10 drafts. There should be some circuit breaker which cuts the search off before then. Maybe never examine more than 10*count?

Clean up logging

  • Make sure file rotation is really happening
  • Add timestamps to log files
  • Consider running my own private syslog instance

Handle multiple sockmasters

ArchiveError at /spi/ip-analysis/Bideliran/
Multiple sockmaster names found: {'Bidelirania', 'Bideliran'}

Not sure what we should do there, but at least not crash.

Add ability in index view to manually enter a case name

Sometimes [[Wikipedia:Sockpuppet investigations/Cases/Overview]] is out of sync (due to caching?), or you just want to work with an archived case.

This could also be used as a "combine result from two different cases" scenario (#27).

Parse archive title(s) from case page

On occasion, the archive page isn't where you expect it to be. On even more rare occasions, there might be more than one archive. We should handle these correctly.

Selectize cleanup

Either finish tearing out the rest of the selectize support in spi.forms.CaseNameForm, or make selectize work again (see af32e87). If we keep the support, spi.forms.SelectizeField certainly needs to be refactored to not do mwclient API calls inside a form.

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.