data_models: remove Twitter (#109)

This commit is contained in:
Sina Atalay 2024-06-19 14:52:52 +03:00
parent 6a07d5da12
commit 2cc17b38c9
25 changed files with 1 additions and 41 deletions

View File

@ -809,7 +809,6 @@ SocialNetworkName = Literal[
"Instagram", "Instagram",
"ORCID", "ORCID",
"Mastodon", "Mastodon",
"Twitter",
"StackOverflow", "StackOverflow",
"ResearchGate", "ResearchGate",
"YouTube", "YouTube",
@ -888,7 +887,6 @@ class SocialNetwork(RenderCVBaseModel):
"GitLab": "https://gitlab.com/", "GitLab": "https://gitlab.com/",
"Instagram": "https://instagram.com/", "Instagram": "https://instagram.com/",
"ORCID": "https://orcid.org/", "ORCID": "https://orcid.org/",
"Twitter": "https://twitter.com/",
"StackOverflow": "https://stackoverflow.com/users/", "StackOverflow": "https://stackoverflow.com/users/",
"ResearchGate": "https://researchgate.net/profile/", "ResearchGate": "https://researchgate.net/profile/",
"YouTube": "https://youtube.com/@", "YouTube": "https://youtube.com/@",
@ -1000,7 +998,6 @@ class CurriculumVitae(RenderCVBaseModel):
"Mastodon": "\\faMastodon", "Mastodon": "\\faMastodon",
"ORCID": "\\faOrcid", "ORCID": "\\faOrcid",
"StackOverflow": "\\faStackOverflow", "StackOverflow": "\\faStackOverflow",
"Twitter": "\\faTwitter",
"ResearchGate": "\\faResearchgate", "ResearchGate": "\\faResearchgate",
"YouTube": "\\faYoutube", "YouTube": "\\faYoutube",
"Google Scholar": "\\faGraduationCap", "Google Scholar": "\\faGraduationCap",
@ -1459,7 +1456,7 @@ def get_a_sample_data_model(
name = name.encode().decode("unicode-escape") name = name.encode().decode("unicode-escape")
sections = { sections = {
"welcome_to_rendercv!": [ "welcome_to_RenderCV!": [
( (
"[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX-based" "[RenderCV](https://github.com/sinaatalay/rendercv) is a LaTeX-based"
" CV/resume framework. It allows you to create a high-quality CV or" " CV/resume framework. It allows you to create a high-quality CV or"

View File

@ -1840,7 +1840,6 @@
"Instagram", "Instagram",
"ORCID", "ORCID",
"Mastodon", "Mastodon",
"Twitter",
"StackOverflow", "StackOverflow",
"ResearchGate", "ResearchGate",
"YouTube", "YouTube",

View File

@ -297,7 +297,6 @@ def rendercv_filled_curriculum_vitae_data_model(
dm.SocialNetwork(network="ORCID", username="0000-0000-0000-0000"), dm.SocialNetwork(network="ORCID", username="0000-0000-0000-0000"),
dm.SocialNetwork(network="Google Scholar", username="F8IyYrQAAAAJ"), dm.SocialNetwork(network="Google Scholar", username="F8IyYrQAAAAJ"),
dm.SocialNetwork(network="Mastodon", username="@johndoe@example.com"), dm.SocialNetwork(network="Mastodon", username="@johndoe@example.com"),
dm.SocialNetwork(network="Twitter", username="johndoe"),
dm.SocialNetwork(network="StackOverflow", username="12323/johndoe"), dm.SocialNetwork(network="StackOverflow", username="12323/johndoe"),
dm.SocialNetwork(network="GitLab", username="johndoe"), dm.SocialNetwork(network="GitLab", username="johndoe"),
dm.SocialNetwork(network="ResearchGate", username="johndoe"), dm.SocialNetwork(network="ResearchGate", username="johndoe"),

View File

@ -424,7 +424,6 @@ def test_invalid_social_networks(network, username):
("GitHub", "myusername", "https://github.com/myusername"), ("GitHub", "myusername", "https://github.com/myusername"),
("Instagram", "myusername", "https://instagram.com/myusername"), ("Instagram", "myusername", "https://instagram.com/myusername"),
("ORCID", "myusername", "https://orcid.org/myusername"), ("ORCID", "myusername", "https://orcid.org/myusername"),
("Twitter", "myusername", "https://twitter.com/myusername"),
("Mastodon", "@myusername@test.org", "https://test.org/@myusername"), ("Mastodon", "@myusername@test.org", "https://test.org/@myusername"),
( (
"StackOverflow", "StackOverflow",

View File

@ -224,10 +224,6 @@
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%
\kern 0.25 cm% \kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm%
\AND%
\kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%

View File

@ -205,10 +205,6 @@
\kern 5.0 pt% \kern 5.0 pt%
\AND% \AND%
\kern 5.0 pt% \kern 5.0 pt%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{twitter.com/johndoe}}%
\kern 5.0 pt%
\AND%
\kern 5.0 pt%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}%
\kern 5.0 pt% \kern 5.0 pt%
\AND% \AND%

View File

@ -53,7 +53,6 @@
\social[orcid]{0000-0000-0000-0000} \social[orcid]{0000-0000-0000-0000}
\social[googlescholar]{F8IyYrQAAAAJ} \social[googlescholar]{F8IyYrQAAAAJ}
\social[mastodon]{@johndoe@example.com} \social[mastodon]{@johndoe@example.com}
\social[twitter]{johndoe}
\social[stackoverflow]{12323/johndoe} \social[stackoverflow]{12323/johndoe}
\social[gitlab]{johndoe} \social[gitlab]{johndoe}
\social[researchgate]{johndoe} \social[researchgate]{johndoe}

View File

@ -200,10 +200,6 @@
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%
\kern 0.25 cm% \kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm%
\AND%
\kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%

View File

@ -224,10 +224,6 @@
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%
\kern 0.25 cm% \kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm%
\AND%
\kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%

View File

@ -205,10 +205,6 @@
\kern 5.0 pt% \kern 5.0 pt%
\AND% \AND%
\kern 5.0 pt% \kern 5.0 pt%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{twitter.com/johndoe}}%
\kern 5.0 pt%
\AND%
\kern 5.0 pt%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{stackoverflow.com/users/12323/johndoe}}%
\kern 5.0 pt% \kern 5.0 pt%
\AND% \AND%

View File

@ -53,7 +53,6 @@
\social[orcid]{0000-0000-0000-0000} \social[orcid]{0000-0000-0000-0000}
\social[googlescholar]{F8IyYrQAAAAJ} \social[googlescholar]{F8IyYrQAAAAJ}
\social[mastodon]{@johndoe@example.com} \social[mastodon]{@johndoe@example.com}
\social[twitter]{johndoe}
\social[stackoverflow]{12323/johndoe} \social[stackoverflow]{12323/johndoe}
\social[gitlab]{johndoe} \social[gitlab]{johndoe}
\social[researchgate]{johndoe} \social[researchgate]{johndoe}

View File

@ -200,10 +200,6 @@
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%
\kern 0.25 cm% \kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm%
\AND%
\kern 0.25 cm%
\mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}% \mbox{\hrefWithoutArrow{https://stackoverflow.com/users/12323/johndoe}{\color{black}{\footnotesize\faStackOverflow}\hspace*{0.13cm}johndoe}}%
\kern 0.25 cm% \kern 0.25 cm%
\AND% \AND%

View File

@ -10,7 +10,6 @@
- ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000)
- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ)
- Mastodon: [@johndoe@example.com](https://example.com/@johndoe) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe)
- Twitter: [johndoe](https://twitter.com/johndoe)
- StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe)
- GitLab: [johndoe](https://gitlab.com/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe)
- ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe)

View File

@ -10,7 +10,6 @@
- ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000)
- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ)
- Mastodon: [@johndoe@example.com](https://example.com/@johndoe) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe)
- Twitter: [johndoe](https://twitter.com/johndoe)
- StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe)
- GitLab: [johndoe](https://gitlab.com/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe)
- ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe)

View File

@ -10,7 +10,6 @@
- ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000)
- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ)
- Mastodon: [@johndoe@example.com](https://example.com/@johndoe) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe)
- Twitter: [johndoe](https://twitter.com/johndoe)
- StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe)
- GitLab: [johndoe](https://gitlab.com/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe)
- ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe)

View File

@ -10,7 +10,6 @@
- ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) - ORCID: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000)
- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ)
- Mastodon: [@johndoe@example.com](https://example.com/@johndoe) - Mastodon: [@johndoe@example.com](https://example.com/@johndoe)
- Twitter: [johndoe](https://twitter.com/johndoe)
- StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe)
- GitLab: [johndoe](https://gitlab.com/johndoe) - GitLab: [johndoe](https://gitlab.com/johndoe)
- ResearchGate: [johndoe](https://researchgate.net/profile/johndoe) - ResearchGate: [johndoe](https://researchgate.net/profile/johndoe)

View File

@ -43,7 +43,6 @@
<li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li> <li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li> <li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li> <li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li> <li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>
<li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li> <li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li>
<li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li> <li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li>

View File

@ -43,7 +43,6 @@
<li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li> <li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li> <li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li> <li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li> <li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>
<li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li> <li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li>
<li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li> <li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li>

View File

@ -43,7 +43,6 @@
<li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li> <li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li> <li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li> <li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li> <li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>
<li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li> <li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li>
<li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li> <li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li>

View File

@ -43,7 +43,6 @@
<li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li> <li>ORCID: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li> <li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li> <li>Mastodon: <a href="https://example.com/@johndoe">@johndoe@example.com</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li> <li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>
<li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li> <li>GitLab: <a href="https://gitlab.com/johndoe">johndoe</a></li>
<li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li> <li>ResearchGate: <a href="https://researchgate.net/profile/johndoe">johndoe</a></li>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 498 KiB

After

Width:  |  Height:  |  Size: 497 KiB