Branch bug-0013498 created, and made a pull request HistContext

thanks @Urchello
Fixed it in 0.2.17
Which should be in github now

I just added a Swedish timeline

1 Like

I noticed the older array index (3) was now pointing to local_sort_date and you had to increase offset it to 4.

However, most of the URLs in the uk_UA_data_v1_0.txt Ukrainian data file are bad too. They are too long and have spaces instead of underscores. (The Ukrainian Wikipedia even complains that the URLs are longer than 255 characters.)

Also, the path for the HistContext.ini is hard-coded to a plugins folder named HistContext. When I installed the update with ZipInstall, it renamed the destination folder. So the Gramplet created a folder that just had the one item. Can you make the destination relative instead (in the same folder as the main module)?

I just copied Iuris datafile, but let me see if I can fix it anyway.
The path should absolutely be fixed
The change from 3 to 4 should already be comited and pushed

1 Like

Fixed in version 0.2.18

1 Like

Oh. Forgot something. Could you make the Default_data_v1_0.txt configuration option selected by default? When doing a fresh install, the gramplet is blank until you use the View → Configure.

In the same vein of not being blank by default, please make it not hide outside the lifespan by default. (So wven in no person exists, there will be data in the Gramplet. (Gramps doesn’t consistently adhere to the GUI guideline that options should in positive rather negative phrasing. But it should. So “Hide outside lifespan” should a “Show outside lifespan” option instead.)

If no file is selected, it will use the default file.
But I certainly can make it selected

1 Like

Ran into another problem.
If birth date or death date is a special date like:
abt 1803
between 1803 and 1805
before 1803
after 1803
the gramplet will crash.
Think I just have to parse the date to get the year (between - the first year)
What haven’t I thought about?

1 Like

@kmikkels And also a small question. Now its possible use dates in formats like YYYY-mm-dd, but the interface still shows years only, right? Is it possible show full date in interface, dont trim it to years only?

go to options and uncheck use year, then you should be good

2 Likes

decided that birth date for special cases (abt between after before) will be <year>+0101
death date will be <year>+1231

HĂ€lsningar frĂ„n östliga delen av forna Riket, dvs. Finland. Är det möjligt att fĂ„ din time-line variant. Jag försöker anpassa den till vad hĂ€nde I Finland efter 1808. Min email Ă€r pekka. valta@kolumbus. fi

1 Like

Hej
Naturligtvis. Har du möjlighet att ladda ner frÄn github, eller ska du ha den pÄ annat sÀtt?
@emyoulation har tidigare beskrivet hur du kan fÄ den med isotamis verktyg.
Jag skickar ÀndÄ ett mejl, för att sÀkra att vi kan kommunicera via mejl om nödvÀndigt

1 Like

Two of the files for the US have evolved into something usable. The earlier collection of “prejudicial influences” is now in a usable format. Just had Perplexity create a list of critical dates for involuntary commitment trends in the USA. (Sickened to learn that, upon entering the almshouses in Connecticut, patients were whipped ten times.)

The Historical Context of these policies remind me to look for
 unpleasant
 record possibilities in an ancestor’s life that I might otherwise dodge.

en_US_prejudice_v1_0.txt

1619;1863;Enslavement and forced relocation of Africans;https://wikipedia.org/wiki/Slavery_in_the_United_States
1700;1850;Anti-Catholic sentiment (primarily Northeast);https://wikipedia.org/wiki/Anti-Catholicism_in_the_United_States
1700;1900;Coverture laws limiting women's legal rights;https://wikipedia.org/wiki/Coverture
1700;Today;Prejudice against Native Americans, leading to displacement and genocide;https://wikipedia.org/wiki/Native_American_history
1775;1783;Anti-loyalist sentiment during and after the American Revolution;https://wikipedia.org/wiki/Loyalist_(American_Revolution)
1830;Today;Reservation Internment for Native Americans;https://wikipedia.org/wiki/Native_American_reservation
1830;1850;Indian Removal Act and Trail of Tears;https://wikipedia.org/wiki/Indian_Removal_Act
1830;Today;Native American suppression via Reservations; https://wikipedia.org/wiki/Native_American_reservation#Challenges_faced_by_Native_American_reservations 
1830;1860;Discrimination against German immigrants (Mid-Atlantic and Midwest);https://wikipedia.org/wiki/History_of_Germans_in_America
1830;1865;Nativist movement and anti-immigrant sentiments, especially against Irish and German immigrants;https://wikipedia.org/wiki/Nativism_(politics)_in_the_United_States
1839;Today;Married Women's Property Acts;https://wikipedia.org/wiki/Married_Women's_Property_Acts_in_the_United_States
1848;1920;Sufferage movement (1920);https://wikipedia.org/wiki/Women%27s_suffrage_in_the_United_States
1850;1924;Anti-Chinese discrimination (West Coast);https://wikipedia.org/wiki/Anti-Chinese_sentiment_in_the_United_States
1850;1924;Anti-Eastern European and Jewish discrimination (Northeast and urban areas);https://wikipedia.org/wiki/Antisemitism_in_the_United_States
1850;1924;Anti-Italian prejudice (Northeast and urban areas);https://wikipedia.org/wiki/Anti-Italianism
1863-12-8;1877-03-31;Reconstruction (post-slavery discrimination);https://wikipedia.org/wiki/Jim_Crow_laws
1874;1975;Jim Crow laws and racial segregation (primarily in the South);https://wikipedia.org/wiki/Jim_Crow_laws-
1882;1943;Chinese Exclusion Act of 1882;https://wikipedia.org/wiki/Chinese_Exclusion_Act
1890;1965;Voter suppression through literacy tests and poll taxes;https://wikipedia.org/wiki/Disfranchisement_after_the_Reconstruction_Era
1896;1954;"Separate but equal" doctrine upheld by Plessy v. Ferguson (1896);https://wikipedia.org/wiki/Plessy_v._Ferguson
1900;1967;Miscegenation laws prohibiting interracial marriages;https://wikipedia.org/wiki/Anti-miscegenation_laws_in_the_United_States
1917;1920;First Red Scare, targeting suspected anarchists, socialists, and communists;https://wikipedia.org/wiki/First_Red_Scare
1942;1946;Internment of Japanese Americans during World War II;https://wikipedia.org/wiki/Internment_of_Japanese_Americans
1947;1954;"Second Red Scare" or McCarthyism, intensifying fear of communist infiltration;https://wikipedia.org/wiki/McCarthyism
1954;1968;Civil Rights Movement gaining momentum;https://wikipedia.org/wiki/Civil_rights_movement
1965;Today;Discrimination against Latin American immigrants (Southwest, urban areas nationwide);https://wikipedia.org/wiki/Anti-Mexican_sentiment
1965;Today;Persistent racial discrimination intersecting with immigrant status; https://www.pewresearch.org/social-trends/2019/04/09/race-in-america-2019/
1970;Today;"Workplace discrimination against immigrants and minorities"; https://www.eeoc.gov/statistics/employment-discrimination-statistics 
1980;Today;Healthcare access disparities for immigrants and minorities; https://www.ncbi.nlm.nih.gov/books/NBK220347/
1980;Today;Social and law enforcement biases against immigrants and minorities; https://www.vera.org/publications/policing-in-america-understanding-public-attitudes-toward-the-police-results-from-a-national-survey 
2001;Today;Islamophobia, Prejudice against Middle Eastern and Muslim immigrants (nationwide, intensified post-9/11);https://wikipedia.org/wiki/Islamophobia_in_the_United_States
2001;Today;Xenophobia towards asylum seekers and refugees (nationwide); https://wikipedia.org/wiki/Xenophobia_and_racism_related_to_the_COVID-19_pandemic#Xenophobia_and_racism_against_refugees_and_asylum_seekers_during_COVID-19_pandemic 
2020;Today;Renewed anti-Asian sentiment during the COVID-19 pandemic populations; https://wikipedia.org/wiki/Xenophobia_and_racism_related_to_the_COVID-19_pandemic#Xenophobia_and_racism_against_people_of_East_and_Southeast_Asian_descent_during_COVID-19_pandemic 

en_US_involuntary_v1_0.txt

1664;Today;Establishment of the first poorhouse in the American colonies;https://wikipedia.org/wiki/Poorhouse
1820;1900;Widespread establishment of county poorhouses across the US;https://wikipedia.org/wiki/Poorhouse
1840;Today;Involuntary commitment laws begin to emerge for the mentally ill;https://wikipedia.org/wiki/Mental_health_law
1845;Today;Dorothea Dix advocates for the reform of mental health care and better treatment of the mentally ill;https://wikipedia.org/wiki/Dorothea_Dix
1860;1960;Expansion of asylums and poorhouses as primary institutions for the mentally ill and impoverished;https://wikipedia.org/wiki/Mental_health_in_the_United_States#History
1900;1950;Peak of institutionalization in asylums and poorhouses, with many individuals committed involuntarily;https://wikipedia.org/wiki/Mental_health_in_the_United_States#History
1963;Today;Community Mental Health Act encourages deinstitutionalization and development of community-based care;https://wikipedia.org/wiki/Community_Mental_Health_Act_of_1963
1970;1980;Significant decline in the number of individuals committed to asylums due to reforms and changing attitudes towards mental health care;https://wikipedia.org/wiki/Mental_health_in_the_United_States#Deinstitutionalization
1980;Today;Continued emphasis on outpatient treatment and community support for individuals with mental illness, reducing reliance on institutionalization;https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1447071/
1 Like