Commit graph

240 commits

Author SHA1 Message Date
34df3a8b27 Add nginx.conf.erb 2023-03-17 16:12:15 -03:00
ecda9156cb Offer option to preview configuration files during build 2023-03-17 13:24:37 -03:00
aad0d426b9 v0.3.1 2023-03-17 00:18:21 -03:00
4ac82bab1e Add JS redirect to id_redirect.html.erb
Otherwise we can't forward the query string (eg ?ayah=X). We should
consider handling redirects like this with ".htaccess" in the future.
2023-03-17 00:17:00 -03:00
379fa27043 .editorconfig: update 2023-03-17 00:16:43 -03:00
8eeb6396c1 v0.3.0 2023-03-16 23:16:50 -03:00
Robert
8166a35756
Merge pull request #119 from ReflectsLight/srv
Add rc.conf / pf configuration
2023-03-16 23:11:45 -03:00
f5fa8d91fd Add rc.conf / pf configuration 2023-03-16 23:11:30 -03:00
faa5f25a81 Follow up 7f4c8f723d 2023-03-15 18:48:55 -03:00
Robert
d9f611deb2
Merge pull request #120 from ReflectsLight/bug/eastern_numerals
Display eastern arabic numerals on Iridium / OpenBSD
2023-03-15 17:25:49 -03:00
7f4c8f723d Display eastern arabic numerals on Iridium / OpenBSD
With Iridium running on OpenBSD, '1.toLocaleString("ar")' does not
return an eastern arabic numeral. The more specific locale, "ar-SA",
works as expected.
2023-03-15 17:21:58 -03:00
41c459e694 Follow up f23756014c 2023-03-15 17:18:59 -03:00
f23756014c Avoid 404 for '/surahs.json'
The '/surahs.json' file is now inlined, and does not require being
fetched over the network.
2023-03-15 17:02:04 -03:00
Robert
4c5a254244
Merge pull request #117 from ReflectsLight/fix_ayah_param_on_lang_switch
Synchronize ?ayah=x parameter on language change
2023-03-13 20:35:51 -03:00
ae2f4f23c5 Synchronize ?ayah=x parameter on language change
When given - for example, `?ayah=5` and then the language is
changed at ayah 7, the "ayah" parameter should be updated to 7.

Fix #85
2023-03-13 20:21:57 -03:00
Robert
9f9e861922
Merge pull request #116 from ReflectsLight/add_attribution
Add credits / attribution
2023-03-13 13:16:30 -03:00
dfeda467c9 Add credits / attribution
Fix #14
2023-03-13 13:13:58 -03:00
a42ed70197 v0.2.1 2023-03-12 19:54:43 -03:00
c8174f881e Follow up 3c6b2f6bf4 2023-03-12 19:54:30 -03:00
85f779fbc5 v0.2.0 2023-03-12 19:39:35 -03:00
Robert
5b6cb9b36e
Merge pull request #114 from ReflectsLight/fix_scroll_jump
Fix scroll jump
2023-03-12 19:35:05 -03:00
3c6b2f6bf4 Fix scroll jump
When the 'pause' button was clicked, the text could jump and become
realigned according to the space taken by the now visible scrollbar.

This change fixes that issue by leaving a gap for the scrollbar whether
it is visible or hidden.
2023-03-12 19:33:36 -03:00
Robert
91a2cebc7c
Merge pull request #113 from ReflectsLight/fix_build
Try to fix build
2023-03-12 17:53:18 -03:00
ea53a79ee4 Add Gemfile.lock 2023-03-12 17:51:16 -03:00
3c75a90f0d Fix build
See https://github.com/rubocop/rubocop/issues/6754#issuecomment-1465296115
2023-03-12 17:50:44 -03:00
0a3f8eac31 Follow up to 468613e193 2023-03-12 16:58:58 -03:00
f561df8bea rubocop'ing 2023-03-12 16:50:57 -03:00
919af86a65 rubocop'ing 2023-03-12 16:50:19 -03:00
468613e193 Rename "surah_id_to_name" to "slugs"
Fix #106
2023-03-12 16:46:11 -03:00
Robert
2a34a741c7
Merge pull request #110 from ReflectsLight/seo_title
Set document title at compile time
2023-03-12 11:31:41 -03:00
5f957af84c Set document title at compile time
This change will hopefully make it easier for search engines to
pick up a page's title.
2023-03-12 11:23:48 -03:00
e4af56c162 Add Quran.Ayah 2023-03-12 11:20:10 -03:00
ad84105776 Add Quran.Surah.mapFromJSON 2023-03-11 18:52:47 -03:00
Robert
55a52a7e4f
Merge pull request #108 from ReflectsLight/seo_favicon
Add /favicon.png
2023-03-11 18:10:06 -03:00
a22be0413e Add /favicon.png
Enhances SEO and provides a familiar icon when used with bookmarks.
2023-03-11 18:03:38 -03:00
Robert
9e51676d2a
Merge pull request #104 from ReflectsLight/sitemap_xml
Add src/sitemap.xml.erb
2023-03-11 16:05:54 -03:00
c1d23f27c7 Re-implement id_redirect.ts without a JS redirect 2023-03-11 16:04:21 -03:00
3f3032dfcb Add canonical link tag to id_redirect.html.erb 2023-03-11 16:04:21 -03:00
1ab56c61bf Add src/sitemap.xml.erb 2023-03-11 16:04:21 -03:00
549e7ef905 rubocop'ing 2023-03-11 14:31:44 -03:00
f691875012 Replace "File.read" with inline_json 2023-03-11 14:20:28 -03:00
d547c5420a Add '.css.webpackage' class to inline style 2023-03-11 14:20:18 -03:00
14e5c82be3 README: update 2023-03-11 11:46:29 -03:00
0acba1f49a License = GPL 2023-03-11 11:42:30 -03:00
Robert
e6393eda19
Merge pull request #103 from ReflectsLight/inline_css
Add "inline_css" helper method
2023-03-11 10:47:12 -03:00
07812ffdaa Add "inline_css" helper method 2023-03-11 10:45:12 -03:00
6d358653c7 v0.1.0 2023-03-11 09:39:41 -03:00
Robert
f75a1764d4
Merge pull request #100 from ReflectsLight/i18n
Add a simpler, more organized i18n.ts implementation
2023-03-11 09:35:29 -03:00
145d5a4399 Run rubocop -A 2023-03-11 09:31:37 -03:00
3bbe8cf165 Inline surahs.json, slugs.json, and i18n.json 2023-03-11 09:27:31 -03:00