Commit graph

164 commits

Author SHA1 Message Date
nachtjasmin
f991d241dd
Link to Chrome extension in README 2023-07-17 12:48:28 +02:00
Vivien
3fa73edddf
Merge pull request #48 from ItsVipra/improve-pronoun-field-matching
Switch to a regex-only pronoun field matching
2023-07-17 12:19:56 +02:00
ItsVipra
96c530c30f
add matcher for "(i) go(es) by" 2023-07-17 12:18:31 +02:00
Vivien
de65c96e8d
Merge pull request #47 from ItsVipra/normalize-pronoun-page-requests
Normalize pronoun.page URLs
2023-07-17 12:10:36 +02:00
Vivien
c32952f349
Merge pull request #52 from ItsVipra/49-names-disappear-in-follow-list
Hide proplate if there's not enough space
2023-07-17 11:21:42 +02:00
nachtjasmin
32063e7400
Hide proplate if there's not enough space
This is an improvement, especailly for the followers-list
on the advanced web interface. Previously, the proplate would've taken
the whole space that's available, hiding the display name completely.
2023-07-17 10:56:47 +02:00
nachtjasmin
9d8c0332be
Switch to a regex-only pronoun field matching 2023-07-16 11:22:38 +02:00
nachtjasmin
0240489456 Add tests for wrong matches 2023-07-16 11:18:27 +02:00
Aurora
e3ae217f46 Adjust matching regex to catch less unrelated words 2023-07-16 11:18:27 +02:00
nachtjasmin
7f7231836c Format files using prettier 2023-07-16 09:05:39 +00:00
nachtjasmin
83aa9b41b0
Add pronoun.page pronoun normalization
Especially for single-value pronoun.page URLs we want to show the
possessive pronoun as well. This is implemented by querying the API once
again and asking for the correct pronouns.

Closes #44.
2023-07-16 10:56:37 +02:00
nachtjasmin
6858978b99
Refactor pronoun/username extraction with named groups 2023-07-16 10:52:07 +02:00
Vivien
e7aabc0af0
Merge pull request #45 from se4598/patch-1
improve readme
2023-07-15 18:00:03 +02:00
se4598
6a375b899c
improve readme
fix line break and issue links
2023-07-15 15:57:25 +02:00
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