Commit graph

197 commits

Author SHA1 Message Date
Jasmin
71bcbecac3
Merge branch 'main' into 61-search-for-pronounspage-link-in-all-fields 2023-08-24 12:59:50 +02:00
Vipra
2ad4216860 update version number 2023-08-17 22:33:01 +02:00
ItsVipra
907405daf7
add a bunch of debug statements 2023-08-14 14:12:50 +02:00
ItsVipra
0ad785e025
search for explicit pronoun declarations first 2023-08-14 14:12:50 +02:00
ItsVipra
075d6cc3ff
only match words seperated by slash
too many false positives for comma
2023-08-14 14:12:50 +02:00
nachtjasmin
81b36846d9
Cover one more case with comma-separated pronouns 2023-08-14 13:57:42 +02:00
nachtjasmin
1b3a7aefbd
Add comprehensive list of all known pronouns 2023-08-14 13:57:42 +02:00
nachtjasmin
af53085681
Improve pronoun extraction for multiple definitions 2023-08-14 13:57:42 +02:00
nachtjasmin
48acb49695
Search for pronouns in field values, names and the bio
The old approach was refactored. With this commit we are applying all
searches to each individual field, including their name and value. This
approach is optimized for speed in that regard, that we do the API calls
as the last step.
2023-08-14 13:57:42 +02:00
Vipra
2c6c39ea1a adjust lots type hints 2023-08-01 15:57:43 +02:00
Vipra
cc6d473036 update condition to check for null 2023-08-01 15:57:43 +02:00
nachtjasmin
085b0ad226 Abort early if we can't generate proper plates 2023-08-01 15:57:43 +02:00
nachtjasmin
4720af6c58 Return error for undefined accounts 2023-08-01 15:57:43 +02:00
Vipra
43adaf4a61 do not allow "null" as an account name 2023-08-01 15:57:43 +02:00
Vivien
5cc45f5d56
Merge pull request #73 from ItsVipra/71-proplate-title
add title attribute to proplate
2023-08-01 14:10:57 +02:00
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