calendar-backend's Introduction
calendar-backend's People
calendar-backend's Issues
Broken: Евр., 329 зач., XI, 24-26; 32 - XII, 2.
Write Integrational tests
It should be fairly simple to write integration tests for this thing.
What we can test:
- run day.php with all days in the year and make sure not exceptions or PHP warnings/notices are thrown
- check basic functionality of day.php, e.g. assert that it outputs certain data at certain times of the year.
- test bible.php, its verse parsing logic, how it compiles the reading list etc. Add tests for various edge cases.
When it's done we can configure CI via Github Actions.
Multi-chapter readings are badly broken, the second chapter is ignored
NET translation has odd things in it
https://c.psmb.ru/#/date/2020-04-17/readings/%D0%A3%D1%82%D1%80%D0%B5%D0%BD%D1%8F
Every verse should take only one line and line breaks should be marked with
.
Annunciation no readings
https://d.psmb.ru/#/date/2020-04-06
These readings are not displayed here for some reason:
Support readings with chapters in reverse order
Readings, whose parts go in reverse order display only the first part Ис. LV, 1; XII, 3-4; LV, 2-3; 6-13
https://d.psmb.ru/#/date/2020-05-12/readings/%D0%92%D0%B5%D1%87%D0%B5%D1%80%D0%BD%D1%8F
Support cross-book verses
Verses of this kind that span multiple books currently are not supported: Мал. III, 1; Мк. I, 2; Мал. III, 1 – 3, 5 – 7, 12, 18, 17; IV, 4 – 6
Support readings without verses (e.g. `Рим. XIII`)
In "Душеполезные чтения" readings are quite often given in full chapters. But we still have to enter chapter verses (Рим. XIII, 1-14
) instead of just chapter name (Рим. XIII
).
Would save quite some time for the editors, if we supported the shorter format.
Duplicate readings
Make NET bible work
We have an English bible translation (NET bible): https://github.com/dimaip/bible-translations/tree/master/7NET
It doesn't work :)
We need to make it work.
Correctly handle line breaks in translations
This should work: https://api.c.psmb.ru/reading/%D0%98%D0%BE%D0%B8%D0%BB.,%204%20%D0%B7%D0%B0%D1%87.,%20I,%201-10.&translation=7NET
Also <br/>
or <br>
inside of translations should not be stripped out, but should be rendered in frontend as new lines.
Support books with multi-word names
This one is broken:
Ис. Нав. V, 10-15
http://localhost:9999/bible.php?zachalo=%D0%98%D1%81.%20%D0%9D%D0%B0%D0%B2.%E2%80%89V,%2010-15
Not supported Рим. 1:30-2:2(4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.