Commit graph

196 commits

Author SHA1 Message Date
ItsVipra
645c336651 update version number 2023-05-28 12:22:46 +02:00
ItsVipra
7f5e1d7934 overhaul readme.md 2023-05-28 12:18:37 +02:00
ItsVipra
c0f00aa45d add a little fade in to proplates :3 2023-05-28 12:00:12 +02:00
Vivien
5d2ce79812
Merge pull request #20 from ItsVipra/logging-with-variadic-arguments
Fix logging arguments
2023-05-27 21:23:36 +02:00
ItsVipra
9e959a8ab8 add style for glitch-soc default theme 2023-05-27 20:49:02 +02:00
ItsVipra
9beec2f798 fix cache initialization 2023-05-27 20:48:41 +02:00
ItsVipra
09e4af48cb move manifest.json to src 2023-05-27 20:19:19 +02:00
ItsVipra
1b08ad66ef update version number 2023-05-27 20:18:36 +02:00
ItsVipra
68b7c85cc1 add trans flag to icon for contrast on all themes 2023-05-27 20:18:04 +02:00
ItsVipra
0bef6d4422 make easteregg stylename less ambigous 2023-05-27 20:15:54 +02:00
Vivien
9b95f710f2
Merge pull request #24 from ItsVipra/remove-all-crimes
Refactor the usage of the observer
2023-05-27 19:42:46 +02:00
ItsVipra
e1a6517b9f Format files using prettier 2023-05-27 17:41:54 +00:00
ItsVipra
6313b923d0 Ensure formatting on save on VS Code 2023-05-27 19:41:27 +02:00
ItsVipra
2eb18e98e6 Explicitly set the name of the package
In order to avoid ambiguities with the package lock process of node, the
name of the package is now set to protoots.
2023-05-27 19:41:27 +02:00
ItsVipra
8eb1a7b832 Add a "reset cache" button to settings 2023-05-27 19:41:27 +02:00
ItsVipra
a3fc62f599 rewrite process for finding and adding to usernames
adds compatibility with glitch-soc
closes #10 (except for notifications tab)
2023-05-27 19:37:47 +02:00
Vivien
32843618a6
Merge pull request #16 from ItsVipra/cache-fixes
Rewrite the cache functionality
2023-05-26 18:36:17 +02:00
nachtjasmin
c2cdbdb3d8
Handle undefined case for sanitizePronouns 2023-05-26 14:57:45 +02:00
nachtjasmin
b77bc04aad
commit more crimes 2023-05-26 00:27:10 +02:00
nachtjasmin
f7c09f4a7b
Simplify hasClasses 2023-05-26 00:22:36 +02:00
chloe-the-catgirl
bc68af7a94 Format files using prettier 2023-05-25 22:20:11 +00:00
nachtjasmin
7ff393afbc
Add license
Closes #11.

Co-authored-by: Vivien <vivienvielva@gmail.com>
2023-05-26 00:19:32 +02:00
ItsVipra
d58fcdd412 Format files using prettier 2023-05-25 22:07:41 +00:00
Vipra
e75051b509 Merge branch 'main' of https://github.com/ItsVipra/ProToots 2023-05-26 00:07:14 +02:00
Vipra
1a6186a6db add original icon
closes #9
2023-05-26 00:05:41 +02:00
chloe-the-catgirl
4e0cf7a676 Format files using prettier 2023-05-25 22:02:38 +00:00
nachtjasmin
44b8d8c81b
Refactor the usage of the observer
Instead of having multiple observers, the number got reduced to two. One
is listening on the document itself, the other one is watching the
columns.

If a column is added or removed, the document observer is tracking the
new column. The shared column observer in comparison is waiting for new
posts to arrive.
2023-05-26 00:00:47 +02:00
Vivien
87575a66ce
Merge pull request #22 from ItsVipra/pronoun-sanitizer
Sanitize pronouns, render them as HTML
also closes #19
2023-05-25 19:31:16 +02:00
nachtjasmin
2e714b5498
Render pronoun badge as HTML
This enables external links, e.g. to pronouns.page and automatically
handles the &amp; case.
2023-05-25 18:43:26 +02:00
nachtjasmin
a009451ef6
Add function for stripping custom emojis
See #19
2023-05-25 18:42:46 +02:00
Vivien
6c023bb6cc
Merge pull request #17 from ItsVipra/local-only-changes
Fix URL building for local-only test instances
2023-05-25 18:04:05 +02:00
Vivien
beb1a257a9
Merge pull request #18 from ItsVipra/system-ui-for-popup
Set the font-family to system-ui
2023-05-25 17:55:11 +02:00
nachtjasmin
013f8a7bc3
Use try/catch for fetching the logging option 2023-05-25 17:41:55 +02:00
nachtjasmin
35011337f4
Pass the logging arguments as variadic ones 2023-05-25 17:41:31 +02:00
nachtjasmin
9ed3aeaad6
Set the font-family to system-ui
Shamelessly stolen from: https://modernfontstacks.com/
2023-05-25 17:33:39 +02:00
nachtjasmin
ea3f16b734
Use the current protocol instead of https by default
Especially if you test the plugin on a local Mastodon instance, it's
going to fail because of this line.
2023-05-25 17:24:24 +02:00
nachtjasmin
f5a2289afd
Rewrite the cache functionality
The previous method was working most of the times, but not always.
Especially during the tests with blank browser profiles, it happened
multiple times to me that the could not been read, because it didn't
exist yet.

I've rewritten the cache-based functionality to always have an empty
fallback. Furthermore, the .then() chains were rewritten to use the
try/catch pattern.
2023-05-25 17:17:43 +02:00
nachtjasmin
fe412ded8b
Include port number in requests 2023-05-25 16:51:42 +02:00
nachtjasmin
5fcbc35766
Add GitHub Action for automatic formatting 2023-05-25 15:45:06 +02:00
nachtjasmin
c9dc31ed3f
Format all files with prettier 2023-05-25 15:37:24 +02:00
nachtjasmin
8fefb8fb69
Merge .prettierrc into package.json 2023-05-25 15:35:33 +02:00
Vivien
86342b7730
Update extension ID closes #6 2023-05-25 10:38:36 +00:00
Vivien
c9eb0e400a
Update README.md 2023-05-24 18:05:34 +00:00
Vivien
634b0762bd
Update README.md 2023-05-24 17:20:01 +00:00
Vivien
fcd44e6141
Update README.md 2023-05-24 17:18:21 +00:00
Vipra
1e5e338c08 initial commit 2023-05-24 18:47:04 +02:00