Commit graph

182 commits

Author SHA1 Message Date
Vipra
70e9d20d8e add title to proplate 2023-08-01 14:03:33 +02:00
Vivien
d2a992eea2
Merge pull request #64 from ItsVipra/55-sanitize-html-special-characters
Sanitize html special characters
2023-08-01 11:00:21 +02:00
nachtjasmin
58a8404a8d
Add a fallback if DOMParser does not exist 2023-07-22 12:57:51 +02:00
ItsVipra
bd14d190a2
add html decoding to pronoun sanitation 2023-07-21 18:43:43 +02:00
ItsVipra
42b954f209
add htmlDecode() to unescape special characters 2023-07-21 18:43:42 +02:00
Vipra
a8904497c0 don't run replace() on null 2023-07-21 15:23:10 +02:00
Vipra
e518c4d4bc check whether a notification nametag exists 2023-07-20 14:04:06 +02:00
ItsVipra
2b198d5bba match no/none pronouns 2023-07-19 11:54:26 +02:00
Vivien
25d0280f8b
Invalidate old cache versions (#56)
* cache current extension version number

* refresh pronouns, if not from same addon version

* remove conflicting log messages

* move cache entry age checking to caching.js
2023-07-18 21:47:19 +02:00
ItsVipra
1b0bc5658e
update version number 2023-07-18 12:36:59 +02:00
ItsVipra
50c89f80fe
remove "f-" from IDs (usually on pinned posts) 2023-07-18 12:24:30 +02:00
ItsVipra
f37c767fbc
match capitalised pronouns in bio 2023-07-18 12:24:08 +02:00
ItsVipra
380a865c84
update version number 2023-07-18 11:25:54 +02:00
Vivien
6e5f2c036c
Merge pull request #53 from ItsVipra/contributor-list
add contributor list
2023-07-17 14:40:44 +02:00
ItsVipra
7d8820c816
add lena to contributor list 2023-07-17 14:30:16 +02:00
nachtjasmin
db5181ea12
Delete Firefox release foo from release job 2023-07-17 13:07:39 +02:00
nachtjasmin
8f261b480c
Split up publish/release process 2023-07-17 13:01:18 +02:00
Vivien
c6faa3a2ad
add aurora to contributor list
Co-authored-by: Aurora <21148213+aurorasmiles@users.noreply.github.com>
2023-07-17 12:49:53 +02:00
ItsVipra
208f3b8853
add contributor list 2023-07-17 12:27:29 +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