Commit graph

165 commits

Author SHA1 Message Date
Dmitri Sotnikov
180f2a6eb5
Merge pull request #34 from raboof/drop-media-link-from-twitter-text
Drop media link from twitter text
2020-03-06 15:26:45 -05:00
Arnout Engelen
3512b4c045 clojure.string/ -> string/ 2020-03-06 17:46:06 +01:00
Arnout Engelen
307e98023d Move test tweets to their own files 2020-03-06 17:46:04 +01:00
Arnout Engelen
d541552422 Drop media link from twitter text
When tweeting with an image, twitter will append a link to the image to the end
for the tweet text. That's not useful since we re-upload it to mastodon anyway,
so chop off the link to twitter in that case.
2020-03-03 22:20:43 +01:00
Dmitri Sotnikov
ce8aecdfc9
Merge pull request #33 from raboof/make-cljs-scripts-executable
Make cljs scripts executable
2020-03-03 16:19:05 -05:00
Arnout Engelen
f229bf7eec Make cljs scripts executable
Without this 'npm start'/'npm test' doesn't work for me on linux
2020-03-03 21:36:50 +01:00
dmitri.sotnikov@gmail.com
86a0dd4c9f updated docs 2020-02-27 20:30:24 -05:00
dmitri.sotnikov@gmail.com
820cd2be82 added shadow-cljs compilation to generate a js artifact 2020-02-27 20:23:48 -05:00
dmitri.sotnikov@gmail.com
72f85c1a51 clean up, updated docs 2020-02-27 17:12:07 -05:00
Dmitri Sotnikov
97f1df59be
Merge pull request #32 from raboof/addTest
Add a unit test
2020-02-27 11:30:48 -05:00
Arnout Engelen
ea7c057c11 Add a unit test
Splitting up the project in core/main/test
2020-02-27 13:20:11 +01:00
Dmitri Sotnikov
bfe1253584
fixed typo 2020-01-22 16:11:13 -05:00
Dmitri Sotnikov
cdbe2b2f5b
Merge pull request #29 from EBendinelli/master
Adding Nitter support to replace Twitter links
2020-01-15 12:47:34 -05:00
Eliot
37920f0130 Updated config.edn in README 2020-01-15 17:10:45 +00:00
Eliot
4265b03c8c Adding support for nitter, replace twitter links by nitter links 2020-01-15 15:54:41 +00:00
Dmitri Sotnikov
8246d7a368
Merge pull request #28 from raboof/patch-1
typo follwing->following
2019-11-30 18:42:09 -05:00
Arnout Engelen
215047334b
typo follwing->following 2019-11-29 12:25:03 +01:00
dmitri.sotnikov@gmail.com
d79b9fa5c3 bumped up dependencies 2019-06-28 09:21:14 -04:00
Dmitri Sotnikov
ad6a007c96
Merge pull request #21 from tscs37/master
Added Dockerfile and poll.sh
2019-03-11 07:54:30 -04:00
Tim Schuster
69423e2d28
Added Dockerfile and poll.sh 2019-03-11 12:15:13 +01:00
Dmitri Sotnikov
ce8792467d
Merge pull request #19 from andybalaam/patch-1
Remove extra "c" in example config file
2019-02-15 06:02:44 -05:00
Andy Balaam
1226e08b46
Remove extra "c" in example config file 2019-02-15 10:15:04 +00:00
Dmitri Sotnikov
e371993b23
Update README.md 2019-02-14 08:52:15 -05:00
dmitri.sotnikov@gmail.com
e1768f49e3 cleanup 2019-02-13 11:46:12 -05:00
Dmitri Sotnikov
5c45d91c28
Merge pull request #18 from EBendinelli/master
Fix to get the last toot from the account timeline instead of "home"
2019-02-13 11:35:51 -05:00
EBendinelli
fc571d8ee5
Fix to get the last toot time from account
Previous last-post-time was taken from the Home timeline which consist of toots of followed people. This fix takes the time of the last toot of the targeted account
2019-02-12 17:00:13 +00:00
EBendinelli
0f38625e6c
Adding Account id 2019-02-12 16:45:50 +00:00
EBendinelli
4a56599a03
Adding account id 2019-02-11 16:41:36 +00:00
dmitri.sotnikov@gmail.com
9a97681a3c added and error check when fetching Mastodon timeline 2019-01-06 10:57:03 -05:00
dmitri.sotnikov@gmail.com
0fb72210ac added compiled Js version 2018-12-15 20:52:24 -05:00
dmitri.sotnikov@gmail.com
d9be88305c updated readme, added :media-only? option 2018-11-21 01:07:12 -05:00
Dmitri Sotnikov
08c66f6c1f
fixed a typo in the readme 2018-10-24 00:23:54 -04:00
Sotnikov, Dmitri
45d7871058 added :keyword-filters flag 2018-10-09 11:59:50 -04:00
Dmitri Sotnikov
8c004bd876 switched to use request module instead of curl to resolve urls 2018-08-28 02:18:01 -04:00
Dmitri Sotnikov
8a01e16648
Merge pull request #13 from rohieb/twitter
twitter: (partly) fix include-rts/include-replies logic
2018-08-28 02:13:59 -04:00
Roland Hieber
14e5b0c712 twitter: fix include-rts/include-replies logic
The first problem was that the variable names were switched, the second
was that the API variable is named "exclude_replies" while the config
option is named "include_replies?", so a negation is needed.
2018-08-28 00:57:39 +02:00
Dmitri Sotnikov
e2c9edcec5 added option to resolve URLs in links 2018-08-27 18:21:09 -04:00
Dmitri Sotnikov
33de858ecf Merge branch 'master' of github.com:yogthos/mastodon-bot 2018-08-26 00:59:59 -04:00
Dmitri Sotnikov
6c3879a7fa added support for status flags 2018-08-26 00:59:43 -04:00
Dmitri Sotnikov
54701023d5
Merge pull request #11 from daquinons/patch-1
Display tweets with 280 characters
2018-08-18 13:30:59 -04:00
Dmitri Sotnikov
fdabb17fb0
Merge branch 'master' into patch-1 2018-08-18 13:30:38 -04:00
Dmitri Sotnikov
0c2832ddf0 fixed accessing multiple tumblr accounts, added config options 2018-08-18 13:25:48 -04:00
David Quiñones
ea5d26e455
Display tweets with 280 characters
If "extended" is not set, the default beheaviour is to give tweets with 140 characters.

When it's enabled the response from the server doesn't have a "text" but a "full_text" ("text" comes empty).
2018-08-18 19:00:35 +02:00
Dmitri Sotnikov
6559337021
Merge pull request #10 from daquinons/master
Exclude replies
2018-08-18 12:53:45 -04:00
David Quiñones
3767f775ac
Exclude replies
Added the available parameter in the Twitter client to remove replies from the retrieved tweets https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html
2018-08-18 17:41:15 +02:00
Dmitri Sotnikov
350b265000 made screenname optional, removed default post limit 2018-08-17 20:02:35 -04:00
Dmitri Sotnikov
c39b71d025
Merge pull request #6 from JosephKiranBabu/master
Strip utm parameters from web links
2018-06-10 09:08:42 -04:00
Joseph Nuthalapati
48d37eb4d2
Strip utm parameters from web links
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-06-10 17:26:41 +05:30
Dmitri Sotnikov
fec68ef646
Merge pull request #5 from SVMBrown/master
use encoding instead of str
2018-05-18 17:11:13 -04:00
Scot Brown
0c72b8be75 use encoding instead of str 2018-05-18 16:08:41 -04:00