Commit graph

150 commits

Author SHA1 Message Date
ItsVipra
2a1d57f778
only log fetch fail, if it actually failed 2023-07-15 11:14:48 +02:00
Vivien
fe5b4584ea
Merge pull request #41 from ItsVipra/remove-flex-from-display-name
Remove all inline styles
2023-07-14 18:57:17 +02:00
ItsVipra
28921ce46c
Merge branch 'rework-pronoun-field-matching' 2023-07-14 18:56:40 +02:00
Vivien
36f8f1e4c2
Merge pull request #43 from ItsVipra/glitch-soc-types
Better fetching for glitch-soc notifications
2023-07-14 18:47:44 +02:00
nachtjasmin
777724c9eb
Add handling for custom URLs 2023-07-14 14:32:48 +02:00
Jasmin
6abbe93219
Include "meh" pronouns as well
Co-authored-by: Vivien <vivienvielva@gmail.com>
2023-07-14 10:50:11 +02:00
nachtjasmin
c4c541ecbf Format files using prettier 2023-07-14 06:59:33 +00:00
Jasmin
b9fbb9b204
Return null if the sanitization would be empty 2023-07-14 08:59:01 +02:00
nachtjasmin
6e4f0d4969 Format files using prettier 2023-07-14 06:56:09 +00:00
Jasmin
ff3a1d3d65
Add emoji shortcode test 2023-07-14 08:55:35 +02:00
nachtjasmin
5485b7a9ea Format files using prettier 2023-07-14 06:52:23 +00:00
Jasmin
60aae7b1a6
Get rid of innerHTML usage 2023-07-14 08:51:47 +02:00
Vipra
885cc1387d only get account name from url if title fails 2023-07-13 22:56:40 +02:00
nachtjasmin
f51b2e71fe
Add any/all pronouns special case 2023-07-13 22:20:30 +02:00
Jasmin
c01bb5ff78
Merge branch 'main' into remove-flex-from-display-name 2023-07-13 22:14:58 +02:00
nachtjasmin
0a5657ad91
Remove all inline styles 2023-07-13 22:14:04 +02:00
nachtjasmin
bdc21559f7 Update package.json with a new tag 2023-07-13 21:45:05 +02:00
nachtjasmin
5964da2d5f Ensure filenames match the Actions workflow 2023-07-13 21:45:05 +02:00
nachtjasmin
8d9d0d5fc7 Add GitHub Action for automatic releases
Closes #5
2023-07-13 21:45:05 +02:00
Vipra
c5518b1867 add documentation 2023-07-13 19:46:14 +02:00
Vipra
97553400cf return immediatly if response is bad 2023-07-13 19:45:59 +02:00
Vipra
e8655ea76d shorten statement 2023-07-13 19:45:18 +02:00
Vipra
3b779be8c8 generalise fallback for glitch-soc notifications 2023-07-13 18:33:37 +02:00
nachtjasmin
431dcd4bc6
Allow whitespace when fetching pronouns from bio 2023-07-13 17:02:43 +02:00
nachtjasmin
854a597e56
Allow extraction of pronouns from bio/note
Closes #1
2023-07-13 17:02:43 +02:00
nachtjasmin
bee683036d
Add specific support for pronouns.page
Closes #7
2023-07-11 17:39:23 +02:00
ItsVipra
87906f2772 glitch-soc specific mitigations 2023-07-11 14:28:13 +02:00
ItsVipra
66a00361d4 remove repeated code 2023-07-11 14:26:57 +02:00
ItsVipra
a3f5c30dbe correct log output 2023-07-11 14:26:36 +02:00
ItsVipra
ff78899cc7 search closest article, if element doesn't have an id 2023-07-11 14:26:03 +02:00
ItsVipra
f726843809 add glitch-soc notification class 2023-07-11 14:20:21 +02:00
ItsVipra
f1fd566a43 helper function to transform url to account name 2023-07-11 14:18:58 +02:00
nachtjasmin
f032dcca3f
Add basic support for pronoun pages
Closes #7, #35
2023-07-11 00:08:50 +02:00
nachtjasmin
4820fb243e
Setup HTML sanitizing
Closes #28
2023-07-11 00:08:50 +02:00
nachtjasmin
71d6da4f66
Rewrite the pronoun field matching
Closes #39
2023-07-11 00:08:50 +02:00
nachtjasmin
c25274b007
Lay out the base work for unit tests
Closes #8
2023-07-11 00:08:50 +02:00
ItsVipra
ed4a687a1c update the version number once more 2023-07-10 19:29:20 +02:00
ItsVipra
0cfed45ae9 better check for whether to apply default settings 2023-07-10 19:27:40 +02:00
ItsVipra
1d7f8e9e1c update readme for firefox shenanigans 2023-07-10 19:11:54 +02:00
ItsVipra
40ee141c84 do not minify extension code 2023-07-10 19:00:54 +02:00
ItsVipra
af62a64d9e update readme with build instructions 2023-07-10 19:00:37 +02:00
ItsVipra
bbe1476896 fix linting issues 2023-07-10 18:49:13 +02:00
ItsVipra
1ef3519522 update readme, version number 2023-07-10 18:31:57 +02:00
ItsVipra
06c6236904 fixup! only create tootObserver, if checkSite() succeeds 2023-07-10 17:50:38 +02:00
ItsVipra
6a75d50048 remove unessecary API call 2023-07-10 17:28:32 +02:00
ItsVipra
2bb89336d7 only create tootObserver, if checkSite() succeeds 2023-07-10 17:23:22 +02:00
ItsVipra
fec24930e4 remove console.log (whoops) 2023-07-10 17:07:42 +02:00
ItsVipra
fcb0184de9 stagger ID retrieval methods on statuses 2023-07-10 16:53:28 +02:00
ItsVipra
e1a700ace2 use closest() for type assignment 2023-07-10 16:47:46 +02:00
ItsVipra
ebef128de4 let readyStateChange-listener run only one 2023-07-10 16:09:00 +02:00