Commit Graph

29 Commits

Author SHA1 Message Date
Bofh ccbf23891b Added better error handling on delete status 2021-02-08 21:20:28 +01:00
Bofh 6db3fad9e3 Add API function to list mirrored accounts 2021-02-08 21:16:06 +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 c88a1c1c5b removed _pycache_ 2021-02-07 01:25:27 +01:00
Bofh 6c7bfcbf47 Added pycache 2021-02-07 01:25:08 +01:00
Bofh c799fb8e63 Renamed mirror to a module + added basic python3 http server 2021-02-07 01:21:58 +01:00
Bofh 02eff5188a initial commit 2021-02-06 21:12:19 +01:00