Commit Graph

10 Commits

Author SHA1 Message Date
Ceda EI 67ac825615 Add api_key.php to gitignore and add blank chain.php 2018-04-04 13:25:03 +05:30
Ceda EI 0c7e091a15 Update SQLDump for including exceptions table.
Added exceptions table with username and points_to fields.
2018-04-04 12:59:10 +05:30
Ceda EI 2b8ef44614 Add .gitignore to ignore mysql credentials. 2018-04-04 11:40:09 +05:30
Ceda EI 0c231b7865 Add update_user_by_username function
This function reads the latest user data from t.me and checks whom it links to. It then updates the database accordingly.
2018-04-04 10:30:58 +05:30
Ceda EI 90f69802cb Add chain_to_string function
This function turns the chain into a string that can be sent to the group
2018-04-03 20:15:12 +05:30
Ceda EI fedd816e73 Add get_longest_chain function and comments. 2018-04-03 20:02:23 +05:30
Ceda EI d8b8693a43 Remove reply from send_code function. 2018-04-03 19:23:53 +05:30
Ceda EI fa39901f8e Add update_chain.php and mysql_credentials.php.sample
Added send_code, get_chain_from_user functions. The get_chain_from_user generates a chain from a given user and returns an array in reverse sequential order.
2018-04-03 19:17:45 +05:30
Ceda EI 3cfd25ea10 Add sqldump for recreating database. 2018-04-03 17:54:04 +05:30
Ceda EI 0276728475
Initial commit 2018-04-03 17:44:59 +05:30