Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
9 anos atrás
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
10 anos atrás
Ben Kurtovic
ed95c99f0e
Update email address.
10 anos atrás
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
11 anos atrás
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
11 anos atrás
Ben Kurtovic
2d4b31cde9
OrderedLoader/OrderedDumper to... preserve order... plus some cleanup.
11 anos atrás
Ben Kurtovic
7d7205265e
Implement the rest of _set_wiki(); _ask(); other tweaks.
11 anos atrás
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.
12 anos atrás
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
12 anos atrás
Ben Kurtovic
81313e7a79
Copy search_config too.
12 anos atrás
Ben Kurtovic
e53efe0e84
Actually, create a copy of the dict.
12 anos atrás
Ben Kurtovic
53c852e08b
Minor fix if sql's values are not strings.
12 anos atrás
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
12 anos atrás
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.
12 anos atrás
Ben Kurtovic
3744a34f28
Allow templated SQL connection info.
12 anos atrás
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
12 anos atrás
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
12 anos atrás
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
12 anos atrás
Ben Kurtovic
a07920506c
__repr__ and __str__ for all classes (22)
12 anos atrás
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
12 anos atrás
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
12 anos atrás
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
12 anos atrás
Ben Kurtovic
60da4423e2
Property-ify User; docstring cleanup
12 anos atrás
Ben Kurtovic
513bfb0993
Property-ify Site
12 anos atrás
Ben Kurtovic
25f31124db
earwigbot.wiki.exceptions -> earwigbot.exceptions; cleanup
12 anos atrás
Ben Kurtovic
00ae6f8e46
Code cleanup and bugfixes
12 anos atrás
Ben Kurtovic
b066be95d6
Fix
12 anos atrás
Ben Kurtovic
dc82a2f8a6
Sites use their own logger instead of sharing one with the toolset
12 anos atrás
Ben Kurtovic
f86af84903
Cache site objects internally
12 anos atrás
Ben Kurtovic
14c9950753
Support for wait_between_queries in Sites
12 anos atrás
Ben Kurtovic
03fe3305d9
Avoid duplicating code thanks to _BaseManager
12 anos atrás
Ben Kurtovic
0c6f627e43
Move Command+TaskManagers to a common earwigbot.managers module
12 anos atrás
Ben Kurtovic
8a7eb798a3
Fix all references to earwigbot.config.config; update SitesDBManager
12 anos atrás
Ben Kurtovic
9e5805c6cf
Raise the correct exception if the site isn't found
12 anos atrás
Ben Kurtovic
b320effdf2
Fix in _get_site_name_from_sitesdb()
12 anos atrás
Ben Kurtovic
7edfb0b1af
Re-organize SitesDB code; protocol-relative URLs
12 anos atrás