Ben Kurtovic
a73f618e0a
Initial conversion to Python 3
il y a 3 ans
Ben Kurtovic
a8a605fe05
Reduce wait between queries from 2s to 1s
il y a 3 ans
Ben Kurtovic
ea4ee76691
release/0.3
il y a 5 ans
Ben Kurtovic
774628b34e
OAuth support; switch to requests; update login flow
il y a 5 ans
Ben Kurtovic
7d7d1aceea
Update dependencies, copyright year.
il y a 6 ans
Ben Kurtovic
aed5a5954d
Fix SitesDB lookup for sites with overlapping URLs.
il y a 7 ans
Ben Kurtovic
b315e9bdc5
Default to useHTTPS=True for new Sites.
il y a 8 ans
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
il y a 9 ans
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
il y a 10 ans
Ben Kurtovic
ed95c99f0e
Update email address.
il y a 10 ans
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
il y a 11 ans
Ben Kurtovic
4baab6f57c
Implement lazy importing of root-level modules and packages.
- Simplify all imports
- Update dependency version in setup.py
- Change waitTime default from three seconds to two
il y a 11 ans
Ben Kurtovic
2d4b31cde9
OrderedLoader/OrderedDumper to... preserve order... plus some cleanup.
il y a 11 ans
Ben Kurtovic
7d7205265e
Implement the rest of _set_wiki(); _ask(); other tweaks.
il y a 11 ans
Ben Kurtovic
3f1737717c
More accurate handling when using get_site(lang, project).
Some wikis (like frwiki), set their projects to localized forms of
the expected (so "wikipedia" becomes "wikipédia"). An additional
search by URL in _get_site_name_from_sitesdb() fixes this.
il y a 12 ans
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
il y a 12 ans
Ben Kurtovic
81313e7a79
Copy search_config too.
il y a 12 ans
Ben Kurtovic
e53efe0e84
Actually, create a copy of the dict.
il y a 12 ans
Ben Kurtovic
53c852e08b
Minor fix if sql's values are not strings.
il y a 12 ans
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
il y a 12 ans
Ben Kurtovic
a074da853b
More work on copyvios, including an exclusions database ( #5 )
* Added exclusions module with a fully implemented ExclusionsDB that can pull
from multiple sources for different sites.
* Moved CopyvioCheckResult to its own module, to be imported by __init__.
* Some other related changes.
il y a 12 ans
Ben Kurtovic
3744a34f28
Allow templated SQL connection info.
il y a 12 ans
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
il y a 12 ans
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
il y a 12 ans
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
il y a 12 ans
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
il y a 12 ans
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
il y a 12 ans
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
il y a 12 ans
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
il y a 12 ans
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
il y a 12 ans
Ben Kurtovic
513bfb0993
Property-ify Site
il y a 12 ans
Ben Kurtovic
25f31124db
earwigbot.wiki.exceptions -> earwigbot.exceptions; cleanup
il y a 12 ans
Ben Kurtovic
00ae6f8e46
Code cleanup and bugfixes
il y a 12 ans
Ben Kurtovic
b066be95d6
Fix
il y a 12 ans
Ben Kurtovic
dc82a2f8a6
Sites use their own logger instead of sharing one with the toolset
il y a 12 ans
Ben Kurtovic
f86af84903
Cache site objects internally
il y a 12 ans
Ben Kurtovic
14c9950753
Support for wait_between_queries in Sites
il y a 12 ans
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
il y a 12 ans
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
il y a 12 ans
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
il y a 12 ans
Ben Kurtovic
9e5805c6cf
Raise the correct exception if the site isn't found
il y a 12 ans
Ben Kurtovic
b320effdf2
Fix in _get_site_name_from_sitesdb()
il y a 12 ans
Ben Kurtovic
7edfb0b1af
Re-organize SitesDB code; protocol-relative URLs
il y a 12 ans