Commit graph

16 commits

Author SHA1 Message Date
Nikita Karamov
7c2b270789
Remove unnecessary .ts extension 2023-09-02 21:56:51 +02:00
Nikita Karamov
23fdf5ab07
Re-implement domain normalization 2023-09-02 21:56:50 +02:00
Nikita Karamov
a5314e5923
Use nanostores for saving instances 2023-09-02 21:56:50 +02:00
Nikita Karamov
56db514d15
Extract form as a separate component 2023-09-02 21:56:50 +02:00
Nikita Karamov
f0df611c16
Rearrange files 2023-09-02 21:56:50 +02:00
Nikita Karamov
9d59cad84b
Move script to a subfolder 2023-09-02 21:56:49 +02:00
Nikita Karamov
cded0a9cbb
Move instance fetching to client 2023-09-02 21:56:49 +02:00
Nikita Karamov
f5cbb082ed
Fix some typing errors 2023-09-02 21:56:48 +02:00
Nikita Karamov
effac10b7e
Mention other networks 2023-09-02 21:56:47 +02:00
Nikita Karamov
f811ba371d
Add copyright notices 2023-09-02 21:56:45 +02:00
Nikita Karamov
47c498ad2e
Re-implement prefilling instance and text 2023-09-02 21:56:44 +02:00
Nikita Karamov
3de15b1b4c
Re-implement saving instances
Also implements saving of multiple instances, which
closes https://github.com/kytta/share2fedi/issues/29
2023-09-02 21:56:44 +02:00
Nikita Karamov
f2ba7d5324
Add a bit better error handling 2023-09-02 21:56:44 +02:00
Nikita Karamov
49a489d532
Re-implement pre-filling instances 2023-09-02 21:56:43 +02:00
Nikita Karamov
43d36bd6d7
Fix bug in datalist 2023-09-02 21:56:43 +02:00
Nikita Karamov
d3fb510bbb
Rewrite the instance selector
This commit adds a new '/api/instances' endpoint that returns
the domains of the available Mastodon instances. This also changes the
input field, making it accept a host rather than the full domain.
2023-09-02 21:56:43 +02:00