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
9aaa5f4b34
Now server accepts binding port or addr:port
...
* Set it like this:
python3 server.py 8081
or
python3 server.py 127.0.0.1:8081
2021-02-10 19:16:49 +01:00
Bofh
29dea31a0b
Added wildcard login/logout + argv bind addr + improved code
2021-02-10 19:07:03 +01:00
Bofh
babaa29e74
improved docs
2021-02-10 00:28:20 +01:00
Bofh
07aad6baa4
finished documentation
2021-02-10 00:25:49 +01:00
Bofh
af09f493f0
changed readme (added more explanations)
2021-02-10 00:02:01 +01:00
Bofh
d36a88638e
readme configuration setup
2021-02-09 23:02:36 +01:00
Bofh
de5715824f
Added step to patch pixelfed files
2021-02-09 22:55:59 +01:00
Bofh
c5b7bd03d7
added disclaimer
2021-02-09 22:47:22 +01:00
Bofh
09e46d498f
added documentation (not done yet)
2021-02-09 22:32:11 +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
469990388a
Added API function to force login of account
2021-02-08 21:22:00 +01:00
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