Commit Graph

89 Commits

Author SHA1 Message Date
Dryusdan fa1550e26a Merge branch 'improve-randomness' of framasky/masto-image-bot into master 2019-09-12 12:05:48 +02:00
Luc Didry e5e4938479
Improve local images randomness by using random.SystemRandom()
My bot @gracyimp@botsin.space gave me the same image twice this morning,
within a few seconds, so I asked myself how to improve the randomness.
Indeed, this allowed my bot to publish some images that never were
published!
2019-09-04 09:24:26 +02:00
Dryusdan 67849b7f9f Remove quote for unsplash_client_id 2019-06-22 10:49:11 +02:00
Tristan Le Chanony 38c1afa81a Improve README 2019-01-07 13:52:34 +01:00
Tristan Le Chanony d7287622b9 Improve unsplash mode 2019-01-07 13:50:35 +01:00
Dryusdan 1a8f9a381a Merge branch 'add-unsplash-random-source' of framasky/masto-image-bot into master 2019-01-06 15:09:13 +01:00
Dryusdan 995370b7ea Merge branch 'update-systemd-service' of framasky/masto-image-bot into master 2019-01-06 15:07:31 +01:00
Luc Didry cc3cbd2fe7
Add unsplash-random source
Fetches a random image from unsplash and toot it with author's attribution
2019-01-06 14:55:19 +01:00
Luc Didry 8aef6ae903
Update systemd documentation 2019-01-05 23:30:59 +01:00
Dryusdan 0063745171 Merge branch 'linting' of framasky/masto-image-bot into master 2019-01-05 15:40:41 +01:00
Dryusdan 8332357d9a Merge branch 'improve-readme' of framasky/masto-image-bot into master 2019-01-05 15:39:46 +01:00
Luc Didry 43acb49171
Improve README (translation, install deps…)
This commit is dedicated to Le Libre au quotidion, who is supporting me with Ğ1.
Many thanks ☺️
2019-01-05 14:26:16 +01:00
Luc Didry 97b2c6b01e
Lintings changes
1. replace tabs by spaces
2. align assignations
3. no trailing spaces/tabs
4. put a re.compile outside a function, to make it compiled one time
   only
2018-11-20 22:16:08 +01:00
Dryusdan 320c7056d0 Mettre à jour 'bot.py' 2018-08-18 01:16:37 +02:00
Dryusdan d9ef0dc3af Resize image (because mastodon not accept big picture) 2018-08-18 00:40:21 +02:00
Dryusdan cf905aac3c add renamer 2018-07-31 23:09:47 +02:00
Dryusdan fde735c88a correct respond in thread #10 2018-06-23 21:11:04 +02:00
Dryusdan 975001bd4f Remove uselessfile 2018-06-23 09:04:19 +02:00
Dryusdan 7261eacccd improve doc 2018-06-23 01:02:02 +02:00
Dryusdan a5633e5c18 select image recursive folder #4 2018-06-23 00:58:57 +02:00
Dryusdan 0b27b154b7 add research on multiple folder 2018-06-22 23:38:22 +02:00
Dryusdan 1c46723cd3 improve doc 2018-06-22 22:33:33 +02:00
Dryusdan 15458cfb2c improve doc 2018-06-22 22:10:42 +02:00
Dryusdan 8e7f69ecc7 add distant image #3 2018-06-22 22:08:06 +02:00
Dryusdan 8fc886351f make blacklist #8 2018-06-22 18:18:51 +02:00
Dryusdan 3d28bcc9de check if account is bot #9 2018-06-22 17:54:37 +02:00
Dryusdan ea6f6e9fa3 add hour limiter #7 2018-06-22 17:41:57 +02:00
Dryusdan cb15c9a4b4 add limiter #7 2018-06-22 07:43:48 +02:00
Dryusdan 69355227b6 correction of mask image on a toot 2018-06-22 07:36:09 +02:00
Dryusdan 012d6f9f98 improve doc 2018-06-21 23:00:18 +02:00
Dryusdan 1e35632ede add limiter 2018-06-21 22:52:04 +02:00
Dryusdan 2585b75320 improve doc 2018-06-21 22:40:43 +02:00
Dryusdan 7896a368b0 correct always hide picture 2018-06-21 22:27:20 +02:00
Dryusdan ab94b056b9 Improve readme 2018-06-21 22:08:34 +02:00
Dryusdan 7adf21fe65 replace wrong parameter by good (logic) 2018-06-21 21:49:52 +02:00
Dryusdan 0816a66da3 Configuration in config file 2018-06-21 20:38:11 +02:00
Dryusdan a7da455862 use config file 2018-06-21 14:57:04 +02:00
Dryusdan e7463a3f6c update title 2018-06-21 14:09:12 +02:00
Dryusdan 011d5b4964 nevermind, "<" in python is not strict 2018-06-21 14:05:45 +02:00
Dryusdan 20d7e480c1 add anti ddos issue 2018-06-21 13:56:51 +02:00
Dryusdan a5e6505641 improve readme 2018-06-21 10:10:33 +02:00
Dryusdan ebce3b2217 correct mistake 2018-06-19 23:04:58 +02:00
Dryusdan d24802f044 correct answer toot 2018-06-19 22:55:49 +02:00
Dryusdan 042eacd004 correct newbe mistake 2018-06-19 22:38:08 +02:00
Dryusdan 2eac87dfcd add systemd service 2018-06-19 22:36:37 +02:00
Dryusdan 520793050c replace all public post by unlisted post 2018-06-19 22:26:14 +02:00
Dryusdan 9ea87a8022 add python env && correct some bug 2018-06-19 22:21:27 +02:00
Dryusdan df538524b5 remove debug tools 2018-06-19 22:18:28 +02:00
Dryusdan 193cbf942c update readme 2018-06-19 22:14:04 +02:00
Dryusdan 16b83665a1 finish streaming 2018-06-19 22:06:59 +02:00