260 Commits (860a285ab09ae4085a7ab72f7c89ed094745350c)
 

Author SHA1 Message Date
Jonathan Golder b5ca69077c Remove double appearence of heading parameter in repression of RedFam 9 years ago
Jonathan Golder 523d029fdc Fix bug causing db table cells containing empty strings 9 years ago
Jonathan Golder 4518efc504 Fix bug (Cached querys not executed) caused by class attribute protection level --> changed from private to protected 9 years ago
Jonathan Golder b1b37f9b9e Implement functions for flushing db query caches 9 years ago
Jonathan Golder 8dc7fe678d Fix bug caused by adding fam_hash to repr of RedFam class since it was not defined yet while output of warning caused by to many articles 9 years ago
Jonathan Golder 53f53ddb8b Implement cached querys in MysqlRedFam 9 years ago
Jonathan Golder 26f5912f88 Collect writing db querys for running once in MysqlRedPage 9 years ago
Jonathan Golder 1dea5d7e84 NOT WORKING Cache SQL querys to reduce amount of querys 9 years ago
Jonathan Golder b514eb5c42 Move configuration to jogobot module 9 years ago
Jonathan Golder db5bb7401e Update RedFam class to rebuild the whole structure of RedFamPaser generated object 9 years ago
Jonathan Golder be0041804a Clean up 9 years ago
Jonathan Golder af6d483280 Use a additional module to store custom config ... 9 years ago
Jonathan Golder 7c9061d37f Use redundances as python package 9 years ago
Jonathan Golder 74b2dc727c Clean up PEP8 styleguide compatibility with flake8 9 years ago
Jonathan Golder cafe08dd7f Added license GPLv3 + Reworked code 9 years ago
Jonathan Golder ad100e96eb Remove timezone from timestamp patterns since it is not stored and causes errors on labs 9 years ago
Jonathan Golder c78480a75d Use mysql config from pywikibot user-config.py 9 years ago
Jonathan Golder 6e0d3200c2 Change visibility of attributes changed and parsed in RED_PAGE to protected 9 years ago
Jonathan Golder f50f4b664f Add additional possibilities to detect wether a red_page is an archive or not 9 years ago
Jonathan Golder e70655f679 Catch sections with more then 8 articles 9 years ago
Jonathan Golder 14e865c6e6 We need to save the red_fam section heading in database for generating section links since format is not consistent 9 years ago
Jonathan Golder a97e2cea5a Since some timestamps are broken we need to reconstruct them by regex match groups 9 years ago
Jonathan Golder 6e64d8448e Prevent RED_PAGE from resetting status if parser is not fired 9 years ago
Jonathan Golder deaa1d855b Fix bug which prevents detecting of red_fam sectionheading when there is whitespace after closing heading tags (===) 9 years ago
Jonathan Golder 90da231712 Move the code for instanciating of RED_FAM_PARSER to the end of loop 9 years ago
Jonathan Golder 529ed09702 Use pywikibot.output instead of print 9 years ago
Jonathan Golder 1892c6d015 Fix wrong intendet line (RED_FAM_PARSER only was instantiated when ending-datetime workaround fired) 9 years ago
Jonathan Golder 99f050acd3 Add workaround to detect ending datetime if there is no done notice 9 years ago
Jonathan Golder 8b7dc5dbf2 Improve sectionheading regex to reduce false positives, require at least two links 9 years ago
Jonathan Golder 5e39ea0b06 Correct use of pywikibot page.title() 9 years ago
Jonathan Golder f8dacb53e1 Add param to RED_PAGE for predefining page status archived when using cat of archives 9 years ago
Jonathan Golder ebf7a8fe0b Add alternative syntax for done_notice 9 years ago
Jonathan Golder 47238f0f96 On archived red_fams do not delete possibly existing ending 9 years ago
Jonathan Golder 907ccad63a Detect if red_fam is archived but has no detectable ending, set status 2 anyway 9 years ago
Jonathan Golder 31ea512c41 Prevent overwriting of ending with None by only calling RED_FAM_PARSER if there was no ending before 9 years ago
Jonathan Golder 4f7cfc65cc Catch ValueErrors caused by missing points after month abreviation in RED_PAGE_PARSER.__timestamp 9 years ago
Jonathan Golder a26b92082b Implement parsing process in RED_PAGE.parse() 9 years ago
Jonathan Golder 984c269aa4 Implement classmethods for detecting sectionheading, beginning and ending in class RED_FAM_PARSER 9 years ago
Jonathan Golder 0f4ce7c4c9 Add workaround to get mysql.data dictionary while adding new pages/fams 9 years ago
Jonathan Golder 7535172d30 Update mysql db if anything of re_fam changes 9 years ago
Jonathan Golder 9e865e1c2f Some clean ups 9 years ago
Jonathan Golder 79e232d52b Add gitignore file 9 years ago
Jonathan Golder ea92415b37 Add dummy -method for parsing to RED_PAGE 9 years ago
Jonathan Golder 30e1672557 Implement methods for parsing red_fams 9 years ago
Jonathan Golder 6d1ed33699 Add methods for MySQL actions while parsing RED_FAMs 9 years ago
Jonathan Golder 45df354315 Prevent descendant classes of MYSQL_RED from deleting connection to db 9 years ago
Jonathan Golder 73b5d87e8d Implemment handling of changed page meta data (rev_id, page_title, status) 9 years ago
Jonathan Golder cef90e4fac Handle building of MYSQL_RED_PAGE objects 9 years ago
Jonathan Golder c800a13f0c Change behavior of MYSQL_RED(_PAGE), handle save requested data in object for simple update handling 9 years ago
Jonathan Golder 0beb97d67d Use qmark parametrization style for mysql query 9 years ago