rugk
|
3d508f432d
|
Merge pull request #85 from AntoninCurtit/master
Updated translations for 'fr': French (français, langue française)
|
2022-11-24 00:01:00 +01:00 |
|
rugk
|
0c4d2c5fa0
|
Merge pull request #84 from hueyy/feature/support_v4_interactions
feat: inject content script to handle interactions from remote v4 Mastodon instances
|
2022-11-23 23:59:59 +01:00 |
|
rugk
|
415a50fac1
|
Merge pull request #82 from hueyy/feature/support_v4
feat: inject content script to handle follows from remote v4 Mastodon instances
|
2022-11-23 23:59:50 +01:00 |
|
Antonin Curtit
|
211b96cc9f
|
Translation EN→FR
|
2022-11-23 18:58:04 +01:00 |
|
Huey
|
a233519c36
|
fix: limit mutationobserver scope
|
2022-11-23 12:54:54 +08:00 |
|
Antonin Curtit
|
1b6ce4d427
|
Update messages.json
|
2022-11-22 23:31:31 +01:00 |
|
Antonin Curtit
|
4179b1f001
|
Merge pull request #1 from AntoninCurtit/AntoninCurtit-patch-1
Updated translations for 'fr': French (français, langue française)
|
2022-11-22 15:03:07 +01:00 |
|
Antonin Curtit
|
f80dee9818
|
Updated translations for 'fr': French (français, langue française)
|
2022-11-22 15:02:17 +01:00 |
|
Huey
|
bf2360f32b
|
fix: jsdoc comment
|
2022-11-22 10:35:15 +08:00 |
|
Huey
|
a594e53d71
|
address comments
|
2022-11-22 10:34:23 +08:00 |
|
Huey
|
3c6d43b598
|
feature: inject event listeners mimicking <v4 interaction button functionality on v4 Mastodon instances
|
2022-11-21 12:28:16 +08:00 |
|
Huey
|
497b8a2c78
|
Merge branch 'master' into feature/support_v4
|
2022-11-20 14:27:22 +08:00 |
|
Huey
|
5b813dacf8
|
Merge pull request #1 from nrichards/feature/support_v4
|
2022-11-20 14:25:36 +08:00 |
|
Nick Richards
|
f1f27f6286
|
Address comment-format findings by @rugk
|
2022-11-19 20:44:07 +00:00 |
|
Huey
|
ec7c7ad467
|
fix: capitalisation in jsdoc
|
2022-11-18 12:40:29 +08:00 |
|
Huey
|
4d5c4a5904
|
fix: formatting and address other review comments
|
2022-11-18 12:38:33 +08:00 |
|
Huey
|
e9c16cad10
|
chore: additional stylistic fixes
|
2022-11-17 09:53:06 +08:00 |
|
Huey
|
f41edcb756
|
fix: remove version-checking code
|
2022-11-17 09:48:50 +08:00 |
|
Huey
|
9a1f476a0b
|
chore: fix stylistic issues
|
2022-11-17 09:29:31 +08:00 |
|
rugk
|
1d7c6a048a
|
Add changelog entry/credit for zh-TW translation by ryanho
|
2022-11-16 20:38:33 +01:00 |
|
rugk
|
b71d5f9c3c
|
Merge pull request #80 from ryanho/master
add Traditional Chinese (Taiwan) translation
|
2022-11-16 20:35:31 +01:00 |
|
Huey
|
b61dbc4a57
|
feat: inject content script to handle follows from remote v4 Mastodon instances
|
2022-11-16 23:03:15 +08:00 |
|
Ryan Ho
|
0d9d3cf109
|
Update CONTRIBUTORS.md
add credit text
|
2022-11-11 08:05:03 +08:00 |
|
Ryan Ho
|
691dc2707e
|
Update messages.json
modify credit text in messages.json
|
2022-11-11 08:03:35 +08:00 |
|
Ryan Ho
|
3ba395feb4
|
Revert "Update CONTRIBUTORS.md"
This reverts commit 362e086298 .
|
2022-11-11 08:00:08 +08:00 |
|
Ryan Ho
|
3234064410
|
Revert "Update messages.json"
This reverts commit b8390e7f80 .
|
2022-11-11 07:59:54 +08:00 |
|
Ryan He
|
362e086298
|
Update CONTRIBUTORS.md
add credit text
|
2022-11-09 09:35:10 +08:00 |
|
Ryan He
|
b8390e7f80
|
Update messages.json
modify credit text in messages.json
|
2022-11-09 09:32:11 +08:00 |
|
Ryan Ho
|
45dd4820fe
|
Create messages.json
add translations for 'zh-TW': Chinese (中文 (Zhōngwén), 汉语, 漢語), Taiwan, Province of China
|
2022-11-08 22:42:00 +08:00 |
|
rugk
|
b7259e0baa
|
chore: use new GitHub URL for used user-agent
|
2022-06-26 14:44:51 +02:00 |
|
rugk
|
cbec587aa5
|
style: fix minor spelling/text issues in 1.4 release notes
|
2022-06-26 14:44:44 +02:00 |
|
rugk
|
83b59999a1
|
Add new screenshot of settings
|
2022-06-26 14:19:35 +02:00 |
|
rugk
|
b50147f71c
|
chore: bump version number to v1.4
|
2022-06-26 14:11:23 +02:00 |
|
rugk
|
dc1313f2a8
|
Revert wte locale change in message-json too, for proper display should be like this here
|
2022-06-18 15:33:20 +02:00 |
|
rugk
|
1829761be7
|
Remove untranslated files
|
2022-06-18 15:26:18 +02:00 |
|
rugk
|
26fdde940f
|
Merge branch 'paulo-roger-master'
|
2022-06-18 15:24:23 +02:00 |
|
rugk
|
913bac5455
|
Add changelog entry for Brazilian portuguese translation
|
2022-06-18 15:22:09 +02:00 |
|
rugk
|
d91d1ba6f8
|
Use correct pt_BR code for all other files, too
|
2022-06-18 15:15:23 +02:00 |
|
rugk
|
838ce9b7b0
|
Rename/use correct code for pt_BR
|
2022-06-18 15:14:11 +02:00 |
|
rugk
|
53072003e8
|
Merge branch 'master' of https://github.com/paulo-roger/mastodon-simplified-federation into paulo-roger-master
|
2022-06-18 15:12:50 +02:00 |
|
rugk
|
0eed6b4ff2
|
Add German translation for Changelog
|
2022-06-18 15:09:43 +02:00 |
|
rugk
|
770ca4b569
|
Use current changes/changelog for v1.4
|
2022-06-18 15:04:24 +02:00 |
|
rugk
|
18ea69a4c4
|
Update changelog entries for new Mastodon API fixes
See https://github.com/rugk/mastodon-simplified-federation/issues/71
|
2022-06-18 15:03:19 +02:00 |
|
rugk
|
62ddbf0772
|
Merge pull request #72 from rugk/mastodonfix
fix: properly fallback in case of error/rejection of one Toot-ID getting method
|
2022-06-18 14:49:42 +02:00 |
|
rugk
|
0d3d216660
|
Switch to working Firefox download badge icon
|
2022-06-12 21:46:00 +02:00 |
|
rugk
|
f0e2989b64
|
doc: clarify which popup/page is meant
+ the time at which the fallback jumps in (i.e. it needs to wait for page rendering)
|
2022-06-12 21:42:49 +02:00 |
|
rugk
|
5558366390
|
style: add note for future browser compatibility
|
2022-06-12 21:34:37 +02:00 |
|
rugk
|
8a282fe1de
|
fix: properly fallback in case of error/rejection of one detection method
To implement such a fallback mechanism the extension races two promises against each other here, which have these two methods implemented:
e34050284b/src/background/modules/Detect/Mastodon.js (L164)
[Promise.race](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race) just has the [issue that it also rejects as soon as a promise rejects, i.e. errors](https://stackoverflow.com/questions/70747069/why-does-promise-race-fulfill-with-an-unfulfilled-promise).
That's actually not what we want. That works, as long as the success comes _before_ the error, but if the error is instant (which is nearly always the case here because the JSON API is faster than website scraping), then it fails.
We want to ignore errors. I.e. I found [something like this SO questions asks for](https://stackoverflow.com/questions/37234191/how-do-you-implement-a-racetosuccess-helper-given-a-list-of-promises), which [points to the modern browser-implemented solution](https://stackoverflow.com/a/60274215/5008962) called [`Promise.any`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any).
Also needs bumping the Firefox version, but that is not a problem, as that version is really old enough to not be supported anymore. :D
|
2022-06-12 21:13:25 +02:00 |
|
rugk
|
809773f0ca
|
feat: add 5s timeout for network requests
|
2022-06-12 21:09:55 +02:00 |
|
rugk
|
62905a913c
|
style: add missing JSDoc
|
2022-06-12 19:11:02 +02:00 |
|