Commit Graph

268 Commits

Author SHA1 Message Date
ea92415b37 Add dummy -method for parsing to RED_PAGE 2015-09-10 11:24:25 +02:00
30e1672557 Implement methods for parsing red_fams
Add Interfaces for RED_FAM
2015-09-10 11:23:15 +02:00
6d1ed33699 Add methods for MySQL actions while parsing RED_FAMs 2015-09-10 11:20:20 +02:00
45df354315 Prevent descendant classes of MYSQL_RED from deleting connection to db 2015-09-10 11:18:22 +02:00
73b5d87e8d Implemment handling of changed page meta data (rev_id, page_title, status) 2015-09-07 22:51:07 +02:00
cef90e4fac Handle building of MYSQL_RED_PAGE objects 2015-09-07 19:04:16 +02:00
c800a13f0c Change behavior of MYSQL_RED(_PAGE), handle save requested data in object for simple update handling 2015-09-07 19:00:04 +02:00
0beb97d67d Use qmark parametrization style for mysql query 2015-09-07 16:21:57 +02:00
773557a591 Use DictCursor ouf oursql to get better readability in MYSQL_RED_PAGE 2015-09-06 16:02:30 +02:00
d2dfa15ddf Implement a class RED_PAGE for handling redundance pages 2015-09-06 15:43:10 +02:00
28d9a26cf1 Always handle beginning and ending definitions via setter functions
Setter functions for beginning and ending decide wether it is a datetime object or a parseable timestamp string
2015-09-06 15:04:49 +02:00
122cc8b309 Set date attributes to none if nothing given, rather than don't set the attributes 2015-09-06 14:37:27 +02:00
72410d17b4 Expand __init__ Method of RED_FAM to catch beginning, end and status
Add a __repr__ Method to RED_FAM
2015-09-05 18:36:30 +02:00
10cfa79ee0 Implement a class/modul RED_FAM for handling redundance families 2015-09-05 18:06:17 +02:00
49def6f0f0 Implement a class MYSQL_RED_FAM as desecendant of MYSQL_RED for handling querys about red_families 2015-09-05 17:13:09 +02:00
f5ac6a06d3 Implement a class MYSQL_RED_PAGE as desecendant of MYSQL_RED for handling querys about red_pages 2015-09-05 17:10:55 +02:00
597df69275 Save mysqldb-connection as class atribute to make it usable for all decandant classes of MYSQL_RED 2015-09-05 17:09:01 +02:00
71b9d3301d Initial structure of MySQL-Module
Use class to use an object for all MySQL stuff
2015-09-04 22:19:06 +02:00