Commit Graph

36 Commits

Author SHA1 Message Date
Bofh da564cc43f Added a simple html templating system + removed old files 2021-02-11 20:13:27 +01:00
Bofh 15f47b63f4 Improved API readability 2021-02-11 20:03:31 +01:00
Bofh df7537b80e User fullname was not being updated on updates + code improvements 2021-02-11 01:09:45 +01:00
Bofh 5d6f4fc2df Add verbosity on mirror update process
* We wanted to know the progess of the updates
2021-02-11 00:28:08 +01:00
Bofh 7f04f21bc3 Added HTML endpoint /mirrors to show a pretty HTML with the mirrored accounts 2021-02-10 20:21:53 +01:00
Bofh 29dea31a0b Added wildcard login/logout + argv bind addr + improved code 2021-02-10 19:07:03 +01:00
Bofh 2c60e2102a Shuffle accounts when updating all of them 2021-02-09 12:13:05 +01:00
Bofh b3103c22c5 Make timeout_btw_accounts configurable 2021-02-09 12:08:37 +01:00
Bofh 02a59cc385 Changed cache times 2021-02-09 12:01:16 +01:00
Bofh c5aa7ceb40 im the typo master 2021-02-08 23:01:29 +01:00
Bofh 2c05de69aa Added a timeout btw posts updates + more verbose logs 2021-02-08 22:59:50 +01:00
Bofh ccbf23891b Added better error handling on delete status 2021-02-08 21:20:28 +01:00
Bofh e5c6c9e2c5 Remove posts from database too! + comments 2021-02-08 21:09:34 +01:00
Bofh 9414a6adc6 Added posts nuke API function 2021-02-08 21:07:49 +01:00
Bofh cb74d89ad5 Add basic support for videos (not tested)
* Dont upload if video file excedeeds the max_video_size setting
2021-02-08 20:28:12 +01:00
Bofh 646ea83410 Added logout API function for a single account 2021-02-08 15:49:42 +01:00
Bofh 2fc703e866 Rate limiting timeout removed, we will deal of it on Pixelfed 2021-02-08 15:36:27 +01:00
Bofh 01d4a8539f Changed caption system to comments + rate limiting issues (fixed i think) 2021-02-08 15:02:28 +01:00
Bofh 228267524a Revert "Revert name containing [Mirror], as there is a limit on length and we cannot fit everything"
This reverts commit ab9eceb174.
2021-02-08 12:41:19 +01:00
Bofh ab9eceb174 Revert name containing [Mirror], as there is a limit on length and we cannot fit everything 2021-02-08 11:59:56 +01:00
Bofh 84b9859579 Don't repeat profile update process in common to add/update 2021-02-08 11:49:29 +01:00
Bofh e888ee88da Shorten the IG url as it is not clickable either + bug fix 2021-02-08 11:06:51 +01:00
Bofh 5e1631286d Fix bug 2021-02-08 10:56:34 +01:00
Bofh 7d7bd45088 Add [Mirror] to the name, to make it clear it is a mirror 2021-02-08 10:55:05 +01:00
Bofh 6bc65217d3 Be nice and warn about mirroring from Instagram original URL 2021-02-08 10:51:32 +01:00
Bofh cd0147562b Change avatar and profile information on update too
* It was only setting this information on /<username>/add
2021-02-08 10:07:20 +01:00
Bofh 2051406397 Added support for multiple images in post + stability improvements 2021-02-08 00:03:04 +01:00
Bofh 3c6ca4dd4c Fix threading args was not calling it correctly 2021-02-07 20:23:11 +01:00
Bofh 3cae3a8f37 Improved async functions 2021-02-07 20:13:47 +01:00
Bofh 44b6295017 Added upload all function with a timeout of 20 seconds 2021-02-07 19:59:29 +01:00
Bofh f4da72ceda Completed post (image) adding feature. No duplicated images are loaded 2021-02-07 19:48:07 +01:00
Bofh ef8713438f Implemented login + bio/website setting + profile pic setting
* save cookies as dict in the db accounts file
* md5sum wrapped
* db_get and db_set functions
* config() function to read config.json
* other improvements
2021-02-07 14:55:02 +01:00
Bofh 47a72b57d6 Improved error handling 2 2021-02-07 03:01:57 +01:00
Bofh d11a739593 Improved error handling 2021-02-07 02:59:14 +01:00
Bofh ece785b02e User creation automated + server port configurable
* Make sure user input can never contain an invalid character as it might create a shell exploit vulnerability otherwise
2021-02-07 02:56:08 +01:00
Bofh c799fb8e63 Renamed mirror to a module + added basic python3 http server 2021-02-07 01:21:58 +01:00