Ben Kurtovic
774628b34e
OAuth support; switch to requests; update login flow
vor 5 Jahren
Ben Kurtovic
f1b93a465a
Log warnings; use rvslots when fetching revision content
vor 5 Jahren
Ben Kurtovic
7d7d1aceea
Update dependencies, copyright year.
vor 7 Jahren
Ben Kurtovic
48a14ee3ed
Don't log the full debug line when sending a lot of data.
vor 8 Jahren
Ben Kurtovic
b315e9bdc5
Default to useHTTPS=True for new Sites.
vor 9 Jahren
Ben Kurtovic
4e8be871b7
Update copyright year for 2015.
vor 9 Jahren
Ben Kurtovic
9eaad11efb
Fix unicode bug in exception.
vor 10 Jahren
Ben Kurtovic
459c252fc7
Support new CSRF token API.
vor 10 Jahren
Ben Kurtovic
8b3f9b059f
Fix creating a new permissions DB; fix new site creation.
vor 10 Jahren
Ben Kurtovic
4fff908912
Cleanup; fix site locking mechanism; badtoken handling.
vor 10 Jahren
Ben Kurtovic
1bfe5c2ee7
Fix error handling in get_token().
vor 10 Jahren
Ben Kurtovic
3d5be6c627
Fix token-getter code and refactor into a get_token() function.
vor 10 Jahren
Ben Kurtovic
08af882841
Update AssertEdit behavior now that it's been merged into MW core.
Note: don't deploy until January 14.
vor 10 Jahren
Ben Kurtovic
39d5c7c149
Update copyright notices for 2014.
vor 10 Jahren
Ben Kurtovic
ed95c99f0e
Update email address.
vor 11 Jahren
Ben Kurtovic
a926431754
Better client-side buffering of SQL results.
vor 11 Jahren
Ben Kurtovic
48e6c14ab8
WHOOPS X2.
vor 11 Jahren
Ben Kurtovic
fd5852a6d0
RIP Toolserver. (Some fixes for Labs compatibilty.)
vor 11 Jahren
Ben Kurtovic
0b7a13eca5
Update copyright notices for 2013.
vor 11 Jahren
Ben Kurtovic
655624c2cf
Lazy-importing of py-bcrypt and pycrypto; restructured deps in setup.
vor 12 Jahren
Ben Kurtovic
ac6de461bb
Implement lazy-importing of oursql and pytz.
vor 12 Jahren
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
vor 12 Jahren
Ben Kurtovic
c19a1bde2e
Determine which cookies apply to which domains better.
vor 12 Jahren
Ben Kurtovic
46c3561ce8
Apparently cookie values are plus-quoted. Oops!
vor 12 Jahren
Ben Kurtovic
b784fc7cd8
Fix a silly bug in passing cookiejars to Site objects.
* Apparently bool(cookiejar) is False if the cookiejar doesn't
contain any cookies, even if it exists. Change `if cookiejar` to
`if cookiejar is not None` to get around this.
vor 12 Jahren
Ben Kurtovic
e1ff76ba9f
gettattr -> getattr
vor 12 Jahren
Ben Kurtovic
5ab736723b
Fixing a number of silly mistakes; refactoring (thanks pylint)
vor 12 Jahren
Ben Kurtovic
3cfedde6bd
A bunch of cleanup and fixes.
vor 12 Jahren
Ben Kurtovic
d07f0b5f9a
Add loggers to Category, Page, and User.
vor 12 Jahren
Ben Kurtovic
c260648bdb
Finish chunking algorithm, improve !link, other fixes.
vor 12 Jahren
Ben Kurtovic
569c815d99
Implement NLTK for chunking article content ( #5 ).
vor 12 Jahren
Ben Kurtovic
6be8fb48dd
Cleaning up project-wide copyright notices.
vor 12 Jahren
Ben Kurtovic
f7ffd68056
Support hiding certain logs (e.g. ones containing passwords).
vor 12 Jahren
Ben Kurtovic
06d4a240f0
Trap service errors and try another service.
vor 12 Jahren
Ben Kurtovic
d70fa3927c
Fix arg counts, fix _get_service_order() when retrieving lag from cache.
vor 12 Jahren
Ben Kurtovic
7b001ed50d
Improved service ordering that takes API lag into account.
vor 12 Jahren
Ben Kurtovic
97a6bb2059
'ignore_maxlag' in Site.get_maxlag().
vor 12 Jahren
Ben Kurtovic
85ae7c5ce1
Site.get_maxlag(); docstring for Site.delegate()
vor 12 Jahren
Ben Kurtovic
de34d8759b
Site._get_service_order()
vor 12 Jahren
Ben Kurtovic
6433957ae9
First stages of service delegation.
vor 12 Jahren
Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
vor 12 Jahren
Ben Kurtovic
05b731c668
Removed stray instruction.
vor 12 Jahren
Ben Kurtovic
0365e0b3b3
Rollback most of the last commit, which was unnecessary as these values are API-loaded and therefore always unicode.
vor 12 Jahren
Ben Kurtovic
7905facfc1
More unicode fixes and refactoring.
vor 12 Jahren
Ben Kurtovic
729aa04cc1
Site.url; some refactoring and cleanup
vor 12 Jahren
Ben Kurtovic
f4c33d86fb
Mixin -> MixIn
vor 12 Jahren
Ben Kurtovic
5f41a1aa7a
Fudge default API query wait times a bit
- Plus a bugfix in RC.parse()
vor 12 Jahren
Ben Kurtovic
dcf912b65b
Make cat.get_members() an iterator; make page.exists output nicer; cleanup
vor 12 Jahren
Ben Kurtovic
0785372015
Removing extra whitespace in a ton of files
vor 12 Jahren
Ben Kurtovic
d4dab49873
More docstring revisions (reST-ifying, cleanup, clarifications)
vor 12 Jahren