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